@skrr-ai/cli 0.1.115 → 0.1.117
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/dist/base-command.d.ts +21 -0
- package/dist/base-command.js +118 -18
- package/dist/commands/actions/browse.d.ts +6 -6
- package/dist/commands/actions/create.d.ts +12 -12
- package/dist/commands/actions/delete.d.ts +3 -3
- package/dist/commands/actions/install.d.ts +4 -3
- package/dist/commands/actions/install.js +46 -1
- package/dist/commands/actions/list.d.ts +6 -6
- package/dist/commands/actions/publish.d.ts +4 -4
- package/dist/commands/actions/rate.d.ts +3 -3
- package/dist/commands/actions/show.d.ts +2 -2
- package/dist/commands/actions/update.d.ts +11 -11
- package/dist/commands/agenda/plan.d.ts +4 -4
- package/dist/commands/agenda/trigger/create.d.ts +10 -10
- package/dist/commands/agenda/trigger/delete.d.ts +4 -4
- package/dist/commands/agenda/trigger/fire.d.ts +3 -3
- package/dist/commands/agenda/trigger/list.d.ts +3 -3
- package/dist/commands/agent/call/cancel.d.ts +2 -2
- package/dist/commands/agent/call/request.d.ts +6 -6
- package/dist/commands/agent/call/show.d.ts +2 -2
- package/dist/commands/agent/message/context.d.ts +4 -4
- package/dist/commands/agent/message/context.js +21 -1
- package/dist/commands/agent/message/send.d.ts +26 -26
- package/dist/commands/agent/phone-call/request.d.ts +5 -5
- package/dist/commands/agent-groups/add.d.ts +3 -3
- package/dist/commands/agent-groups/create.d.ts +6 -6
- package/dist/commands/agent-groups/delete.d.ts +2 -2
- package/dist/commands/agent-groups/list.d.ts +1 -1
- package/dist/commands/agent-groups/remove.d.ts +3 -3
- package/dist/commands/agent-groups/show.d.ts +2 -2
- package/dist/commands/agent-groups/update.d.ts +7 -7
- package/dist/commands/agent-shares/accept.d.ts +2 -2
- package/dist/commands/agent-shares/create.d.ts +5 -5
- package/dist/commands/agent-shares/decline.d.ts +3 -3
- package/dist/commands/agent-shares/leave.d.ts +2 -2
- package/dist/commands/agent-shares/list-for.d.ts +2 -2
- package/dist/commands/agent-shares/received.d.ts +5 -5
- package/dist/commands/agent-shares/revoke.d.ts +2 -2
- package/dist/commands/agent-shares/sent.d.ts +4 -4
- package/dist/commands/agent-shares/with.d.ts +2 -2
- package/dist/commands/agent-worker.d.ts +2 -2
- package/dist/commands/agents/actions/create.d.ts +18 -18
- package/dist/commands/agents/actions/delete.d.ts +4 -4
- package/dist/commands/agents/actions/list.d.ts +2 -2
- package/dist/commands/agents/actions/run.d.ts +5 -5
- package/dist/commands/agents/actions/schedule.d.ts +19 -19
- package/dist/commands/agents/actions/show.d.ts +3 -3
- package/dist/commands/agents/actions/targets.d.ts +4 -4
- package/dist/commands/agents/actions/update.d.ts +17 -17
- package/dist/commands/agents/activity.d.ts +5 -5
- package/dist/commands/agents/always-on/disable.d.ts +3 -3
- package/dist/commands/agents/always-on/enable.d.ts +3 -3
- package/dist/commands/agents/always-on/reconcile.d.ts +2 -2
- package/dist/commands/agents/always-on/status.d.ts +2 -2
- package/dist/commands/agents/api-actions/add.d.ts +15 -15
- package/dist/commands/agents/api-actions/index.d.ts +2 -2
- package/dist/commands/agents/api-actions/remove.d.ts +3 -3
- package/dist/commands/agents/attach-harness.d.ts +8 -8
- package/dist/commands/agents/avatar/default/apply.d.ts +3 -3
- package/dist/commands/agents/avatar/default/index.d.ts +1 -1
- package/dist/commands/agents/avatar/default/set.d.ts +6 -6
- package/dist/commands/agents/avatar/generate.d.ts +3 -3
- package/dist/commands/agents/avatar/library/delete.d.ts +2 -2
- package/dist/commands/agents/avatar/library/index.d.ts +1 -1
- package/dist/commands/agents/avatar/presets.d.ts +2 -2
- package/dist/commands/agents/avatar/upload.d.ts +3 -3
- package/dist/commands/agents/badge.d.ts +4 -4
- package/dist/commands/agents/categories/create.d.ts +5 -5
- package/dist/commands/agents/categories/delete.d.ts +2 -2
- package/dist/commands/agents/categories/index.d.ts +4 -4
- package/dist/commands/agents/categories/update.d.ts +6 -6
- package/dist/commands/agents/channels/connect.d.ts +3 -3
- package/dist/commands/agents/channels/delete.d.ts +4 -4
- package/dist/commands/agents/channels/disconnect.d.ts +3 -3
- package/dist/commands/agents/channels/show.d.ts +3 -3
- package/dist/commands/agents/channels/test.d.ts +4 -4
- package/dist/commands/agents/channels/update.d.ts +4 -4
- package/dist/commands/agents/chat.d.ts +15 -15
- package/dist/commands/agents/chat.js +1 -0
- package/dist/commands/agents/create.d.ts +45 -45
- package/dist/commands/agents/delete.d.ts +2 -2
- package/dist/commands/agents/duplicate.d.ts +2 -2
- package/dist/commands/agents/egress.d.ts +8 -8
- package/dist/commands/agents/embed.d.ts +2 -2
- package/dist/commands/agents/endpoint/connect.d.ts +6 -6
- package/dist/commands/agents/endpoint/disable.d.ts +2 -2
- package/dist/commands/agents/endpoint/enable.d.ts +2 -2
- package/dist/commands/agents/endpoint/show.d.ts +2 -2
- package/dist/commands/agents/ensure-default.d.ts +2 -2
- package/dist/commands/agents/eval/index.d.ts +8 -8
- package/dist/commands/agents/eval/list.d.ts +3 -3
- package/dist/commands/agents/eval/show.d.ts +3 -3
- package/dist/commands/agents/files/delete.d.ts +4 -4
- package/dist/commands/agents/files/list.d.ts +2 -2
- package/dist/commands/agents/files/move.d.ts +4 -4
- package/dist/commands/agents/files/rename.d.ts +4 -4
- package/dist/commands/agents/files/upload.d.ts +4 -4
- package/dist/commands/agents/folders/create.d.ts +4 -4
- package/dist/commands/agents/folders/delete.d.ts +4 -4
- package/dist/commands/agents/folders/list.d.ts +2 -2
- package/dist/commands/agents/folders/show.d.ts +3 -3
- package/dist/commands/agents/folders/update.d.ts +5 -5
- package/dist/commands/agents/goals/assign.d.ts +3 -3
- package/dist/commands/agents/goals/list.d.ts +2 -2
- package/dist/commands/agents/goals/unassign.d.ts +3 -3
- package/dist/commands/agents/identity.d.ts +2 -2
- package/dist/commands/agents/import.d.ts +4 -4
- package/dist/commands/agents/instructions/add.d.ts +11 -11
- package/dist/commands/agents/instructions/disable.d.ts +3 -3
- package/dist/commands/agents/instructions/edit.d.ts +6 -6
- package/dist/commands/agents/instructions/enable.d.ts +3 -3
- package/dist/commands/agents/instructions/move.d.ts +5 -5
- package/dist/commands/agents/instructions/preview.d.ts +3 -3
- package/dist/commands/agents/instructions/remove.d.ts +3 -3
- package/dist/commands/agents/instructions/set.d.ts +6 -6
- package/dist/commands/agents/instructions/show.d.ts +4 -4
- package/dist/commands/agents/instructions/upgrade.d.ts +5 -5
- package/dist/commands/agents/intuitions/accept.d.ts +4 -4
- package/dist/commands/agents/intuitions/dismiss.d.ts +4 -4
- package/dist/commands/agents/intuitions/generate.d.ts +3 -3
- package/dist/commands/agents/intuitions/list.d.ts +2 -2
- package/dist/commands/agents/intuitions/stats.d.ts +2 -2
- package/dist/commands/agents/list.d.ts +10 -10
- package/dist/commands/agents/mailbox/messages.d.ts +4 -4
- package/dist/commands/agents/mailbox/show.d.ts +2 -2
- package/dist/commands/agents/manager/ensure.d.ts +1 -1
- package/dist/commands/agents/mute.d.ts +2 -2
- package/dist/commands/agents/notepad/delete.d.ts +3 -3
- package/dist/commands/agents/notepad/show.d.ts +2 -2
- package/dist/commands/agents/notepad/update.d.ts +4 -4
- package/dist/commands/agents/operating-plan.d.ts +2 -2
- package/dist/commands/agents/overview.d.ts +3 -3
- package/dist/commands/agents/pin.d.ts +2 -2
- package/dist/commands/agents/plan-day.d.ts +9 -9
- package/dist/commands/agents/preferences/show.d.ts +2 -2
- package/dist/commands/agents/preferences/update.d.ts +5 -5
- package/dist/commands/agents/pull.d.ts +3 -3
- package/dist/commands/agents/push.d.ts +3 -3
- package/dist/commands/agents/query.d.ts +4 -4
- package/dist/commands/agents/reflect.d.ts +7 -7
- package/dist/commands/agents/releases/ci-publish.d.ts +10 -10
- package/dist/commands/agents/releases/create.d.ts +8 -8
- package/dist/commands/agents/releases/delist.d.ts +5 -5
- package/dist/commands/agents/releases/known-issues/add.d.ts +5 -5
- package/dist/commands/agents/releases/known-issues/list.d.ts +3 -3
- package/dist/commands/agents/releases/known-issues/update.d.ts +7 -7
- package/dist/commands/agents/releases/list.d.ts +2 -2
- package/dist/commands/agents/releases/restore.d.ts +3 -3
- package/dist/commands/agents/releases/rollback.d.ts +3 -3
- package/dist/commands/agents/releases/test-install.d.ts +6 -6
- package/dist/commands/agents/releases/trusted-publishers/list.d.ts +2 -2
- package/dist/commands/agents/releases/trusted-publishers/remove.d.ts +3 -3
- package/dist/commands/agents/releases/trusted-publishers/set.d.ts +7 -7
- package/dist/commands/agents/revert.d.ts +3 -3
- package/dist/commands/agents/roles/capture.d.ts +7 -7
- package/dist/commands/agents/roles/example.d.ts +2 -2
- package/dist/commands/agents/roles/export.d.ts +5 -5
- package/dist/commands/agents/roles/install.d.ts +4 -4
- package/dist/commands/agents/roles/list.d.ts +2 -2
- package/dist/commands/agents/roles/preview.d.ts +7 -7
- package/dist/commands/agents/roles/withdraw.d.ts +4 -4
- package/dist/commands/agents/scene-background/upload.d.ts +4 -4
- package/dist/commands/agents/schedule-overview.d.ts +6 -6
- package/dist/commands/agents/schedule-trace.d.ts +7 -7
- package/dist/commands/agents/schedule.d.ts +15 -15
- package/dist/commands/agents/share.d.ts +4 -4
- package/dist/commands/agents/show.d.ts +3 -3
- package/dist/commands/agents/skills/add.d.ts +4 -4
- package/dist/commands/agents/skills/list.d.ts +3 -3
- package/dist/commands/agents/skills/remove.d.ts +4 -4
- package/dist/commands/agents/spaces.d.ts +3 -3
- package/dist/commands/agents/spawn.d.ts +12 -12
- package/dist/commands/agents/todos/cancel.d.ts +3 -3
- package/dist/commands/agents/todos/create.d.ts +7 -7
- package/dist/commands/agents/todos/list.d.ts +3 -3
- package/dist/commands/agents/tone/clear.d.ts +3 -3
- package/dist/commands/agents/tone/inherit.d.ts +2 -2
- package/dist/commands/agents/tone/set.d.ts +4 -4
- package/dist/commands/agents/tone/show.d.ts +4 -4
- package/dist/commands/agents/tools/auth.d.ts +2 -2
- package/dist/commands/agents/tools/calls.d.ts +2 -2
- package/dist/commands/agents/tools/index.d.ts +2 -2
- package/dist/commands/agents/transfer-workspace.d.ts +3 -3
- package/dist/commands/agents/triggers/create.d.ts +65 -65
- package/dist/commands/agents/triggers/delete.d.ts +4 -4
- package/dist/commands/agents/triggers/disable.d.ts +3 -3
- package/dist/commands/agents/triggers/enable.d.ts +3 -3
- package/dist/commands/agents/triggers/fire.d.ts +4 -4
- package/dist/commands/agents/triggers/list.d.ts +6 -6
- package/dist/commands/agents/triggers/policy.d.ts +11 -11
- package/dist/commands/agents/triggers/replay.d.ts +5 -5
- package/dist/commands/agents/triggers/runs.d.ts +6 -6
- package/dist/commands/agents/triggers/show.d.ts +3 -3
- package/dist/commands/agents/triggers/update.d.ts +64 -64
- package/dist/commands/agents/unmute.d.ts +2 -2
- package/dist/commands/agents/unpin.d.ts +2 -2
- package/dist/commands/agents/upcoming.d.ts +8 -8
- package/dist/commands/agents/update.d.ts +46 -46
- package/dist/commands/agents/usage-cap.d.ts +7 -7
- package/dist/commands/agents/validate.d.ts +2 -2
- package/dist/commands/agents/vanity.d.ts +3 -3
- package/dist/commands/agents/versions.d.ts +2 -2
- package/dist/commands/agents/visibility.d.ts +17 -17
- package/dist/commands/api-keys/create.d.ts +7 -7
- package/dist/commands/api-keys/list.d.ts +2 -2
- package/dist/commands/api-keys/revoke.d.ts +3 -3
- package/dist/commands/api-keys/rotate.d.ts +3 -3
- package/dist/commands/apps/channel.d.ts +4 -4
- package/dist/commands/apps/check-draft.d.ts +2 -2
- package/dist/commands/apps/check.d.ts +5 -5
- package/dist/commands/apps/create.d.ts +5 -5
- package/dist/commands/apps/data/put.d.ts +8 -8
- package/dist/commands/apps/data/query.d.ts +10 -10
- package/dist/commands/apps/disclosure.d.ts +6 -6
- package/dist/commands/apps/file/cat.d.ts +5 -5
- package/dist/commands/apps/file/ls.d.ts +3 -3
- package/dist/commands/apps/file/mv.d.ts +5 -5
- package/dist/commands/apps/file/rm.d.ts +5 -5
- package/dist/commands/apps/file/write.d.ts +7 -7
- package/dist/commands/apps/install.d.ts +9 -9
- package/dist/commands/apps/installations/list.d.ts +3 -3
- package/dist/commands/apps/installations/show.d.ts +2 -2
- package/dist/commands/apps/layout/set.d.ts +3 -3
- package/dist/commands/apps/layout/show.d.ts +1 -1
- package/dist/commands/apps/list.d.ts +2 -2
- package/dist/commands/apps/logs.d.ts +3 -3
- package/dist/commands/apps/preview.d.ts +2 -2
- package/dist/commands/apps/publish/propose.d.ts +4 -4
- package/dist/commands/apps/pull.d.ts +4 -4
- package/dist/commands/apps/push.d.ts +5 -5
- package/dist/commands/apps/reconsent.d.ts +3 -3
- package/dist/commands/apps/report.d.ts +5 -5
- package/dist/commands/apps/resume.d.ts +2 -2
- package/dist/commands/apps/settings/set.d.ts +4 -4
- package/dist/commands/apps/settings/show.d.ts +2 -2
- package/dist/commands/apps/show.d.ts +2 -2
- package/dist/commands/apps/suspend.d.ts +2 -2
- package/dist/commands/apps/uninstall.d.ts +3 -3
- package/dist/commands/apps/upgrade.d.ts +4 -4
- package/dist/commands/apps/version/create.d.ts +4 -4
- package/dist/commands/apps/version/show.d.ts +2 -2
- package/dist/commands/apps/versions.d.ts +2 -2
- package/dist/commands/apps/webhooks/list.d.ts +2 -2
- package/dist/commands/balance/history.d.ts +3 -3
- package/dist/commands/balance/overage.d.ts +2 -2
- package/dist/commands/balance/plan.d.ts +1 -1
- package/dist/commands/balance/show.d.ts +1 -1
- package/dist/commands/balance/statement.d.ts +5 -5
- package/dist/commands/balance/usage/breakdown.d.ts +4 -4
- package/dist/commands/balance/usage/events.d.ts +5 -5
- package/dist/commands/balance/usage.d.ts +1 -1
- package/dist/commands/browser/cloud-agents.d.ts +2 -2
- package/dist/commands/browser/doctor.d.ts +1 -1
- package/dist/commands/browser/install.d.ts +4 -4
- package/dist/commands/browser/skill/show.d.ts +1 -1
- package/dist/commands/browser/status.d.ts +1 -1
- package/dist/commands/browser/uninstall.d.ts +4 -4
- package/dist/commands/characters/list.d.ts +3 -3
- package/dist/commands/chats/agents/add.d.ts +3 -3
- package/dist/commands/chats/agents/remove.d.ts +3 -3
- package/dist/commands/chats/create.d.ts +4 -4
- package/dist/commands/chats/delete.d.ts +2 -2
- package/dist/commands/chats/files/delete.d.ts +3 -3
- package/dist/commands/chats/files/list.d.ts +2 -2
- package/dist/commands/chats/files/move.d.ts +4 -4
- package/dist/commands/chats/files/rename.d.ts +4 -4
- package/dist/commands/chats/folders/create.d.ts +3 -3
- package/dist/commands/chats/folders/delete.d.ts +3 -3
- package/dist/commands/chats/folders/list.d.ts +2 -2
- package/dist/commands/chats/folders/update.d.ts +4 -4
- package/dist/commands/chats/join.d.ts +2 -2
- package/dist/commands/chats/list.d.ts +5 -5
- package/dist/commands/chats/messages.d.ts +5 -5
- package/dist/commands/chats/preferences/show.d.ts +1 -1
- package/dist/commands/chats/preferences/update.d.ts +3 -3
- package/dist/commands/chats/send.d.ts +9 -9
- package/dist/commands/chats/show.d.ts +2 -2
- package/dist/commands/chats/spaces/create.d.ts +4 -4
- package/dist/commands/chats/spaces/link.d.ts +3 -3
- package/dist/commands/chats/spaces/list.d.ts +2 -2
- package/dist/commands/chats/spaces/unlink.d.ts +3 -3
- package/dist/commands/chats/triggers/set.d.ts +22 -22
- package/dist/commands/chats/triggers/show.d.ts +2 -2
- package/dist/commands/chats/update.d.ts +5 -5
- package/dist/commands/chats/widgets/create.d.ts +5 -5
- package/dist/commands/chats/widgets/delete.d.ts +3 -3
- package/dist/commands/chats/widgets/list.d.ts +2 -2
- package/dist/commands/chats/widgets/update.d.ts +6 -6
- package/dist/commands/code/doctor.d.ts +2 -2
- package/dist/commands/code/handover.d.ts +9 -9
- package/dist/commands/code/install.d.ts +5 -5
- package/dist/commands/code/install.js +2 -34
- package/dist/commands/code/jobs/approve.d.ts +2 -2
- package/dist/commands/code/jobs/cancel.d.ts +2 -2
- package/dist/commands/code/jobs/list.d.ts +4 -4
- package/dist/commands/code/jobs/run.d.ts +9 -9
- package/dist/commands/code/jobs/show.d.ts +2 -2
- package/dist/commands/code/migrate.d.ts +4 -4
- package/dist/commands/code/rollback.d.ts +1 -1
- package/dist/commands/code/skrr-agent.d.ts +5 -5
- package/dist/commands/code/update.d.ts +8 -8
- package/dist/commands/code/update.js +2 -34
- package/dist/commands/commands.d.ts +6 -6
- package/dist/commands/commands.js +2 -1
- package/dist/commands/commerce/entitlements/explain.d.ts +2 -2
- package/dist/commands/commerce/fees/show.d.ts +2 -2
- package/dist/commands/commerce/incidents/audit.d.ts +3 -3
- package/dist/commands/commerce/incidents/list.d.ts +4 -4
- package/dist/commands/commerce/incidents/resolve.d.ts +3 -3
- package/dist/commands/commerce/incidents/retry.d.ts +3 -3
- package/dist/commands/commerce/incidents/show.d.ts +3 -3
- package/dist/commands/commerce/offers/approve.d.ts +2 -2
- package/dist/commands/commerce/offers/create.d.ts +2 -2
- package/dist/commands/commerce/offers/publish.d.ts +2 -2
- package/dist/commands/commerce/offers/retire.d.ts +2 -2
- package/dist/commands/commerce/offers/validate.d.ts +2 -2
- package/dist/commands/commerce/products/create.d.ts +2 -2
- package/dist/commands/commerce/promotions/redeem.d.ts +2 -2
- package/dist/commands/commerce/terms/accept.d.ts +2 -2
- package/dist/commands/commerce/terms/show.d.ts +2 -2
- package/dist/commands/commerce/trials/conversion-preview.d.ts +2 -2
- package/dist/commands/commerce/trials/start.d.ts +4 -4
- package/dist/commands/commitments/accounting.d.ts +2 -2
- package/dist/commands/commitments/action-history.d.ts +4 -4
- package/dist/commands/commitments/action-proposals/decide.d.ts +6 -6
- package/dist/commands/commitments/action-proposals/execute.d.ts +3 -3
- package/dist/commands/commitments/action-proposals/propose.d.ts +10 -10
- package/dist/commands/commitments/action-proposals.d.ts +4 -4
- package/dist/commands/commitments/analytics/detail.d.ts +7 -7
- package/dist/commands/commitments/analytics/index.d.ts +11 -11
- package/dist/commands/commitments/analytics/replay.d.ts +4 -4
- package/dist/commands/commitments/attach.d.ts +4 -4
- package/dist/commands/commitments/bundle.d.ts +4 -4
- package/dist/commands/commitments/cadence-decisions.d.ts +3 -3
- package/dist/commands/commitments/cadence-requests/decide.d.ts +5 -5
- package/dist/commands/commitments/case.d.ts +4 -4
- package/dist/commands/commitments/cases.d.ts +5 -5
- package/dist/commands/commitments/check-now.d.ts +2 -2
- package/dist/commands/commitments/checks.d.ts +4 -4
- package/dist/commands/commitments/complete.d.ts +2 -2
- package/dist/commands/commitments/control/apply.d.ts +5 -5
- package/dist/commands/commitments/control/preview.d.ts +7 -7
- package/dist/commands/commitments/control/show.d.ts +3 -3
- package/dist/commands/commitments/cost.d.ts +4 -4
- package/dist/commands/commitments/create.d.ts +54 -35
- package/dist/commands/commitments/create.js +74 -4
- package/dist/commands/commitments/cycles.d.ts +4 -4
- package/dist/commands/commitments/decide-remediation.d.ts +5 -5
- package/dist/commands/commitments/delete.d.ts +5 -5
- package/dist/commands/commitments/delivery.d.ts +7 -7
- package/dist/commands/commitments/detach.d.ts +4 -4
- package/dist/commands/commitments/doctor.d.ts +3 -3
- package/dist/commands/commitments/effective-policy.d.ts +3 -3
- package/dist/commands/commitments/endpoints/connect.d.ts +3 -3
- package/dist/commands/commitments/endpoints/create.d.ts +6 -6
- package/dist/commands/commitments/endpoints/delete.d.ts +3 -3
- package/dist/commands/commitments/endpoints/health.d.ts +5 -5
- package/dist/commands/commitments/endpoints/list.d.ts +2 -2
- package/dist/commands/commitments/endpoints/revoke.d.ts +3 -3
- package/dist/commands/commitments/evaluations.d.ts +5 -5
- package/dist/commands/commitments/execute-remediation.d.ts +4 -4
- package/dist/commands/commitments/explain.d.ts +2 -2
- package/dist/commands/commitments/export.d.ts +5 -5
- package/dist/commands/commitments/feedback.d.ts +5 -5
- package/dist/commands/commitments/fork.d.ts +4 -4
- package/dist/commands/commitments/goals/link.d.ts +3 -3
- package/dist/commands/commitments/goals/unlink.d.ts +3 -3
- package/dist/commands/commitments/handover.d.ts +4 -4
- package/dist/commands/commitments/hypotheses.d.ts +6 -6
- package/dist/commands/commitments/import.d.ts +3 -3
- package/dist/commands/commitments/ledger.d.ts +3 -3
- package/dist/commands/commitments/lineage.d.ts +3 -3
- package/dist/commands/commitments/links/create.d.ts +6 -6
- package/dist/commands/commitments/links/detach.d.ts +3 -3
- package/dist/commands/commitments/links/list.d.ts +3 -3
- package/dist/commands/commitments/links/update.d.ts +5 -5
- package/dist/commands/commitments/list.d.ts +6 -6
- package/dist/commands/commitments/liveness.d.ts +1 -1
- package/dist/commands/commitments/metrics.d.ts +4 -4
- package/dist/commands/commitments/next-tick.d.ts +2 -2
- package/dist/commands/commitments/observation/probe.d.ts +5 -5
- package/dist/commands/commitments/observation/summary.d.ts +2 -2
- package/dist/commands/commitments/observations.d.ts +11 -11
- package/dist/commands/commitments/open.d.ts +4 -4
- package/dist/commands/commitments/operating-review.d.ts +2 -2
- package/dist/commands/commitments/pack/activate.d.ts +2 -2
- package/dist/commands/commitments/pack/bind.d.ts +9 -9
- package/dist/commands/commitments/pack/list.d.ts +1 -1
- package/dist/commands/commitments/pack/plan.d.ts +7 -7
- package/dist/commands/commitments/pack/preflight.d.ts +3 -3
- package/dist/commands/commitments/patch.d.ts +4 -4
- package/dist/commands/commitments/pause.d.ts +2 -2
- package/dist/commands/commitments/plan.d.ts +8 -8
- package/dist/commands/commitments/preflight.d.ts +6 -6
- package/dist/commands/commitments/propose-remediation.d.ts +4 -4
- package/dist/commands/commitments/readiness/show.d.ts +3 -3
- package/dist/commands/commitments/readiness/verify.d.ts +4 -4
- package/dist/commands/commitments/receipt-metrics.d.ts +5 -5
- package/dist/commands/commitments/receipt.d.ts +7 -7
- package/dist/commands/commitments/reflect.d.ts +2 -2
- package/dist/commands/commitments/reflection-decision.d.ts +4 -4
- package/dist/commands/commitments/reflection.d.ts +2 -2
- package/dist/commands/commitments/remediate.d.ts +5 -5
- package/dist/commands/commitments/remediation-proposal.d.ts +3 -3
- package/dist/commands/commitments/remediation-proposals.d.ts +5 -5
- package/dist/commands/commitments/reports.d.ts +8 -8
- package/dist/commands/commitments/restore.d.ts +2 -2
- package/dist/commands/commitments/resume.d.ts +2 -2
- package/dist/commands/commitments/roster.d.ts +2 -2
- package/dist/commands/commitments/show.d.ts +3 -3
- package/dist/commands/commitments/status.d.ts +2 -2
- package/dist/commands/commitments/subject.d.ts +7 -7
- package/dist/commands/commitments/trace.d.ts +4 -4
- package/dist/commands/commitments/trigger-status.d.ts +3 -3
- package/dist/commands/commitments/update.d.ts +26 -26
- package/dist/commands/commitments/wake-capabilities.d.ts +3 -3
- package/dist/commands/commitments/work-plan.d.ts +2 -2
- package/dist/commands/compass/archive.d.ts +5 -5
- package/dist/commands/compass/commitments.d.ts +3 -3
- package/dist/commands/compass/create.d.ts +6 -6
- package/dist/commands/compass/effective-policy.d.ts +3 -3
- package/dist/commands/compass/list.d.ts +4 -4
- package/dist/commands/compass/revert.d.ts +5 -5
- package/dist/commands/compass/revisions.d.ts +4 -4
- package/dist/commands/compass/show.d.ts +3 -3
- package/dist/commands/compass/tactic.d.ts +6 -6
- package/dist/commands/compass/trace.d.ts +4 -4
- package/dist/commands/compass/update.d.ts +10 -10
- package/dist/commands/completion/index.d.ts +2 -2
- package/dist/commands/completion/script.d.ts +1 -1
- package/dist/commands/completion/values.d.ts +2 -2
- package/dist/commands/computer/index.d.ts +2 -2
- package/dist/commands/context.d.ts +2 -2
- package/dist/commands/context.js +18 -4
- package/dist/commands/convos/archive.d.ts +2 -2
- package/dist/commands/convos/delete.d.ts +2 -2
- package/dist/commands/convos/duplicate.d.ts +3 -3
- package/dist/commands/convos/fork.d.ts +6 -6
- package/dist/commands/convos/handover.d.ts +6 -6
- package/dist/commands/convos/import.d.ts +2 -2
- package/dist/commands/convos/import.js +2 -35
- package/dist/commands/convos/list.d.ts +8 -8
- package/dist/commands/convos/messages.d.ts +5 -5
- package/dist/commands/convos/recovery.d.ts +14 -0
- package/dist/commands/convos/recovery.js +70 -0
- package/dist/commands/convos/search.d.ts +4 -4
- package/dist/commands/convos/show.d.ts +2 -2
- package/dist/commands/convos/unarchive.d.ts +2 -2
- package/dist/commands/convos/update.d.ts +4 -4
- package/dist/commands/create-token.d.ts +2 -2
- package/dist/commands/daemon/logs.d.ts +6 -6
- package/dist/commands/daemon/usage.d.ts +3 -3
- package/dist/commands/dm/list.d.ts +1 -1
- package/dist/commands/dm/messages.d.ts +4 -4
- package/dist/commands/dm/show.d.ts +3 -3
- package/dist/commands/dm/thread/broadcast.d.ts +7 -7
- package/dist/commands/dm/thread/follow.d.ts +6 -6
- package/dist/commands/dm/thread/messages.d.ts +7 -7
- package/dist/commands/dm/thread/mute.d.ts +6 -6
- package/dist/commands/dm/thread/share.d.ts +5 -5
- package/dist/commands/dm/thread/show.d.ts +5 -5
- package/dist/commands/dm/threads.d.ts +6 -6
- package/dist/commands/dm/work.d.ts +10 -10
- package/dist/commands/doctor.d.ts +1 -1
- package/dist/commands/earnings/attributions.d.ts +1 -1
- package/dist/commands/earnings/index.d.ts +1 -1
- package/dist/commands/earnings/payouts.d.ts +3 -3
- package/dist/commands/earnings/statements.d.ts +4 -4
- package/dist/commands/engagement/annotate.d.ts +5 -5
- package/dist/commands/engagement/continue.d.ts +3 -3
- package/dist/commands/engagement/react.d.ts +4 -4
- package/dist/commands/engagement/reactions.d.ts +3 -3
- package/dist/commands/engagement/share.d.ts +6 -6
- package/dist/commands/enterprise/budgets/create.d.ts +2 -2
- package/dist/commands/enterprise/budgets/evaluate.d.ts +2 -2
- package/dist/commands/enterprise/budgets/publish.d.ts +3 -3
- package/dist/commands/enterprise/contracts/activate.d.ts +3 -3
- package/dist/commands/enterprise/contracts/create.d.ts +2 -2
- package/dist/commands/enterprise/contracts/issue.d.ts +3 -3
- package/dist/commands/enterprise/domains/begin.d.ts +3 -3
- package/dist/commands/enterprise/domains/verify.d.ts +3 -3
- package/dist/commands/enterprise/external-config/activate.d.ts +2 -2
- package/dist/commands/enterprise/external-config/set.d.ts +6 -6
- package/dist/commands/enterprise/external-config/show.d.ts +2 -2
- package/dist/commands/enterprise/external-config/suspend.d.ts +3 -3
- package/dist/commands/enterprise/finance/close-snapshot.d.ts +2 -2
- package/dist/commands/enterprise/finance/record-document.d.ts +2 -2
- package/dist/commands/enterprise/profile.d.ts +3 -3
- package/dist/commands/feeds/create.d.ts +7 -7
- package/dist/commands/feeds/delete.d.ts +2 -2
- package/dist/commands/feeds/list.d.ts +4 -4
- package/dist/commands/feeds/update.d.ts +6 -6
- package/dist/commands/followups/act.d.ts +10 -10
- package/dist/commands/followups/cancel.d.ts +3 -3
- package/dist/commands/followups/checkin.d.ts +10 -10
- package/dist/commands/followups/list.d.ts +7 -7
- package/dist/commands/followups/observability.d.ts +3 -3
- package/dist/commands/followups/plans/accepted.d.ts +15 -0
- package/dist/commands/followups/plans/accepted.js +76 -0
- package/dist/commands/followups/plans/cancel-batch.d.ts +18 -0
- package/dist/commands/followups/plans/cancel-batch.js +107 -0
- package/dist/commands/followups/plans/cancel.d.ts +4 -4
- package/dist/commands/followups/plans/capacity.d.ts +2 -2
- package/dist/commands/followups/plans/create.d.ts +3 -3
- package/dist/commands/followups/plans/list.d.ts +6 -6
- package/dist/commands/followups/plans/list.js +1 -1
- package/dist/commands/followups/plans/observability.d.ts +4 -4
- package/dist/commands/followups/plans/preferences/set.d.ts +10 -0
- package/dist/commands/followups/plans/preferences/set.js +50 -0
- package/dist/commands/followups/plans/preferences.d.ts +9 -0
- package/dist/commands/followups/plans/preferences.js +29 -0
- package/dist/commands/followups/plans/revise.d.ts +4 -4
- package/dist/commands/followups/plans/show.d.ts +2 -2
- package/dist/commands/followups/plans/show.js +10 -3
- package/dist/commands/followups/remind.d.ts +11 -11
- package/dist/commands/followups/reschedule.d.ts +4 -4
- package/dist/commands/followups/resolve.d.ts +4 -4
- package/dist/commands/followups/show.d.ts +2 -2
- package/dist/commands/followups/watch.d.ts +28 -28
- package/dist/commands/generate-recovery-code.d.ts +4 -4
- package/dist/commands/github/allow-tools.d.ts +10 -10
- package/dist/commands/github/app/install.d.ts +7 -7
- package/dist/commands/github/app/status.d.ts +6 -6
- package/dist/commands/github/connect.d.ts +10 -10
- package/dist/commands/github/connections.d.ts +8 -8
- package/dist/commands/github/disconnect.d.ts +8 -8
- package/dist/commands/github/finalize.d.ts +10 -10
- package/dist/commands/github/reconnect.d.ts +10 -10
- package/dist/commands/github/run.d.ts +12 -12
- package/dist/commands/github/tools.d.ts +11 -11
- package/dist/commands/goals/archive.d.ts +3 -3
- package/dist/commands/goals/briefing/disable.d.ts +1 -1
- package/dist/commands/goals/briefing/enable.d.ts +2 -2
- package/dist/commands/goals/briefing/preview.d.ts +1 -1
- package/dist/commands/goals/create.d.ts +13 -13
- package/dist/commands/goals/delete.d.ts +2 -2
- package/dist/commands/goals/descendants.d.ts +3 -3
- package/dist/commands/goals/key-results/create.d.ts +9 -9
- package/dist/commands/goals/key-results/delete.d.ts +3 -3
- package/dist/commands/goals/key-results/list.d.ts +2 -2
- package/dist/commands/goals/key-results/show.d.ts +3 -3
- package/dist/commands/goals/key-results/update.d.ts +11 -11
- package/dist/commands/goals/labels/add.d.ts +3 -3
- package/dist/commands/goals/labels/list.d.ts +2 -2
- package/dist/commands/goals/labels/remove.d.ts +3 -3
- package/dist/commands/goals/list.d.ts +9 -9
- package/dist/commands/goals/open.d.ts +4 -4
- package/dist/commands/goals/plan-now.d.ts +3 -3
- package/dist/commands/goals/planner-config.d.ts +7 -7
- package/dist/commands/goals/revisions.d.ts +2 -2
- package/dist/commands/goals/show.d.ts +2 -2
- package/dist/commands/goals/tasks.d.ts +5 -5
- package/dist/commands/goals/update.d.ts +13 -13
- package/dist/commands/google-chat/list-channels.d.ts +3 -3
- package/dist/commands/google-chat/list-users.d.ts +4 -4
- package/dist/commands/google-chat/read-channel.d.ts +5 -5
- package/dist/commands/google-chat/read-thread.d.ts +6 -6
- package/dist/commands/google-chat/run.d.ts +5 -5
- package/dist/commands/google-chat/search.d.ts +5 -5
- package/dist/commands/google-chat/send-as-agent.d.ts +6 -6
- package/dist/commands/google-chat/tools.d.ts +2 -2
- package/dist/commands/grants/create.d.ts +11 -11
- package/dist/commands/grants/delete.d.ts +2 -2
- package/dist/commands/grants/list.d.ts +4 -4
- package/dist/commands/grants/revoke.d.ts +3 -3
- package/dist/commands/grants/rotate.d.ts +4 -4
- package/dist/commands/grants/update.d.ts +3 -3
- package/dist/commands/guide.d.ts +21 -0
- package/dist/commands/guide.js +46 -0
- package/dist/commands/harnesses/alias.d.ts +4 -4
- package/dist/commands/harnesses/forget.d.ts +3 -3
- package/dist/commands/harnesses/grants/add.d.ts +10 -10
- package/dist/commands/harnesses/grants/list.d.ts +3 -3
- package/dist/commands/harnesses/grants/revoke.d.ts +3 -3
- package/dist/commands/harnesses/install-token.d.ts +2 -2
- package/dist/commands/harnesses/install.d.ts +4 -4
- package/dist/commands/harnesses/installers.d.ts +2 -2
- package/dist/commands/harnesses/leases/action.d.ts +4 -4
- package/dist/commands/harnesses/leases/billing.d.ts +4 -4
- package/dist/commands/harnesses/leases/list.d.ts +4 -4
- package/dist/commands/harnesses/leases/release.d.ts +3 -3
- package/dist/commands/harnesses/leases/show.d.ts +2 -2
- package/dist/commands/harnesses/list.d.ts +9 -9
- package/dist/commands/harnesses/models.d.ts +2 -2
- package/dist/commands/harnesses/ping.d.ts +3 -3
- package/dist/commands/harnesses/products.d.ts +1 -1
- package/dist/commands/harnesses/prune.d.ts +4 -4
- package/dist/commands/harnesses/quota.d.ts +7 -7
- package/dist/commands/harnesses/set-default.d.ts +3 -3
- package/dist/commands/harnesses/show.d.ts +2 -2
- package/dist/commands/harnesses/update.d.ts +11 -11
- package/dist/commands/harnesses/usage.d.ts +2 -2
- package/dist/commands/inbox/index.d.ts +7 -7
- package/dist/commands/ingress/create.d.ts +8 -8
- package/dist/commands/ingress/delete.d.ts +2 -2
- package/dist/commands/ingress/list.d.ts +1 -1
- package/dist/commands/ingress/rotate.d.ts +2 -2
- package/dist/commands/initiatives/decide.d.ts +8 -8
- package/dist/commands/initiatives/list.d.ts +6 -6
- package/dist/commands/instruction-blocks/create.d.ts +11 -11
- package/dist/commands/instruction-blocks/delete.d.ts +3 -3
- package/dist/commands/instruction-blocks/list.d.ts +4 -4
- package/dist/commands/instruction-blocks/show.d.ts +2 -2
- package/dist/commands/instruction-blocks/update.d.ts +12 -12
- package/dist/commands/instructions/activate.d.ts +3 -3
- package/dist/commands/instructions/archive-version.d.ts +3 -3
- package/dist/commands/instructions/create.d.ts +6 -6
- package/dist/commands/instructions/delete.d.ts +3 -3
- package/dist/commands/instructions/diff.d.ts +4 -4
- package/dist/commands/instructions/guide.d.ts +8 -8
- package/dist/commands/instructions/guide.js +34 -45
- package/dist/commands/instructions/install.d.ts +10 -10
- package/dist/commands/instructions/list.d.ts +3 -3
- package/dist/commands/instructions/purge-target.d.ts +4 -4
- package/dist/commands/instructions/remove.d.ts +2 -2
- package/dist/commands/instructions/restore-target.d.ts +2 -2
- package/dist/commands/instructions/restore.d.ts +2 -2
- package/dist/commands/instructions/setup.d.ts +6 -6
- package/dist/commands/instructions/show.d.ts +3 -3
- package/dist/commands/instructions/status.d.ts +2 -2
- package/dist/commands/instructions/update-target.d.ts +7 -7
- package/dist/commands/instructions/update.d.ts +8 -8
- package/dist/commands/integrations/connections/connect.d.ts +11 -11
- package/dist/commands/integrations/connections/disconnect.d.ts +9 -9
- package/dist/commands/integrations/connections/finalize.d.ts +10 -10
- package/dist/commands/integrations/connections/list.d.ts +8 -8
- package/dist/commands/integrations/connections/reconnect.d.ts +11 -11
- package/dist/commands/integrations/execute.d.ts +12 -12
- package/dist/commands/integrations/search.d.ts +10 -10
- package/dist/commands/integrations/toolkits.d.ts +7 -7
- package/dist/commands/integrations/tools/allow.d.ts +10 -10
- package/dist/commands/integrations/tools/list.d.ts +9 -9
- package/dist/commands/labels/archive.d.ts +2 -2
- package/dist/commands/labels/create.d.ts +10 -10
- package/dist/commands/labels/delete.d.ts +3 -3
- package/dist/commands/labels/list.d.ts +6 -6
- package/dist/commands/labels/palette.d.ts +1 -1
- package/dist/commands/labels/reorder.d.ts +4 -4
- package/dist/commands/labels/restore.d.ts +3 -3
- package/dist/commands/labels/update.d.ts +11 -11
- package/dist/commands/lark/list-channels.d.ts +3 -3
- package/dist/commands/lark/list-users.d.ts +4 -4
- package/dist/commands/lark/read-channel.d.ts +5 -5
- package/dist/commands/lark/read-thread.d.ts +6 -6
- package/dist/commands/lark/run.d.ts +5 -5
- package/dist/commands/lark/search.d.ts +5 -5
- package/dist/commands/lark/send-as-agent.d.ts +6 -6
- package/dist/commands/lark/tools.d.ts +2 -2
- package/dist/commands/learning/adapters.d.ts +6 -6
- package/dist/commands/learning/delete.d.ts +2 -2
- package/dist/commands/learning/export.d.ts +5 -5
- package/dist/commands/learning/reset.d.ts +2 -2
- package/dist/commands/learning/set.d.ts +3 -3
- package/dist/commands/learning/status.d.ts +1 -1
- package/dist/commands/list-daemons.d.ts +3 -3
- package/dist/commands/list-tokens.d.ts +2 -2
- package/dist/commands/login.d.ts +7 -7
- package/dist/commands/logout.d.ts +2 -2
- package/dist/commands/machines/computer-adoption.d.ts +1 -1
- package/dist/commands/machines/dedicated/agent-browser.d.ts +4 -4
- package/dist/commands/machines/dedicated/archive.d.ts +4 -4
- package/dist/commands/machines/dedicated/attach.d.ts +5 -5
- package/dist/commands/machines/dedicated/audit.d.ts +8 -8
- package/dist/commands/machines/dedicated/catalog.d.ts +1 -1
- package/dist/commands/machines/dedicated/computer.d.ts +4 -4
- package/dist/commands/machines/dedicated/cp.d.ts +6 -6
- package/dist/commands/machines/dedicated/create.d.ts +17 -17
- package/dist/commands/machines/dedicated/current.d.ts +2 -2
- package/dist/commands/machines/dedicated/destroy.d.ts +8 -8
- package/dist/commands/machines/dedicated/exec.d.ts +8 -8
- package/dist/commands/machines/dedicated/git-status.d.ts +3 -3
- package/dist/commands/machines/dedicated/grow.d.ts +7 -7
- package/dist/commands/machines/dedicated/health-check.d.ts +2 -2
- package/dist/commands/machines/dedicated/incident-close.d.ts +3 -3
- package/dist/commands/machines/dedicated/list.d.ts +3 -3
- package/dist/commands/machines/dedicated/logs.d.ts +5 -5
- package/dist/commands/machines/dedicated/ls.d.ts +6 -6
- package/dist/commands/machines/dedicated/mkdir.d.ts +3 -3
- package/dist/commands/machines/dedicated/mv.d.ts +5 -5
- package/dist/commands/machines/dedicated/power/explain.d.ts +2 -2
- package/dist/commands/machines/dedicated/power/keep-awake.d.ts +5 -5
- package/dist/commands/machines/dedicated/power/set.d.ts +6 -6
- package/dist/commands/machines/dedicated/power/show.d.ts +2 -2
- package/dist/commands/machines/dedicated/power/waiting.d.ts +2 -2
- package/dist/commands/machines/dedicated/price-book.d.ts +1 -1
- package/dist/commands/machines/dedicated/restart.d.ts +5 -5
- package/dist/commands/machines/dedicated/restore.d.ts +9 -9
- package/dist/commands/machines/dedicated/rm.d.ts +5 -5
- package/dist/commands/machines/dedicated/search.d.ts +9 -9
- package/dist/commands/machines/dedicated/service/apply.d.ts +3 -3
- package/dist/commands/machines/dedicated/service/approve.d.ts +4 -4
- package/dist/commands/machines/dedicated/service/create.d.ts +16 -16
- package/dist/commands/machines/dedicated/service/edit.d.ts +4 -4
- package/dist/commands/machines/dedicated/service/exec.d.ts +5 -5
- package/dist/commands/machines/dedicated/service/export.d.ts +5 -5
- package/dist/commands/machines/dedicated/service/logs.d.ts +5 -5
- package/dist/commands/machines/dedicated/service/ls.d.ts +2 -2
- package/dist/commands/machines/dedicated/service/restart.d.ts +3 -3
- package/dist/commands/machines/dedicated/service/rm.d.ts +3 -3
- package/dist/commands/machines/dedicated/service/secret/rm.d.ts +4 -4
- package/dist/commands/machines/dedicated/service/secret/set.d.ts +5 -5
- package/dist/commands/machines/dedicated/service/start.d.ts +3 -3
- package/dist/commands/machines/dedicated/service/status.d.ts +3 -3
- package/dist/commands/machines/dedicated/service/stop.d.ts +3 -3
- package/dist/commands/machines/dedicated/service/top.d.ts +3 -3
- package/dist/commands/machines/dedicated/show.d.ts +2 -2
- package/dist/commands/machines/dedicated/sign-in-status.d.ts +2 -2
- package/dist/commands/machines/dedicated/sign-in.d.ts +2 -2
- package/dist/commands/machines/dedicated/snapshot.d.ts +5 -5
- package/dist/commands/machines/dedicated/spending-limit.d.ts +4 -4
- package/dist/commands/machines/dedicated/ssh-config.d.ts +4 -4
- package/dist/commands/machines/dedicated/ssh-proxy.d.ts +1 -1
- package/dist/commands/machines/dedicated/ssh.d.ts +2 -2
- package/dist/commands/machines/dedicated/start.d.ts +5 -5
- package/dist/commands/machines/dedicated/stat.d.ts +4 -4
- package/dist/commands/machines/dedicated/stop.d.ts +5 -5
- package/dist/commands/machines/dedicated/terminal/kill.d.ts +3 -3
- package/dist/commands/machines/dedicated/terminal/ls.d.ts +2 -2
- package/dist/commands/machines/dedicated/terminal/rename.d.ts +4 -4
- package/dist/commands/machines/dedicated/terminal.d.ts +6 -6
- package/dist/commands/machines/dedicated/update-image.d.ts +5 -5
- package/dist/commands/machines/disconnect.d.ts +3 -3
- package/dist/commands/machines/hosted/connect.d.ts +4 -4
- package/dist/commands/machines/hosted/destroy.d.ts +3 -3
- package/dist/commands/machines/hosted/exec.d.ts +7 -7
- package/dist/commands/machines/hosted/list.d.ts +4 -4
- package/dist/commands/machines/hosted/pause.d.ts +3 -3
- package/dist/commands/machines/hosted/pull.d.ts +9 -9
- package/dist/commands/machines/hosted/resume.d.ts +6 -6
- package/dist/commands/machines/hosted/start.d.ts +18 -18
- package/dist/commands/machines/hosted/status.d.ts +6 -6
- package/dist/commands/machines/list.d.ts +2 -2
- package/dist/commands/machines/services/declare.d.ts +6 -6
- package/dist/commands/machines/services/ls.d.ts +2 -2
- package/dist/commands/machines/services/withdraw.d.ts +3 -3
- package/dist/commands/machines/share.d.ts +4 -4
- package/dist/commands/machines/shared.d.ts +1 -1
- package/dist/commands/machines/shares.d.ts +2 -2
- package/dist/commands/machines/show.d.ts +3 -3
- package/dist/commands/machines/unshare.d.ts +3 -3
- package/dist/commands/machines/update.d.ts +6 -6
- package/dist/commands/managed-execution/show.d.ts +1 -1
- package/dist/commands/measures/confirm.d.ts +4 -4
- package/dist/commands/measures/create.d.ts +10 -10
- package/dist/commands/measures/list.d.ts +4 -4
- package/dist/commands/measures/record.d.ts +7 -7
- package/dist/commands/measures/show.d.ts +2 -2
- package/dist/commands/measures/tasks.d.ts +7 -7
- package/dist/commands/memory/approvals/issue.d.ts +11 -11
- package/dist/commands/memory/commit.d.ts +5 -5
- package/dist/commands/memory/context.d.ts +8 -8
- package/dist/commands/memory/daily-log.d.ts +3 -3
- package/dist/commands/memory/delete.d.ts +5 -5
- package/dist/commands/memory/governance/index.d.ts +2 -2
- package/dist/commands/memory/governance/set.d.ts +7 -7
- package/dist/commands/memory/list.d.ts +4 -4
- package/dist/commands/memory/maintain.d.ts +4 -4
- package/dist/commands/memory/maintain.js +1 -1
- package/dist/commands/memory/mounts/resolve.d.ts +3 -3
- package/dist/commands/memory/observe.d.ts +9 -9
- package/dist/commands/memory/preferences.d.ts +3 -3
- package/dist/commands/memory/proposals/commit.d.ts +9 -9
- package/dist/commands/memory/proposals/create.d.ts +11 -11
- package/dist/commands/memory/proposals/list.d.ts +6 -6
- package/dist/commands/memory/proposals/promote.d.ts +15 -15
- package/dist/commands/memory/proposals/reject.d.ts +7 -7
- package/dist/commands/memory/provenance.d.ts +3 -3
- package/dist/commands/memory/read.d.ts +5 -5
- package/dist/commands/memory/rebuild-index.d.ts +11 -11
- package/dist/commands/memory/rebuild.d.ts +3 -3
- package/dist/commands/memory/save.d.ts +7 -7
- package/dist/commands/memory/search.d.ts +10 -10
- package/dist/commands/memory/show.d.ts +5 -5
- package/dist/commands/memory/stores/archive.d.ts +7 -7
- package/dist/commands/memory/stores/create.d.ts +5 -5
- package/dist/commands/memory/stores/delete.d.ts +8 -8
- package/dist/commands/memory/stores/list.d.ts +3 -3
- package/dist/commands/memory/stores/show.d.ts +5 -5
- package/dist/commands/memory/stores/update.d.ts +8 -8
- package/dist/commands/memory/sync/delete.d.ts +4 -4
- package/dist/commands/memory/sync/pull.d.ts +12 -12
- package/dist/commands/memory/sync/push.d.ts +11 -11
- package/dist/commands/memory/sync/resolve.d.ts +14 -14
- package/dist/commands/memory/sync/status.d.ts +2 -2
- package/dist/commands/memory/topics/archive.d.ts +11 -11
- package/dist/commands/memory/topics/create.d.ts +16 -16
- package/dist/commands/memory/topics/delete.d.ts +13 -13
- package/dist/commands/memory/topics/forget.d.ts +13 -13
- package/dist/commands/memory/topics/list.d.ts +6 -6
- package/dist/commands/memory/topics/move.d.ts +13 -13
- package/dist/commands/memory/topics/show.d.ts +8 -8
- package/dist/commands/memory/topics/update.d.ts +14 -14
- package/dist/commands/memory/tree.d.ts +6 -6
- package/dist/commands/memory/update.d.ts +7 -7
- package/dist/commands/memory/versions/list.d.ts +7 -7
- package/dist/commands/memory/versions/redact.d.ts +12 -12
- package/dist/commands/memory/versions/restore.d.ts +11 -11
- package/dist/commands/memory/versions/show.d.ts +6 -6
- package/dist/commands/messages/edit-artifact.d.ts +6 -6
- package/dist/commands/messages/feedback.d.ts +7 -7
- package/dist/commands/messages/list.d.ts +5 -5
- package/dist/commands/messages/show.d.ts +3 -3
- package/dist/commands/messages/update-content.d.ts +5 -5
- package/dist/commands/messages/update.d.ts +5 -5
- package/dist/commands/native/allow-all.d.ts +2 -2
- package/dist/commands/native/allow.d.ts +3 -3
- package/dist/commands/native/deny.d.ts +3 -3
- package/dist/commands/native/disable.d.ts +2 -2
- package/dist/commands/native/enable.d.ts +3 -3
- package/dist/commands/native/list-apps.d.ts +2 -2
- package/dist/commands/native/restrict-to.d.ts +3 -3
- package/dist/commands/native/status.d.ts +2 -2
- package/dist/commands/native.d.ts +1 -1
- package/dist/commands/northstars/create.d.ts +12 -12
- package/dist/commands/northstars/delete.d.ts +3 -3
- package/dist/commands/northstars/governance/configure.d.ts +20 -20
- package/dist/commands/northstars/governance/show.d.ts +2 -2
- package/dist/commands/northstars/intents/decide.d.ts +6 -6
- package/dist/commands/northstars/intents/list.d.ts +4 -4
- package/dist/commands/northstars/link.d.ts +4 -4
- package/dist/commands/northstars/list.d.ts +3 -3
- package/dist/commands/northstars/recommendations/apply.d.ts +3 -3
- package/dist/commands/northstars/recommendations/dismiss.d.ts +3 -3
- package/dist/commands/northstars/recommendations/list.d.ts +3 -3
- package/dist/commands/northstars/review-now.d.ts +2 -2
- package/dist/commands/northstars/reviews.d.ts +5 -5
- package/dist/commands/northstars/show.d.ts +2 -2
- package/dist/commands/northstars/unlink.d.ts +3 -3
- package/dist/commands/northstars/update.d.ts +15 -15
- package/dist/commands/open.d.ts +3 -3
- package/dist/commands/outbox/drop.d.ts +2 -2
- package/dist/commands/outbox/list.d.ts +1 -1
- package/dist/commands/outbox/retry.d.ts +3 -3
- package/dist/commands/payments/wallet.d.ts +2 -2
- package/dist/commands/profiles/list.d.ts +1 -1
- package/dist/commands/projects/activity.d.ts +5 -5
- package/dist/commands/projects/archive.d.ts +5 -5
- package/dist/commands/projects/create.d.ts +9 -9
- package/dist/commands/projects/delete.d.ts +5 -5
- package/dist/commands/projects/docs/attach.d.ts +5 -5
- package/dist/commands/projects/docs/detach.d.ts +5 -5
- package/dist/commands/projects/docs/list.d.ts +3 -3
- package/dist/commands/projects/goals.d.ts +6 -6
- package/dist/commands/projects/list.d.ts +9 -9
- package/dist/commands/projects/members.d.ts +7 -7
- package/dist/commands/projects/open.d.ts +5 -5
- package/dist/commands/projects/overview.d.ts +5 -5
- package/dist/commands/projects/promote.d.ts +4 -4
- package/dist/commands/projects/reorder.d.ts +4 -4
- package/dist/commands/projects/revisions.d.ts +5 -5
- package/dist/commands/projects/show.d.ts +3 -3
- package/dist/commands/projects/summary.d.ts +3 -3
- package/dist/commands/projects/tasks.d.ts +6 -6
- package/dist/commands/projects/update.d.ts +8 -8
- package/dist/commands/projects/updates/add.d.ts +10 -10
- package/dist/commands/projects/updates/archive.d.ts +4 -4
- package/dist/commands/projects/updates/cadence.d.ts +10 -10
- package/dist/commands/projects/updates/draft.d.ts +4 -4
- package/dist/commands/projects/updates/edit.d.ts +10 -10
- package/dist/commands/projects/updates/list.d.ts +5 -5
- package/dist/commands/projects/updates/post.d.ts +7 -7
- package/dist/commands/projects/updates/show.d.ts +4 -4
- package/dist/commands/projects/upsert.d.ts +9 -9
- package/dist/commands/proposals/discard.d.ts +2 -2
- package/dist/commands/proposals/keep.d.ts +2 -2
- package/dist/commands/proposals/list.d.ts +8 -8
- package/dist/commands/proposals/show.d.ts +3 -3
- package/dist/commands/proposals/snooze.d.ts +2 -2
- package/dist/commands/requests/cancel.d.ts +2 -2
- package/dist/commands/requests/comments/add.d.ts +5 -5
- package/dist/commands/requests/comments/delete.d.ts +3 -3
- package/dist/commands/requests/comments/list.d.ts +3 -3
- package/dist/commands/requests/create.d.ts +9 -9
- package/dist/commands/requests/list.d.ts +3 -3
- package/dist/commands/requests/pending.d.ts +1 -1
- package/dist/commands/requests/resolve.d.ts +6 -6
- package/dist/commands/requests/show.d.ts +2 -2
- package/dist/commands/revoke-daemon.d.ts +3 -3
- package/dist/commands/revoke-token.d.ts +2 -2
- package/dist/commands/search/agents.d.ts +4 -4
- package/dist/commands/search/all.d.ts +3 -3
- package/dist/commands/search/skills.d.ts +5 -5
- package/dist/commands/search/spaces.d.ts +5 -5
- package/dist/commands/search/tasks.d.ts +6 -6
- package/dist/commands/search/teams.d.ts +3 -3
- package/dist/commands/security/overview.d.ts +2 -2
- package/dist/commands/service/logs.d.ts +3 -3
- package/dist/commands/service/ls.d.ts +1 -1
- package/dist/commands/service/propose.d.ts +12 -12
- package/dist/commands/service/status.d.ts +2 -2
- package/dist/commands/set-capabilities.d.ts +3 -3
- package/dist/commands/shares/create.d.ts +3 -3
- package/dist/commands/shares/delete.d.ts +2 -2
- package/dist/commands/shares/get.d.ts +2 -2
- package/dist/commands/shares/link-for.d.ts +2 -2
- package/dist/commands/shares/list.d.ts +7 -7
- package/dist/commands/shares/update.d.ts +2 -2
- package/dist/commands/shortcuts/create.d.ts +11 -11
- package/dist/commands/shortcuts/create.js +1 -34
- package/dist/commands/shortcuts/delete.d.ts +2 -2
- package/dist/commands/shortcuts/list.d.ts +2 -2
- package/dist/commands/shortcuts/reorder.d.ts +3 -3
- package/dist/commands/shortcuts/show.d.ts +2 -2
- package/dist/commands/shortcuts/trigger.d.ts +2 -2
- package/dist/commands/shortcuts/update.d.ts +11 -11
- package/dist/commands/shortcuts/update.js +1 -34
- package/dist/commands/signals/monitors/create.d.ts +2 -2
- package/dist/commands/signals/monitors/list.d.ts +1 -1
- package/dist/commands/signals/monitors/pause.d.ts +2 -2
- package/dist/commands/signals/monitors/resume.d.ts +2 -2
- package/dist/commands/signals/monitors/revise.d.ts +3 -3
- package/dist/commands/signals/monitors/show.d.ts +2 -2
- package/dist/commands/signals/monitors/test.d.ts +3 -3
- package/dist/commands/signals/monitors/transitions.d.ts +2 -2
- package/dist/commands/signals/monitors/validate.d.ts +2 -2
- package/dist/commands/signals/schemas/list.d.ts +1 -1
- package/dist/commands/signals/schemas/show.d.ts +2 -2
- package/dist/commands/signals/sources/list.d.ts +1 -1
- package/dist/commands/signals/sources/receipts.d.ts +2 -2
- package/dist/commands/signals/sources/show.d.ts +2 -2
- package/dist/commands/skills/browse.d.ts +4 -4
- package/dist/commands/skills/categories.d.ts +3 -3
- package/dist/commands/skills/details.d.ts +2 -2
- package/dist/commands/skills/duplicate.d.ts +4 -4
- package/dist/commands/skills/featured.d.ts +2 -2
- package/dist/commands/skills/import-as-actions.d.ts +9 -9
- package/dist/commands/skills/install.d.ts +5 -4
- package/dist/commands/skills/install.js +41 -2
- package/dist/commands/skills/invocable.d.ts +3 -3
- package/dist/commands/skills/library.d.ts +4 -4
- package/dist/commands/skills/local.d.ts +5 -5
- package/dist/commands/skills/search.d.ts +5 -5
- package/dist/commands/skills/visibility.d.ts +5 -5
- package/dist/commands/slack/list-channels.d.ts +7 -7
- package/dist/commands/slack/list-usergroups.d.ts +4 -4
- package/dist/commands/slack/list-users.d.ts +7 -7
- package/dist/commands/slack/read-channel.d.ts +8 -8
- package/dist/commands/slack/read-thread.d.ts +7 -7
- package/dist/commands/slack/run.d.ts +5 -5
- package/dist/commands/slack/search.d.ts +8 -8
- package/dist/commands/slack/send-as-agent.d.ts +8 -8
- package/dist/commands/slack/send-as-agent.js +3 -3
- package/dist/commands/slack/tools.d.ts +2 -2
- package/dist/commands/space-directory-views/create.d.ts +6 -6
- package/dist/commands/space-directory-views/delete.d.ts +4 -4
- package/dist/commands/space-directory-views/list.d.ts +1 -1
- package/dist/commands/space-directory-views/show.d.ts +2 -2
- package/dist/commands/space-directory-views/update.d.ts +7 -7
- package/dist/commands/spaces/actions/add.d.ts +9 -9
- package/dist/commands/spaces/actions/available.d.ts +2 -2
- package/dist/commands/spaces/actions/delete.d.ts +4 -4
- package/dist/commands/spaces/actions/list.d.ts +3 -3
- package/dist/commands/spaces/actions/replace.d.ts +5 -5
- package/dist/commands/spaces/actions/run.d.ts +3 -3
- package/dist/commands/spaces/actions/update.d.ts +9 -9
- package/dist/commands/spaces/archive.d.ts +2 -2
- package/dist/commands/spaces/auto-executor/preview.d.ts +2 -2
- package/dist/commands/spaces/auto-executor/run.d.ts +2 -2
- package/dist/commands/spaces/auto-executor/runs.d.ts +3 -3
- package/dist/commands/spaces/auto-executor/update.d.ts +11 -11
- package/dist/commands/spaces/bootstrap.d.ts +2 -2
- package/dist/commands/spaces/briefs/delete.d.ts +4 -4
- package/dist/commands/spaces/briefs/get.d.ts +4 -4
- package/dist/commands/spaces/briefs/list.d.ts +2 -2
- package/dist/commands/spaces/briefs/set.d.ts +10 -10
- package/dist/commands/spaces/capacity.d.ts +3 -3
- package/dist/commands/spaces/claim.d.ts +2 -2
- package/dist/commands/spaces/conversations.d.ts +4 -4
- package/dist/commands/spaces/create.d.ts +17 -17
- package/dist/commands/spaces/create.js +8 -2
- package/dist/commands/spaces/cycles/create.d.ts +7 -7
- package/dist/commands/spaces/cycles/graph.d.ts +4 -4
- package/dist/commands/spaces/cycles/list.d.ts +4 -4
- package/dist/commands/spaces/cycles/settings.d.ts +6 -6
- package/dist/commands/spaces/cycles/show.d.ts +3 -3
- package/dist/commands/spaces/cycles/update.d.ts +8 -8
- package/dist/commands/spaces/delete.d.ts +2 -2
- package/dist/commands/spaces/expertise-suggestions.d.ts +2 -2
- package/dist/commands/spaces/files/delete.d.ts +4 -4
- package/dist/commands/spaces/files/folders/create.d.ts +5 -5
- package/dist/commands/spaces/files/folders/delete.d.ts +5 -5
- package/dist/commands/spaces/files/folders/list.d.ts +2 -2
- package/dist/commands/spaces/files/folders/update.d.ts +7 -7
- package/dist/commands/spaces/files/list.d.ts +2 -2
- package/dist/commands/spaces/files/move.d.ts +5 -5
- package/dist/commands/spaces/files/rename.d.ts +4 -4
- package/dist/commands/spaces/files/upload.d.ts +4 -4
- package/dist/commands/spaces/github-automations/set.d.ts +3 -3
- package/dist/commands/spaces/github-automations/show.d.ts +2 -2
- package/dist/commands/spaces/goals.d.ts +2 -2
- package/dist/commands/spaces/guide.d.ts +21 -0
- package/dist/commands/spaces/guide.js +40 -0
- package/dist/commands/spaces/heartbeats/create.d.ts +11 -11
- package/dist/commands/spaces/heartbeats/delete.d.ts +4 -4
- package/dist/commands/spaces/heartbeats/list.d.ts +2 -2
- package/dist/commands/spaces/heartbeats/status.d.ts +3 -3
- package/dist/commands/spaces/heartbeats/update.d.ts +12 -12
- package/dist/commands/spaces/index.d.ts +1 -2
- package/dist/commands/spaces/index.js +1 -6
- package/dist/commands/spaces/insights.d.ts +14 -14
- package/dist/commands/spaces/install-template.d.ts +7 -7
- package/dist/commands/spaces/label-summaries.d.ts +1 -1
- package/dist/commands/spaces/labels/add.d.ts +3 -3
- package/dist/commands/spaces/labels/list.d.ts +2 -2
- package/dist/commands/spaces/labels/remove.d.ts +3 -3
- package/dist/commands/spaces/list.d.ts +11 -11
- package/dist/commands/spaces/live/cards/create.d.ts +10 -10
- package/dist/commands/spaces/live/cards/delete.d.ts +4 -4
- package/dist/commands/spaces/live/cards/list.d.ts +2 -2
- package/dist/commands/spaces/live/cards/reorder.d.ts +4 -4
- package/dist/commands/spaces/live/cards/update.d.ts +11 -11
- package/dist/commands/spaces/live/scene.d.ts +4 -4
- package/dist/commands/spaces/members/add.d.ts +8 -8
- package/dist/commands/spaces/members/list.d.ts +3 -3
- package/dist/commands/spaces/members/remove.d.ts +5 -5
- package/dist/commands/spaces/members/search.d.ts +3 -3
- package/dist/commands/spaces/move.d.ts +4 -4
- package/dist/commands/spaces/open.d.ts +4 -4
- package/dist/commands/spaces/ownership.d.ts +2 -2
- package/dist/commands/spaces/pin.d.ts +2 -2
- package/dist/commands/spaces/preferences/show.d.ts +2 -2
- package/dist/commands/spaces/preferences/tabs.d.ts +5 -5
- package/dist/commands/spaces/reorder.d.ts +6 -6
- package/dist/commands/spaces/revisions.d.ts +2 -2
- package/dist/commands/spaces/room/ensure.d.ts +2 -2
- package/dist/commands/spaces/room/messages.d.ts +5 -5
- package/dist/commands/spaces/room/send.d.ts +8 -8
- package/dist/commands/spaces/room/show.d.ts +2 -2
- package/dist/commands/spaces/show.d.ts +2 -2
- package/dist/commands/spaces/skills/add.d.ts +3 -3
- package/dist/commands/spaces/skills/list.d.ts +2 -2
- package/dist/commands/spaces/skills/pin.d.ts +4 -4
- package/dist/commands/spaces/skills/remove.d.ts +3 -3
- package/dist/commands/spaces/snapshot.d.ts +11 -11
- package/dist/commands/spaces/states/archive.d.ts +3 -3
- package/dist/commands/spaces/states/create.d.ts +7 -7
- package/dist/commands/spaces/states/list.d.ts +2 -2
- package/dist/commands/spaces/states/reorder.d.ts +3 -3
- package/dist/commands/spaces/states/update.d.ts +6 -6
- package/dist/commands/spaces/subspaces.d.ts +3 -3
- package/dist/commands/spaces/summary.d.ts +2 -2
- package/dist/commands/spaces/task-rollups.d.ts +1 -1
- package/dist/commands/spaces/tasks.d.ts +7 -7
- package/dist/commands/spaces/templates/create.d.ts +9 -9
- package/dist/commands/spaces/templates/delete.d.ts +3 -3
- package/dist/commands/spaces/templates/fork.d.ts +4 -4
- package/dist/commands/spaces/templates/index.d.ts +7 -7
- package/dist/commands/spaces/templates/purchase-status.d.ts +2 -2
- package/dist/commands/spaces/templates/rate.d.ts +4 -4
- package/dist/commands/spaces/templates/report.d.ts +4 -4
- package/dist/commands/spaces/templates/show.d.ts +3 -3
- package/dist/commands/spaces/templates/update.d.ts +11 -11
- package/dist/commands/spaces/templates/visibility.d.ts +7 -7
- package/dist/commands/spaces/transfer-workspace.d.ts +3 -3
- package/dist/commands/spaces/triggers/delete.d.ts +3 -3
- package/dist/commands/spaces/triggers/set.d.ts +26 -26
- package/dist/commands/spaces/triggers/show.d.ts +2 -2
- package/dist/commands/spaces/unarchive.d.ts +2 -2
- package/dist/commands/spaces/update.d.ts +26 -26
- package/dist/commands/spaces/usage.d.ts +3 -3
- package/dist/commands/spaces/views/create.d.ts +8 -8
- package/dist/commands/spaces/views/delete.d.ts +4 -4
- package/dist/commands/spaces/views/duplicate.d.ts +3 -3
- package/dist/commands/spaces/views/list.d.ts +2 -2
- package/dist/commands/spaces/views/reorder.d.ts +5 -5
- package/dist/commands/spaces/views/subscribe.d.ts +7 -7
- package/dist/commands/spaces/views/subscriptions.d.ts +3 -3
- package/dist/commands/spaces/views/unsubscribe.d.ts +3 -3
- package/dist/commands/spaces/views/update.d.ts +10 -10
- package/dist/commands/spaces/widgets/add.d.ts +4 -4
- package/dist/commands/spaces/widgets/list.d.ts +2 -2
- package/dist/commands/spaces/widgets/remove.d.ts +4 -4
- package/dist/commands/spaces/work-graph.d.ts +4 -4
- package/dist/commands/spaces/work-sync/reconcile.d.ts +2 -2
- package/dist/commands/spaces/work-sync/telemetry.d.ts +3 -3
- package/dist/commands/spaces/workflow-templates/archive.d.ts +4 -4
- package/dist/commands/spaces/workflow-templates/create.d.ts +8 -8
- package/dist/commands/spaces/workflow-templates/extract.d.ts +9 -9
- package/dist/commands/spaces/workflow-templates/insert.d.ts +9 -9
- package/dist/commands/spaces/workflow-templates/list.d.ts +7 -7
- package/dist/commands/spaces/workflow-templates/promote.d.ts +5 -5
- package/dist/commands/spaces/workflow-templates/publish.d.ts +4 -4
- package/dist/commands/spaces/workflow-templates/show.d.ts +5 -5
- package/dist/commands/spaces/workflow-templates/update.d.ts +8 -8
- package/dist/commands/spaces/workflow-templates/versions.d.ts +3 -3
- package/dist/commands/spaces/workflows/archive.d.ts +4 -4
- package/dist/commands/spaces/workflows/artifact.d.ts +5 -5
- package/dist/commands/spaces/workflows/cancel-node.d.ts +6 -6
- package/dist/commands/spaces/workflows/cancel.d.ts +5 -5
- package/dist/commands/spaces/workflows/create.d.ts +7 -7
- package/dist/commands/spaces/workflows/events.d.ts +4 -4
- package/dist/commands/spaces/workflows/fixtures/create.d.ts +11 -11
- package/dist/commands/spaces/workflows/fixtures/list.d.ts +4 -4
- package/dist/commands/spaces/workflows/lifecycle-diagnostics.d.ts +2 -2
- package/dist/commands/spaces/workflows/list.d.ts +2 -2
- package/dist/commands/spaces/workflows/node-types.d.ts +2 -2
- package/dist/commands/spaces/workflows/pause.d.ts +5 -5
- package/dist/commands/spaces/workflows/plan/show.d.ts +3 -3
- package/dist/commands/spaces/workflows/plan/update.d.ts +7 -7
- package/dist/commands/spaces/workflows/proposals/apply.d.ts +5 -5
- package/dist/commands/spaces/workflows/proposals/confirm.d.ts +5 -5
- package/dist/commands/spaces/workflows/proposals/create.d.ts +7 -7
- package/dist/commands/spaces/workflows/proposals/dismiss.d.ts +5 -5
- package/dist/commands/spaces/workflows/proposals/list.d.ts +3 -3
- package/dist/commands/spaces/workflows/publish.d.ts +3 -3
- package/dist/commands/spaces/workflows/reconcile.d.ts +3 -3
- package/dist/commands/spaces/workflows/resume.d.ts +4 -4
- package/dist/commands/spaces/workflows/retry.d.ts +4 -4
- package/dist/commands/spaces/workflows/run.d.ts +4 -4
- package/dist/commands/spaces/workflows/runs.d.ts +6 -6
- package/dist/commands/spaces/workflows/show.d.ts +3 -3
- package/dist/commands/spaces/workflows/signal.d.ts +7 -7
- package/dist/commands/spaces/workflows/start.d.ts +6 -6
- package/dist/commands/spaces/workflows/task-execution/create.d.ts +5 -5
- package/dist/commands/spaces/workflows/test.d.ts +7 -7
- package/dist/commands/spaces/workflows/triggers/create.d.ts +7 -7
- package/dist/commands/spaces/workflows/triggers/fire.d.ts +7 -7
- package/dist/commands/spaces/workflows/triggers/list.d.ts +3 -3
- package/dist/commands/spaces/workflows/triggers/update.d.ts +8 -8
- package/dist/commands/spaces/workflows/update.d.ts +13 -13
- package/dist/commands/spaces/workflows/validate.d.ts +3 -3
- package/dist/commands/step-up.d.ts +4 -4
- package/dist/commands/store/acquisitions/approve.d.ts +3 -3
- package/dist/commands/store/acquisitions/decline.d.ts +2 -2
- package/dist/commands/store/acquisitions/list.d.ts +3 -3
- package/dist/commands/store/acquisitions/show.d.ts +2 -2
- package/dist/commands/store/admissions/approve.d.ts +5 -5
- package/dist/commands/store/admissions/list.d.ts +2 -2
- package/dist/commands/store/admissions/refuse.d.ts +5 -5
- package/dist/commands/store/advisories/artifact.d.ts +6 -6
- package/dist/commands/store/advisories/cancel.d.ts +2 -2
- package/dist/commands/store/advisories/close.d.ts +4 -4
- package/dist/commands/store/advisories/confirm.d.ts +3 -3
- package/dist/commands/store/advisories/issue.d.ts +6 -6
- package/dist/commands/store/advisories/list.d.ts +4 -4
- package/dist/commands/store/advisories/show.d.ts +2 -2
- package/dist/commands/store/artifacts/release.d.ts +8 -8
- package/dist/commands/store/artifacts/used-by.d.ts +3 -3
- package/dist/commands/store/browse.d.ts +11 -11
- package/dist/commands/store/channel.d.ts +3 -3
- package/dist/commands/store/follow.d.ts +4 -4
- package/dist/commands/store/follows/list.d.ts +2 -2
- package/dist/commands/store/follows/remove.d.ts +2 -2
- package/dist/commands/store/governance/artifacts.d.ts +8 -8
- package/dist/commands/store/governance/assign.d.ts +5 -5
- package/dist/commands/store/governance/create-license.d.ts +2 -2
- package/dist/commands/store/governance/install-plan.d.ts +6 -6
- package/dist/commands/store/governance/license-policy.d.ts +6 -6
- package/dist/commands/store/governance/policy.d.ts +7 -7
- package/dist/commands/store/governance/publish-release.d.ts +2 -2
- package/dist/commands/store/governance/requests.d.ts +7 -7
- package/dist/commands/store/install.d.ts +9 -9
- package/dist/commands/store/installs.d.ts +1 -1
- package/dist/commands/store/issues.d.ts +10 -10
- package/dist/commands/store/maintainers/add.d.ts +4 -4
- package/dist/commands/store/maintainers/remove.d.ts +5 -5
- package/dist/commands/store/publishers/approve.d.ts +4 -4
- package/dist/commands/store/publishers/cancel.d.ts +2 -2
- package/dist/commands/store/publishers/claim.d.ts +3 -3
- package/dist/commands/store/publishers/confirm.d.ts +2 -2
- package/dist/commands/store/publishers/domains/begin.d.ts +3 -3
- package/dist/commands/store/publishers/domains/list.d.ts +2 -2
- package/dist/commands/store/publishers/domains/verify.d.ts +3 -3
- package/dist/commands/store/publishers/namespaces.d.ts +1 -1
- package/dist/commands/store/publishers/profile/draft.d.ts +4 -4
- package/dist/commands/store/publishers/profile/handle.d.ts +3 -3
- package/dist/commands/store/publishers/profile/hide.d.ts +3 -3
- package/dist/commands/store/publishers/profile/preview.d.ts +2 -2
- package/dist/commands/store/publishers/profile/publish.d.ts +3 -3
- package/dist/commands/store/publishers/profile/restore.d.ts +4 -4
- package/dist/commands/store/publishers/profile/revisions.d.ts +2 -2
- package/dist/commands/store/publishers/profile/show.d.ts +2 -2
- package/dist/commands/store/publishers/verified.d.ts +2 -2
- package/dist/commands/store/refund.d.ts +5 -5
- package/dist/commands/store/releases.d.ts +2 -2
- package/dist/commands/store/report.d.ts +5 -5
- package/dist/commands/store/reports/confirm-ban.d.ts +3 -3
- package/dist/commands/store/reports/disposition.d.ts +4 -4
- package/dist/commands/store/reports/list.d.ts +4 -4
- package/dist/commands/store/reports/withdraw-ban.d.ts +3 -3
- package/dist/commands/store/reports.d.ts +2 -2
- package/dist/commands/store/review.d.ts +5 -5
- package/dist/commands/store/reviews.d.ts +8 -8
- package/dist/commands/store/show.d.ts +2 -2
- package/dist/commands/store/signals.d.ts +2 -2
- package/dist/commands/store/star.d.ts +3 -3
- package/dist/commands/store/stars.d.ts +1 -1
- package/dist/commands/store/stats.d.ts +3 -3
- package/dist/commands/store/tip.d.ts +4 -4
- package/dist/commands/store/trial.d.ts +2 -2
- package/dist/commands/store/uninstall.d.ts +4 -4
- package/dist/commands/store/update.d.ts +7 -7
- package/dist/commands/store/updates.d.ts +1 -1
- package/dist/commands/store/watch.d.ts +3 -3
- package/dist/commands/subscriptions/cancel.d.ts +4 -4
- package/dist/commands/subscriptions/health.d.ts +2 -2
- package/dist/commands/subscriptions/list.d.ts +1 -1
- package/dist/commands/subscriptions/status.d.ts +2 -2
- package/dist/commands/subscriptions/subscribe.d.ts +6 -6
- package/dist/commands/tasks/actionability.d.ts +3 -3
- package/dist/commands/tasks/actions/attach.d.ts +5 -5
- package/dist/commands/tasks/actions/detach.d.ts +5 -5
- package/dist/commands/tasks/active.d.ts +4 -4
- package/dist/commands/tasks/activity.d.ts +3 -3
- package/dist/commands/tasks/ancestors.d.ts +2 -2
- package/dist/commands/tasks/approvals/create.d.ts +5 -5
- package/dist/commands/tasks/approvals/delete.d.ts +3 -3
- package/dist/commands/tasks/approvals/list.d.ts +2 -2
- package/dist/commands/tasks/approvals/resolve.d.ts +5 -5
- package/dist/commands/tasks/archive.d.ts +3 -3
- package/dist/commands/tasks/assign.d.ts +13 -13
- package/dist/commands/tasks/attachments/delete.d.ts +3 -3
- package/dist/commands/tasks/attachments/download.d.ts +4 -4
- package/dist/commands/tasks/attachments/list.d.ts +2 -2
- package/dist/commands/tasks/attachments/set-role.d.ts +4 -4
- package/dist/commands/tasks/attachments/upload.d.ts +4 -4
- package/dist/commands/tasks/bulk-update.d.ts +5 -5
- package/dist/commands/tasks/calendar.d.ts +3 -3
- package/dist/commands/tasks/cancel-cascade.d.ts +3 -3
- package/dist/commands/tasks/cascade-status.d.ts +2 -2
- package/dist/commands/tasks/chat/exchange.d.ts +8 -8
- package/dist/commands/tasks/chat/index.d.ts +8 -8
- package/dist/commands/tasks/chat/read.d.ts +3 -3
- package/dist/commands/tasks/chat/reindex.d.ts +2 -2
- package/dist/commands/tasks/chat/reopen.d.ts +3 -3
- package/dist/commands/tasks/chat/repair-attention.d.ts +2 -2
- package/dist/commands/tasks/chat/rotate.d.ts +4 -4
- package/dist/commands/tasks/chat/send.d.ts +5 -5
- package/dist/commands/tasks/checkout.d.ts +3 -3
- package/dist/commands/tasks/checkout.js +2 -3
- package/dist/commands/tasks/children.d.ts +2 -2
- package/dist/commands/tasks/comments/add.d.ts +12 -12
- package/dist/commands/tasks/comments/add.js +11 -41
- package/dist/commands/tasks/comments/anchor.d.ts +12 -12
- package/dist/commands/tasks/comments/delete.d.ts +3 -3
- package/dist/commands/tasks/comments/list.d.ts +5 -5
- package/dist/commands/tasks/comments/react.d.ts +4 -4
- package/dist/commands/tasks/comments/reopen.d.ts +3 -3
- package/dist/commands/tasks/comments/resolve.d.ts +3 -3
- package/dist/commands/tasks/communications.d.ts +4 -4
- package/dist/commands/tasks/complete.d.ts +20 -20
- package/dist/commands/tasks/complete.js +3 -37
- package/dist/commands/tasks/continue-ready.d.ts +10 -10
- package/dist/commands/tasks/continue.d.ts +8 -8
- package/dist/commands/tasks/create-tree.d.ts +16 -16
- package/dist/commands/tasks/create.d.ts +44 -44
- package/dist/commands/tasks/current.d.ts +1 -1
- package/dist/commands/tasks/delete.d.ts +3 -3
- package/dist/commands/tasks/deliverable/add.d.ts +15 -15
- package/dist/commands/tasks/deliverable/add.js +4 -7
- package/dist/commands/tasks/deliverable/archive.d.ts +5 -5
- package/dist/commands/tasks/deliverable/confirm.d.ts +4 -4
- package/dist/commands/tasks/deliverable/list.d.ts +3 -3
- package/dist/commands/tasks/descendants.d.ts +3 -3
- package/dist/commands/tasks/dri-plan.d.ts +2 -2
- package/dist/commands/tasks/dri-run.d.ts +2 -2
- package/dist/commands/tasks/dri-status.d.ts +2 -2
- package/dist/commands/tasks/duplicate-pipeline.d.ts +4 -4
- package/dist/commands/tasks/economics-compare.d.ts +5 -5
- package/dist/commands/tasks/events/append.d.ts +11 -11
- package/dist/commands/tasks/events/list.d.ts +8 -8
- package/dist/commands/tasks/events/tail.d.ts +6 -6
- package/dist/commands/tasks/execution-state.d.ts +2 -2
- package/dist/commands/tasks/execution-summary.d.ts +2 -2
- package/dist/commands/tasks/execution-timeline.d.ts +4 -4
- package/dist/commands/tasks/expectations/assess.d.ts +14 -14
- package/dist/commands/tasks/expectations/assess.js +2 -2
- package/dist/commands/tasks/expectations/evaluate.d.ts +4 -4
- package/dist/commands/tasks/expectations.d.ts +2 -2
- package/dist/commands/tasks/export.d.ts +35 -35
- package/dist/commands/tasks/follow-up.d.ts +26 -26
- package/dist/commands/tasks/fork.d.ts +8 -8
- package/dist/commands/tasks/forward.d.ts +4 -4
- package/dist/commands/tasks/from-message.d.ts +3 -3
- package/dist/commands/tasks/guide.d.ts +9 -1
- package/dist/commands/tasks/guide.js +23 -10
- package/dist/commands/tasks/handover.d.ts +7 -7
- package/dist/commands/tasks/import.d.ts +10 -10
- package/dist/commands/tasks/input/answer.d.ts +6 -6
- package/dist/commands/tasks/input/dismiss.d.ts +3 -3
- package/dist/commands/tasks/input/show.d.ts +2 -2
- package/dist/commands/tasks/interrupt.d.ts +3 -3
- package/dist/commands/tasks/judge.d.ts +5 -5
- package/dist/commands/tasks/labels/attach.d.ts +3 -3
- package/dist/commands/tasks/labels/create.d.ts +5 -5
- package/dist/commands/tasks/labels/delete.d.ts +2 -2
- package/dist/commands/tasks/labels/detach.d.ts +3 -3
- package/dist/commands/tasks/labels/list.d.ts +1 -1
- package/dist/commands/tasks/labels/suggest.d.ts +2 -2
- package/dist/commands/tasks/lifecycle/attach.d.ts +5 -5
- package/dist/commands/tasks/lifecycle/definitions.d.ts +2 -2
- package/dist/commands/tasks/lifecycle/detach.d.ts +4 -4
- package/dist/commands/tasks/lifecycle/history.d.ts +4 -4
- package/dist/commands/tasks/lifecycle/migrate.d.ts +4 -4
- package/dist/commands/tasks/lifecycle/reconcile.d.ts +2 -2
- package/dist/commands/tasks/lifecycle/reopen.d.ts +5 -5
- package/dist/commands/tasks/lifecycle/show.d.ts +2 -2
- package/dist/commands/tasks/lifecycle/start.d.ts +3 -3
- package/dist/commands/tasks/lifecycle/transition.d.ts +6 -6
- package/dist/commands/tasks/list.d.ts +49 -49
- package/dist/commands/tasks/mark-duplicate.d.ts +3 -3
- package/dist/commands/tasks/monitor.d.ts +6 -6
- package/dist/commands/tasks/move.d.ts +8 -8
- package/dist/commands/tasks/open.d.ts +5 -5
- package/dist/commands/tasks/output.d.ts +4 -4
- package/dist/commands/tasks/pause-schedule.d.ts +2 -2
- package/dist/commands/tasks/plan/add-subtask.d.ts +7 -7
- package/dist/commands/tasks/plan/cancel.d.ts +4 -4
- package/dist/commands/tasks/plan/create.d.ts +2 -2
- package/dist/commands/tasks/plan/pause.d.ts +5 -5
- package/dist/commands/tasks/plan/reconcile.d.ts +3 -3
- package/dist/commands/tasks/plan/resume.d.ts +4 -4
- package/dist/commands/tasks/plan/retry.d.ts +4 -4
- package/dist/commands/tasks/plan/run-update.d.ts +7 -7
- package/dist/commands/tasks/plan/run.d.ts +3 -3
- package/dist/commands/tasks/plan/show.d.ts +2 -2
- package/dist/commands/tasks/plan/start.d.ts +3 -3
- package/dist/commands/tasks/plan/sync.d.ts +2 -2
- package/dist/commands/tasks/plan/update.d.ts +3 -3
- package/dist/commands/tasks/pr.d.ts +3 -3
- package/dist/commands/tasks/preflight.d.ts +4 -4
- package/dist/commands/tasks/promote.d.ts +5 -5
- package/dist/commands/tasks/prompt-log.d.ts +2 -2
- package/dist/commands/tasks/ready.d.ts +7 -7
- package/dist/commands/tasks/rearm-recurrence.d.ts +4 -4
- package/dist/commands/tasks/release.d.ts +2 -2
- package/dist/commands/tasks/remind.d.ts +3 -3
- package/dist/commands/tasks/replay.d.ts +3 -3
- package/dist/commands/tasks/report.d.ts +10 -10
- package/dist/commands/tasks/report.js +9 -5
- package/dist/commands/tasks/resource/add.d.ts +13 -13
- package/dist/commands/tasks/resource/add.js +2 -3
- package/dist/commands/tasks/resource/list.d.ts +4 -4
- package/dist/commands/tasks/result/show.d.ts +4 -4
- package/dist/commands/tasks/result/submit.d.ts +17 -17
- package/dist/commands/tasks/result/submit.js +3 -37
- package/dist/commands/tasks/resume/save.d.ts +7 -7
- package/dist/commands/tasks/resume/save.js +2 -3
- package/dist/commands/tasks/resume/show.d.ts +4 -4
- package/dist/commands/tasks/resume-schedule.d.ts +2 -2
- package/dist/commands/tasks/retry-schedule.d.ts +3 -3
- package/dist/commands/tasks/retry.d.ts +5 -5
- package/dist/commands/tasks/review-queue.d.ts +5 -5
- package/dist/commands/tasks/review.d.ts +8 -8
- package/dist/commands/tasks/review.js +2 -3
- package/dist/commands/tasks/revisions.d.ts +2 -2
- package/dist/commands/tasks/runs.d.ts +2 -2
- package/dist/commands/tasks/schedule.d.ts +8 -8
- package/dist/commands/tasks/self-schedule.d.ts +8 -8
- package/dist/commands/tasks/show.d.ts +5 -5
- package/dist/commands/tasks/skills/pin.d.ts +5 -5
- package/dist/commands/tasks/skills/unpin.d.ts +5 -5
- package/dist/commands/tasks/snooze.d.ts +6 -6
- package/dist/commands/tasks/start-all.d.ts +3 -3
- package/dist/commands/tasks/start.d.ts +6 -6
- package/dist/commands/tasks/subscribe.d.ts +3 -3
- package/dist/commands/tasks/tags/add.d.ts +3 -3
- package/dist/commands/tasks/tags/remove.d.ts +3 -3
- package/dist/commands/tasks/templates/create.d.ts +11 -11
- package/dist/commands/tasks/templates/create.js +1 -34
- package/dist/commands/tasks/templates/delete.d.ts +2 -2
- package/dist/commands/tasks/templates/list.d.ts +2 -2
- package/dist/commands/tasks/templates/reorder.d.ts +3 -3
- package/dist/commands/tasks/templates/show.d.ts +2 -2
- package/dist/commands/tasks/templates/update.d.ts +10 -10
- package/dist/commands/tasks/templates/update.js +1 -34
- package/dist/commands/tasks/timeline.d.ts +7 -7
- package/dist/commands/tasks/today.d.ts +7 -7
- package/dist/commands/tasks/transcript.d.ts +6 -6
- package/dist/commands/tasks/tree.d.ts +6 -6
- package/dist/commands/tasks/triage.d.ts +8 -8
- package/dist/commands/tasks/triage.js +2 -1
- package/dist/commands/tasks/trust.d.ts +5 -5
- package/dist/commands/tasks/unschedule.d.ts +2 -2
- package/dist/commands/tasks/unsnooze.d.ts +3 -3
- package/dist/commands/tasks/unsubscribe.d.ts +3 -3
- package/dist/commands/tasks/update.d.ts +45 -45
- package/dist/commands/tasks/updates/add.d.ts +13 -13
- package/dist/commands/tasks/updates/add.js +3 -37
- package/dist/commands/tasks/updates/list.d.ts +6 -6
- package/dist/commands/tasks/upsert.d.ts +20 -20
- package/dist/commands/tasks/wait.d.ts +9 -9
- package/dist/commands/tasks/waive.d.ts +4 -4
- package/dist/commands/tasks/watch.d.ts +8 -8
- package/dist/commands/tasks/workflow/approve-merge.d.ts +2 -2
- package/dist/commands/tasks/workflow/cancel.d.ts +3 -3
- package/dist/commands/tasks/workflow/e2e-complete.d.ts +7 -7
- package/dist/commands/tasks/workflow/index.d.ts +2 -2
- package/dist/commands/tasks/workflow/retry-stage.d.ts +3 -3
- package/dist/commands/tasks/workflow/start.d.ts +2 -2
- package/dist/commands/tasks/workflow-await.d.ts +5 -5
- package/dist/commands/tasks/workflow-context.d.ts +3 -3
- package/dist/commands/tasks/workflow-findings.d.ts +5 -5
- package/dist/commands/teams/list-channels.d.ts +3 -3
- package/dist/commands/teams/list-users.d.ts +4 -4
- package/dist/commands/teams/read-channel.d.ts +5 -5
- package/dist/commands/teams/read-thread.d.ts +6 -6
- package/dist/commands/teams/run.d.ts +5 -5
- package/dist/commands/teams/search.d.ts +5 -5
- package/dist/commands/teams/send-as-agent.d.ts +6 -6
- package/dist/commands/teams/tools.d.ts +2 -2
- package/dist/commands/token/list.d.ts +3 -3
- package/dist/commands/token/mint.d.ts +3 -3
- package/dist/commands/token/revoke.d.ts +2 -2
- package/dist/commands/tokens/create.d.ts +7 -7
- package/dist/commands/tokens/list.d.ts +2 -2
- package/dist/commands/tokens/revoke.d.ts +3 -3
- package/dist/commands/tones/apply.d.ts +4 -4
- package/dist/commands/tones/create.d.ts +11 -11
- package/dist/commands/tones/default.d.ts +3 -3
- package/dist/commands/tones/delete.d.ts +2 -2
- package/dist/commands/tones/export.d.ts +6 -6
- package/dist/commands/tones/import.d.ts +4 -4
- package/dist/commands/tones/list.d.ts +4 -4
- package/dist/commands/tones/policy/set.d.ts +8 -8
- package/dist/commands/tones/policy/show.d.ts +2 -2
- package/dist/commands/tones/show.d.ts +2 -2
- package/dist/commands/tones/update.d.ts +11 -11
- package/dist/commands/triggers/actions.d.ts +2 -2
- package/dist/commands/triggers/audit.d.ts +9 -9
- package/dist/commands/triggers/capabilities.d.ts +2 -2
- package/dist/commands/triggers/create.d.ts +73 -73
- package/dist/commands/triggers/delete.d.ts +3 -3
- package/dist/commands/triggers/disable.d.ts +2 -2
- package/dist/commands/triggers/enable.d.ts +2 -2
- package/dist/commands/triggers/event-catalog.d.ts +1 -1
- package/dist/commands/triggers/fire-detail.d.ts +3 -3
- package/dist/commands/triggers/fire.d.ts +4 -4
- package/dist/commands/triggers/list.d.ts +7 -7
- package/dist/commands/triggers/parse-intent.d.ts +8 -8
- package/dist/commands/triggers/preflight.d.ts +4 -4
- package/dist/commands/triggers/prune.d.ts +8 -8
- package/dist/commands/triggers/replay.d.ts +4 -4
- package/dist/commands/triggers/rotate-secret.d.ts +2 -2
- package/dist/commands/triggers/runs.d.ts +5 -5
- package/dist/commands/triggers/show.d.ts +2 -2
- package/dist/commands/triggers/update.d.ts +63 -63
- package/dist/commands/update.d.ts +5 -5
- package/dist/commands/usage.d.ts +3 -3
- package/dist/commands/views/create.d.ts +19 -19
- package/dist/commands/views/delete.d.ts +3 -3
- package/dist/commands/views/list.d.ts +1 -1
- package/dist/commands/views/show.d.ts +2 -2
- package/dist/commands/views/subscribe.d.ts +6 -6
- package/dist/commands/views/subscriptions.d.ts +2 -2
- package/dist/commands/views/unsubscribe.d.ts +2 -2
- package/dist/commands/views/update.d.ts +16 -16
- package/dist/commands/webhooks/create.d.ts +5 -5
- package/dist/commands/webhooks/delete.d.ts +2 -2
- package/dist/commands/webhooks/deliveries.d.ts +3 -3
- package/dist/commands/webhooks/list.d.ts +3 -3
- package/dist/commands/webhooks/test.d.ts +2 -2
- package/dist/commands/whoami.d.ts +1 -1
- package/dist/commands/widgets/add.d.ts +5 -5
- package/dist/commands/widgets/check.d.ts +5 -5
- package/dist/commands/widgets/list.d.ts +2 -2
- package/dist/commands/widgets/remove.d.ts +3 -3
- package/dist/commands/widgets/reorder.d.ts +4 -4
- package/dist/commands/widgets/revert.d.ts +4 -4
- package/dist/commands/widgets/save-as-app.d.ts +3 -3
- package/dist/commands/widgets/show.d.ts +3 -3
- package/dist/commands/widgets/update.d.ts +5 -5
- package/dist/commands/widgets/versions.d.ts +4 -4
- package/dist/commands/wiki/cat.d.ts +5 -5
- package/dist/commands/wiki/ls.d.ts +4 -4
- package/dist/commands/wiki/mkdir.d.ts +3 -3
- package/dist/commands/wiki/mv.d.ts +5 -5
- package/dist/commands/wiki/rm.d.ts +6 -6
- package/dist/commands/wiki/rmdir.d.ts +5 -5
- package/dist/commands/wiki/search.d.ts +4 -4
- package/dist/commands/wiki/tree.d.ts +3 -3
- package/dist/commands/wiki/update.d.ts +7 -7
- package/dist/commands/wiki/write.d.ts +9 -9
- package/dist/commands/work-views/create.d.ts +5 -5
- package/dist/commands/work-views/delete.d.ts +4 -4
- package/dist/commands/work-views/list.d.ts +1 -1
- package/dist/commands/work-views/result.d.ts +2 -2
- package/dist/commands/work-views/update.d.ts +6 -6
- package/dist/commands/worklog/list.d.ts +6 -6
- package/dist/commands/worklog/rm.d.ts +3 -3
- package/dist/commands/worklog/save.d.ts +8 -8
- package/dist/commands/worklog/search.d.ts +4 -4
- package/dist/commands/worklog/show.d.ts +3 -3
- package/dist/commands/worklog/stats.d.ts +2 -2
- package/dist/commands/worklog/update.d.ts +7 -7
- package/dist/commands/workspaces/attribution.d.ts +4 -4
- package/dist/commands/workspaces/audit.d.ts +8 -8
- package/dist/commands/workspaces/grants.d.ts +2 -2
- package/dist/commands/workspaces/list.d.ts +1 -1
- package/dist/commands/workspaces/members.d.ts +3 -3
- package/dist/commands/workspaces/stewardship.d.ts +3 -3
- package/dist/commands/workspaces/use.d.ts +3 -3
- package/dist/generated/agent-guides.json +8290 -0
- package/dist/generated/managed-instruction-guides.json +3 -3
- package/dist/help.js +4 -3
- package/dist/hooks/command-not-found.js +1 -1
- package/dist/lib/agent-guide-reference-gate.d.ts +28 -0
- package/dist/lib/agent-guide-reference-gate.js +186 -0
- package/dist/lib/agent-guides.d.ts +51 -0
- package/dist/lib/agent-guides.js +170 -0
- package/dist/lib/agentic-stream.d.ts +5 -0
- package/dist/lib/agentic-stream.js +51 -2
- package/dist/lib/artifact-export.d.ts +8 -8
- package/dist/lib/channel-command-runners.d.ts +11 -11
- package/dist/lib/command-miss.d.ts +13 -2
- package/dist/lib/command-miss.js +134 -8
- package/dist/lib/commerce-command.d.ts +2 -2
- package/dist/lib/commitment-endpoints.d.ts +1 -1
- package/dist/lib/computer-use.js +6 -1
- package/dist/lib/continuityPreferences.d.ts +3 -0
- package/dist/lib/continuityPreferences.js +42 -0
- package/dist/lib/dedicated-lease-command.d.ts +3 -3
- package/dist/lib/dedicated-service-command.d.ts +9 -9
- package/dist/lib/exec-runtime-binary.d.ts +1 -1
- package/dist/lib/exec-runtime-binary.js +3 -3
- package/dist/lib/first-party-harness-remote-install.d.ts +3 -3
- package/dist/lib/first-party-harness-remote-update.d.ts +3 -3
- package/dist/lib/followups.d.ts +1 -1
- package/dist/lib/guide-pointer.d.ts +15 -0
- package/dist/lib/guide-pointer.js +51 -0
- package/dist/lib/label-scope.d.ts +3 -3
- package/dist/lib/list-output.d.ts +3 -3
- package/dist/lib/lookbackPlans.d.ts +17 -3
- package/dist/lib/lookbackPlans.js +43 -15
- package/dist/lib/member-output.d.ts +1 -1
- package/dist/lib/memory-scope.d.ts +3 -3
- package/dist/lib/outbox.d.ts +0 -14
- package/dist/lib/outbox.js +0 -21
- package/dist/lib/proposal-decision-command.d.ts +7 -7
- package/dist/lib/publisher-profile-flags.d.ts +2 -2
- package/dist/lib/roles.d.ts +1 -1
- package/dist/lib/scoped-memory-command.d.ts +25 -25
- package/dist/lib/session-task-write.d.ts +1 -1
- package/dist/lib/space-custom-actions.d.ts +2 -2
- package/dist/lib/task-batch.d.ts +10 -7
- package/dist/lib/task-batch.js +5 -20
- package/dist/lib/task-operations.d.ts +8 -20
- package/dist/lib/task-operations.js +9 -94
- package/dist/lib/task-preflight.js +70 -33
- package/dist/lib/task-resolver.d.ts +8 -0
- package/dist/lib/task-resolver.js +18 -0
- package/dist/lib/usage-discovery.d.ts +4 -0
- package/dist/lib/usage-discovery.js +5 -0
- package/dist/lib/voice-call-intent.js +3 -1
- package/dist/lib/write-target.d.ts +1 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/aead.js +75 -59
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/authExpiredDetector.js +67 -80
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/authHelper.js +240 -294
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/cliHandoffWire.js +138 -165
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/commitmentExecutionContract.js +376 -492
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/computerUse.js +362 -330
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/computerWire.js +1106 -1235
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/configRoot.js +45 -59
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/credentialEnvelope.js +135 -202
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/credentialEnvelopeBridge.js +565 -888
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/credentialResolver.js +277 -417
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/credentialSession.js +82 -103
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/daemonPair.js +362 -459
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/daemonScopes.js +58 -90
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/daemonToolApproval.js +144 -205
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/daemonWire.js +554 -623
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/dedicatedRuntimeBusyWire.js +113 -146
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/dedicatedRuntimeWakeWire.js +86 -108
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/desktopWire.js +74 -40
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/deviceIdentityBridge.js +533 -730
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/deviceKey.js +214 -329
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/dpop.js +132 -162
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/fdToken.js +173 -220
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/firstPartyHarness.js +322 -505
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/firstPartyHarnessChannels.js +70 -146
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/firstPartyHarnessHome.js +233 -343
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/firstPartyHarnessReleaseKeys.js +33 -103
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/firstPartyHarnessUpdater.js +761 -863
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/githubPushRefusal.js +59 -41
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/harnessPermissionControls.js +64 -57
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/harnessSkillLayout.js +44 -91
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/harnessTrust.js +65 -110
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/headers-helper.js +228 -304
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/index.js +568 -446
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/jwtUtils.js +44 -56
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/index.js +145 -195
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/linux.js +361 -596
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/macos.js +332 -546
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/types.js +32 -40
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/windows.js +226 -330
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/zeroize-registry.js +39 -54
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/legacyStatePreflight.js +117 -134
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/localIdentity.js +39 -56
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/loginLocalhost.js +216 -321
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/loginWithLocalhost.js +212 -337
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/loopbackHttp.js +214 -241
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/machineId.js +129 -212
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/machineUuid.js +265 -405
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/messages.js +51 -59
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/pkce.js +77 -145
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/profileStateDir.js +239 -344
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/recoveryCode.js +112 -190
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/refresh.js +494 -953
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/refreshClassification.js +79 -126
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/refreshScheduler.js +236 -310
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/releaseKeys.js +36 -92
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/releaseManifest.js +146 -283
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/releasePolicy.js +126 -151
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/releaseVersions.js +64 -41
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/restartArtifact.d.ts +10 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/restartArtifact.js +148 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/runtime.js +95 -109
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/sessionPermissionAuthority.js +42 -39
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/sessionRevocation.js +370 -453
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/spawnEnv.js +178 -266
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/telemetryRedaction.js +149 -237
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/toolApprovalSignature.js +245 -339
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/toolOperationOutcome.d.ts +16 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/toolOperationOutcome.js +75 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/ttlParser.js +71 -83
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/types.js +51 -32
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/workspaceIsolationProbeWire.js +45 -45
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/restartArtifact.d.ts +10 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/restartArtifact.js +138 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/toolOperationOutcome.d.ts +16 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/toolOperationOutcome.js +40 -0
- package/dist/node_modules/@skrr-ai/auth-core/package.json +21 -1
- package/dist/node_modules/@skrr-ai/data-provider/index.js +20078 -27000
- package/dist/node_modules/@skrr-ai/data-provider/package.json +1 -1
- package/dist/node_modules/@skrr-ai/inference-broker/dist/cjs/contract.js +93 -141
- package/dist/node_modules/@skrr-ai/inference-broker/dist/cjs/index.js +57 -89
- package/dist/node_modules/@skrr-ai/inference-broker/dist/cjs/loopback-server.js +204 -262
- package/dist/node_modules/@skrr-ai/inference-broker/dist/cjs/managed-inference-broker.js +681 -1041
- package/dist/node_modules/@skrr-ai/inference-broker/dist/cjs/managed-inference-renewal.js +145 -286
- package/dist/node_modules/@skrr-ai/inference-broker/package.json +1 -1
- package/dist/signal-command.d.ts +5 -5
- package/docs/v1/lookback-plans.md +58 -0
- package/oclif.manifest.json +659 -14
- package/package.json +7 -6
|
@@ -1,659 +1,424 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
4
11
|
};
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
* does not match Tier-2's session-gated guarantee. We ship it
|
|
43
|
-
* unconditionally because headless servers without a session keyring
|
|
44
|
-
* would otherwise have no KEK protection at all.
|
|
45
|
-
*
|
|
46
|
-
* Race semantics on Tier-2 first-run enrollment: second-writer-wins (two
|
|
47
|
-
* daemon processes both missing on the same TOCTOU window both call
|
|
48
|
-
* `secret-tool store`, the second overwrites the first). Any DEKs
|
|
49
|
-
* wrapped under the first KEK become unrecoverable. The upstream caller
|
|
50
|
-
* (`credEnvelope.ts:initCredEnvelope`) handles this gracefully — unwrap
|
|
51
|
-
* failure → log + treat as first enrollment. A proper-lockfile layer
|
|
52
|
-
* upstream eliminates the race in practice. Tier-3 has no race because
|
|
53
|
-
* the KEK is recomputed (not stored) on every cold start.
|
|
54
|
-
*
|
|
55
|
-
* Service/account override (Tier-2 only): the `LinuxKek` constructor
|
|
56
|
-
* accepts an optional `{ service, account }` override that scopes the
|
|
57
|
-
* Secret Service item attributes used by `secret-tool lookup`/`store`.
|
|
58
|
-
* This exists for multi-tenant test isolation and for the real-shellout
|
|
59
|
-
* smoke test, which uses a per-run unique service name so it cannot
|
|
60
|
-
* pollute a developer's libsecret store. The override only affects
|
|
61
|
-
* Tier-2; Tier-3 derives the KEK via HKDF from machine identity and
|
|
62
|
-
* has no service/account concept — overrides are silently ignored on
|
|
63
|
-
* the HKDF path. Callers that override the service are responsible for
|
|
64
|
-
* cleaning up the corresponding Secret Service entry when finished.
|
|
65
|
-
*/
|
|
66
|
-
const node_child_process_1 = require("node:child_process");
|
|
67
|
-
const node_crypto_1 = __importDefault(require("node:crypto"));
|
|
68
|
-
const node_os_1 = __importDefault(require("node:os"));
|
|
69
|
-
const node_fs_1 = __importDefault(require("node:fs"));
|
|
70
|
-
const credentialEnvelope_js_1 = require("../credentialEnvelope.js");
|
|
71
|
-
const types_js_1 = require("./types.js");
|
|
72
|
-
const zeroize_registry_js_1 = require("./zeroize-registry.js");
|
|
73
|
-
/** Stable telemetry kind strings — one per backend tier. */
|
|
74
|
-
const KIND_LIBSECRET = 'linux-libsecret-shellout';
|
|
75
|
-
const KIND_HKDF = 'linux-machineid-hkdf';
|
|
76
|
-
/** Secret Service item attributes for the master KEK (Tier-2). */
|
|
77
|
-
const SS_SERVICE = 'ai.skrr.daemon.kek';
|
|
78
|
-
const SS_ACCOUNT = 'master-kek-v1';
|
|
79
|
-
/** D-Bus transport error substrings — any of these in stderr means no session. */
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var linux_exports = {};
|
|
30
|
+
__export(linux_exports, {
|
|
31
|
+
LinuxKek: () => LinuxKek,
|
|
32
|
+
__resetKekCacheForTest: () => __resetKekCacheForTest,
|
|
33
|
+
__setExecFileForTest: () => __setExecFileForTest,
|
|
34
|
+
__setFsForTest: () => __setFsForTest,
|
|
35
|
+
zeroizeLinuxKekCache: () => zeroizeLinuxKekCache
|
|
36
|
+
});
|
|
37
|
+
module.exports = __toCommonJS(linux_exports);
|
|
38
|
+
var import_node_child_process = require("node:child_process");
|
|
39
|
+
var import_node_crypto = __toESM(require("node:crypto"), 1);
|
|
40
|
+
var import_node_os = __toESM(require("node:os"), 1);
|
|
41
|
+
var import_node_fs = __toESM(require("node:fs"), 1);
|
|
42
|
+
var import_credentialEnvelope = require("../credentialEnvelope.js");
|
|
43
|
+
var import_types = require("./types.js");
|
|
44
|
+
var import_zeroize_registry = require("./zeroize-registry.js");
|
|
45
|
+
const KIND_LIBSECRET = "linux-libsecret-shellout";
|
|
46
|
+
const KIND_HKDF = "linux-machineid-hkdf";
|
|
47
|
+
const SS_SERVICE = "ai.skrr.daemon.kek";
|
|
48
|
+
const SS_ACCOUNT = "master-kek-v1";
|
|
80
49
|
const DBUS_TRANSPORT_ERRORS = [
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
50
|
+
"D-Bus",
|
|
51
|
+
"org.freedesktop.secrets",
|
|
52
|
+
"No such interface",
|
|
53
|
+
"Cannot autolaunch"
|
|
85
54
|
];
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
* That includes the brand. These strings are cryptographic derivation inputs
|
|
91
|
-
* that happen to read like a name, so a rename sweep produces exactly the same
|
|
92
|
-
* outcome as bumping the `v1` suffix — every credential on every machine
|
|
93
|
-
* becomes undecryptable, with no error at write time and a failure that
|
|
94
|
-
* surfaces only when someone next tries to unwrap. The KEK's SERVICE name moved
|
|
95
|
-
* to `ai.skrr.daemon.kek`; these did not, and must not.
|
|
96
|
-
*
|
|
97
|
-
* Rotating them deliberately is a re-issue, not a rename: it needs the old
|
|
98
|
-
* envelope discarded and credentials re-obtained, which is a decision with a
|
|
99
|
-
* user-visible cost rather than a string edit.
|
|
100
|
-
*/
|
|
101
|
-
const HKDF_SALT = Buffer.from('oversky-cred-kek-salt-v1');
|
|
102
|
-
const HKDF_INFO = Buffer.from('oversky-cred-kek-v1');
|
|
103
|
-
/** Filesystem paths for Tier-3 IKM components. */
|
|
104
|
-
const PATH_LOGINUID = '/proc/self/loginuid';
|
|
105
|
-
const PATH_MACHINE_ID = '/etc/machine-id';
|
|
55
|
+
const HKDF_SALT = Buffer.from("oversky-cred-kek-salt-v1");
|
|
56
|
+
const HKDF_INFO = Buffer.from("oversky-cred-kek-v1");
|
|
57
|
+
const PATH_LOGINUID = "/proc/self/loginuid";
|
|
58
|
+
const PATH_MACHINE_ID = "/etc/machine-id";
|
|
106
59
|
let _execFileForTest = null;
|
|
107
|
-
/**
|
|
108
|
-
* @internal Test seam — inject a mock execFile for hermetic tests so the
|
|
109
|
-
* suite never touches the real Secret Service. Reset to `null` to restore
|
|
110
|
-
* the real `child_process.execFile`.
|
|
111
|
-
*/
|
|
112
60
|
function __setExecFileForTest(fn) {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
_secretToolProbeCache = undefined;
|
|
117
|
-
_tierSelection = null;
|
|
61
|
+
_execFileForTest = fn;
|
|
62
|
+
_secretToolProbeCache = void 0;
|
|
63
|
+
_tierSelection = null;
|
|
118
64
|
}
|
|
119
|
-
/**
|
|
120
|
-
* Default execFile wrapper used when no test override is installed.
|
|
121
|
-
*
|
|
122
|
-
* `input` is WRITTEN to the child's stdin here, and stdin is always closed. The
|
|
123
|
-
* previous version forwarded `input` as an execFile option — but only the SYNC
|
|
124
|
-
* child_process functions honour `input`; async `execFile` ignores it. So
|
|
125
|
-
* `secret-tool store`, which reads the secret from stdin, got neither the secret
|
|
126
|
-
* nor EOF and waited forever: Tier-2 enrollment could not complete on any Linux
|
|
127
|
-
* desktop with a working Secret Service. Closing stdin also means no other call
|
|
128
|
-
* can block on a tool that unexpectedly reads it.
|
|
129
|
-
*/
|
|
130
65
|
const defaultExec = (file, args, options) => new Promise((resolve, reject) => {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
// Same shape promisify(execFile) produced, which the probe reads.
|
|
139
|
-
reject(Object.assign(err, { stdout: out, stderr: errOut }));
|
|
140
|
-
return;
|
|
141
|
-
}
|
|
142
|
-
resolve({ stdout: out, stderr: errOut });
|
|
143
|
-
});
|
|
144
|
-
if (child.stdin) {
|
|
145
|
-
// A child that exits without reading stdin makes the write fail with EPIPE;
|
|
146
|
-
// the exit status is what reports that, not this stream.
|
|
147
|
-
child.stdin.on('error', () => undefined);
|
|
148
|
-
child.stdin.end(input ?? '');
|
|
66
|
+
const { input, ...execOptions } = options ?? {};
|
|
67
|
+
const child = (0, import_node_child_process.execFile)(file, args, { encoding: "utf-8", ...execOptions }, (err, stdout, stderr) => {
|
|
68
|
+
const out = typeof stdout === "string" ? stdout : Buffer.from(stdout).toString("utf-8");
|
|
69
|
+
const errOut = typeof stderr === "string" ? stderr : Buffer.from(stderr).toString("utf-8");
|
|
70
|
+
if (err) {
|
|
71
|
+
reject(Object.assign(err, { stdout: out, stderr: errOut }));
|
|
72
|
+
return;
|
|
149
73
|
}
|
|
74
|
+
resolve({ stdout: out, stderr: errOut });
|
|
75
|
+
});
|
|
76
|
+
if (child.stdin) {
|
|
77
|
+
child.stdin.on("error", () => void 0);
|
|
78
|
+
child.stdin.end(input ?? "");
|
|
79
|
+
}
|
|
150
80
|
});
|
|
151
81
|
function exec(file, args, options) {
|
|
152
|
-
|
|
153
|
-
|
|
82
|
+
const impl = _execFileForTest ?? defaultExec;
|
|
83
|
+
return impl(file, args, { encoding: "utf-8", ...options });
|
|
154
84
|
}
|
|
155
85
|
let _readFileSyncForTest = null;
|
|
156
|
-
/**
|
|
157
|
-
* @internal Test seam — inject a mock readFileSync so Tier-3 derivation
|
|
158
|
-
* tests can drive deterministic IKM without writing to /proc or /etc.
|
|
159
|
-
* Reset to `null` to restore the real `fs.readFileSync`. Pass `null` to
|
|
160
|
-
* also clear the tier selection + KEK cache so the next call re-probes.
|
|
161
|
-
*/
|
|
162
86
|
function __setFsForTest(fn) {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
87
|
+
_readFileSyncForTest = fn;
|
|
88
|
+
_tierSelection = null;
|
|
89
|
+
zeroizeLinuxKekCache();
|
|
166
90
|
}
|
|
167
91
|
function readFileTrimmed(path) {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
}
|
|
92
|
+
const reader = _readFileSyncForTest ?? import_node_fs.default.readFileSync.bind(import_node_fs.default);
|
|
93
|
+
try {
|
|
94
|
+
const raw = reader(path, "utf-8");
|
|
95
|
+
return raw.trim();
|
|
96
|
+
} catch {
|
|
97
|
+
return null;
|
|
98
|
+
}
|
|
176
99
|
}
|
|
177
|
-
// ---------------------------------------------------------------------------
|
|
178
|
-
// Probe — cached for the process lifetime.
|
|
179
|
-
// ---------------------------------------------------------------------------
|
|
180
|
-
/** `undefined` = not yet probed; `boolean` = cached probe outcome. */
|
|
181
100
|
let _secretToolProbeCache;
|
|
182
|
-
/**
|
|
183
|
-
* True when `secret-tool` never started, as opposed to starting and exiting
|
|
184
|
-
* non-zero.
|
|
185
|
-
*
|
|
186
|
-
* `execFile` reports the two differently: a process that ran and failed carries
|
|
187
|
-
* its numeric exit code, and a spawn that failed carries a STRING errno. Only
|
|
188
|
-
* `ENOENT` used to count as "missing", so every other spawn failure read as a
|
|
189
|
-
* working binary — and the probe then picked the libsecret tier, whose `store`
|
|
190
|
-
* cannot succeed either, which disables the credential envelope and makes the CLI
|
|
191
|
-
* refuse to persist any credential at all.
|
|
192
|
-
*
|
|
193
|
-
* The case that found it: a PATH entry the process may not search. execvp
|
|
194
|
-
* reports EACCES rather than ENOENT once it has met one, and a systemd unit that
|
|
195
|
-
* makes /snap inaccessible while PATH still lists /snap/bin (the Dedicated Runtime
|
|
196
|
-
* daemon sandbox did) turns every missing binary into EACCES.
|
|
197
|
-
*/
|
|
198
101
|
function secretToolDidNotRun(err) {
|
|
199
|
-
|
|
200
|
-
|
|
102
|
+
const { code, status } = err;
|
|
103
|
+
return typeof code === "string" && SECRET_TOOL_UNRUNNABLE.has(code) || status === 127;
|
|
201
104
|
}
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
const SECRET_TOOL_UNRUNNABLE = new Set([
|
|
210
|
-
'ENOENT',
|
|
211
|
-
'EACCES',
|
|
212
|
-
'ENOTDIR',
|
|
213
|
-
'ELOOP',
|
|
214
|
-
'ENOEXEC',
|
|
215
|
-
'EPERM',
|
|
105
|
+
const SECRET_TOOL_UNRUNNABLE = /* @__PURE__ */ new Set([
|
|
106
|
+
"ENOENT",
|
|
107
|
+
"EACCES",
|
|
108
|
+
"ENOTDIR",
|
|
109
|
+
"ELOOP",
|
|
110
|
+
"ENOEXEC",
|
|
111
|
+
"EPERM"
|
|
216
112
|
]);
|
|
217
|
-
/**
|
|
218
|
-
* Probe secret-tool availability. Two checks:
|
|
219
|
-
* 1. `secret-tool --version` — ENOENT or exit 127 means binary missing.
|
|
220
|
-
* 2. `secret-tool search service ai.skrr.daemon.kek.probe` — exit 1
|
|
221
|
-
* with no output is fine (nothing matched), but stderr containing a
|
|
222
|
-
* D-Bus transport error means the session bus is not running.
|
|
223
|
-
*/
|
|
224
113
|
async function probeSecretTool() {
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
_secretToolProbeCache = false;
|
|
236
|
-
return false;
|
|
237
|
-
}
|
|
238
|
-
// Binary exists but --version exited non-zero; treat as present and
|
|
239
|
-
// continue to the D-Bus probe.
|
|
114
|
+
if (process.platform !== "linux")
|
|
115
|
+
return false;
|
|
116
|
+
if (_secretToolProbeCache !== void 0)
|
|
117
|
+
return _secretToolProbeCache;
|
|
118
|
+
try {
|
|
119
|
+
await exec("secret-tool", ["--version"]);
|
|
120
|
+
} catch (err) {
|
|
121
|
+
if (secretToolDidNotRun(err)) {
|
|
122
|
+
_secretToolProbeCache = false;
|
|
123
|
+
return false;
|
|
240
124
|
}
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
125
|
+
}
|
|
126
|
+
try {
|
|
127
|
+
await exec("secret-tool", ["search", "service", "ai.skrr.daemon.kek.probe"]);
|
|
128
|
+
_secretToolProbeCache = true;
|
|
129
|
+
} catch (err) {
|
|
130
|
+
if (secretToolDidNotRun(err)) {
|
|
131
|
+
_secretToolProbeCache = false;
|
|
132
|
+
return false;
|
|
246
133
|
}
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
const stderr = err.stderr ?? '';
|
|
253
|
-
const isTransportError = DBUS_TRANSPORT_ERRORS.some((s) => stderr.includes(s));
|
|
254
|
-
if (isTransportError) {
|
|
255
|
-
_secretToolProbeCache = false;
|
|
256
|
-
return false;
|
|
257
|
-
}
|
|
258
|
-
// Exit 1 with empty stderr (no item found) — that's the expected case,
|
|
259
|
-
// it just means no item matched the probe key. D-Bus is working.
|
|
260
|
-
_secretToolProbeCache = true;
|
|
134
|
+
const stderr = err.stderr ?? "";
|
|
135
|
+
const isTransportError = DBUS_TRANSPORT_ERRORS.some((s) => stderr.includes(s));
|
|
136
|
+
if (isTransportError) {
|
|
137
|
+
_secretToolProbeCache = false;
|
|
138
|
+
return false;
|
|
261
139
|
}
|
|
262
|
-
|
|
140
|
+
_secretToolProbeCache = true;
|
|
141
|
+
}
|
|
142
|
+
return _secretToolProbeCache;
|
|
263
143
|
}
|
|
264
|
-
// ---------------------------------------------------------------------------
|
|
265
|
-
// Tier-3: HKDF-SHA256 from machine identity.
|
|
266
|
-
// ---------------------------------------------------------------------------
|
|
267
|
-
/**
|
|
268
|
-
* Derive the master KEK from machine identity via HKDF-SHA256. IKM is the
|
|
269
|
-
* NUL-separated concatenation of:
|
|
270
|
-
* - os.hostname()
|
|
271
|
-
* - process UID (or "0" when not exposed)
|
|
272
|
-
* - /proc/self/loginuid (empty string when unreadable)
|
|
273
|
-
* - /etc/machine-id (REQUIRED — throws KekUnavailableError when absent)
|
|
274
|
-
*
|
|
275
|
-
* machine-id is the only required input because it's the cross-boot
|
|
276
|
-
* binding anchor; without it, the derivation has nothing host-specific
|
|
277
|
-
* to bind to and Tier-3 collapses into "shared secret across all hosts."
|
|
278
|
-
*/
|
|
279
144
|
function deriveTier3Kek() {
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
const derived = node_crypto_1.default.hkdfSync('sha256', ikm, HKDF_SALT, HKDF_INFO, credentialEnvelope_js_1.KEY_LEN);
|
|
300
|
-
return Buffer.from(derived);
|
|
145
|
+
const hostname = import_node_os.default.hostname();
|
|
146
|
+
const uid = String(process.getuid?.() ?? 0);
|
|
147
|
+
const loginuid = readFileTrimmed(PATH_LOGINUID) ?? "";
|
|
148
|
+
const machineId = readFileTrimmed(PATH_MACHINE_ID);
|
|
149
|
+
if (machineId === null || machineId.length === 0) {
|
|
150
|
+
throw new import_types.KekUnavailableError(KIND_HKDF, "Tier-3 unavailable: /etc/machine-id is missing or empty");
|
|
151
|
+
}
|
|
152
|
+
const NUL = Buffer.from([0]);
|
|
153
|
+
const ikm = Buffer.concat([
|
|
154
|
+
Buffer.from(hostname, "utf-8"),
|
|
155
|
+
NUL,
|
|
156
|
+
Buffer.from(uid, "utf-8"),
|
|
157
|
+
NUL,
|
|
158
|
+
Buffer.from(loginuid, "utf-8"),
|
|
159
|
+
NUL,
|
|
160
|
+
Buffer.from(machineId, "utf-8")
|
|
161
|
+
]);
|
|
162
|
+
const derived = import_node_crypto.default.hkdfSync("sha256", ikm, HKDF_SALT, HKDF_INFO, import_credentialEnvelope.KEY_LEN);
|
|
163
|
+
return Buffer.from(derived);
|
|
301
164
|
}
|
|
302
|
-
// ---------------------------------------------------------------------------
|
|
303
|
-
// Secret Service read/write — master KEK (Tier-2).
|
|
304
|
-
// ---------------------------------------------------------------------------
|
|
305
|
-
/**
|
|
306
|
-
* Read the master KEK from the Secret Service. Returns null when no item
|
|
307
|
-
* exists (first run). Throws `KekUnavailableError` on all other failures.
|
|
308
|
-
*
|
|
309
|
-
* `service` and `account` are passed in (rather than read from the
|
|
310
|
-
* module-level constants) so a `LinuxKek` instance constructed with an
|
|
311
|
-
* override scopes its lookups to a unique Secret Service entry.
|
|
312
|
-
*/
|
|
313
165
|
async function readKekFromSecretService(service, account) {
|
|
166
|
+
try {
|
|
167
|
+
const { stdout } = await exec("secret-tool", [
|
|
168
|
+
"lookup",
|
|
169
|
+
"service",
|
|
170
|
+
service,
|
|
171
|
+
"account",
|
|
172
|
+
account
|
|
173
|
+
]);
|
|
174
|
+
const trimmed = stdout.trim();
|
|
175
|
+
if (trimmed.length === 0)
|
|
176
|
+
return null;
|
|
177
|
+
let raw;
|
|
314
178
|
try {
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
service,
|
|
319
|
-
'account',
|
|
320
|
-
account,
|
|
321
|
-
]);
|
|
322
|
-
const trimmed = stdout.trim();
|
|
323
|
-
if (trimmed.length === 0)
|
|
324
|
-
return null; // item not present
|
|
325
|
-
let raw;
|
|
326
|
-
try {
|
|
327
|
-
raw = Buffer.from(trimmed, 'base64');
|
|
328
|
-
}
|
|
329
|
-
catch {
|
|
330
|
-
throw new types_js_1.KekUnavailableError(KIND_LIBSECRET, 'Secret Service KEK is not valid base64');
|
|
331
|
-
}
|
|
332
|
-
if (raw.length !== credentialEnvelope_js_1.KEY_LEN) {
|
|
333
|
-
throw new types_js_1.KekUnavailableError(KIND_LIBSECRET, `Secret Service KEK has wrong length (got ${raw.length}, want ${credentialEnvelope_js_1.KEY_LEN})`);
|
|
334
|
-
}
|
|
335
|
-
return raw;
|
|
179
|
+
raw = Buffer.from(trimmed, "base64");
|
|
180
|
+
} catch {
|
|
181
|
+
throw new import_types.KekUnavailableError(KIND_LIBSECRET, "Secret Service KEK is not valid base64");
|
|
336
182
|
}
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
throw err;
|
|
340
|
-
// secret-tool lookup exits 1 with empty stdout when the item is absent.
|
|
341
|
-
const stdout = err.stdout ?? '';
|
|
342
|
-
const isAbsent = stdout.trim().length === 0;
|
|
343
|
-
if (isAbsent)
|
|
344
|
-
return null;
|
|
345
|
-
throw new types_js_1.KekUnavailableError(KIND_LIBSECRET, 'secret-tool lookup failed', { cause: err });
|
|
183
|
+
if (raw.length !== import_credentialEnvelope.KEY_LEN) {
|
|
184
|
+
throw new import_types.KekUnavailableError(KIND_LIBSECRET, `Secret Service KEK has wrong length (got ${raw.length}, want ${import_credentialEnvelope.KEY_LEN})`);
|
|
346
185
|
}
|
|
186
|
+
return raw;
|
|
187
|
+
} catch (err) {
|
|
188
|
+
if (err instanceof import_types.KekUnavailableError)
|
|
189
|
+
throw err;
|
|
190
|
+
const stdout = err.stdout ?? "";
|
|
191
|
+
const isAbsent = stdout.trim().length === 0;
|
|
192
|
+
if (isAbsent)
|
|
193
|
+
return null;
|
|
194
|
+
throw new import_types.KekUnavailableError(KIND_LIBSECRET, "secret-tool lookup failed", { cause: err });
|
|
195
|
+
}
|
|
347
196
|
}
|
|
348
|
-
/**
|
|
349
|
-
* Write the master KEK to the Secret Service. Uses stdin (base64-encoded)
|
|
350
|
-
* as required by `secret-tool store`. Idempotent — `secret-tool store`
|
|
351
|
-
* overwrites an existing item silently.
|
|
352
|
-
*
|
|
353
|
-
* `service` and `account` are passed in (rather than read from the
|
|
354
|
-
* module-level constants) so a `LinuxKek` instance constructed with an
|
|
355
|
-
* override stores under a unique Secret Service entry.
|
|
356
|
-
*
|
|
357
|
-
* Race note: see module-level comment above.
|
|
358
|
-
*/
|
|
359
197
|
async function writeKekToSecretService(kek, service, account) {
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
}
|
|
198
|
+
if (kek.length !== import_credentialEnvelope.KEY_LEN) {
|
|
199
|
+
throw new import_types.KekUnavailableError(KIND_LIBSECRET, `writeKekToSecretService: expected ${import_credentialEnvelope.KEY_LEN}-byte buffer, got ${kek.length}`);
|
|
200
|
+
}
|
|
201
|
+
const b64 = kek.toString("base64");
|
|
202
|
+
try {
|
|
203
|
+
await exec("secret-tool", ["store", "--label=skrr daemon master KEK", "service", service, "account", account], { input: b64 });
|
|
204
|
+
} catch (err) {
|
|
205
|
+
throw new import_types.KekUnavailableError(KIND_LIBSECRET, "secret-tool store failed", { cause: err });
|
|
206
|
+
}
|
|
370
207
|
}
|
|
371
|
-
|
|
372
|
-
// In-process KEK cache + tier selection.
|
|
373
|
-
// ---------------------------------------------------------------------------
|
|
374
|
-
/**
|
|
375
|
-
* In-process cache of the Tier-2 master KEK, keyed on
|
|
376
|
-
* `${service}::${account}` so multiple `LinuxKek` instances constructed
|
|
377
|
-
* with distinct service/account overrides do not collide. Loaded lazily
|
|
378
|
-
* on the first wrap/unwrap call per key. Cleared by
|
|
379
|
-
* `__resetKekCacheForTest()` so the test suite can simulate fresh-process
|
|
380
|
-
* state.
|
|
381
|
-
*/
|
|
382
|
-
const _tier2KekCacheBySvc = new Map();
|
|
383
|
-
/**
|
|
384
|
-
* In-process cache of the Tier-3 master KEK. Single module-level buffer
|
|
385
|
-
* because Tier-3 derivation is deterministic per host — there is no
|
|
386
|
-
* service/account dimension to key on. Cleared alongside the Tier-2 map
|
|
387
|
-
* by `zeroizeLinuxKekCache()`.
|
|
388
|
-
*/
|
|
208
|
+
const _tier2KekCacheBySvc = /* @__PURE__ */ new Map();
|
|
389
209
|
let _tier3KekCache = null;
|
|
390
210
|
let _tierSelection = null;
|
|
391
|
-
/**
|
|
392
|
-
* Zero out and drop every in-process master-KEK cache buffer (both the
|
|
393
|
-
* Tier-2 by-service map and the Tier-3 single buffer).
|
|
394
|
-
*
|
|
395
|
-
* Must be called on:
|
|
396
|
-
* - Daemon shutdown (SIGTERM / SIGINT) so the KEK does not linger in
|
|
397
|
-
* memory across the process exit window where coredumps could land.
|
|
398
|
-
* - KEK rotation, after the new KEK has been resolved.
|
|
399
|
-
* - Logout flows that wipe at-rest credentials.
|
|
400
|
-
*
|
|
401
|
-
* Idempotent — safe to call when the caches are already empty.
|
|
402
|
-
*/
|
|
403
211
|
function zeroizeLinuxKekCache() {
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
212
|
+
for (const buf of _tier2KekCacheBySvc.values()) {
|
|
213
|
+
buf.fill(0);
|
|
214
|
+
}
|
|
215
|
+
_tier2KekCacheBySvc.clear();
|
|
216
|
+
if (_tier3KekCache !== null) {
|
|
217
|
+
_tier3KekCache.fill(0);
|
|
218
|
+
_tier3KekCache = null;
|
|
219
|
+
}
|
|
412
220
|
}
|
|
413
|
-
|
|
414
|
-
// invokes `zeroizeKekCaches()` from `@skrr-ai/auth-core` (e.g. the
|
|
415
|
-
// daemon's graceful-shutdown handler) clears this cache without needing
|
|
416
|
-
// a direct import of linux.ts.
|
|
417
|
-
(0, zeroize_registry_js_1.registerZeroizeHook)(zeroizeLinuxKekCache);
|
|
418
|
-
/** @internal Test seam — clear the in-process master-KEK cache + tier
|
|
419
|
-
* selection. Routes through the production zeroize helper so the
|
|
420
|
-
* test-reset path exercises the same buffer-fill that ships in
|
|
421
|
-
* production, and additionally clears `_tierSelection` so a subsequent
|
|
422
|
-
* test re-probes (otherwise Tier-3 caching across tests poisons later
|
|
423
|
-
* cases). */
|
|
221
|
+
(0, import_zeroize_registry.registerZeroizeHook)(zeroizeLinuxKekCache);
|
|
424
222
|
function __resetKekCacheForTest() {
|
|
425
|
-
|
|
426
|
-
|
|
223
|
+
zeroizeLinuxKekCache();
|
|
224
|
+
_tierSelection = null;
|
|
427
225
|
}
|
|
428
|
-
/**
|
|
429
|
-
* Resolve the active tier exactly once per process. Tier-2 is preferred
|
|
430
|
-
* when libsecret is reachable; otherwise Tier-3 takes over if
|
|
431
|
-
* /etc/machine-id can be read. Throws `KekUnavailableError` only when
|
|
432
|
-
* NEITHER tier can satisfy a wrap.
|
|
433
|
-
*/
|
|
434
226
|
async function resolveTier() {
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
return _tierSelection;
|
|
440
|
-
}
|
|
441
|
-
// Tier-3 probe: derive once to confirm machine-id is present. Discard
|
|
442
|
-
// the derived key here — `resolveOrCreateKek` re-derives and caches it
|
|
443
|
-
// so we don't hold two KEK buffers in memory simultaneously.
|
|
444
|
-
try {
|
|
445
|
-
const probe = deriveTier3Kek();
|
|
446
|
-
probe.fill(0);
|
|
447
|
-
}
|
|
448
|
-
catch (err) {
|
|
449
|
-
if (err instanceof types_js_1.KekUnavailableError) {
|
|
450
|
-
throw new types_js_1.KekUnavailableError('linux', 'Linux KEK unavailable: secret-tool missing/D-Bus unreachable AND /etc/machine-id absent');
|
|
451
|
-
}
|
|
452
|
-
throw err;
|
|
453
|
-
}
|
|
454
|
-
_tierSelection = 'hkdf';
|
|
227
|
+
if (_tierSelection !== null)
|
|
228
|
+
return _tierSelection;
|
|
229
|
+
if (await probeSecretTool()) {
|
|
230
|
+
_tierSelection = "libsecret";
|
|
455
231
|
return _tierSelection;
|
|
232
|
+
}
|
|
233
|
+
try {
|
|
234
|
+
const probe = deriveTier3Kek();
|
|
235
|
+
probe.fill(0);
|
|
236
|
+
} catch (err) {
|
|
237
|
+
if (err instanceof import_types.KekUnavailableError) {
|
|
238
|
+
throw new import_types.KekUnavailableError("linux", "Linux KEK unavailable: secret-tool missing/D-Bus unreachable AND /etc/machine-id absent");
|
|
239
|
+
}
|
|
240
|
+
throw err;
|
|
241
|
+
}
|
|
242
|
+
_tierSelection = "hkdf";
|
|
243
|
+
return _tierSelection;
|
|
456
244
|
}
|
|
457
|
-
/**
|
|
458
|
-
* Resolve the master KEK, generating + storing one on first use (Tier-2)
|
|
459
|
-
* or deriving deterministically (Tier-3). Cached after the first
|
|
460
|
-
* successful resolution.
|
|
461
|
-
*
|
|
462
|
-
* `service` and `account` only affect the Tier-2 path — they key the
|
|
463
|
-
* Tier-2 cache and are passed to the `secret-tool` shellout. Tier-3
|
|
464
|
-
* ignores them; its derivation depends solely on machine identity.
|
|
465
|
-
*/
|
|
466
245
|
async function resolveOrCreateKek(service, account) {
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
}
|
|
478
|
-
const fresh = node_crypto_1.default.randomBytes(credentialEnvelope_js_1.KEY_LEN);
|
|
479
|
-
await writeKekToSecretService(fresh, service, account);
|
|
480
|
-
_tier2KekCacheBySvc.set(cacheKey, fresh);
|
|
481
|
-
return fresh;
|
|
246
|
+
const tier = await resolveTier();
|
|
247
|
+
if (tier === "libsecret") {
|
|
248
|
+
const cacheKey = `${service}::${account}`;
|
|
249
|
+
const cached = _tier2KekCacheBySvc.get(cacheKey);
|
|
250
|
+
if (cached !== void 0)
|
|
251
|
+
return cached;
|
|
252
|
+
const existing = await readKekFromSecretService(service, account);
|
|
253
|
+
if (existing !== null) {
|
|
254
|
+
_tier2KekCacheBySvc.set(cacheKey, existing);
|
|
255
|
+
return existing;
|
|
482
256
|
}
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
257
|
+
const fresh = import_node_crypto.default.randomBytes(import_credentialEnvelope.KEY_LEN);
|
|
258
|
+
await writeKekToSecretService(fresh, service, account);
|
|
259
|
+
_tier2KekCacheBySvc.set(cacheKey, fresh);
|
|
260
|
+
return fresh;
|
|
261
|
+
}
|
|
262
|
+
if (_tier3KekCache !== null)
|
|
263
|
+
return _tier3KekCache;
|
|
264
|
+
const derived = deriveTier3Kek();
|
|
265
|
+
_tier3KekCache = derived;
|
|
266
|
+
return derived;
|
|
492
267
|
}
|
|
493
|
-
/** Resolve an existing/deterministic KEK without persisting new native material. */
|
|
494
268
|
async function resolveExistingKek(service, account) {
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
}
|
|
505
|
-
_tier2KekCacheBySvc.set(cacheKey, existing);
|
|
506
|
-
return existing;
|
|
269
|
+
const tier = await resolveTier();
|
|
270
|
+
if (tier === "libsecret") {
|
|
271
|
+
const cacheKey = `${service}::${account}`;
|
|
272
|
+
const cached = _tier2KekCacheBySvc.get(cacheKey);
|
|
273
|
+
if (cached !== void 0)
|
|
274
|
+
return cached;
|
|
275
|
+
const existing = await readKekFromSecretService(service, account);
|
|
276
|
+
if (existing === null) {
|
|
277
|
+
throw new import_types.KekUnavailableError(KIND_LIBSECRET, "Secret Service master KEK is missing; refusing to create it outside the enrollment lock");
|
|
507
278
|
}
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
279
|
+
_tier2KekCacheBySvc.set(cacheKey, existing);
|
|
280
|
+
return existing;
|
|
281
|
+
}
|
|
282
|
+
if (_tier3KekCache !== null)
|
|
283
|
+
return _tier3KekCache;
|
|
284
|
+
const derived = deriveTier3Kek();
|
|
285
|
+
_tier3KekCache = derived;
|
|
286
|
+
return derived;
|
|
515
287
|
}
|
|
516
|
-
// ---------------------------------------------------------------------------
|
|
517
|
-
// Shellout wrap / unwrap.
|
|
518
|
-
// ---------------------------------------------------------------------------
|
|
519
288
|
async function shelloutWrap(dek, aad, service, account) {
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
289
|
+
const kek = await resolveOrCreateKek(service, account);
|
|
290
|
+
const sealed = (0, import_credentialEnvelope.sealBuffer)(dek, kek, aad);
|
|
291
|
+
return Buffer.from((0, import_credentialEnvelope.serialize)(sealed), "utf-8");
|
|
523
292
|
}
|
|
524
293
|
async function shelloutUnwrap(wrapped, aad, service, account, createIfMissing = true) {
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
}
|
|
537
|
-
return out;
|
|
294
|
+
const kek = await (createIfMissing ? resolveOrCreateKek(service, account) : resolveExistingKek(service, account));
|
|
295
|
+
const text = wrapped.toString("utf-8");
|
|
296
|
+
const sealed = (0, import_credentialEnvelope.deserialize)(text);
|
|
297
|
+
if (!sealed) {
|
|
298
|
+
throw new import_types.KekUnavailableError(KIND_LIBSECRET, "wrapped blob is not a valid serialized envelope");
|
|
299
|
+
}
|
|
300
|
+
const out = (0, import_credentialEnvelope.openBuffer)(sealed, kek, aad);
|
|
301
|
+
if (out.length !== import_credentialEnvelope.KEY_LEN) {
|
|
302
|
+
throw new import_types.KekUnavailableError(KIND_LIBSECRET, `unwrapped DEK has wrong length (got ${out.length}, want ${import_credentialEnvelope.KEY_LEN})`);
|
|
303
|
+
}
|
|
304
|
+
return out;
|
|
538
305
|
}
|
|
539
|
-
// ---------------------------------------------------------------------------
|
|
540
|
-
// LinuxKek — KekStrategy implementation.
|
|
541
|
-
// ---------------------------------------------------------------------------
|
|
542
306
|
class LinuxKek {
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
307
|
+
id = "linux-libsecret-machineid";
|
|
308
|
+
_lastKind = null;
|
|
309
|
+
service;
|
|
310
|
+
account;
|
|
311
|
+
/**
|
|
312
|
+
* Construct a Linux KEK strategy.
|
|
313
|
+
*
|
|
314
|
+
* @param opts.service Optional Secret Service `service` attribute used
|
|
315
|
+
* by Tier-2 `secret-tool lookup`/`store`. Defaults to
|
|
316
|
+
* `'ai.skrr.daemon.kek'`. Override only for test isolation /
|
|
317
|
+
* smoke tests; production callers should use the default so different
|
|
318
|
+
* daemon processes on the same host share the same KEK and can unwrap
|
|
319
|
+
* each other's persisted credentials. Ignored on the Tier-3 (HKDF)
|
|
320
|
+
* path. Callers that override are responsible for cleaning up the
|
|
321
|
+
* corresponding Secret Service entry when done.
|
|
322
|
+
* @param opts.account Optional Secret Service `account` attribute.
|
|
323
|
+
* Defaults to `'master-kek-v1'`. Same scoping rules as `service`.
|
|
324
|
+
*/
|
|
325
|
+
constructor(opts) {
|
|
326
|
+
this.service = opts?.service ?? SS_SERVICE;
|
|
327
|
+
this.account = opts?.account ?? SS_ACCOUNT;
|
|
328
|
+
}
|
|
329
|
+
/**
|
|
330
|
+
* Telemetry kind of the most recent successful wrap/unwrap. `null` before
|
|
331
|
+
* any call. After the first successful wrap or unwrap, one of:
|
|
332
|
+
* - `'linux-libsecret-shellout'` (Tier-2)
|
|
333
|
+
* - `'linux-machineid-hkdf'` (Tier-3)
|
|
334
|
+
*/
|
|
335
|
+
get kind() {
|
|
336
|
+
return this._lastKind;
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* `available()` is true on Linux when EITHER backend can satisfy a
|
|
340
|
+
* wrap: libsecret is reachable, or `/etc/machine-id` exists so Tier-3
|
|
341
|
+
* derivation can succeed. Probe results are cached for the process
|
|
342
|
+
* lifetime.
|
|
343
|
+
*/
|
|
344
|
+
async available() {
|
|
345
|
+
if (process.platform !== "linux")
|
|
346
|
+
return false;
|
|
347
|
+
if (await probeSecretTool())
|
|
348
|
+
return true;
|
|
349
|
+
try {
|
|
350
|
+
const probe = deriveTier3Kek();
|
|
351
|
+
probe.fill(0);
|
|
352
|
+
return true;
|
|
353
|
+
} catch {
|
|
354
|
+
return false;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
async wrap(dek, aad) {
|
|
358
|
+
if (process.platform !== "linux") {
|
|
359
|
+
throw new import_types.KekUnavailableError(this.id, "Linux KEK called on non-linux platform");
|
|
564
360
|
}
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
361
|
+
const aadBuf = aad ?? Buffer.alloc(0);
|
|
362
|
+
const tier = await resolveTier();
|
|
363
|
+
try {
|
|
364
|
+
const out = await shelloutWrap(dek, aadBuf, this.service, this.account);
|
|
365
|
+
this._lastKind = tier === "libsecret" ? KIND_LIBSECRET : KIND_HKDF;
|
|
366
|
+
return out;
|
|
367
|
+
} catch (err) {
|
|
368
|
+
if (err instanceof import_types.KekUnavailableError)
|
|
369
|
+
throw err;
|
|
370
|
+
throw new import_types.KekUnavailableError(this.id, err?.message ?? "shellout wrap failed", {
|
|
371
|
+
cause: err
|
|
372
|
+
});
|
|
573
373
|
}
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
* lifetime.
|
|
579
|
-
*/
|
|
580
|
-
async available() {
|
|
581
|
-
if (process.platform !== 'linux')
|
|
582
|
-
return false;
|
|
583
|
-
if (await probeSecretTool())
|
|
584
|
-
return true;
|
|
585
|
-
// Tier-3 fallback: machine-id presence is sufficient.
|
|
586
|
-
try {
|
|
587
|
-
const probe = deriveTier3Kek();
|
|
588
|
-
probe.fill(0);
|
|
589
|
-
return true;
|
|
590
|
-
}
|
|
591
|
-
catch {
|
|
592
|
-
return false;
|
|
593
|
-
}
|
|
374
|
+
}
|
|
375
|
+
async unwrap(wrapped, aad) {
|
|
376
|
+
if (process.platform !== "linux") {
|
|
377
|
+
throw new import_types.KekUnavailableError(this.id, "Linux KEK called on non-linux platform");
|
|
594
378
|
}
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
}
|
|
606
|
-
catch (err) {
|
|
607
|
-
if (err instanceof types_js_1.KekUnavailableError)
|
|
608
|
-
throw err;
|
|
609
|
-
throw new types_js_1.KekUnavailableError(this.id, err?.message ?? 'shellout wrap failed', {
|
|
610
|
-
cause: err,
|
|
611
|
-
});
|
|
612
|
-
}
|
|
379
|
+
const aadBuf = aad ?? Buffer.alloc(0);
|
|
380
|
+
const tier = await resolveTier();
|
|
381
|
+
try {
|
|
382
|
+
const out = await shelloutUnwrap(wrapped, aadBuf, this.service, this.account);
|
|
383
|
+
this._lastKind = tier === "libsecret" ? KIND_LIBSECRET : KIND_HKDF;
|
|
384
|
+
return out;
|
|
385
|
+
} catch (err) {
|
|
386
|
+
if (err instanceof import_types.KekUnavailableError)
|
|
387
|
+
throw err;
|
|
388
|
+
throw err;
|
|
613
389
|
}
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
const aadBuf = aad ?? Buffer.alloc(0);
|
|
619
|
-
const tier = await resolveTier();
|
|
620
|
-
try {
|
|
621
|
-
const out = await shelloutUnwrap(wrapped, aadBuf, this.service, this.account);
|
|
622
|
-
this._lastKind = tier === 'libsecret' ? KIND_LIBSECRET : KIND_HKDF;
|
|
623
|
-
return out;
|
|
624
|
-
}
|
|
625
|
-
catch (err) {
|
|
626
|
-
if (err instanceof types_js_1.KekUnavailableError)
|
|
627
|
-
throw err;
|
|
628
|
-
// Pass cipher errors (tag mismatch, malformed blob) through without
|
|
629
|
-
// swallowing — credEnvelope.ts decides fail-open vs fail-closed.
|
|
630
|
-
throw err;
|
|
631
|
-
}
|
|
390
|
+
}
|
|
391
|
+
async unwrapExisting(wrapped, aad) {
|
|
392
|
+
if (process.platform !== "linux") {
|
|
393
|
+
throw new import_types.KekUnavailableError(this.id, "Linux KEK called on non-linux platform");
|
|
632
394
|
}
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
395
|
+
const aadBuf = aad ?? Buffer.alloc(0);
|
|
396
|
+
const tier = await resolveTier();
|
|
397
|
+
const out = await shelloutUnwrap(wrapped, aadBuf, this.service, this.account, false);
|
|
398
|
+
this._lastKind = tier === "libsecret" ? KIND_LIBSECRET : KIND_HKDF;
|
|
399
|
+
return out;
|
|
400
|
+
}
|
|
401
|
+
describe() {
|
|
402
|
+
if (process.platform !== "linux") {
|
|
403
|
+
return "Linux libsecret + machine-id KEK (not linux \u2014 unavailable)";
|
|
404
|
+
}
|
|
405
|
+
if (_tierSelection === "libsecret") {
|
|
406
|
+
return "Linux Secret Service via secret-tool shellout (libsecret / gnome-keyring / ksecretservice)";
|
|
642
407
|
}
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
return 'Linux libsecret + machine-id KEK (not linux — unavailable)';
|
|
646
|
-
}
|
|
647
|
-
if (_tierSelection === 'libsecret') {
|
|
648
|
-
return 'Linux Secret Service via secret-tool shellout (libsecret / gnome-keyring / ksecretservice)';
|
|
649
|
-
}
|
|
650
|
-
if (_tierSelection === 'hkdf') {
|
|
651
|
-
return 'Linux machine-id HKDF KEK (Tier-3 fallback — backup-theft floor only)';
|
|
652
|
-
}
|
|
653
|
-
if (_secretToolProbeCache === false) {
|
|
654
|
-
return 'Linux KEK (Tier-3 candidate — call available() to materialize)';
|
|
655
|
-
}
|
|
656
|
-
return 'Linux KEK (probe pending — call available() to materialize)';
|
|
408
|
+
if (_tierSelection === "hkdf") {
|
|
409
|
+
return "Linux machine-id HKDF KEK (Tier-3 fallback \u2014 backup-theft floor only)";
|
|
657
410
|
}
|
|
411
|
+
if (_secretToolProbeCache === false) {
|
|
412
|
+
return "Linux KEK (Tier-3 candidate \u2014 call available() to materialize)";
|
|
413
|
+
}
|
|
414
|
+
return "Linux KEK (probe pending \u2014 call available() to materialize)";
|
|
415
|
+
}
|
|
658
416
|
}
|
|
659
|
-
|
|
417
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
418
|
+
0 && (module.exports = {
|
|
419
|
+
LinuxKek,
|
|
420
|
+
__resetKekCacheForTest,
|
|
421
|
+
__setExecFileForTest,
|
|
422
|
+
__setFsForTest,
|
|
423
|
+
zeroizeLinuxKekCache
|
|
424
|
+
});
|