Commit Graph
19 Commits
Author SHA1 Message Date
雷电芽衣 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
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 6cb7ef188d fix: harden Cursor hooks 2026-07-19 23:48:02 -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 f262dffc2b fix(cli): confine agent runtime paths 2026-07-19 16:18:02 -04:00
ZacharyZhang-NY fea6784346 fix(package): single-source Python SDK version 2026-07-19 15:01:51 -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 453804dff9 feat: add native Auggie hook integration 2026-07-19 08:35:14 -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-NYandClaude Opus 4.6 024ea8ee97 Update auth references from JWT to session tokens
- Remove previous_token_grace_until from RotateApiTokenResponse
- Update client/async_client docstrings
- Update CLI help text and README

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 23:13:35 -04:00
ZacharyZhang-NYandClaude Opus 4.6 5b92a1dfa3 Migrate to per-agent subdirectories, uniform 8-agent support, cross-platform fixes
- All paths use ~/.elydora/{agentId}/ per-agent isolation
- Add copilot, letta plugins; split kiro into kirocli + kiroide
- Remove augment (SDK-only agent, not one-click)
- Fix guard command: use sys.executable instead of hardcoded python3
- Fix chmod wrapped in try/except for Windows compatibility
- Fix OpenCode chain state: save after HTTP 2xx response
- Fix guard script shebang consistency (sys.executable)
- Uniform 8 agents: claudecode, cursor, gemini, kirocli, kiroide, opencode, copilot, letta

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 19:58:10 -05:00
ZacharyZhang-NYandClaude Opus 4.6 b42b670c2a Initial commit: Elydora Python SDK
Python SDK for Elydora agent operations, cryptographic signing, and audit trail integration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 18:03:09 -05:00