agent-tempo 1.0.1 → 1.2.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.
- package/CLAUDE.md +8 -2
- package/dashboard/dist/assets/index-D6Xyje_n.js +62 -0
- package/dashboard/dist/assets/index-D6Xyje_n.js.map +1 -0
- package/dashboard/dist/index.html +1 -1
- package/dashboard/package.json +1 -1
- package/dist/activities/claude-stop.d.ts +21 -0
- package/dist/activities/claude-stop.js +94 -0
- package/dist/cli/commands.d.ts +39 -0
- package/dist/cli/commands.js +83 -2
- package/dist/cli/legacy-migration.js +8 -2
- package/dist/cli/sa-preflight.d.ts +27 -3
- package/dist/cli/sa-preflight.js +169 -9
- package/dist/cli/startup.js +34 -8
- package/dist/client/core.js +9 -0
- package/dist/client/interface.d.ts +21 -0
- package/dist/daemon.js +1 -0
- package/dist/http/catalog.js +17 -3
- package/dist/http/event-types.d.ts +41 -0
- package/dist/http/orphans.d.ts +76 -0
- package/dist/http/orphans.js +93 -0
- package/dist/http/server.js +13 -0
- package/dist/reconcile/orphans.d.ts +37 -27
- package/dist/reconcile/orphans.js +93 -6
- package/dist/tui/index.js +1 -0
- package/dist/utils/bg-preflight.d.ts +25 -0
- package/dist/utils/bg-preflight.js +154 -0
- package/package.json +5 -4
- package/dashboard/dist/assets/index-_5jV0Znu.js +0 -62
- package/dashboard/dist/assets/index-_5jV0Znu.js.map +0 -1
package/CLAUDE.md
CHANGED
|
@@ -105,7 +105,13 @@ src/
|
|
|
105
105
|
│ ├── validation.ts / worktree.ts / safe-path.ts / duration.ts / search-attributes.ts
|
|
106
106
|
│ ├── attachment-format.ts / recall-format.ts # Shared display formatters (attachment-info, recall)
|
|
107
107
|
│ ├── hosts.ts / format-hosts.ts # Host enumeration + shared hosts display formatter (#274)
|
|
108
|
-
│
|
|
108
|
+
│ ├── sdk-probe.ts # Filesystem-walk probe for installed optional npm deps (used by opencode adapter + recruit preflight, #449)
|
|
109
|
+
│ ├── ensemble-ops.ts # Shared pause/unpause/fan-out helpers for ensemble-scope verbs (pause, play, shutdown, restore, destroy)
|
|
110
|
+
│ ├── query-timeout.ts # Bounded WorkflowHandle.query() wrapper with in-flight deduplication; prevents hung queries from wedging snapshot endpoint (#433)
|
|
111
|
+
│ ├── visibility-deadline.ts # Iterator-level deadlines for Temporal workflow.list() scans; prevents memory growth from stalled visibility page streams (#336, #529)
|
|
112
|
+
│ ├── default-part.ts # Derives human-readable "X session" part string from a player's type name (e.g. tempo-conductor → "Conductor session")
|
|
113
|
+
│ ├── restore-format.ts # Pure formatter for restore --all-hosts cluster-view listing; no Temporal/I/O deps (#151)
|
|
114
|
+
│ └── parent-death-watchdog.ts # Self-exit watchdog (stdin EOF + PPID poll) so MCP server children don't outlive their parent host (#604)
|
|
109
115
|
├── types.ts # Shared type definitions
|
|
110
116
|
├── git-info.ts # Git repository detection helper
|
|
111
117
|
└── config.ts # Env var handling
|
|
@@ -176,7 +182,7 @@ daemon worker notes, `npx ts-node` dev runner).
|
|
|
176
182
|
- **Saveable state** (#334, ADR 0011): Per-player curated state slots — the player itself decides what context survives a restart. Three MCP tools: `save_state` (owner-only write, max 4 slots × 32 KiB), `fetch_state` (read self or peer; audit identity recorded on each entry's `savedBy`), `clear_state` (owner-only). `restart` accepts `loadFromState: true | 'someKey'` to seed the new session from a saved-state slot instead of (or, with `transcript: 'replay'`, alongside) transcript replay. Saved-state delivery uses `from: 'self-restart'` as a stable system identity. Empty-slot fallback: graceful — falls through to transcript replay with a log line. See [docs/design/334-player-saveable-state.md](docs/design/334-player-saveable-state.md).
|
|
177
183
|
- **Coat-check** (#318, ADR 0008): Per-ensemble transient content store on Maestro state. Solves the 100 KB cue body cap — stash a large artifact with `coat_check_put` (returns a ticket id) and attach the ticket to a `cue` via `attachmentTicket`; the recipient calls `coat_check_get` to pull the full body. Four MCP tools: `coat_check_put` (any player; max 32 KiB per entry, 20 slots per ensemble, TTL 7d default), `coat_check_get` (any player; bumps fetch-audit counters), `coat_check_list` (read-only survey; headers only, content omitted), `coat_check_evict` (owner or conductor). Saturation rejects with `CoatCheckSlotsFull` (no LRU eviction). See `src/tools/coat-check-*.ts` and [docs/adr/0008-coat-check-pattern.md](docs/adr/0008-coat-check-pattern.md).
|
|
178
184
|
- **Lineup examples**: Six pre-built ensemble YAML files in `examples/ensembles/` — `tempo-big-band`, `tempo-dev-team`, `tempo-review-squad`, `tempo-jam-session`, `tempo-mock-jam` (dev-mode all-mock ensemble), `tempo-headless-jam` (#520 — all-`claude-code-headless` subscription-billed ensemble). Load with `agent-tempo up --lineup <name>` or the `load_lineup` tool.
|
|
179
|
-
- **GitHub App identity** (`
|
|
185
|
+
- **GitHub App identity** (`agent-tempo[bot]`): When a player writes to GitHub — issue comments, PR creation/merge, commits, labels, check runs — **use `./scripts/ensemble-gh`** instead of `gh`. The wrapper mints a short-lived installation token so the action is attributed to `agent-tempo[bot]`, not to the human maintainer, making the AI authorship visible. Plain `gh` is still correct for read-only local dev (`gh pr view`, `gh repo clone`, `gh auth status`). Every bot-authored comment/PR body must include the AI attribution footer documented in [docs/github-app.md](docs/github-app.md).
|
|
180
186
|
|
|
181
187
|
See [docs/concepts.md](docs/concepts.md) for the full glossary (Adapter, Attachment phases, Restart, Detach/Destroy, Migrate, Broadcast, Recall, Schedule, Lineup, Quality Gate, Worktree, Stage, Hold/Release, Pause/Resume, Maestro, TempoClient, and more).
|
|
182
188
|
|