63 Commits
Author SHA1 Message Date
雷电芽衣 4f68bf0f9a chore(python): release 2.1.1
2.1.0 was tagged but never published. This release carries the
deep-health 503 handling, the restored issue_token aliases, the rotation
grace deadline, and agent-id path encoding.

Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
2026-09-03 21:46:48 -04:00
雷电芽衣 11a152bab8 fix: expose the rotation grace deadline and encode agent ids in paths
Add previous_token_grace_until to RotateApiTokenResponse and
percent-encode the agent id path segment in both clients.

Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
2026-09-03 20:12:50 -04:00
雷电芽衣 7b3ea2922c fix: restore the deprecated issue_token aliases
Published 2.0.2 exposed ElydoraClient.issue_token(),
AsyncElydoraClient.issue_token(), and the IssueTokenResponse type alias.
The audit removed them, which breaks 2.0.x callers on a minor upgrade.
Restore all three, now raising DeprecationWarning.

Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
2026-09-03 19:55:45 -04:00
雷电芽衣 b438ead6ae fix: return the degraded deep-health report instead of raising
The API answers GET /v1/health/deep with 503 and a full report when a
dependency is down. _handle_response raised for every status at or above
400, so deep_health() raised exactly when callers need the dependency
details. Both the sync and async clients now accept 503 for this endpoint.

Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
2026-09-03 19:36:25 -04:00
雷电芽衣 932a4d3022 chore(python): release 2.1.0
Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
2026-09-03 00:46:49 -04:00
雷电芽衣 aa4b8a8bdf chore(python): audit tests
Split the three oversized test files into support modules and topic
files, evaluate the rmdir dir_fd capability once at import, and drop
unused imports.

Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
2026-09-03 00:30:17 -04:00
雷电芽衣 6ec3e902f5 chore(python): audit providers kirocli kiroide opencode
Move Kiro IDE onto _runtime and _shell_command, share kirocli file
helpers through _file_io, and clean temp files on any interruption.

Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
2026-09-03 00:19:40 -04:00
雷电芽衣 407e4628a0 chore(python): audit providers kimi grok qwen letta
Move the four providers onto _runtime and _shell_command; expected
runtime scripts take the runtime config; add unique_preconditions.

Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
2026-09-02 23:58:10 -04:00
雷电芽衣 37e8289510 chore(python): audit providers copilot droid augment cline
Move the four providers onto _runtime and _shell_command; add
expected_runtime_scripts and extra artifact checks to _runtime.

Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
2026-09-02 23:45:01 -04:00
雷电芽衣 6dd0197cab chore(python): audit providers claudecode codex cursor gemini
Add _runtime (paths, config validation, status checks) and _shell_command
(quoting, parsers) and move the four providers onto them.

Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
2026-09-02 23:36:33 -04:00
雷电芽衣 ed34831c20 chore(python): audit plugins shared modules
_managed_files owns the file snapshot reader and public metadata helpers used by pinned directories, durable copies, and opaque snapshots; transaction staging owns read_target and same_identity_and_contents; dead helpers removed; hook_template no longer re-exports the guard generator; mypy targets win32 so _windows_security type-checks.

Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
2026-09-02 23:16:15 -04:00
雷电芽衣 0f72a5e2f1 chore(python): audit core package
_client_common.py owns request building and EOR signing for both clients; types follow the Backend contract; the deprecated issue_token alias and token response aliases are removed; crypto, utils, and CLI comments trimmed.

Claude-Session: https://claude.ai/code/session_01Agoc9bRVE9KL7mmWtey9Vq
2026-09-02 23:05:37 -04:00
雷电芽衣 54e65eb56a fix(python): compare-and-advance chain state under a per-agent lock; release 2.0.2
Claude-Session: https://claude.ai/code/session_01QoUjdc7HGKTsgj5GhG8HvF
2026-09-02 04:46:51 -04:00
雷电芽衣 9aaf08bf51 fix(python): retry rejected prev_chain_hash within a bounded submit budget; release 2.0.1
Claude-Session: https://claude.ai/code/session_01QoUjdc7HGKTsgj5GhG8HvF
2026-09-02 03:56:50 -04:00
雷电芽衣 8ee16c955f chore(python): release 2.0.0 2026-09-02 00:33:34 -04:00
ZacharyZhang-NY e37418c489 feat(python): durable transaction subsystem and Kiro IDE 1.0 adapter
Land the crash-recoverable managed-file transaction engine (journal,
staging, commit, restart recovery, opaque snapshots, private artifacts,
Windows DACL hardening) and the Kiro IDE 1.0 workspace hook plugin with
legacy migration.

Repair five defects that kept the suite red (426 failures to zero):

- Anchor the transaction state directory at ~/.elydora/transactions
  instead of the shared system temp directory. The recovery journal now
  shares fate with the runtimes it repairs, survives temp cleaners, and
  isolates naturally under per-test fake homes.
- Skip pending-transaction recovery when no state directory exists so
  rejected installs never create runtime directories.
- Create the runtime root's parent before hardening it, matching the Go
  SDK's expand behavior for fresh homes.
