@phnx-labs/agents-cli 1.22.113 → 1.22.115
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/CHANGELOG.md +139 -0
- package/README.md +32 -113
- package/dist/browser.js +0 -0
- package/dist/cli/command-registry.d.ts +0 -60
- package/dist/cli/command-registry.js +57 -66
- package/dist/commands/accounts.d.ts +3 -77
- package/dist/commands/accounts.js +13 -366
- package/dist/commands/apply.d.ts +0 -4
- package/dist/commands/apply.js +3 -3
- package/dist/commands/audit.js +1 -1
- package/dist/commands/auth.js +0 -2
- package/dist/commands/browser-picker.d.ts +3 -6
- package/dist/commands/browser-picker.js +2 -2
- package/dist/commands/browser-sessions-picker.d.ts +2 -1
- package/dist/commands/browser.d.ts +53 -0
- package/dist/commands/browser.js +199 -9
- package/dist/commands/computer-sessions-picker.d.ts +2 -1
- package/dist/commands/computer.d.ts +14 -19
- package/dist/commands/computer.js +65 -10
- package/dist/commands/config.js +46 -2
- package/dist/commands/daemon.d.ts +0 -23
- package/dist/commands/daemon.js +1 -1
- package/dist/commands/detach-core.d.ts +2 -1
- package/dist/commands/detach.d.ts +0 -3
- package/dist/commands/detach.js +3 -3
- package/dist/commands/doctor.d.ts +2 -3
- package/dist/commands/doctor.js +0 -11
- package/dist/commands/events.d.ts +1 -3
- package/dist/commands/events.js +4 -7
- package/dist/commands/exec.d.ts +0 -1
- package/dist/commands/exec.js +2 -7
- package/dist/commands/feed-watch.js +52 -8
- package/dist/commands/feed.d.ts +3 -3
- package/dist/commands/feed.js +1 -1
- package/dist/commands/focus.d.ts +4 -4
- package/dist/commands/focus.js +1 -1
- package/dist/commands/go.d.ts +0 -17
- package/dist/commands/go.js +2 -19
- package/dist/commands/harness-hooks.d.ts +0 -7
- package/dist/commands/harness-hooks.js +1 -1
- package/dist/commands/harness-wizard.d.ts +2 -2
- package/dist/commands/harness.d.ts +3 -8
- package/dist/commands/harness.js +1 -1
- package/dist/commands/inspect.d.ts +2 -3
- package/dist/commands/inspect.js +1 -1
- package/dist/commands/logs.js +1 -1
- package/dist/commands/mcp.js +8 -83
- package/dist/commands/memory.js +4 -47
- package/dist/commands/message.d.ts +1 -1
- package/dist/commands/message.js +7 -7
- package/dist/commands/plugins.js +1 -93
- package/dist/commands/projects.d.ts +2 -18
- package/dist/commands/projects.js +89 -3
- package/dist/commands/repo.js +0 -44
- package/dist/commands/resource-view.d.ts +3 -2
- package/dist/commands/resume.d.ts +0 -1
- package/dist/commands/resume.js +5 -2
- package/dist/commands/routines.d.ts +1 -3
- package/dist/commands/routines.js +1 -1
- package/dist/commands/run-account-picker.d.ts +2 -1
- package/dist/commands/run-broadcast.d.ts +2 -1
- package/dist/commands/run-device-picker.d.ts +2 -1
- package/dist/commands/secrets-passthrough.d.ts +14 -0
- package/dist/commands/secrets-passthrough.js +23 -4
- package/dist/commands/send.d.ts +4 -4
- package/dist/commands/send.js +6 -51
- package/dist/commands/sessions-backfill.d.ts +2 -35
- package/dist/commands/sessions-backfill.js +1 -1
- package/dist/commands/sessions-backup-setup.js +1 -1
- package/dist/commands/sessions-bookmark.d.ts +0 -10
- package/dist/commands/sessions-bookmark.js +1 -1
- package/dist/commands/sessions-inject.d.ts +2 -3
- package/dist/commands/sessions-inject.js +8 -17
- package/dist/commands/sessions-picker-factory.d.ts +4 -14
- package/dist/commands/sessions-picker-factory.js +2 -2
- package/dist/commands/sessions-picker.d.ts +3 -9
- package/dist/commands/sessions-picker.js +2 -2
- package/dist/commands/sessions-resume.d.ts +2 -4
- package/dist/commands/sessions-resume.js +0 -6
- package/dist/commands/sessions-share.d.ts +5 -7
- package/dist/commands/sessions-share.js +98 -49
- package/dist/commands/sessions-stats.d.ts +2 -1
- package/dist/commands/sessions-stop.d.ts +0 -3
- package/dist/commands/sessions-stop.js +1 -1
- package/dist/commands/sessions-tail.d.ts +2 -1
- package/dist/commands/sessions-trace.d.ts +4 -6
- package/dist/commands/sessions-trace.js +1 -1
- package/dist/commands/sessions.d.ts +13 -104
- package/dist/commands/sessions.js +11 -18
- package/dist/commands/setup-browser.js +18 -2
- package/dist/commands/setup-computer.js +20 -6
- package/dist/commands/setup-mine.d.ts +0 -6
- package/dist/commands/setup-mine.js +1 -1
- package/dist/commands/setup-secrets.js +24 -4
- package/dist/commands/setup-terminal.d.ts +3 -0
- package/dist/commands/setup-terminal.js +22 -0
- package/dist/commands/setup.d.ts +3 -4
- package/dist/commands/setup.js +21 -11
- package/dist/commands/skills.js +0 -8
- package/dist/commands/ssh.d.ts +6 -0
- package/dist/commands/ssh.js +92 -233
- package/dist/commands/sync.js +14 -5
- package/dist/commands/teams-picker.d.ts +2 -5
- package/dist/commands/teams-picker.js +2 -2
- package/dist/commands/teams.d.ts +1 -7
- package/dist/commands/teams.js +2 -2
- package/dist/commands/tmux.d.ts +1 -1
- package/dist/commands/tmux.js +1 -1
- package/dist/commands/traces.js +1 -1
- package/dist/commands/upgrade.d.ts +2 -1
- package/dist/commands/utils.d.ts +1 -1
- package/dist/commands/utils.js +1 -1
- package/dist/lib/account-capabilities.d.ts +2 -1
- package/dist/lib/account-catalog.d.ts +4 -13
- package/dist/lib/account-catalog.js +1 -1
- package/dist/lib/account-registry.d.ts +3 -4
- package/dist/lib/account-registry.js +1 -1
- package/dist/lib/accounting/account-launch.d.ts +4 -3
- package/dist/lib/accounting/account-pool.d.ts +2 -1
- package/dist/lib/accounting/rotate.d.ts +3 -9
- package/dist/lib/accounting/rotate.js +2 -14
- package/dist/lib/accounting/usage-sync.d.ts +5 -4
- package/dist/lib/accounting/usage.d.ts +7 -31
- package/dist/lib/accounting/usage.js +4 -4
- package/dist/lib/accounts/add.d.ts +0 -5
- package/dist/lib/accounts/add.js +1 -7
- package/dist/lib/accounts/migrate.d.ts +8 -8
- package/dist/lib/accounts/migrate.js +1 -1
- package/dist/lib/acp/client.d.ts +3 -2
- package/dist/lib/acp/harnesses.d.ts +2 -2
- package/dist/lib/acp/harnesses.js +1 -1
- package/dist/lib/acp/run.d.ts +2 -1
- package/dist/lib/actor.d.ts +3 -2
- package/dist/lib/add-dir.d.ts +2 -17
- package/dist/lib/add-dir.js +2 -6
- package/dist/lib/address.d.ts +56 -0
- package/dist/lib/address.js +143 -0
- package/dist/lib/agent-spec/agents.d.ts +12 -28
- package/dist/lib/agent-spec/agents.js +2 -6
- package/dist/lib/agent-spec/primitives.d.ts +0 -7
- package/dist/lib/agent-spec/primitives.js +0 -6
- package/dist/lib/agent-spec/types.d.ts +2 -1
- package/dist/lib/analytics/dashboard.d.ts +1 -5
- package/dist/lib/analytics/dashboard.js +0 -2
- package/dist/lib/analytics/mix-commands.d.ts +0 -7
- package/dist/lib/analytics/mix-commands.js +3 -3
- package/dist/lib/analytics/recipes.d.ts +0 -12
- package/dist/lib/analytics/recipes.js +7 -31
- package/dist/lib/analytics/usage-db.d.ts +5 -32
- package/dist/lib/analytics/usage-db.js +1 -70
- package/dist/lib/answer-router.d.ts +7 -6
- package/dist/lib/answer-router.js +5 -11
- package/dist/lib/artifact-actions.d.ts +0 -4
- package/dist/lib/artifacts-client.d.ts +20 -0
- package/dist/lib/artifacts-client.js +46 -0
- package/dist/lib/ask-classifier.d.ts +3 -4
- package/dist/lib/ask-classifier.js +0 -7
- package/dist/lib/auth-health.d.ts +3 -46
- package/dist/lib/auth-health.js +3 -3
- package/dist/lib/auth-mint.d.ts +6 -6
- package/dist/lib/auth-mint.js +7 -7
- package/dist/lib/bench/runner.d.ts +2 -2
- package/dist/lib/bench/runner.js +1 -1
- package/dist/lib/bench/storage.d.ts +0 -1
- package/dist/lib/bench/storage.js +1 -1
- package/dist/lib/boot-profile.d.ts +0 -2
- package/dist/lib/boot-profile.js +0 -4
- package/dist/lib/brand.d.ts +0 -6
- package/dist/lib/brand.js +1 -1
- package/dist/lib/browser/arc-discovery.d.ts +4 -12
- package/dist/lib/browser/arc-discovery.js +1 -1
- package/dist/lib/browser/cdp.d.ts +1 -1
- package/dist/lib/browser/chrome.d.ts +2 -2
- package/dist/lib/browser/chrome.js +0 -4
- package/dist/lib/browser/chromium-discovery.d.ts +3 -2
- package/dist/lib/browser/drivers/arc.d.ts +3 -20
- package/dist/lib/browser/drivers/arc.js +2 -7
- package/dist/lib/browser/drivers/firefox.d.ts +2 -6
- package/dist/lib/browser/drivers/firefox.js +1 -1
- package/dist/lib/browser/drivers/local.d.ts +2 -1
- package/dist/lib/browser/drivers/ssh.d.ts +2 -3
- package/dist/lib/browser/drivers/ssh.js +0 -7
- package/dist/lib/browser/firefox-discovery.d.ts +4 -3
- package/dist/lib/browser/har.d.ts +8 -7
- package/dist/lib/browser/hygiene.d.ts +2 -3
- package/dist/lib/browser/hygiene.js +1 -1
- package/dist/lib/browser/ipc.d.ts +4 -3
- package/dist/lib/browser/ipc.js +1 -1
- package/dist/lib/browser/login-detection.d.ts +1 -8
- package/dist/lib/browser/registry.d.ts +2 -1
- package/dist/lib/browser/remote-control.d.ts +0 -7
- package/dist/lib/browser/remote-control.js +2 -2
- package/dist/lib/browser/resolve-target.d.ts +2 -6
- package/dist/lib/browser/resolve-target.js +3 -3
- package/dist/lib/browser/runtime-state.d.ts +59 -4
- package/dist/lib/browser/runtime-state.js +99 -18
- package/dist/lib/browser/service.d.ts +4 -4
- package/dist/lib/browser/service.js +21 -1
- package/dist/lib/browser/sessions-list.d.ts +0 -10
- package/dist/lib/browser/sessions-list.js +3 -3
- package/dist/lib/browser/stream.d.ts +2 -1
- package/dist/lib/browser/task-index.d.ts +4 -4
- package/dist/lib/browser/task-index.js +1 -1
- package/dist/lib/browser/types.d.ts +0 -20
- package/dist/lib/browser/types.js +1 -34
- package/dist/lib/browser/upload.d.ts +0 -27
- package/dist/lib/budget/ledger.d.ts +0 -2
- package/dist/lib/budget/ledger.js +1 -1
- package/dist/lib/budget/live-cloud.d.ts +2 -1
- package/dist/lib/budget/preflight.d.ts +3 -5
- package/dist/lib/budget/preflight.js +1 -1
- package/dist/lib/catchup.d.ts +2 -1
- package/dist/lib/channels/owner-forward.d.ts +5 -4
- package/dist/lib/channels/owner-sink.js +2 -2
- package/dist/lib/channels/providers/desktop.js +1 -1
- package/dist/lib/channels/providers/rush.d.ts +2 -1
- package/dist/lib/channels/registry.d.ts +1 -1
- package/dist/lib/channels/registry.js +1 -1
- package/dist/lib/channels/resolve.d.ts +3 -2
- package/dist/lib/channels/send.d.ts +5 -4
- package/dist/lib/cli-resources.d.ts +3 -9
- package/dist/lib/cli-resources.js +4 -2
- package/dist/lib/cloud/cursor.d.ts +1 -2
- package/dist/lib/cloud/cursor.js +1 -1
- package/dist/lib/cloud/dispatch.d.ts +2 -1
- package/dist/lib/cloud/dispatch.js +1 -1
- package/dist/lib/cloud/factory.d.ts +0 -2
- package/dist/lib/cloud/factory.js +1 -1
- package/dist/lib/cloud/rush.d.ts +3 -11
- package/dist/lib/cloud/rush.js +1 -1
- package/dist/lib/cloud/session-index.d.ts +2 -1
- package/dist/lib/cloud/types.d.ts +2 -1
- package/dist/lib/cloudflare/creds.d.ts +10 -0
- package/dist/lib/cloudflare/creds.js +46 -0
- package/dist/lib/cloudflare/provision.d.ts +35 -0
- package/dist/lib/cloudflare/provision.js +144 -0
- package/dist/lib/codex-policy.d.ts +2 -1
- package/dist/lib/commands.d.ts +7 -7
- package/dist/lib/commands.js +1 -1
- package/dist/lib/comms-render.d.ts +1 -1
- package/dist/lib/computer/context.d.ts +11 -3
- package/dist/lib/computer/context.js +2 -2
- package/dist/lib/computer/policy.d.ts +0 -12
- package/dist/lib/computer/policy.js +1 -1
- package/dist/lib/computer/sessions-list.d.ts +55 -0
- package/dist/lib/computer/sessions-list.js +168 -1
- package/dist/lib/computer-client.d.ts +3 -3
- package/dist/lib/computer-client.js +0 -1
- package/dist/lib/concurrency.d.ts +2 -1
- package/dist/lib/config-keys.d.ts +16 -3
- package/dist/lib/config-keys.js +47 -2
- package/dist/lib/convert.d.ts +0 -12
- package/dist/lib/convert.js +1 -12
- package/dist/lib/crabbox/cli.d.ts +6 -24
- package/dist/lib/crabbox/cli.js +2 -28
- package/dist/lib/crabbox/lease.d.ts +5 -6
- package/dist/lib/crabbox/lease.js +1 -1
- package/dist/lib/crabbox/progress.d.ts +2 -1
- package/dist/lib/crabbox/setup-copy.d.ts +2 -3
- package/dist/lib/crabbox/setup-copy.js +1 -1
- package/dist/lib/daemon/account-state-daemon-service.d.ts +1 -1
- package/dist/lib/daemon/attention-notify-service.d.ts +2 -1
- package/dist/lib/daemon/catchup-service.d.ts +2 -1
- package/dist/lib/daemon/daemon.d.ts +4 -4
- package/dist/lib/daemon/daemon.js +9 -2
- package/dist/lib/daemon/feed-stream-service.d.ts +23 -0
- package/dist/lib/daemon/feed-stream-service.js +40 -0
- package/dist/lib/daemon/harness-update-service.d.ts +2 -19
- package/dist/lib/daemon/harness-update-service.js +3 -3
- package/dist/lib/daemon/runner.d.ts +3 -3
- package/dist/lib/daemon/self-update-service.d.ts +1 -16
- package/dist/lib/daemon/self-update-service.js +6 -6
- package/dist/lib/daemon/state-dir-check-service.d.ts +2 -1
- package/dist/lib/daemon/supervisor.d.ts +3 -2
- package/dist/lib/daemon-services.d.ts +3 -2
- package/dist/lib/daemon-services.js +5 -0
- package/dist/lib/daemon-webhooks.d.ts +1 -1
- package/dist/lib/deeplink/register.d.ts +3 -13
- package/dist/lib/deeplink/register.js +3 -3
- package/dist/lib/deeplink/url.d.ts +3 -2
- package/dist/lib/device-config.d.ts +4 -15
- package/dist/lib/device-config.js +164 -8
- package/dist/lib/devices/connect.d.ts +51 -6
- package/dist/lib/devices/connect.js +169 -21
- package/dist/lib/devices/discovery-policy.d.ts +3 -2
- package/dist/lib/devices/doctor-findings.js +1 -1
- package/dist/lib/devices/doctor-overview-cache.d.ts +3 -2
- package/dist/lib/devices/fleet-divergence.d.ts +2 -1
- package/dist/lib/devices/fleet.d.ts +3 -4
- package/dist/lib/devices/fleet.js +1 -1
- package/dist/lib/devices/harness-inventory.d.ts +3 -2
- package/dist/lib/devices/health-report.d.ts +3 -2
- package/dist/lib/devices/health.d.ts +1 -8
- package/dist/lib/devices/health.js +1 -1
- package/dist/lib/devices/interactive-host.d.ts +0 -2
- package/dist/lib/devices/interactive-host.js +1 -1
- package/dist/lib/devices/known-hosts.d.ts +2 -20
- package/dist/lib/devices/known-hosts.js +2 -2
- package/dist/lib/devices/pool.d.ts +2 -1
- package/dist/lib/devices/resolve-target.d.ts +2 -2
- package/dist/lib/devices/rollout-verify.d.ts +3 -2
- package/dist/lib/devices/stats-cache.d.ts +3 -2
- package/dist/lib/devices/sync.d.ts +6 -5
- package/dist/lib/devices/worker-pick.d.ts +3 -12
- package/dist/lib/devices/worker-pick.js +1 -1
- package/dist/lib/diff-text.d.ts +2 -1
- package/dist/lib/doctor-diff.d.ts +2 -1
- package/dist/lib/drift-sync.d.ts +3 -2
- package/dist/lib/drift.d.ts +3 -3
- package/dist/lib/drift.js +1 -1
- package/dist/lib/event-families.d.ts +0 -6
- package/dist/lib/event-families.js +3 -3
- package/dist/lib/event-provenance.d.ts +2 -1
- package/dist/lib/events-ingest.d.ts +4 -3
- package/dist/lib/exec-account-home.d.ts +2 -4
- package/dist/lib/exec-account-home.js +1 -1
- package/dist/lib/exec-bounded.d.ts +3 -4
- package/dist/lib/exec-bounded.js +1 -1
- package/dist/lib/exec.d.ts +6 -18
- package/dist/lib/exec.js +1 -1
- package/dist/lib/factory/snapshot.d.ts +2 -2
- package/dist/lib/factory/snapshot.js +1 -1
- package/dist/lib/feed/activity-stream.d.ts +2 -5
- package/dist/lib/feed/activity-stream.js +2 -2
- package/dist/lib/feed/activity.d.ts +8 -33
- package/dist/lib/feed/activity.js +8 -8
- package/dist/lib/feed/answer.d.ts +3 -2
- package/dist/lib/feed/attention.js +5 -1
- package/dist/lib/feed/envelope.d.ts +79 -0
- package/dist/lib/feed/envelope.js +23 -0
- package/dist/lib/feed/events.d.ts +8 -47
- package/dist/lib/feed/events.js +9 -141
- package/dist/lib/feed/feed.d.ts +9 -42
- package/dist/lib/feed/feed.js +1 -60
- package/dist/lib/feed/hub-server.d.ts +86 -0
- package/dist/lib/feed/hub-server.js +334 -0
- package/dist/lib/feed/hub.d.ts +95 -0
- package/dist/lib/feed/hub.js +255 -0
- package/dist/lib/feed/pr-status.d.ts +0 -2
- package/dist/lib/feed/pr-status.js +1 -5
- package/dist/lib/feed/tool-activity.d.ts +108 -0
- package/dist/lib/feed/tool-activity.js +313 -0
- package/dist/lib/feed/tools.d.ts +198 -0
- package/dist/lib/feed/tools.js +265 -0
- package/dist/lib/feed/watch.d.ts +51 -52
- package/dist/lib/feed/watch.js +147 -17
- package/dist/lib/feed-broadcast.d.ts +5 -47
- package/dist/lib/feed-broadcast.js +9 -9
- package/dist/lib/feed-outcome.d.ts +3 -6
- package/dist/lib/feed-outcome.js +2 -2
- package/dist/lib/feed-policy.d.ts +5 -6
- package/dist/lib/feed-policy.js +2 -2
- package/dist/lib/feed-post.d.ts +3 -4
- package/dist/lib/feed-post.js +1 -1
- package/dist/lib/feed-ranking.d.ts +2 -2
- package/dist/lib/feed-ranking.js +1 -1
- package/dist/lib/fleet/apply.d.ts +5 -6
- package/dist/lib/fleet/apply.js +4 -4
- package/dist/lib/fleet/manifest.d.ts +2 -1
- package/dist/lib/fleet/remote-login.d.ts +18 -36
- package/dist/lib/fleet/remote-login.js +20 -19
- package/dist/lib/fleet/types.d.ts +0 -8
- package/dist/lib/fleet-cache.d.ts +1 -18
- package/dist/lib/fleet-cache.js +0 -5
- package/dist/lib/fleet-shared-repo-sync.d.ts +3 -3
- package/dist/lib/fleet-shared-repo-sync.js +1 -1
- package/dist/lib/fleet-shared-state.d.ts +3 -2
- package/dist/lib/format.d.ts +3 -2
- package/dist/lib/format.js +1 -1
- package/dist/lib/friction-heuristics.d.ts +2 -1
- package/dist/lib/fs-walk.d.ts +2 -1
- package/dist/lib/fuzzy.d.ts +2 -1
- package/dist/lib/gemini-settings.d.ts +0 -1
- package/dist/lib/gemini-settings.js +1 -1
- package/dist/lib/git.d.ts +7 -81
- package/dist/lib/git.js +2 -199
- package/dist/lib/github/gh-overload.d.ts +0 -4
- package/dist/lib/github/gh-overload.js +2 -2
- package/dist/lib/github/project-prs.d.ts +118 -0
- package/dist/lib/github/project-prs.js +173 -0
- package/dist/lib/github/rest.d.ts +2 -1
- package/dist/lib/harness/exec-config-version.d.ts +2 -1
- package/dist/lib/harness-auth-capabilities.d.ts +5 -4
- package/dist/lib/harness-connection-test.d.ts +2 -1
- package/dist/lib/heal.d.ts +3 -20
- package/dist/lib/heal.js +2 -39
- package/dist/lib/help.d.ts +3 -2
- package/dist/lib/helper-download.d.ts +0 -12
- package/dist/lib/helper-download.js +2 -2
- package/dist/lib/helper-versions.d.ts +2 -1
- package/dist/lib/helper-versions.js +1 -1
- package/dist/lib/hooks/install.d.ts +8 -49
- package/dist/lib/hooks/install.js +2 -96
- package/dist/lib/hooks/match.d.ts +2 -1
- package/dist/lib/hosts/credential-transport.d.ts +0 -2
- package/dist/lib/hosts/credential-transport.js +1 -1
- package/dist/lib/hosts/dispatch.d.ts +2 -24
- package/dist/lib/hosts/dispatch.js +2 -2
- package/dist/lib/hosts/logs.d.ts +2 -1
- package/dist/lib/hosts/passthrough.d.ts +1 -1
- package/dist/lib/hosts/passthrough.js +0 -1
- package/dist/lib/hosts/progress.d.ts +0 -5
- package/dist/lib/hosts/progress.js +1 -1
- package/dist/lib/hosts/ready.d.ts +3 -4
- package/dist/lib/hosts/ready.js +0 -8
- package/dist/lib/hosts/reconcile.d.ts +2 -8
- package/dist/lib/hosts/reconcile.js +1 -1
- package/dist/lib/hosts/reconnect.d.ts +4 -11
- package/dist/lib/hosts/reconnect.js +2 -2
- package/dist/lib/hosts/registry.d.ts +1 -1
- package/dist/lib/hosts/remote-cmd.d.ts +55 -4
- package/dist/lib/hosts/remote-cmd.js +125 -8
- package/dist/lib/hosts/remote-cmd.test-fixture.d.ts +2 -0
- package/dist/lib/hosts/remote-cmd.test-fixture.js +22 -0
- package/dist/lib/hosts/session-index.d.ts +3 -2
- package/dist/lib/hosts/ssh-config.d.ts +2 -3
- package/dist/lib/hosts/ssh-config.js +0 -10
- package/dist/lib/humans.d.ts +0 -2
- package/dist/lib/humans.js +2 -2
- package/dist/lib/import.d.ts +4 -3
- package/dist/lib/installations/installation-lock.d.ts +0 -2
- package/dist/lib/installations/installation-lock.js +2 -2
- package/dist/lib/installations/launch-gate.d.ts +0 -9
- package/dist/lib/installations/launch-gate.js +1 -1
- package/dist/lib/installations/migrate.d.ts +0 -11
- package/dist/lib/installations/migrate.js +1 -1
- package/dist/lib/installations/shims.d.ts +1 -1
- package/dist/lib/installations/shims.js +2 -2
- package/dist/lib/installations/update-runtime.js +1 -1
- package/dist/lib/linear-cache.d.ts +2 -1
- package/dist/lib/linux-userns.d.ts +2 -3
- package/dist/lib/linux-userns.js +0 -4
- package/dist/lib/loop.d.ts +2 -1
- package/dist/lib/mailbox-gc.d.ts +2 -1
- package/dist/lib/mailbox-target.d.ts +2 -1
- package/dist/lib/mailbox.d.ts +0 -6
- package/dist/lib/mailbox.js +1 -1
- package/dist/lib/manifest.d.ts +0 -14
- package/dist/lib/manifest.js +2 -2
- package/dist/lib/mcp-registry.d.ts +2 -1
- package/dist/lib/mcp.js +17 -11
- package/dist/lib/memory.d.ts +2 -13
- package/dist/lib/memory.js +4 -4
- package/dist/lib/menubar/download-menubar.d.ts +0 -2
- package/dist/lib/menubar/download-menubar.js +1 -5
- package/dist/lib/menubar/install-menubar.d.ts +3 -14
- package/dist/lib/menubar/install-menubar.js +3 -3
- package/dist/lib/menubar/migrate-prefs.d.ts +53 -0
- package/dist/lib/menubar/migrate-prefs.js +168 -0
- package/dist/lib/menubar/resolve-version.d.ts +1 -9
- package/dist/lib/menubar/resolve-version.js +4 -4
- package/dist/lib/menubar/snapshot.d.ts +24 -2
- package/dist/lib/menubar/snapshot.js +26 -0
- package/dist/lib/model-tier-overrides.d.ts +3 -2
- package/dist/lib/monitors/config.d.ts +0 -2
- package/dist/lib/monitors/config.js +0 -4
- package/dist/lib/monitors/engine.d.ts +1 -1
- package/dist/lib/monitors/remote.d.ts +3 -2
- package/dist/lib/monitors/sources/webhook.d.ts +2 -15
- package/dist/lib/monitors/sources/webhook.js +1 -38
- package/dist/lib/monitors/state.d.ts +4 -7
- package/dist/lib/monitors/state.js +2 -2
- package/dist/lib/notify.d.ts +1 -1
- package/dist/lib/notify.js +1 -1
- package/dist/lib/onepassword.d.ts +5 -14
- package/dist/lib/onepassword.js +0 -64
- package/dist/lib/open-url.d.ts +3 -2
- package/dist/lib/openclaw-keychain.d.ts +4 -17
- package/dist/lib/openclaw-keychain.js +3 -33
- package/dist/lib/operator.d.ts +2 -2
- package/dist/lib/operator.js +1 -1
- package/dist/lib/output/git-output.d.ts +4 -14
- package/dist/lib/output/git-output.js +1 -1
- package/dist/lib/owner-message.d.ts +3 -29
- package/dist/lib/owner-message.js +3 -3
- package/dist/lib/packages/output-home.d.ts +2 -4
- package/dist/lib/packages/output-home.js +2 -2
- package/dist/lib/perf/db.d.ts +0 -2
- package/dist/lib/perf/db.js +2 -7
- package/dist/lib/permissions-registry.d.ts +2 -3
- package/dist/lib/permissions-registry.js +0 -4
- package/dist/lib/permissions.d.ts +6 -16
- package/dist/lib/permissions.js +2 -15
- package/dist/lib/picker.d.ts +6 -5
- package/dist/lib/placement.d.ts +3 -6
- package/dist/lib/placement.js +0 -17
- package/dist/lib/platform/posixpath.d.ts +2 -1
- package/dist/lib/platform/winpath.d.ts +2 -1
- package/dist/lib/plugins/plugin-marketplace.d.ts +2 -2
- package/dist/lib/plugins/plugin-marketplace.js +1 -1
- package/dist/lib/pr-land-detach.d.ts +2 -1
- package/dist/lib/probe.d.ts +4 -1
- package/dist/lib/probe.js +5 -2
- package/dist/lib/profiles-presets.d.ts +2 -1
- package/dist/lib/profiles.d.ts +3 -9
- package/dist/lib/profiles.js +1 -9
- package/dist/lib/project-doctor.d.ts +2 -1
- package/dist/lib/project-launch.d.ts +2 -2
- package/dist/lib/project-probe.d.ts +4 -3
- package/dist/lib/project-pull.d.ts +2 -1
- package/dist/lib/project-resources.d.ts +2 -2
- package/dist/lib/project-resources.js +1 -1
- package/dist/lib/project-root.d.ts +2 -6
- package/dist/lib/project-root.js +1 -1
- package/dist/lib/project-schedule.d.ts +2 -1
- package/dist/lib/project-status.d.ts +2 -16
- package/dist/lib/project-status.js +3 -3
- package/dist/lib/pwsh.d.ts +33 -0
- package/dist/lib/pwsh.js +56 -0
- package/dist/lib/reconcile-and-repair.d.ts +5 -4
- package/dist/lib/redact.d.ts +15 -1
- package/dist/lib/redact.js +105 -3
- package/dist/lib/refresh-coordinator.d.ts +2 -1
- package/dist/lib/refresh.d.ts +9 -4
- package/dist/lib/refresh.js +92 -72
- package/dist/lib/remote-agents-json.d.ts +3 -2
- package/dist/lib/reserved-stores.d.ts +0 -2
- package/dist/lib/reserved-stores.js +3 -5
- package/dist/lib/resource-content-diff.d.ts +0 -2
- package/dist/lib/resource-content-diff.js +1 -1
- package/dist/lib/resource-patterns.d.ts +2 -1
- package/dist/lib/resource-profiles.d.ts +2 -8
- package/dist/lib/resource-profiles.js +3 -27
- package/dist/lib/resources/workflows.d.ts +1 -1
- package/dist/lib/resources.d.ts +4 -9
- package/dist/lib/resources.js +1 -1
- package/dist/lib/routine-context.d.ts +2 -5
- package/dist/lib/routine-context.js +2 -2
- package/dist/lib/routine-notify-owner.d.ts +8 -7
- package/dist/lib/routine-notify-owner.js +5 -5
- package/dist/lib/routine-process-cleanup.d.ts +2 -1
- package/dist/lib/routine-readiness.d.ts +0 -2
- package/dist/lib/routine-readiness.js +0 -7
- package/dist/lib/routines-project.d.ts +3 -4
- package/dist/lib/routines-project.js +1 -1
- package/dist/lib/rules/compile.d.ts +3 -25
- package/dist/lib/rules/compile.js +1 -1
- package/dist/lib/rules/compose.d.ts +3 -9
- package/dist/lib/rules/rules.d.ts +4 -15
- package/dist/lib/rules/rules.js +1 -64
- package/dist/lib/run-defaults.d.ts +1 -1
- package/dist/lib/run-notify.d.ts +2 -1
- package/dist/lib/run-trace-sync.d.ts +1 -1
- package/dist/lib/run-trace-sync.js +1 -1
- package/dist/lib/scheduler.d.ts +2 -1
- package/dist/lib/scheduling/routines.d.ts +9 -21
- package/dist/lib/scheduling/routines.js +3 -46
- package/dist/lib/secrets-cli.d.ts +11 -0
- package/dist/lib/secrets-cli.js +30 -0
- package/dist/lib/secrets-client.d.ts +0 -17
- package/dist/lib/secrets-client.js +7 -28
- package/dist/lib/secrets-policy.d.ts +12 -17
- package/dist/lib/secrets-policy.js +5 -5
- package/dist/lib/secrets-types.d.ts +3 -2
- package/dist/lib/secrets-types.js +2 -1
- package/dist/lib/self-heal/checks/install-staging.js +1 -1
- package/dist/lib/self-heal/registry.d.ts +3 -2
- package/dist/lib/self-heal/types.d.ts +1 -1
- package/dist/lib/self-heal/types.js +1 -1
- package/dist/lib/self-update.d.ts +5 -5
- package/dist/lib/self-update.js +4 -4
- package/dist/lib/session/actor-sidecar.d.ts +3 -2
- package/dist/lib/session/artifacts.d.ts +0 -2
- package/dist/lib/session/artifacts.js +1 -1
- package/dist/lib/session/bash-command.d.ts +2 -7
- package/dist/lib/session/bundle.d.ts +4 -6
- package/dist/lib/session/bundle.js +1 -5
- package/dist/lib/session/cloud.d.ts +0 -4
- package/dist/lib/session/cloud.js +2 -15
- package/dist/lib/session/detached.d.ts +9 -1
- package/dist/lib/session/detached.js +31 -2
- package/dist/lib/session/digest.d.ts +2 -2
- package/dist/lib/session/digest.js +1 -1
- package/dist/lib/session/fork.d.ts +3 -2
- package/dist/lib/session/highlights.d.ts +6 -5
- package/dist/lib/session/hook-sessions.d.ts +2 -1
- package/dist/lib/session/host-link.d.ts +2 -1
- package/dist/lib/session/inject.d.ts +1 -1
- package/dist/lib/session/inject.js +1 -1
- package/dist/lib/session/insights.d.ts +3 -15
- package/dist/lib/session/insights.js +2 -2
- package/dist/lib/session/local-tmux-attach.d.ts +2 -18
- package/dist/lib/session/local-tmux-attach.js +1 -1
- package/dist/lib/session/migrations.d.ts +0 -1
- package/dist/lib/session/migrations.js +1 -1
- package/dist/lib/session/mirror.d.ts +5 -8
- package/dist/lib/session/mirror.js +2 -2
- package/dist/lib/session/parse.d.ts +1 -32
- package/dist/lib/session/parse.js +4 -4
- package/dist/lib/session/presence.d.ts +2 -1
- package/dist/lib/session/prompt.d.ts +3 -2
- package/dist/lib/session/prompt.js +38 -1
- package/dist/lib/session/recovery.d.ts +3 -2
- package/dist/lib/session/remote/peer-stream.d.ts +26 -7
- package/dist/lib/session/remote/peer-stream.js +35 -8
- package/dist/lib/session/remote/remote-bundle.d.ts +2 -1
- package/dist/lib/session/remote/remote-list.d.ts +5 -5
- package/dist/lib/session/remote/remote.d.ts +4 -3
- package/dist/lib/session/remote/watch.d.ts +2 -7
- package/dist/lib/session/remote/watch.js +3 -3
- package/dist/lib/session/remote-active.d.ts +2 -1
- package/dist/lib/session/render.d.ts +2 -2
- package/dist/lib/session/render.js +1 -1
- package/dist/lib/session/resume-owner.d.ts +1 -1
- package/dist/lib/session/resume-owner.js +1 -1
- package/dist/lib/session/run-names.d.ts +2 -1
- package/dist/lib/session/session-cache.d.ts +7 -26
- package/dist/lib/session/session-cache.js +2 -8
- package/dist/lib/session/share-html.d.ts +1 -21
- package/dist/lib/session/share-html.js +1 -1
- package/dist/lib/session/shell-programs.d.ts +2 -1
- package/dist/lib/session/state.d.ts +41 -8
- package/dist/lib/session/state.js +112 -11
- package/dist/lib/session/stream-render.d.ts +2 -1
- package/dist/lib/session/sync/agents.d.ts +0 -4
- package/dist/lib/session/sync/agents.js +0 -0
- package/dist/lib/session/sync/backend.d.ts +8 -8
- package/dist/lib/session/sync/backend.js +3 -3
- package/dist/lib/session/sync/managed-config.d.ts +0 -8
- package/dist/lib/session/sync/managed-key.d.ts +0 -2
- package/dist/lib/session/sync/managed-key.js +1 -1
- package/dist/lib/session/sync/provision.d.ts +1 -1
- package/dist/lib/session/sync/provision.js +2 -2
- package/dist/lib/session/sync/r2.d.ts +4 -1
- package/dist/lib/session/sync/r2.js +4 -7
- package/dist/lib/session/sync/transcript-crypto.d.ts +2 -1
- package/dist/lib/session/tail.d.ts +2 -1
- package/dist/lib/session/team-filter.d.ts +1 -1
- package/dist/lib/session/throughput.d.ts +2 -3
- package/dist/lib/session/throughput.js +1 -1
- package/dist/lib/session/timeline-pass.d.ts +3 -42
- package/dist/lib/session/timeline-pass.js +4 -4
- package/dist/lib/session/timeline.d.ts +3 -13
- package/dist/lib/session/timeline.js +3 -3
- package/dist/lib/session/tool-calls.d.ts +2 -2
- package/dist/lib/session/tool-calls.js +1 -1
- package/dist/lib/session/tool-index.d.ts +0 -8
- package/dist/lib/session/tool-index.js +2 -2
- package/dist/lib/session/tool-store.d.ts +2 -1
- package/dist/lib/session/trajectory-compare.d.ts +2 -1
- package/dist/lib/session/trajectory-lineage.d.ts +2 -1
- package/dist/lib/session/trajectory-text.d.ts +3 -2
- package/dist/lib/session/trajectory.d.ts +2 -1
- package/dist/lib/session/viewing-in.d.ts +2 -1
- package/dist/lib/sessions-client.js +0 -3
- package/dist/lib/settings-manifest.d.ts +2 -1
- package/dist/lib/setup-tool-install.d.ts +3 -0
- package/dist/lib/setup-tool-install.js +26 -0
- package/dist/lib/setup-tool-status.d.ts +22 -0
- package/dist/lib/setup-tool-status.js +215 -0
- package/dist/lib/share-runtime.d.ts +11 -0
- package/dist/lib/share-runtime.js +63 -0
- package/dist/lib/shim-heal.d.ts +1 -5
- package/dist/lib/shim-heal.js +0 -6
- package/dist/lib/smart-launch.d.ts +5 -10
- package/dist/lib/smart-launch.js +4 -12
- package/dist/lib/snapshot.d.ts +3 -2
- package/dist/lib/ssh-exec.d.ts +49 -4
- package/dist/lib/ssh-exec.js +119 -0
- package/dist/lib/ssh-tunnel.d.ts +3 -2
- package/dist/lib/staleness/checkers/permissions.d.ts +0 -2
- package/dist/lib/staleness/checkers/permissions.js +1 -1
- package/dist/lib/staleness/fingerprint.d.ts +0 -7
- package/dist/lib/staleness/fingerprint.js +1 -1
- package/dist/lib/staleness/prune.d.ts +3 -2
- package/dist/lib/staleness/registry.d.ts +1 -1
- package/dist/lib/staleness/writers/sources.d.ts +0 -8
- package/dist/lib/staleness/writers/sources.js +1 -1
- package/dist/lib/startup/command-registry.d.ts +6 -4
- package/dist/lib/startup/command-registry.js +11 -8
- package/dist/lib/state.d.ts +1 -3
- package/dist/lib/state.js +3 -6
- package/dist/lib/storage/selection.d.ts +2 -2
- package/dist/lib/storage/selection.js +2 -2
- package/dist/lib/subagents-registry.d.ts +4 -3
- package/dist/lib/subagents.d.ts +2 -1
- package/dist/lib/subagents.js +3 -2
- package/dist/lib/summarizer/pass.d.ts +3 -6
- package/dist/lib/summarizer/pass.js +2 -2
- package/dist/lib/summarizer/summarize.d.ts +4 -3
- package/dist/lib/sync-passphrase.d.ts +3 -2
- package/dist/lib/sync-status.d.ts +3 -16
- package/dist/lib/sync-status.js +2 -2
- package/dist/lib/sync-umbrella.d.ts +9 -3
- package/dist/lib/sync-umbrella.js +18 -10
- package/dist/lib/system-run-sync.d.ts +2 -1
- package/dist/lib/teams/agents.d.ts +2 -4
- package/dist/lib/teams/agents.js +1 -1
- package/dist/lib/teams/forEach.d.ts +3 -2
- package/dist/lib/teams/pr-watch.d.ts +4 -11
- package/dist/lib/teams/pr-watch.js +4 -4
- package/dist/lib/teams/registry.d.ts +2 -3
- package/dist/lib/teams/registry.js +1 -1
- package/dist/lib/teams/remoteWorktree.d.ts +0 -16
- package/dist/lib/teams/remoteWorktree.js +3 -3
- package/dist/lib/teams/scheduler.d.ts +6 -5
- package/dist/lib/teams/scheduler.js +1 -1
- package/dist/lib/teams/supervisor.d.ts +4 -3
- package/dist/lib/teams/worktree.d.ts +0 -9
- package/dist/lib/teams/worktree.js +0 -32
- package/dist/lib/term-client.d.ts +44 -0
- package/dist/lib/term-client.js +117 -0
- package/dist/lib/terminal/inject.d.ts +3 -16
- package/dist/lib/terminal/inject.js +1 -29
- package/dist/lib/terminal/resolve.d.ts +3 -9
- package/dist/lib/terminal/resolve.js +3 -7
- package/dist/lib/tmux/binary.d.ts +2 -1
- package/dist/lib/tmux/orphan-reap.d.ts +6 -7
- package/dist/lib/tmux/orphan-reap.js +1 -1
- package/dist/lib/tmux/session.d.ts +4 -3
- package/dist/lib/traces/backend.d.ts +1 -2
- package/dist/lib/traces/backend.js +1 -2
- package/dist/lib/traces/classify.d.ts +3 -2
- package/dist/lib/traces/config.d.ts +0 -8
- package/dist/lib/traces/insights.d.ts +2 -1
- package/dist/lib/traces/phenotype.d.ts +3 -3
- package/dist/lib/traces/provision.d.ts +2 -4
- package/dist/lib/traces/provision.js +3 -3
- package/dist/lib/traces/schema2-build.d.ts +1 -1
- package/dist/lib/traces/schema2-danger.d.ts +2 -1
- package/dist/lib/traces/schema2.d.ts +5 -4
- package/dist/lib/traces/segments.d.ts +4 -20
- package/dist/lib/traces/segments.js +3 -3
- package/dist/lib/traces/sync.d.ts +2 -3
- package/dist/lib/traces/sync.js +1 -1
- package/dist/lib/triggers/handlers.d.ts +4 -13
- package/dist/lib/triggers/handlers.js +1 -1
- package/dist/lib/triggers/webhook.d.ts +5 -27
- package/dist/lib/triggers/webhook.js +4 -4
- package/dist/lib/types.d.ts +11 -9
- package/dist/lib/usage-refresh.d.ts +4 -10
- package/dist/lib/usage-refresh.js +3 -8
- package/dist/lib/verbs.d.ts +2 -1
- package/dist/lib/version-duplicates.d.ts +2 -3
- package/dist/lib/version-duplicates.js +3 -33
- package/dist/lib/version.d.ts +2 -1
- package/dist/lib/warn-unpushed.d.ts +2 -1
- package/dist/lib/watchdog/history.d.ts +3 -2
- package/dist/lib/watchdog/log.d.ts +0 -6
- package/dist/lib/watchdog/log.js +1 -1
- package/dist/lib/watchdog/rotate.d.ts +2 -26
- package/dist/lib/watchdog/rotate.js +4 -12
- package/dist/lib/watchdog/runner.d.ts +0 -7
- package/dist/lib/watchdog/runner.js +4 -4
- package/dist/lib/watchdog/service.d.ts +2 -2
- package/dist/lib/watchdog/service.js +1 -1
- package/dist/lib/watchdog/watchdog-agent.d.ts +2 -1
- package/dist/lib/watchdog/watchdog.d.ts +2 -1
- package/dist/lib/watchdog/watchdogTail.d.ts +2 -1
- package/dist/lib/workflows-registry.d.ts +3 -2
- package/dist/lib/workflows.d.ts +4 -7
- package/dist/lib/workflows.js +1 -1
- package/dist/lib/worktree/held.d.ts +4 -28
- package/dist/lib/worktree/held.js +3 -3
- package/package.json +3 -5
- package/scripts/postinstall.js +5 -4
- package/dist/commands/artifacts-setup.d.ts +0 -53
- package/dist/commands/artifacts-setup.js +0 -161
- package/dist/commands/artifacts.d.ts +0 -18
- package/dist/commands/artifacts.js +0 -58
- package/dist/commands/attach.d.ts +0 -12
- package/dist/commands/attach.js +0 -86
- package/dist/commands/auth-mint.d.ts +0 -12
- package/dist/commands/auth-mint.js +0 -108
- package/dist/commands/pty.d.ts +0 -20
- package/dist/commands/pty.js +0 -404
- package/dist/commands/reconnect.d.ts +0 -46
- package/dist/commands/reconnect.js +0 -115
- package/dist/commands/share.d.ts +0 -293
- package/dist/commands/share.js +0 -1424
- package/dist/lib/config-machine-keys.d.ts +0 -14
- package/dist/lib/config-machine-keys.js +0 -21
- package/dist/lib/pty-client.d.ts +0 -49
- package/dist/lib/pty-client.js +0 -315
- package/dist/lib/pty-server.d.ts +0 -59
- package/dist/lib/pty-server.js +0 -653
- package/dist/lib/share/analytics.d.ts +0 -13
- package/dist/lib/share/analytics.js +0 -45
- package/dist/lib/share/backend.d.ts +0 -120
- package/dist/lib/share/backend.js +0 -176
- package/dist/lib/share/capture.d.ts +0 -31
- package/dist/lib/share/capture.js +0 -174
- package/dist/lib/share/config.d.ts +0 -72
- package/dist/lib/share/config.js +0 -211
- package/dist/lib/share/delete.d.ts +0 -122
- package/dist/lib/share/delete.js +0 -173
- package/dist/lib/share/html.d.ts +0 -22
- package/dist/lib/share/html.js +0 -88
- package/dist/lib/share/http-error.d.ts +0 -52
- package/dist/lib/share/http-error.js +0 -65
- package/dist/lib/share/og.d.ts +0 -25
- package/dist/lib/share/og.js +0 -84
- package/dist/lib/share/provision.d.ts +0 -127
- package/dist/lib/share/provision.js +0 -285
- package/dist/lib/share/publish.d.ts +0 -388
- package/dist/lib/share/publish.js +0 -818
- package/dist/lib/share/worker-template.d.ts +0 -27
- package/dist/lib/share/worker-template.js +0 -2424
- package/dist/lib/storage/index.d.ts +0 -14
- package/dist/lib/storage/index.js +0 -14
- package/dist/lib/storage/visibility.d.ts +0 -82
- package/dist/lib/storage/visibility.js +0 -99
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,144 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.22.115
|
|
4
|
+
|
|
5
|
+
- **Artifact sharing moved out to the standalone `artifacts` CLI (breaking).**
|
|
6
|
+
`agents artifacts`, `agents artifacts share` (and its `list`/`delete`/`open`/
|
|
7
|
+
`visibility`/`edit`/`revisions`/`update`/`setup`/`join`/`status`/`analytics`
|
|
8
|
+
subcommands), and `agents artifacts setup` are removed — artifact sharing now
|
|
9
|
+
lives entirely in `@phnx-labs/artifacts-cli` (`artifacts share …`,
|
|
10
|
+
`artifacts auth login`), mirroring the secrets (PHNX-3989) and computer
|
|
11
|
+
(PHNX-4075) extractions. Install it with `npm i -g @phnx-labs/artifacts-cli`.
|
|
12
|
+
`agents sessions share <id>` stays — it
|
|
13
|
+
renders the session locally and now publishes through `artifacts share`, so it
|
|
14
|
+
needs that CLI installed. `agents traces` and `agents sessions export`/`backup`
|
|
15
|
+
are unaffected (their own Cloudflare/R2 paths). The ordinary CLI release no
|
|
16
|
+
longer deploys the managed share Worker (`--deploy-worker` is gone); that deploy
|
|
17
|
+
moved to artifacts-cli's own release. Source: removed `cli/src/lib/share/` and
|
|
18
|
+
`cli/src/commands/{artifacts,artifacts-setup,share}.ts`; the generic Cloudflare
|
|
19
|
+
provisioning primitives `agents traces`/`agents sessions backup` borrowed now
|
|
20
|
+
live in `cli/src/lib/cloudflare/provision.ts`.
|
|
21
|
+
|
|
22
|
+
- **Browser tasks and computer runs ride the feed stream, and N readers now cost one
|
|
23
|
+
connection per peer (PHNX-3999).** `agents feed watch --json` carries a third row
|
|
24
|
+
kind alongside agents and attention: canonical tool rows for each browser task and
|
|
25
|
+
computer run, with the driven device, the owning agent session, captures, and — for
|
|
26
|
+
a still-bound browser task only — the commands that show a tab or close the task.
|
|
27
|
+
Switching an All/Agents/Browser/Computer filter launches no commands: every row for
|
|
28
|
+
every tab is already on the one stream. Computer runs are ledger history: they report `live: false` and carry no
|
|
29
|
+
stop/close affordance, because the process that performed them has exited. Task URLs
|
|
30
|
+
are redacted (userinfo stripped, credential-shaped query parameters replaced) before
|
|
31
|
+
they leave the producing machine. Source: `cli/src/lib/feed/tools.ts`,
|
|
32
|
+
`cli/src/lib/feed/tool-activity.ts`.
|
|
33
|
+
- **One shared fleet feed collector, owned by the daemon (PHNX-3999).** `watchFleetFeed`
|
|
34
|
+
opened a persistent `ssh <peer> agents feed watch --json --local` per dialable
|
|
35
|
+
device *per caller*, so three readers on a thirteen-device fleet held thirty-nine
|
|
36
|
+
ssh children carrying byte-identical NDJSON. The new `feed-stream` daemon service
|
|
37
|
+
runs exactly one fan-out and serves every reader over a socket; a late reader is
|
|
38
|
+
brought up to date from held per-scope state with no re-dial, and the fan-out is
|
|
39
|
+
demand-gated so a box with no reader open holds no peer connections at all.
|
|
40
|
+
`agents feed watch --json --local` is unchanged — it is the per-machine stream the
|
|
41
|
+
collector itself subscribes to. Source: `cli/src/lib/feed/hub.ts`,
|
|
42
|
+
`cli/src/lib/daemon/feed-stream-service.ts`.
|
|
43
|
+
- **The standalone browser and computer engines are read at their real source
|
|
44
|
+
(PHNX-3999).** The standalone `computer` engine always appends to its own
|
|
45
|
+
`<cache>/computer/actions/<day>.jsonl`, which never reaches agents-cli's
|
|
46
|
+
recorder — so a `computer` command run directly was invisible to every
|
|
47
|
+
agents-cli surface. `agents computer sessions` and the feed now merge that
|
|
48
|
+
ledger, deduped on `invocationId` (forwarding rewrites `ts`/`pid`, so a
|
|
49
|
+
timestamp dedupe double-counts), and attribute a record the producer left
|
|
50
|
+
unidentified to the machine whose ledger it came from instead of `unknown`.
|
|
51
|
+
Live browser tasks are read from `tasks.json`, so a task that has produced no
|
|
52
|
+
capture yet now appears — with its real tabs, and a `show`/`close` command that
|
|
53
|
+
names the host to run it on. Source: `cli/src/lib/computer/sessions-list.ts`,
|
|
54
|
+
`cli/src/lib/feed/tool-activity.ts`.
|
|
55
|
+
- **Tool setup readiness rides the feed (PHNX-3999).** `reset.setup` and
|
|
56
|
+
`setup.snapshot` carry each device's browser/computer/secrets readiness from the
|
|
57
|
+
setup cache, so a Settings surface needs no per-tool polling and no probe of its
|
|
58
|
+
own. Source: `cli/src/lib/feed/watch.ts`.
|
|
59
|
+
- **A long-offline peer is retired instead of dialed forever (PHNX-3999).** The 60 s
|
|
60
|
+
backoff cap bounded the delay but not the total work: a box off for a weekend was
|
|
61
|
+
dialed every 60 s for two days. After ten consecutive failures the re-dial drops to
|
|
62
|
+
15 minutes, still waking immediately on a device-registry change. Source:
|
|
63
|
+
`cli/src/lib/session/remote/peer-stream.ts`.
|
|
64
|
+
- **`agents ssh --argv` delivers exact argv tokens (PHNX-3999).** The remote command
|
|
65
|
+
was assembled by joining tokens with a space, so any token containing a space or a
|
|
66
|
+
shell metacharacter was destroyed on the way to the peer — `--title "two words"`
|
|
67
|
+
arrived as two arguments and `a & b` arrived as a backgrounded command. Pass
|
|
68
|
+
`--argv '["prog","two words","a & b"]'` to deliver each element as exactly one
|
|
69
|
+
token. The positional form is unchanged and still parsed by the remote shell, so
|
|
70
|
+
the two are mutually exclusive. On Windows, where a process receives one string
|
|
71
|
+
and splits it itself, a native target is launched through `System.Diagnostics.Process`
|
|
72
|
+
with a `CommandLineToArgvW`-escaped argument string and a script or `.cmd`
|
|
73
|
+
launcher is invoked with a splatted array — PowerShell 5.1's own native
|
|
74
|
+
serializer drops an empty argument and eats embedded quotes. The Agents CLI itself
|
|
75
|
+
is launched through its package's declared entry rather than the npm `agents.ps1`
|
|
76
|
+
shim, because that shim splats its own `$args` into native `node.exe` and lost the
|
|
77
|
+
arguments one layer deeper — a quoted device name reached the parser unquoted. The
|
|
78
|
+
fleet-provenance
|
|
79
|
+
prefix is composed around the quoted argv rather than inside it; quoting it twice
|
|
80
|
+
broke any actor value containing a space or a quote. Source:
|
|
81
|
+
`cli/src/lib/devices/connect.ts`.
|
|
82
|
+
- **`agents browser show <path> --device <host>` views a capture held on another
|
|
83
|
+
machine (PHNX-3999).** The file is fetched into a private local path (0600 inside a
|
|
84
|
+
0700 dir), bounded as it streams so an oversized file is refused rather than
|
|
85
|
+
transferred, and then opened with the normal local viewer — nothing is opened on
|
|
86
|
+
the remote box. `--device` here names where the FILE is; it requires an absolute
|
|
87
|
+
path and is refused together with a URL. Transport uses the device's canonical
|
|
88
|
+
auth, so a password-auth box and an explicit identity file both work, and the read
|
|
89
|
+
is platform-correct: POSIX gets `cat`, while Windows gets a .NET binary stream
|
|
90
|
+
because `cat` there is a text reader that corrupts a capture. Source:
|
|
91
|
+
`cli/src/commands/browser.ts`.
|
|
92
|
+
- **Setup from the menu uses a real terminal.** `agents setup browser|computer|secrets --terminal` hands interactive onboarding to the existing terminal engine and reports launch errors. Installation and readiness remain separate; only explicit checks run health probes, and concurrent checks share one probe.
|
|
93
|
+
|
|
94
|
+
- **AGI Menu 1.5.0 adds tool sessions and Setup.** The menu separates Agents, Browser and Computer activity, shows browser controls and recorded computer captures, and reports installation and readiness for Browser, Computer and Secrets CLI. It consumes the shared daemon feed without periodic tool subprocesses. The helper floor selects the signed and notarized `menubar/v1.5.0` release.
|
|
95
|
+
|
|
96
|
+
- **Replacing the browser daemon no longer kills a live browser (PHNX-3999).** The
|
|
97
|
+
daemon's startup reaper read "the daemon that launched this has exited" as "everything
|
|
98
|
+
it recorded is garbage" and SIGTERMed the browser — so activating the menu bar,
|
|
99
|
+
upgrading, or a daemon crash-restart closed a browser you were looking at, and the
|
|
100
|
+
runtime record was wiped so the survivor could not even be re-attached. But a live
|
|
101
|
+
browser outliving its daemon is the normal case: shutdown deliberately closes only
|
|
102
|
+
CDP, and on macOS the browser is spawned detached. A live local browser is now
|
|
103
|
+
preserved untouched, a dead record is cleared without signalling anything, and a
|
|
104
|
+
stale `ssh -L` tunnel — which genuinely cannot outlive its owner — is still reaped,
|
|
105
|
+
decided separately from the browser instead of sharing one kill path. Ownership of a
|
|
106
|
+
preserved browser transfers only after an identity-checked attach succeeds — including
|
|
107
|
+
the restart path that restores your open browser tasks — and that rewrites the
|
|
108
|
+
owning-daemon pid alone, keeping the original launch's metadata. Source:
|
|
109
|
+
`cli/src/lib/browser/runtime-state.ts`.
|
|
110
|
+
|
|
111
|
+
- **BREAKING — deprecated command shims are deleted; every surface has one spelling.** The hidden and warned aliases that kept "still works this release" paths alive are gone, not tombstoned: a script that still calls one now gets commander's `unknown command` / `unknown option` and exits non-zero. Removed → replacement: `agents notify` → `agents send --to owner` (or `agents feed post --level important` for a milestone that should reach the owner; a `feed.broadcast` sink that spawned `agents notify "{message}"` becomes `channel: owner`); `agents doctor --fix` → `agents sync <agent>@all` (doctor is diagnose-only); `agents accounts connect|name|label|attach|detach|switch|set-default` and the hidden `agents accounts mint` / `agents auth mint` → `agents accounts add <harness> [name]`, `agents accounts login <harness>#<name>`, `agents accounts default <harness> [name]`, `agents accounts rename`, and `agents run <harness>#<name>` (accounts select by name; installation bindings are gone); `agents sessions go` → `agents sessions resume --attach-only`; `agents sessions attach` and `agents reconnect` / `agents sessions reconnect` → `agents sessions resume [id]`; `agents repo refresh` → `agents sync`; `agents mcp register` → `agents sync --mcp`; `agents memory sync` → `agents sync --memory`; `agents plugins sync <name>` → `agents sync --plugin <name>`; `agents skills info` → `agents skills view`; `agents run --smart` → `agents run --device auto`; `agents events --audit` → `agents events audit` or `--include ops`; `agents devices prefer|unprefer <name>` → `agents devices config <name> auto-launch.preferred on|--unset`; `agents devices set-interactive [name]` → `agents config set interactive.host <name>` (or `agents devices config <name> interactive.host <name>`); `agents devices configure|note|set <name>` → `agents devices config <name> <key> <value>`. `agents devices enable|disable <name>` stay as first-class, visible sugar over `auto-launch.enabled` (no deprecation notice). Folding `mcp register` into `agents sync` also closed a gap in the replacement: sync's reconcile stage skipped every HTTP MCP server declared in `agents.yaml` (`refresh.ts` `continue`d on `transport: http`) while the removed command registered it — it now registers HTTP servers through the same `registerMcpToTargets` path (`codex mcp add <name> --url <url>`), and the yaml-resource writer's Codex arm no longer silently no-ops on HTTP either (`installMcpViaCodex`). Source: `cli/src/commands/send.ts`, `doctor.ts`, `accounts.ts`, `auth.ts`, `go.ts`, `sessions.ts`, `repo.ts`, `mcp.ts`, `memory.ts`, `plugins.ts`, `skills.ts`, `exec.ts`, `events.ts`, `ssh.ts`, `cli/src/lib/smart-launch.ts`.
|
|
112
|
+
|
|
113
|
+
## 1.22.114
|
|
114
|
+
|
|
115
|
+
- **`agents projects prs <project>` — every open PR across a project's repos (PHNX-3999).** Reads the whole open PR board (drafts included, no author filter) straight from GitHub over REST, paginated, for the project's own attached repos only — unlike `projects status`, whose `openPrs` only carries PRs the fleet's sessions opened. `--repo <owner/repo>` restricts to one attached repo; `--repo … --number <n>` lazily enriches exactly that PR with its head-SHA checks and reviewDecision. A per-repo fetch failure is reported and marks the result partial, never relabeled as zero open PRs. Source: `cli/src/lib/github/project-prs.ts`, `cli/src/commands/projects.ts`.
|
|
116
|
+
- **AGI Menu preferences are registered `agents config` keys (PHNX-3999).** Thirteen user-scope `menubar.menu.*` keys (defaultProject, workingRowsShown, showPreviews, projectPriorityFilter, hideCompletedMilestones, bannerWhenNeedsYou, includeOtherDeviceRequests, groupBy [none/project/agent/device], thenBy, projectScope, projectSort, ticketSort, showPullRequests) that get/set/unset/list through the existing `agents config` surface and sync fleet-wide via the central `agents.yaml`. `config list --json` emits `{key,value,hint}` and omits unset keys, so the menu falls back to its own defaults. `agents menubar snapshot --json` also carries a `menuPreferences` map (effective value per key, `defaultProject` omitted when unset) so the menu reads them from the snapshot it already polls, not a second mechanism; on macOS a one-shot, sentinel-gated migration lifts legacy `com.phnx-labs.agents-menubar` UserDefaults into config without overriding an already-set value. Source: `cli/src/lib/device-config.ts`, `cli/src/lib/config-keys.ts`, `cli/src/commands/config.ts`, `cli/src/lib/menubar/snapshot.ts`, `cli/src/lib/menubar/migrate-prefs.ts`.
|
|
117
|
+
- **Devices carry a `formFactor` hardware fact (PHNX-3999).** A new shared device-scope config key (`laptop`/`desktop`/`server`/`unknown`) set explicitly per device — never inferred from the OS platform — surfaced in `agents menubar snapshot --json` so the menu can draw a factual hardware icon. Source: `cli/src/lib/device-config.ts`, `cli/src/lib/menubar/snapshot.ts`.
|
|
118
|
+
- **A prose "needs-you" question is split into the ask and its context (PHNX-3999).** The session state engine used to flatten a whole trailing report into one line (`oneLine(content)`), losing the actual question and its Markdown. `extractProseQuestion` now separates the trailing ask (`StructuredQuestion.text` / `BlockQuestion.text`) from the preceding report (`context`, Markdown + newlines preserved), so an operator surface can lead with the question and show the report as context. It keeps multiple/multiline asks together, peels a same-paragraph lead-in into context, and never treats a `?` inside a code span, fenced block, or blockquote as the question. The freshness decay is unchanged. Source: `cli/src/lib/session/state.ts`, `cli/src/lib/feed/feed.ts`, `cli/src/lib/feed/attention.ts`.
|
|
119
|
+
|
|
120
|
+
- Install AGI Menu 1.4.0 with Sessions device filters, in-place project details, synced preferences, native Quick Look, and question-first request cards.
|
|
121
|
+
|
|
122
|
+
- **Codex custom agents keep their backslashes.** `agents subagents` wrote the
|
|
123
|
+
Codex TOML body inside `"""` and escaped only the closing quotes, so a
|
|
124
|
+
Windows path or a regex in an `AGENT.md` was mangled by TOML's backslash
|
|
125
|
+
escapes. Backslashes are now doubled first. Fixed alongside four other CodeQL
|
|
126
|
+
findings (terminal-escape scrubbing is a linear scan, prompt tag stripping is
|
|
127
|
+
a fixpoint, R2 key decoding is single-pass, and share-page asset inlining
|
|
128
|
+
treats any non-`file:` scheme as remote); none of those change behaviour on
|
|
129
|
+
ordinary input. Source: `cli/src/lib/subagents.ts`, `cli/src/lib/redact.ts`,
|
|
130
|
+
`cli/src/lib/session/prompt.ts`, `cli/src/lib/session/sync/r2.ts`,
|
|
131
|
+
`cli/src/lib/share/html.ts`.
|
|
132
|
+
|
|
133
|
+
- **`agents computer --device` and `agents secrets --device` forward the standalone engines' own `--host` address (PHNX-4090).** `computer`, `secrets`, and `browser` are extracted CLIs with no fleet registry of their own (PHNX-4075, PHNX-3989); they share one address grammar (`ssh://[user@]host`, `vnc://host[:port]`, `tcp://host:port`, or a bare `user@host`/alias) via a copied `lib/address.ts`. A device's `computer.host` config (`agents config set devices.<name>.computer.host <address>`, next to `defaultBrowserProfile`) selects the transport — `vnc://`/`tcp://` for a non-Windows desktop, or `ssh://` still resolved against the fleet identity; with none set, `--device` falls back to the historical Windows-only ssh tunnel. `agents computer`'s `withDeviceFlag` is gone, replaced by `withHostFlag` + `resolveDeviceHost`; `agents secrets`'s passthrough gained `rewriteDeviceToHost`. An explicit `--host` on the command line always wins over `--device`; `agents view --device <name>` is unaffected — it still SSHes the whole command. Source: `src/lib/address.ts`, `src/commands/computer.ts`, `src/commands/secrets-passthrough.ts`, `src/lib/device-config.ts`, `src/lib/config-keys.ts`.
|
|
134
|
+
|
|
135
|
+
- **Removed `agents pty`; use the standalone `term` CLI instead (PHNX-4091).** The
|
|
136
|
+
PTY engine (`agents pty`, its unix-socket sidecar, and the `sessions inject --pty`
|
|
137
|
+
target) moved to `@phnx-labs/term-cli` (`npm i -g @phnx-labs/term-cli`), published
|
|
138
|
+
separately with the same verbs, flags, and JSON shapes. The OAuth device-code
|
|
139
|
+
driver (`agents fleet login`, `agents auth mint`) now spawns the standalone
|
|
140
|
+
`term` binary instead of an in-repo pty sidecar. Source: `cli/src/lib/term-client.ts`.
|
|
141
|
+
|
|
3
142
|
## 1.22.113
|
|
4
143
|
|
|
5
144
|
- **Remote sessions have one execution-owned row (PHNX-3939).** Fleet session and feed streams reconcile launcher observations with the worker's state, retaining terminal/viewing metadata separately. Reconnects and stale history cannot replace a genuine worker row. Registry cleanup retains records whose PID namespace cannot be verified; nested agent runs keep launch lineage without claiming their parent's editor terminal.
|
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ agents setup status # readiness for browser, computer, fleet,
|
|
|
53
53
|
agents run claude "explain this repo" # run any agent on your existing subscription
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
-
Everything here — and every other command in this README — is free and needs no account; the optional `agents auth login` unlocks the hosted surfaces — [team spaces](#sign-in) and managed
|
|
56
|
+
Everything here — and every other command in this README — is free and needs no account; the optional `agents auth login` unlocks the hosted surfaces — [team spaces](#sign-in) and managed trace sync (`agents traces sync` with no Cloudflare setup). `agents setup` is interactive and idempotent -- safe to re-run on any machine. Once core setup exists, it opens a status-aware menu for browser, computer, secrets, fleet, watchdog, and device preferences; each choice delegates to the same wizard available under `agents setup <capability>`. In CI or another non-TTY, bare setup prints the checklist without prompting. The `agi-cli.sh` one-liner installs this same canonical `@phnx-labs/agents-cli` package. Prefer bun? `bun install -g @phnx-labs/agents-cli` works too.
|
|
57
57
|
|
|
58
58
|
The command surface teaches setup through `agents setup` and group-level `--help`.
|
|
59
59
|
The durable system model starts at [`cli/docs/README.md`](cli/docs/README.md).
|
|
@@ -943,8 +943,8 @@ agents plugins add hivemind@https://github.com/activeloopai/hivemind.git
|
|
|
943
943
|
agents plugins add ./my-plugin
|
|
944
944
|
|
|
945
945
|
# Apply to one agent (default version) or all supported
|
|
946
|
-
agents
|
|
947
|
-
agents
|
|
946
|
+
agents sync --plugin rush-toolkit claude
|
|
947
|
+
agents sync --plugin rush-toolkit
|
|
948
948
|
```
|
|
949
949
|
|
|
950
950
|
A plugin is a directory with a manifest:
|
|
@@ -972,7 +972,7 @@ agents plugins add hivemind@https://github.com/activeloopai/hivemind.git \
|
|
|
972
972
|
--allow-exec-surfaces
|
|
973
973
|
|
|
974
974
|
# Same gate on re-sync (e.g., after upstream updates)
|
|
975
|
-
agents
|
|
975
|
+
agents sync --plugin hivemind claude --allow-exec-surfaces
|
|
976
976
|
```
|
|
977
977
|
|
|
978
978
|
Skills, commands, and subagents are declarative and never trip the gate. The gate is per-plugin, per-install: consenting to hivemind doesn't grant blanket exec-surface trust to anything else.
|
|
@@ -1150,7 +1150,7 @@ agents browser profiles create cloud \
|
|
|
1150
1150
|
|
|
1151
1151
|
## Sign in
|
|
1152
1152
|
|
|
1153
|
-
Signing in is **optional**. Every local feature — `agents run`, sessions, teams, fleet dispatch, secrets, browser, computer — works with no account. Signing in unlocks the hosted surfaces: **team spaces** (`agents auth space`) and **managed
|
|
1153
|
+
Signing in is **optional**. Every local feature — `agents run`, sessions, teams, fleet dispatch, secrets, browser, computer — works with no account. Signing in unlocks the hosted surfaces: **team spaces** (`agents auth space`) and **managed trace sync** — `agents traces sync` publishes to our storage with **zero Cloudflare setup**. `agents auth` signs this machine in to **Phoenix ID**, the Phoenix Labs account layer behind these hosted surfaces. Sign-in is Google-only and runs a device-code flow: the CLI shows a code, your browser confirms it, and the CLI picks the session up.
|
|
1154
1154
|
|
|
1155
1155
|
```bash
|
|
1156
1156
|
agents auth login # shows a code, opens a Phoenix-branded page
|
|
@@ -1242,9 +1242,9 @@ is the only way a provider credential crosses machines.
|
|
|
1242
1242
|
|
|
1243
1243
|
Selection order for a run is explicit `--account` / `<harness>#<name>`, then
|
|
1244
1244
|
`accounts default` for that harness, then the harness's native/balanced behavior.
|
|
1245
|
-
The
|
|
1246
|
-
`
|
|
1247
|
-
|
|
1245
|
+
The `connect` / `name` / `label` / `mint` / `attach` / `detach` / `switch` /
|
|
1246
|
+
`set-default` verbs are deleted; use `add` / `login` / `default` /
|
|
1247
|
+
`run <harness>#<name>` instead.
|
|
1248
1248
|
|
|
1249
1249
|
---
|
|
1250
1250
|
|
|
@@ -1281,7 +1281,7 @@ Merge order: profile env < `--secrets` < `--env K=V`. A missing keychain item ab
|
|
|
1281
1281
|
### Cross-machine sync
|
|
1282
1282
|
|
|
1283
1283
|
Secrets are provided by the standalone [`@phnx-labs/secrets-cli`](https://github.com/phnx-labs/secrets-cli)
|
|
1284
|
-
engine (`agents setup secrets`
|
|
1284
|
+
engine (`agents setup secrets` installs it if missing). Its `push`/`pull`
|
|
1285
1285
|
verbs move a bundle between machines by encrypting it and round-tripping it
|
|
1286
1286
|
through `api.prix.dev` — no copy-paste, no `.env` files emailed to yourself:
|
|
1287
1287
|
|
|
@@ -1446,119 +1446,38 @@ Sources: a command's stdout (`--watch` / `--poll`), an HTTP endpoint (`--poll-ht
|
|
|
1446
1446
|
|
|
1447
1447
|
## Share
|
|
1448
1448
|
|
|
1449
|
+
Publishing an agent's HTML output to a shareable link now lives in the standalone
|
|
1450
|
+
`artifacts` CLI (`@phnx-labs/artifacts-cli`), not in `agents`. The `agents artifacts`
|
|
1451
|
+
command group was removed (PHNX-3992), the same split as secrets (PHNX-3989) and
|
|
1452
|
+
computer (PHNX-4075). Sign in and publish with it directly:
|
|
1453
|
+
|
|
1449
1454
|
```bash
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
agents traces setup # provision the private traces Worker + R2 bucket
|
|
1458
|
-
agents artifacts share plan.html --slug fleet --expire 30d # → https://<base>/fleet
|
|
1459
|
-
agents artifacts share plan.html --label "Q3 fleet plan" --meta kind=plan # human title + structured metadata
|
|
1460
|
-
agents artifacts share plan.html --json # URL object for plan-render hooks
|
|
1461
|
-
agents artifacts share list --agent claude # public gallery, filterable
|
|
1462
|
-
agents artifacts share list --meta kind=plan # exact, repeatable metadata filters
|
|
1463
|
-
agents artifacts share list --all # include hidden unlisted/private/me/org pages
|
|
1464
|
-
agents artifacts share list --scope me # just the owner-only pages
|
|
1465
|
-
agents artifacts share edit fleet --label "Final fleet plan" --meta status=final
|
|
1466
|
-
agents artifacts share revisions fleet # prior versions kept under a slug
|
|
1467
|
-
agents artifacts share visibility fleet me # re-scope a published page in place (public|unlisted|me|org)
|
|
1468
|
-
agents artifacts share open fleet # open your page signed in, so its in-page visibility control is live
|
|
1469
|
-
agents artifacts share status # show the endpoint
|
|
1470
|
-
agents artifacts unshare fleet # take a published link (+ its OG cover) down
|
|
1471
|
-
```
|
|
1472
|
-
|
|
1473
|
-
`agents artifacts share` closes the loop: an agent makes work (a plan, a viz, a report),
|
|
1474
|
-
publishes it, and you open the link to see it. **Signed-in users** publish to the
|
|
1475
|
-
already-live managed endpoint (`share.agents-cli.sh/<handle>/…`) with the Phoenix session — no
|
|
1476
|
-
Cloudflare account, bucket, or write token — and `share status` / `list` / `revisions`
|
|
1477
|
-
/ `unshare` talk to that same endpoint. The handle is the local-part of the signed-in
|
|
1478
|
-
email (`muqsitnawaz@gmail.com` → `muqsitnawaz`); the page slug is readable plus a
|
|
1479
|
-
short view-id. HTML is stored as one object: local images are inlined, `file://` TOC
|
|
1480
|
-
links become in-page hashes, so the published page is actually viewable. The managed
|
|
1481
|
-
Worker lazily renders and caches the branded 1200×630 Open Graph card at `<slug>.png`,
|
|
1482
|
-
so publishing from Linux does not require a local Chromium; BYO endpoints keep the
|
|
1483
|
-
local screenshot fallback. `--visibility unlisted` (hidden aliases
|
|
1484
|
-
`--unlisted` / `--private`) is a capability URL: GET still works, the gallery hides it,
|
|
1485
|
-
and the Worker sends `X-Robots-Tag: noindex`. `--protected` (`--visibility private`)
|
|
1486
|
-
is token-gated: the published URL carries a secret `?k=` key (`Authorization: Bearer`
|
|
1487
|
-
is accepted too) and GET returns 404 without it — treat the whole link as a secret.
|
|
1488
|
-
`--visibility me` is visible only to
|
|
1489
|
-
you (the signed-in owner); `--visibility org` is visible to anyone at your email
|
|
1490
|
-
**domain** — derived from your own address, so it needs a **workspace** Google
|
|
1491
|
-
account and is refused on a public-inbox domain (`gmail.com`, `outlook.com`,
|
|
1492
|
-
`icloud.com`, …). Both need a Phoenix session and are identity-gated at read time (a
|
|
1493
|
-
stranger is redirected to sign in, then 404s). `share visibility <target> <level>`
|
|
1494
|
-
re-scopes an **already-published** page in place — the slug/URL is preserved and the
|
|
1495
|
-
body is untouched (a metadata-only change, like `share edit`, so no revision) — so you
|
|
1496
|
-
can promote a draft to `public` or pull a link back to `me`/`org` without re-publishing
|
|
1497
|
-
(`me`/`org` need a Phoenix session; `org` needs a workspace domain). The served page
|
|
1498
|
-
also carries an **in-page visibility control** — a chip you can switch right on the page
|
|
1499
|
-
— but it is interactive only for the signed-in owner, and a plain link has no login;
|
|
1500
|
-
`share open <target>` mints a short-lived, single-use login ticket and opens your page
|
|
1501
|
-
with it so the chip becomes a live dropdown. Sign-in is a
|
|
1502
|
-
single **Phoenix ID** (Google-only device-code OAuth, `agents auth login`) — see
|
|
1503
|
-
[`docs/share.md`](cli/docs/share.md) for the full identity + visibility model.
|
|
1504
|
-
**BYO Cloudflare** remains: `setup` reads
|
|
1505
|
-
a Cloudflare API token from your `cloudflare.com` secrets bundle (or `--token`), creates
|
|
1506
|
-
an R2 bucket, uploads a tiny Worker, and enables the free `*.workers.dev` subdomain (or
|
|
1507
|
-
maps `--domain share.example.com` when the token owns the zone). Writes are bearer-gated
|
|
1508
|
-
**through** the Worker (Phoenix bearer or static `WRITE_TOKEN`); public and unlisted
|
|
1509
|
-
reads are **public** so a link outlives the agent, while `--protected` token-gates
|
|
1510
|
-
reads on BYO too. R2 has zero egress + a 10 GB free tier, so BYO is still
|
|
1511
|
-
effectively free.
|
|
1512
|
-
|
|
1513
|
-
**Fleet mode:** provision one endpoint, then every fleet / cloud / ephemeral agent
|
|
1514
|
-
publishes through it with a shared write token — `agents artifacts share join <baseUrl>` uses an
|
|
1515
|
-
existing endpoint with no provisioning. `--expire 30d|12h|<date>` auto-expires a link.
|
|
1516
|
-
`--json` emits `{ url, coverUrl, expiresAt, visibility, unlisted?, label, labelSource }` so plan-render automation can
|
|
1517
|
-
publish the rendered HTML and post the returned link without scraping terminal text.
|
|
1518
|
-
|
|
1519
|
-
**Every share carries provenance and a title.** Agent/session/host/repo/date are
|
|
1520
|
-
captured automatically from the exec env and git — never invented, only sent when
|
|
1521
|
-
present. `--label`/`--title` names a share (else one is derived from the HTML
|
|
1522
|
-
`<title>`, frontmatter, or filename, with a nudge — never a blocking prompt); `--meta
|
|
1523
|
-
key=value` attaches structured metadata (`kind`, `project`, `ticket`, `status`, ...).
|
|
1524
|
-
`agents artifacts share list --agent <name> | --session <id> | --label-contains <substr>
|
|
1525
|
-
| --meta <key=value>` filters by provenance, title, or exact structured metadata, so
|
|
1526
|
-
the listing is a real "what have I shared" gallery, not just slugs. By default it mirrors
|
|
1527
|
-
the public gallery; `--scope unlisted|me|org` (or `--all`) includes your hidden pages and
|
|
1528
|
-
marks each row with its visibility so you can tell public from private at a glance.
|
|
1529
|
-
`agents artifacts share edit <slug>` changes only the label/arbitrary metadata in place:
|
|
1530
|
-
the URL, exact body, HTTP metadata, publication time, visibility, expiry, provenance,
|
|
1531
|
-
cover, and revision history stay unchanged.
|
|
1532
|
-
Republishing an existing slug keeps the prior version as a revision by default
|
|
1533
|
-
(`--no-revision` to skip); `agents artifacts share revisions <slug>` shows the retained
|
|
1534
|
-
history, newest first.
|
|
1535
|
-
|
|
1536
|
-
`agents artifacts share delete <targets...>` (alias `agents artifacts unshare`) takes a page down — pass a
|
|
1537
|
-
full URL, `<user>/<slug>`, or a bare slug (resolved against your own namespace); several
|
|
1538
|
-
targets at once are fine. It also deletes the sibling `<slug>.png` OG cover by default
|
|
1539
|
-
(`--keep-cover` opts out) and verifies the page actually 404s before reporting success —
|
|
1540
|
-
the Worker's delete is idempotent, so `{"ok":true}` alone is never proof.
|
|
1541
|
-
See the publication boundary in [observability](cli/docs/observability.md).
|
|
1455
|
+
artifacts auth login # Phoenix ID device-code sign-in
|
|
1456
|
+
artifacts share plan.html # publish the HTML and print the link
|
|
1457
|
+
```
|
|
1458
|
+
|
|
1459
|
+
`agents sessions share <id>` stays in this CLI: it renders a session transcript to
|
|
1460
|
+
HTML locally, then shells out to `artifacts share` to publish it, so a conversation
|
|
1461
|
+
becomes a shareable link the same way any other artifact does.
|
|
1542
1462
|
|
|
1543
1463
|
---
|
|
1544
1464
|
|
|
1545
1465
|
## PTY
|
|
1546
1466
|
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1467
|
+
Real pseudoterminals for REPLs, TUIs, and interactive programs moved to the
|
|
1468
|
+
standalone [`term` CLI](https://github.com/phnx-labs/term-cli)
|
|
1469
|
+
(`npm i -g @phnx-labs/term-cli`), published separately (PHNX-4091). Same
|
|
1470
|
+
verbs, flags, and JSON shapes `agents pty` used to have:
|
|
1551
1471
|
|
|
1552
1472
|
```bash
|
|
1553
|
-
|
|
1554
|
-
SID
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
agents pty stop $SID
|
|
1473
|
+
SID=$(term start)
|
|
1474
|
+
term exec $SID "python3"
|
|
1475
|
+
term screen $SID # Clean text, no ANSI -- what a human sees
|
|
1476
|
+
term write $SID "print('hello')\n"
|
|
1477
|
+
term stop $SID
|
|
1559
1478
|
```
|
|
1560
1479
|
|
|
1561
|
-
|
|
1480
|
+
`term`'s own sidecar server holds sessions alive between CLI calls and renders `screen` via a headless terminal emulator; sessions auto-clean after 30 minutes idle. See [term-cli's README](https://github.com/phnx-labs/term-cli#readme) for the full command reference.
|
|
1562
1481
|
|
|
1563
1482
|
---
|
|
1564
1483
|
|
|
@@ -1778,7 +1697,7 @@ Claude Code, Codex CLI, Antigravity, Grok Build, and others each have their own
|
|
|
1778
1697
|
|
|
1779
1698
|
### Is it free?
|
|
1780
1699
|
|
|
1781
|
-
Yes — every feature, with no account and no signup. `agents run`, sessions, teams, fleet dispatch, secrets, browser, and computer automation all work the moment you install. The optional `agents auth login` unlocks the hosted surfaces — team spaces (`agents auth space`) and managed
|
|
1700
|
+
Yes — every feature, with no account and no signup. `agents run`, sessions, teams, fleet dispatch, secrets, browser, and computer automation all work the moment you install. The optional `agents auth login` unlocks the hosted surfaces — team spaces (`agents auth space`) and managed trace sync (`agents traces sync`, no Cloudflare setup); there are no paid tiers. This developer tool is entirely free because we believe developers should have the best tools — fast and robust — so they can create the best products for their users.
|
|
1782
1701
|
|
|
1783
1702
|
### Is this like `nvm` / `mise` / `asdf` for AI agents?
|
|
1784
1703
|
|
package/dist/browser.js
CHANGED
|
File without changes
|
|
@@ -24,73 +24,13 @@ export { KNOWN_TOP_LEVEL_COMMANDS, RETIRED_TOP_LEVEL_COMMANDS } from '../lib/sta
|
|
|
24
24
|
export type Registrar = (program: Command) => void;
|
|
25
25
|
/** A thunk that dynamically imports a command module and returns its registrar. */
|
|
26
26
|
export type ModuleLoader = () => Promise<Registrar>;
|
|
27
|
-
export declare const loadView: ModuleLoader;
|
|
28
|
-
export declare const loadInspect: ModuleLoader;
|
|
29
|
-
export declare const loadFeedback: ModuleLoader;
|
|
30
|
-
export declare const loadCommands: ModuleLoader;
|
|
31
|
-
export declare const loadHooks: ModuleLoader;
|
|
32
|
-
export declare const loadSkills: ModuleLoader;
|
|
33
|
-
export declare const loadRules: ModuleLoader;
|
|
34
|
-
export declare const loadMemory: ModuleLoader;
|
|
35
|
-
export declare const loadPermissions: ModuleLoader;
|
|
36
|
-
export declare const loadMcp: ModuleLoader;
|
|
37
|
-
export declare const loadCli: ModuleLoader;
|
|
38
|
-
export declare const loadSubagents: ModuleLoader;
|
|
39
|
-
export declare const loadPlugins: ModuleLoader;
|
|
40
|
-
export declare const loadWorkflows: ModuleLoader;
|
|
41
27
|
export declare const loadVersions: ModuleLoader;
|
|
42
28
|
export declare const loadUpdate: ModuleLoader;
|
|
43
|
-
export declare const loadImport: ModuleLoader;
|
|
44
|
-
export declare const loadPackages: ModuleLoader;
|
|
45
|
-
export declare const loadRoutines: ModuleLoader;
|
|
46
|
-
export declare const loadMonitors: ModuleLoader;
|
|
47
|
-
export declare const loadProjects: ModuleLoader;
|
|
48
29
|
export declare const loadRun: ModuleLoader;
|
|
49
|
-
export declare const loadOpen: ModuleLoader;
|
|
50
|
-
export declare const loadReconnect: ModuleLoader;
|
|
51
|
-
export declare const loadFork: ModuleLoader;
|
|
52
|
-
export declare const loadConfig: ModuleLoader;
|
|
53
|
-
export declare const loadModels: ModuleLoader;
|
|
54
|
-
export declare const loadModes: ModuleLoader;
|
|
55
30
|
export declare const loadPrune: ModuleLoader;
|
|
56
|
-
export declare const loadTrash: ModuleLoader;
|
|
57
|
-
export declare const loadRestore: ModuleLoader;
|
|
58
31
|
export declare const loadDoctor: ModuleLoader;
|
|
59
|
-
export declare const loadRoute: ModuleLoader;
|
|
60
|
-
export declare const loadHarness: ModuleLoader;
|
|
61
|
-
export declare const loadSecrets: ModuleLoader;
|
|
62
|
-
export declare const loadMenubar: ModuleLoader;
|
|
63
|
-
export declare const loadSync: ModuleLoader;
|
|
64
|
-
export declare const loadRefreshRules: ModuleLoader;
|
|
65
|
-
export declare const loadFactory: ModuleLoader;
|
|
66
|
-
export declare const loadInsights: ModuleLoader;
|
|
67
|
-
export declare const loadTrace: ModuleLoader;
|
|
68
|
-
export declare const loadPty: ModuleLoader;
|
|
69
|
-
export declare const loadTmux: ModuleLoader;
|
|
70
|
-
export declare const loadWatchdog: ModuleLoader;
|
|
71
|
-
export declare const loadBrowser: ModuleLoader;
|
|
72
|
-
export declare const loadComputer: ModuleLoader;
|
|
73
|
-
export declare const loadLogs: ModuleLoader;
|
|
74
|
-
export declare const loadEvents: ModuleLoader;
|
|
75
|
-
export declare const loadSsh: ModuleLoader;
|
|
76
|
-
export declare const loadRepo: ModuleLoader;
|
|
77
|
-
export declare const loadSetup: ModuleLoader;
|
|
78
|
-
export declare const loadUninstall: ModuleLoader;
|
|
79
|
-
export declare const loadUpgrade: ModuleLoader;
|
|
80
32
|
export declare const loadSessions: ModuleLoader;
|
|
81
33
|
export declare const loadTeams: ModuleLoader;
|
|
82
|
-
export declare const loadCloud: ModuleLoader;
|
|
83
|
-
export declare const loadMessage: ModuleLoader;
|
|
84
|
-
export declare const loadSend: ModuleLoader;
|
|
85
|
-
export declare const loadFeed: ModuleLoader;
|
|
86
|
-
export declare const loadMailboxes: ModuleLoader;
|
|
87
|
-
export declare const loadArtifacts: ModuleLoader;
|
|
88
|
-
export declare const loadWebhooks: ModuleLoader;
|
|
89
|
-
export declare const loadHumans: ModuleLoader;
|
|
90
|
-
export declare const loadAccounts: ModuleLoader;
|
|
91
|
-
export declare const loadDaemon: ModuleLoader;
|
|
92
|
-
export declare const loadAuth: ModuleLoader;
|
|
93
|
-
export declare const loadTraces: ModuleLoader;
|
|
94
34
|
export declare const loadReminders: ModuleLoader;
|
|
95
35
|
/**
|
|
96
36
|
* Commands whose modules pull in the SQLite-backed session/cloud stack. They are
|