agent-afk 5.337.0 → 5.339.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist/agent/background-registry.mark-terminal.d.ts +1 -1
  2. package/dist/agent/background-registry.types.d.ts +1 -1
  3. package/dist/agent/file-checkpoint/bash-checkpoint.d.ts +5 -0
  4. package/dist/agent/file-checkpoint/file-checkpoint.d.ts +6 -0
  5. package/dist/agent/file-checkpoint/git-snapshot.attrs.d.ts +9 -0
  6. package/dist/agent/file-checkpoint/git-snapshot.d.ts +49 -0
  7. package/dist/agent/file-checkpoint/git-snapshot.diff.d.ts +27 -0
  8. package/dist/agent/file-checkpoint/git-snapshot.exec.d.ts +34 -0
  9. package/dist/agent/file-checkpoint/git-snapshot.index.d.ts +6 -0
  10. package/dist/agent/file-checkpoint/rewind-plan.d.ts +1 -0
  11. package/dist/agent/file-checkpoint/turn-log.d.ts +9 -1
  12. package/dist/agent/hooks.d.ts +1 -0
  13. package/dist/agent/provider.d.ts +1 -0
  14. package/dist/agent/providers/anthropic-direct/query-options.d.ts +1 -0
  15. package/dist/agent/providers/anthropic-direct/query-runtime.d.ts +1 -0
  16. package/dist/agent/providers/anthropic-direct/query-turn-driver.d.ts +1 -0
  17. package/dist/agent/providers/anthropic-direct/request-types.d.ts +1 -0
  18. package/dist/agent/providers/openai-compatible/query/turn-driver.d.ts +1 -0
  19. package/dist/agent/providers/openai-compatible/system-prompt-wiring.d.ts +10 -0
  20. package/dist/agent/providers/shared/prompt-fragment-tokens.d.ts +23 -0
  21. package/dist/agent/risk-classifier.d.ts +1 -1
  22. package/dist/agent/session/model-slots.d.ts +2 -0
  23. package/dist/agent/session/session-meta.d.ts +14 -0
  24. package/dist/agent/session/slot-credentials.d.ts +1 -0
  25. package/dist/agent/trace/events.d.ts +5 -0
  26. package/dist/agent/trace/events.session-phase.d.ts +2 -0
  27. package/dist/agent/trace/receipt.d.ts +5 -1
  28. package/dist/agent/trace/receipt.journal.d.ts +10 -0
  29. package/dist/agent/trace/types.session-phase.d.ts +1 -1
  30. package/dist/agent/types/config-types.d.ts +1 -0
  31. package/dist/agent/types/session-types.d.ts +1 -0
  32. package/dist/cli/commands/interactive/mascot-bar.d.ts +1 -0
  33. package/dist/cli/session-store.d.ts +1 -0
  34. package/dist/cli/terminal-compositor.frame.lines.d.ts +1 -1
  35. package/dist/cli/terminal-compositor.types.d.ts +1 -0
  36. package/dist/cli.mjs +589 -582
  37. package/dist/config/endpoint-semaphore.d.ts +9 -0
  38. package/dist/config/env.d.ts +56 -0
  39. package/dist/config/env.debug.d.ts +7 -0
  40. package/dist/config/env.file-checkpoint.d.ts +21 -0
  41. package/dist/config/env.model-slot-concurrency.d.ts +29 -0
  42. package/dist/config/env.session-storage.d.ts +21 -0
  43. package/dist/improve/propose/template-engine.templates-density.d.ts +2 -0
  44. package/dist/index.mjs +443 -434
  45. package/dist/paths.checkpoint.d.ts +2 -0
  46. package/dist/paths.d.ts +1 -1
  47. package/dist/paths.journal.d.ts +1 -0
  48. package/dist/telegram.mjs +471 -466
  49. package/dist/utils/errors.d.ts +2 -0
  50. package/dist/web-server/fork-ledger.d.ts +1 -0
  51. package/package.json +2 -1
@@ -4,4 +4,6 @@ export declare function getFileCheckpointBlobDir(sessionId: string, stateDir?: s
4
4
  export declare function getFileCheckpointTurnLogPath(sessionId: string, stateDir?: string): string;
5
5
  export declare function getFileCheckpointOwnerPath(sessionId: string, stateDir?: string): string;
6
6
  export declare function getFileCheckpointRewindLockPath(sessionId: string, stateDir?: string): string;
7
+ export declare function getFileCheckpointGitObjectDir(sessionId: string, stateDir?: string): string;
8
+ export declare function getFileCheckpointGitIndexPath(sessionId: string, stateDir?: string): string;
7
9
  export declare function getFileCheckpointTurnDir(sessionId: string, turnId: string): string;
package/dist/paths.d.ts CHANGED
@@ -76,5 +76,5 @@ export declare function getEffectLedgerPath(): string;
76
76
  export { getWhatifDir } from './paths.whatif.js';
77
77
  export { getPeerInboxRoot, getPeerInboxDir } from './paths.peer.js';
78
78
  export { getRemoteHostsPath } from './paths.remote.js';
79
- export { getFileCheckpointsRoot, getFileCheckpointSessionDir, getFileCheckpointTurnDir, getFileCheckpointBlobDir, getFileCheckpointTurnLogPath, getFileCheckpointRewindLockPath, getFileCheckpointOwnerPath, } from './paths.checkpoint.js';
79
+ export * from './paths.checkpoint.js';
80
80
  export { getArtifactRegistryDir, getArtifactStoreDir, getArtifactIndexPath } from './paths.artifact.js';
@@ -2,4 +2,5 @@ export declare function getSessionJournalPath(sessionId: string): string;
2
2
  export declare function getSubagentJournalsDir(sessionId: string): string;
3
3
  export declare function getSubagentJournalPath(sessionId: string, subagentId: string): string;
4
4
  export declare function getSessionBlobsDir(sessionId: string): string;
5
+ export declare function getSessionMetaPath(sessionId: string): string;
5
6
  export declare function getSessionLedgerArchivePath(sessionId: string, stamp: string): string;