- Stop using file timestamps as identity evidence: Windows exposes
  mtime/ctime with delayed cross-handle visibility. Reads now prove
  stability through a verification re-read; snapshots compare device,
  inode, size, and SHA-256.
- Stop comparing synthetic Windows permission bits across stat
  boundaries: path stats derive execute bits from file extensions while
  handle stats do not, which falsely flagged every managed .cmd wrapper.
  Snapshots store raw modes for restoration and compare portable bits.

Reservation cleanup now verifies content before discarding so a
concurrent writer's file at a rollback path is preserved, and the
install-failure tests assert the precise contract: no agent runtime
residue, with the durable state directory allowed to remain.

Gates: pytest 807 passed, mypy clean, pip check clean, wheel builds.
2026-07-21 18:53:06 -04:00
ZacharyZhang-NY 909f3dd106 fix(letta): harden official Python hook integration 2026-07-20 18:42:04 -04:00
ZacharyZhang-NY 231cda604e fix(qwen): align hooks with Qwen Code 0.20 2026-07-20 15:33:41 -04:00
ZacharyZhang-NY ad315c3655 fix(droid): align hooks with Factory 0.175 2026-07-20 14:07:56 -04:00
ZacharyZhang-NY 16ceac81c4 fix(copilot): make Python hook installation transactional 2026-07-20 12:29:26 -04:00
ZacharyZhang-NY 97d1525227 fix(cline): make Python hook installation transactional 2026-07-20 11:06:10 -04:00
ZacharyZhang-NY 0d6d2daef7 fix(augment): make hook installation transactional 2026-07-20 09:51:19 -04:00
ZacharyZhang-NY ae04b0cbb4 fix(claude): accept async rewake metadata 2026-07-20 09:02:38 -04:00
ZacharyZhang-NY 653e644e4f fix(gemini): implement official hook contract 2026-07-20 08:13:44 -04:00
ZacharyZhang-NY 202aa1dff7 fix(claude): implement official Python hook contract 2026-07-20 06:54:51 -04:00
ZacharyZhang-NY a5a250ac94 fix(grok): implement official hook contract 2026-07-20 05:38:40 -04:00
ZacharyZhang-NY 978e15e251 fix: align Kimi hooks with official contracts 2026-07-20 04:25:38 -04:00
ZacharyZhang-NY cb6173e6ee fix: make Codex hooks transactional 2026-07-20 02:41:42 -04:00
ZacharyZhang-NY c3602da5f3 fix: make Cursor hooks fail closed 2026-07-20 01:16:22 -04:00
ZacharyZhang-NY 6cb7ef188d fix: harden Cursor hooks 2026-07-19 23:48:02 -04:00
ZacharyZhang-NY 3e7786bb73 fix: secure Python package baseline 2026-07-19 22:58:08 -04:00
ZacharyZhang-NY 3dce6c0b8d fix: harden GitHub Copilot hooks 2026-07-19 22:46:25 -04:00
ZacharyZhang-NY 6aba03b4c7 fix(cli): protect Python install credentials 2026-07-19 17:06:50 -04:00
ZacharyZhang-NY 0c823e73e7 fix(cli): validate runtimes before uninstall 2026-07-19 16:36:32 -04:00
ZacharyZhang-NY c234801be6 fix(cli): reject normalized agent directory names 2026-07-19 16:28:38 -04:00
ZacharyZhang-NY f262dffc2b fix(cli): confine agent runtime paths 2026-07-19 16:18:02 -04:00
ZacharyZhang-NY bfe068b367 fix(sdk): make retries safe and deterministic 2026-07-19 15:49:13 -04:00
ZacharyZhang-NY e29b3c9648 fix(package): ship Python inline type metadata 2026-07-19 15:03:51 -04:00
ZacharyZhang-NY fea6784346 fix(package): single-source Python SDK version 2026-07-19 15:01:51 -04:00
ZacharyZhang-NY c000855ebc fix(sdk): enforce agent registration integration type 2026-07-19 14:59:34 -04:00
ZacharyZhang-NY ecc70adf12 feat: add native Qwen Code hook integration 2026-07-19 12:42:09 -04:00
ZacharyZhang-NY b1c73e2754 feat: add native Factory Droid hook integration 2026-07-19 11:17:52 -04:00
ZacharyZhang-NY e839c77a4b feat: add native Cline hook integration 2026-07-19 09:56:50 -04:00
ZacharyZhang-NY 86152c8179 fix: validate Auggie matchers with JavaScript 2026-07-19 09:01:59 -04:00
ZacharyZhang-NY 453804dff9 feat: add native Auggie hook integration 2026-07-19 08:35:14 -04:00
ZacharyZhang-NY bdcbc36002 fix: preserve empty Grok hook groups 2026-07-19 08:01:44 -04:00
ZacharyZhang-NY 407c396c17 feat: add native Grok hook integration 2026-07-19 07:34:07 -04:00
ZacharyZhang-NY 71013a0be2 feat: add native Kimi hook integration 2026-07-19 06:35:19 -04:00
ZacharyZhang-NY 104efbc720 feat: add native Codex hook integration 2026-07-19 05:34:47 -04:00
ZacharyZhang-NY ea550154b5 fix: harden hook command detection 2026-07-19 04:42:46 -04:00