@skrr-ai/cli 0.1.8
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/README.md +1952 -0
- package/bin/run.js +26 -0
- package/dist/base-command.d.ts +397 -0
- package/dist/base-command.js +1252 -0
- package/dist/commands/actions/browse.d.ts +14 -0
- package/dist/commands/actions/browse.js +50 -0
- package/dist/commands/actions/create.d.ts +20 -0
- package/dist/commands/actions/create.js +95 -0
- package/dist/commands/actions/delete.d.ts +13 -0
- package/dist/commands/actions/delete.js +42 -0
- package/dist/commands/actions/install.d.ts +13 -0
- package/dist/commands/actions/install.js +49 -0
- package/dist/commands/actions/list.d.ts +14 -0
- package/dist/commands/actions/list.js +49 -0
- package/dist/commands/actions/publish.d.ts +14 -0
- package/dist/commands/actions/publish.js +44 -0
- package/dist/commands/actions/rate.d.ts +13 -0
- package/dist/commands/actions/rate.js +42 -0
- package/dist/commands/actions/show.d.ts +12 -0
- package/dist/commands/actions/show.js +36 -0
- package/dist/commands/actions/update.d.ts +21 -0
- package/dist/commands/actions/update.js +83 -0
- package/dist/commands/agenda/plan.d.ts +27 -0
- package/dist/commands/agenda/plan.js +68 -0
- package/dist/commands/agenda/trigger/create.d.ts +33 -0
- package/dist/commands/agenda/trigger/create.js +128 -0
- package/dist/commands/agenda/trigger/delete.d.ts +21 -0
- package/dist/commands/agenda/trigger/delete.js +56 -0
- package/dist/commands/agenda/trigger/fire.d.ts +28 -0
- package/dist/commands/agenda/trigger/fire.js +74 -0
- package/dist/commands/agenda/trigger/list.d.ts +28 -0
- package/dist/commands/agenda/trigger/list.js +104 -0
- package/dist/commands/agent/call/cancel.d.ts +11 -0
- package/dist/commands/agent/call/cancel.js +49 -0
- package/dist/commands/agent/call/request.d.ts +15 -0
- package/dist/commands/agent/call/request.js +173 -0
- package/dist/commands/agent/call/show.d.ts +11 -0
- package/dist/commands/agent/call/show.js +48 -0
- package/dist/commands/agent/message/context.d.ts +19 -0
- package/dist/commands/agent/message/context.js +79 -0
- package/dist/commands/agent/message/send.d.ts +232 -0
- package/dist/commands/agent/message/send.js +1055 -0
- package/dist/commands/agent/phone-call/request.d.ts +20 -0
- package/dist/commands/agent/phone-call/request.js +145 -0
- package/dist/commands/agent-groups/add.d.ts +13 -0
- package/dist/commands/agent-groups/add.js +45 -0
- package/dist/commands/agent-groups/create.d.ts +14 -0
- package/dist/commands/agent-groups/create.js +62 -0
- package/dist/commands/agent-groups/delete.d.ts +12 -0
- package/dist/commands/agent-groups/delete.js +43 -0
- package/dist/commands/agent-groups/list.d.ts +9 -0
- package/dist/commands/agent-groups/list.js +51 -0
- package/dist/commands/agent-groups/remove.d.ts +13 -0
- package/dist/commands/agent-groups/remove.js +45 -0
- package/dist/commands/agent-groups/show.d.ts +12 -0
- package/dist/commands/agent-groups/show.js +42 -0
- package/dist/commands/agent-groups/update.d.ts +17 -0
- package/dist/commands/agent-groups/update.js +68 -0
- package/dist/commands/agent-shares/accept.d.ts +12 -0
- package/dist/commands/agent-shares/accept.js +35 -0
- package/dist/commands/agent-shares/create.d.ts +15 -0
- package/dist/commands/agent-shares/create.js +66 -0
- package/dist/commands/agent-shares/decline.d.ts +13 -0
- package/dist/commands/agent-shares/decline.js +54 -0
- package/dist/commands/agent-shares/leave.d.ts +12 -0
- package/dist/commands/agent-shares/leave.js +43 -0
- package/dist/commands/agent-shares/list-for.d.ts +12 -0
- package/dist/commands/agent-shares/list-for.js +66 -0
- package/dist/commands/agent-shares/received.d.ts +13 -0
- package/dist/commands/agent-shares/received.js +77 -0
- package/dist/commands/agent-shares/revoke.d.ts +12 -0
- package/dist/commands/agent-shares/revoke.js +43 -0
- package/dist/commands/agent-shares/sent.d.ts +12 -0
- package/dist/commands/agent-shares/sent.js +74 -0
- package/dist/commands/agent-shares/with.d.ts +12 -0
- package/dist/commands/agent-shares/with.js +79 -0
- package/dist/commands/agents/actions/create.d.ts +23 -0
- package/dist/commands/agents/actions/create.js +130 -0
- package/dist/commands/agents/actions/delete.d.ts +13 -0
- package/dist/commands/agents/actions/delete.js +43 -0
- package/dist/commands/agents/actions/list.d.ts +12 -0
- package/dist/commands/agents/actions/list.js +36 -0
- package/dist/commands/agents/actions/run.d.ts +15 -0
- package/dist/commands/agents/actions/run.js +61 -0
- package/dist/commands/agents/actions/schedule.d.ts +29 -0
- package/dist/commands/agents/actions/schedule.js +162 -0
- package/dist/commands/agents/actions/show.d.ts +13 -0
- package/dist/commands/agents/actions/show.js +40 -0
- package/dist/commands/agents/actions/targets.d.ts +14 -0
- package/dist/commands/agents/actions/targets.js +117 -0
- package/dist/commands/agents/actions/update.d.ts +22 -0
- package/dist/commands/agents/actions/update.js +117 -0
- package/dist/commands/agents/activity.d.ts +24 -0
- package/dist/commands/agents/activity.js +195 -0
- package/dist/commands/agents/always-on/disable.d.ts +23 -0
- package/dist/commands/agents/always-on/disable.js +57 -0
- package/dist/commands/agents/always-on/enable.d.ts +31 -0
- package/dist/commands/agents/always-on/enable.js +65 -0
- package/dist/commands/agents/always-on/reconcile.d.ts +23 -0
- package/dist/commands/agents/always-on/reconcile.js +49 -0
- package/dist/commands/agents/always-on/status.d.ts +22 -0
- package/dist/commands/agents/always-on/status.js +67 -0
- package/dist/commands/agents/attach-harness.d.ts +16 -0
- package/dist/commands/agents/attach-harness.js +131 -0
- package/dist/commands/agents/avatar/generate.d.ts +12 -0
- package/dist/commands/agents/avatar/generate.js +27 -0
- package/dist/commands/agents/avatar/upload.d.ts +12 -0
- package/dist/commands/agents/avatar/upload.js +29 -0
- package/dist/commands/agents/channels/connect.d.ts +12 -0
- package/dist/commands/agents/channels/connect.js +33 -0
- package/dist/commands/agents/channels/delete.d.ts +13 -0
- package/dist/commands/agents/channels/delete.js +37 -0
- package/dist/commands/agents/channels/disconnect.d.ts +12 -0
- package/dist/commands/agents/channels/disconnect.js +33 -0
- package/dist/commands/agents/channels/show.d.ts +12 -0
- package/dist/commands/agents/channels/show.js +29 -0
- package/dist/commands/agents/channels/test.d.ts +13 -0
- package/dist/commands/agents/channels/test.js +33 -0
- package/dist/commands/agents/channels/update.d.ts +13 -0
- package/dist/commands/agents/channels/update.js +37 -0
- package/dist/commands/agents/chat.d.ts +72 -0
- package/dist/commands/agents/chat.js +394 -0
- package/dist/commands/agents/create.d.ts +70 -0
- package/dist/commands/agents/create.js +241 -0
- package/dist/commands/agents/delete.d.ts +12 -0
- package/dist/commands/agents/delete.js +46 -0
- package/dist/commands/agents/duplicate.d.ts +12 -0
- package/dist/commands/agents/duplicate.js +46 -0
- package/dist/commands/agents/files/delete.d.ts +13 -0
- package/dist/commands/agents/files/delete.js +32 -0
- package/dist/commands/agents/files/list.d.ts +11 -0
- package/dist/commands/agents/files/list.js +22 -0
- package/dist/commands/agents/files/move.d.ts +13 -0
- package/dist/commands/agents/files/move.js +35 -0
- package/dist/commands/agents/files/rename.d.ts +13 -0
- package/dist/commands/agents/files/rename.js +32 -0
- package/dist/commands/agents/files/upload.d.ts +21 -0
- package/dist/commands/agents/files/upload.js +60 -0
- package/dist/commands/agents/folders/create.d.ts +13 -0
- package/dist/commands/agents/folders/create.js +30 -0
- package/dist/commands/agents/folders/delete.d.ts +13 -0
- package/dist/commands/agents/folders/delete.js +30 -0
- package/dist/commands/agents/folders/list.d.ts +11 -0
- package/dist/commands/agents/folders/list.js +22 -0
- package/dist/commands/agents/folders/show.d.ts +12 -0
- package/dist/commands/agents/folders/show.js +23 -0
- package/dist/commands/agents/folders/update.d.ts +14 -0
- package/dist/commands/agents/folders/update.js +32 -0
- package/dist/commands/agents/goals/assign.d.ts +25 -0
- package/dist/commands/agents/goals/assign.js +56 -0
- package/dist/commands/agents/goals/list.d.ts +24 -0
- package/dist/commands/agents/goals/list.js +71 -0
- package/dist/commands/agents/goals/unassign.d.ts +23 -0
- package/dist/commands/agents/goals/unassign.js +49 -0
- package/dist/commands/agents/identity.d.ts +35 -0
- package/dist/commands/agents/identity.js +78 -0
- package/dist/commands/agents/intuitions/accept.d.ts +13 -0
- package/dist/commands/agents/intuitions/accept.js +26 -0
- package/dist/commands/agents/intuitions/dismiss.d.ts +13 -0
- package/dist/commands/agents/intuitions/dismiss.js +25 -0
- package/dist/commands/agents/intuitions/generate.d.ts +12 -0
- package/dist/commands/agents/intuitions/generate.js +24 -0
- package/dist/commands/agents/intuitions/list.d.ts +11 -0
- package/dist/commands/agents/intuitions/list.js +21 -0
- package/dist/commands/agents/intuitions/stats.d.ts +11 -0
- package/dist/commands/agents/intuitions/stats.js +17 -0
- package/dist/commands/agents/list.d.ts +22 -0
- package/dist/commands/agents/list.js +75 -0
- package/dist/commands/agents/notepad/delete.d.ts +12 -0
- package/dist/commands/agents/notepad/delete.js +29 -0
- package/dist/commands/agents/notepad/show.d.ts +11 -0
- package/dist/commands/agents/notepad/show.js +22 -0
- package/dist/commands/agents/notepad/update.d.ts +13 -0
- package/dist/commands/agents/notepad/update.js +31 -0
- package/dist/commands/agents/overview.d.ts +26 -0
- package/dist/commands/agents/overview.js +98 -0
- package/dist/commands/agents/plan-day.d.ts +66 -0
- package/dist/commands/agents/plan-day.js +279 -0
- package/dist/commands/agents/preferences/show.d.ts +11 -0
- package/dist/commands/agents/preferences/show.js +20 -0
- package/dist/commands/agents/preferences/update.d.ts +14 -0
- package/dist/commands/agents/preferences/update.js +34 -0
- package/dist/commands/agents/query.d.ts +20 -0
- package/dist/commands/agents/query.js +51 -0
- package/dist/commands/agents/reflect.d.ts +36 -0
- package/dist/commands/agents/reflect.js +184 -0
- package/dist/commands/agents/releases/create.d.ts +14 -0
- package/dist/commands/agents/releases/create.js +31 -0
- package/dist/commands/agents/releases/delist.d.ts +14 -0
- package/dist/commands/agents/releases/delist.js +31 -0
- package/dist/commands/agents/releases/list.d.ts +11 -0
- package/dist/commands/agents/releases/list.js +21 -0
- package/dist/commands/agents/releases/restore.d.ts +12 -0
- package/dist/commands/agents/releases/restore.js +27 -0
- package/dist/commands/agents/releases/rollback.d.ts +12 -0
- package/dist/commands/agents/releases/rollback.js +25 -0
- package/dist/commands/agents/revert.d.ts +13 -0
- package/dist/commands/agents/revert.js +42 -0
- package/dist/commands/agents/schedule-overview.d.ts +27 -0
- package/dist/commands/agents/schedule-overview.js +231 -0
- package/dist/commands/agents/schedule-trace.d.ts +27 -0
- package/dist/commands/agents/schedule-trace.js +111 -0
- package/dist/commands/agents/schedule.d.ts +46 -0
- package/dist/commands/agents/schedule.js +155 -0
- package/dist/commands/agents/show.d.ts +30 -0
- package/dist/commands/agents/show.js +147 -0
- package/dist/commands/agents/skills/add.d.ts +29 -0
- package/dist/commands/agents/skills/add.js +59 -0
- package/dist/commands/agents/skills/list.d.ts +21 -0
- package/dist/commands/agents/skills/list.js +78 -0
- package/dist/commands/agents/skills/remove.d.ts +21 -0
- package/dist/commands/agents/skills/remove.js +50 -0
- package/dist/commands/agents/spaces.d.ts +31 -0
- package/dist/commands/agents/spaces.js +87 -0
- package/dist/commands/agents/spawn.d.ts +56 -0
- package/dist/commands/agents/spawn.js +328 -0
- package/dist/commands/agents/todos/cancel.d.ts +19 -0
- package/dist/commands/agents/todos/cancel.js +57 -0
- package/dist/commands/agents/todos/create.d.ts +22 -0
- package/dist/commands/agents/todos/create.js +55 -0
- package/dist/commands/agents/todos/list.d.ts +18 -0
- package/dist/commands/agents/todos/list.js +42 -0
- package/dist/commands/agents/tone/clear.d.ts +18 -0
- package/dist/commands/agents/tone/clear.js +79 -0
- package/dist/commands/agents/tone/inherit.d.ts +17 -0
- package/dist/commands/agents/tone/inherit.js +75 -0
- package/dist/commands/agents/tone/set.d.ts +21 -0
- package/dist/commands/agents/tone/set.js +125 -0
- package/dist/commands/agents/tone/show.d.ts +26 -0
- package/dist/commands/agents/tone/show.js +114 -0
- package/dist/commands/agents/transfer-workspace.d.ts +20 -0
- package/dist/commands/agents/transfer-workspace.js +49 -0
- package/dist/commands/agents/triggers/create.d.ts +93 -0
- package/dist/commands/agents/triggers/create.js +324 -0
- package/dist/commands/agents/triggers/delete.d.ts +18 -0
- package/dist/commands/agents/triggers/delete.js +64 -0
- package/dist/commands/agents/triggers/disable.d.ts +18 -0
- package/dist/commands/agents/triggers/disable.js +42 -0
- package/dist/commands/agents/triggers/enable.d.ts +14 -0
- package/dist/commands/agents/triggers/enable.js +38 -0
- package/dist/commands/agents/triggers/fire.d.ts +20 -0
- package/dist/commands/agents/triggers/fire.js +56 -0
- package/dist/commands/agents/triggers/list.d.ts +30 -0
- package/dist/commands/agents/triggers/list.js +62 -0
- package/dist/commands/agents/triggers/policy.d.ts +20 -0
- package/dist/commands/agents/triggers/policy.js +79 -0
- package/dist/commands/agents/triggers/replay.d.ts +15 -0
- package/dist/commands/agents/triggers/replay.js +55 -0
- package/dist/commands/agents/triggers/runs.d.ts +22 -0
- package/dist/commands/agents/triggers/runs.js +74 -0
- package/dist/commands/agents/triggers/show.d.ts +19 -0
- package/dist/commands/agents/triggers/show.js +44 -0
- package/dist/commands/agents/triggers/update.d.ts +80 -0
- package/dist/commands/agents/triggers/update.js +254 -0
- package/dist/commands/agents/upcoming.d.ts +36 -0
- package/dist/commands/agents/upcoming.js +120 -0
- package/dist/commands/agents/update.d.ts +44 -0
- package/dist/commands/agents/update.js +129 -0
- package/dist/commands/agents/versions.d.ts +26 -0
- package/dist/commands/agents/versions.js +94 -0
- package/dist/commands/agents/visibility.d.ts +19 -0
- package/dist/commands/agents/visibility.js +65 -0
- package/dist/commands/balance/history.d.ts +24 -0
- package/dist/commands/balance/history.js +89 -0
- package/dist/commands/balance/show.d.ts +45 -0
- package/dist/commands/balance/show.js +211 -0
- package/dist/commands/balance/statement.d.ts +89 -0
- package/dist/commands/balance/statement.js +249 -0
- package/dist/commands/balance/usage.d.ts +22 -0
- package/dist/commands/balance/usage.js +106 -0
- package/dist/commands/browser/doctor.d.ts +8 -0
- package/dist/commands/browser/doctor.js +15 -0
- package/dist/commands/browser/install.d.ts +11 -0
- package/dist/commands/browser/install.js +27 -0
- package/dist/commands/browser/mcp-config.d.ts +5 -0
- package/dist/commands/browser/mcp-config.js +12 -0
- package/dist/commands/browser/skill/show.d.ts +8 -0
- package/dist/commands/browser/skill/show.js +15 -0
- package/dist/commands/browser/status.d.ts +8 -0
- package/dist/commands/browser/status.js +15 -0
- package/dist/commands/browser/uninstall.d.ts +11 -0
- package/dist/commands/browser/uninstall.js +27 -0
- package/dist/commands/browser.d.ts +19 -0
- package/dist/commands/browser.js +52 -0
- package/dist/commands/characters/list.d.ts +11 -0
- package/dist/commands/characters/list.js +51 -0
- package/dist/commands/chats/agents/add.d.ts +13 -0
- package/dist/commands/chats/agents/add.js +44 -0
- package/dist/commands/chats/agents/remove.d.ts +13 -0
- package/dist/commands/chats/agents/remove.js +39 -0
- package/dist/commands/chats/create.d.ts +45 -0
- package/dist/commands/chats/create.js +125 -0
- package/dist/commands/chats/delete.d.ts +12 -0
- package/dist/commands/chats/delete.js +46 -0
- package/dist/commands/chats/files/delete.d.ts +13 -0
- package/dist/commands/chats/files/delete.js +50 -0
- package/dist/commands/chats/files/list.d.ts +10 -0
- package/dist/commands/chats/files/list.js +51 -0
- package/dist/commands/chats/files/move.d.ts +14 -0
- package/dist/commands/chats/files/move.js +41 -0
- package/dist/commands/chats/files/rename.d.ts +14 -0
- package/dist/commands/chats/files/rename.js +42 -0
- package/dist/commands/chats/folders/create.d.ts +11 -0
- package/dist/commands/chats/folders/create.js +38 -0
- package/dist/commands/chats/folders/delete.d.ts +13 -0
- package/dist/commands/chats/folders/delete.js +50 -0
- package/dist/commands/chats/folders/list.d.ts +10 -0
- package/dist/commands/chats/folders/list.js +49 -0
- package/dist/commands/chats/folders/update.d.ts +14 -0
- package/dist/commands/chats/folders/update.js +42 -0
- package/dist/commands/chats/join.d.ts +12 -0
- package/dist/commands/chats/join.js +35 -0
- package/dist/commands/chats/list.d.ts +30 -0
- package/dist/commands/chats/list.js +98 -0
- package/dist/commands/chats/messages.d.ts +15 -0
- package/dist/commands/chats/messages.js +59 -0
- package/dist/commands/chats/preferences/show.d.ts +9 -0
- package/dist/commands/chats/preferences/show.js +32 -0
- package/dist/commands/chats/preferences/update.d.ts +13 -0
- package/dist/commands/chats/preferences/update.js +50 -0
- package/dist/commands/chats/send.d.ts +27 -0
- package/dist/commands/chats/send.js +191 -0
- package/dist/commands/chats/show.d.ts +12 -0
- package/dist/commands/chats/show.js +64 -0
- package/dist/commands/chats/spaces/create.d.ts +12 -0
- package/dist/commands/chats/spaces/create.js +52 -0
- package/dist/commands/chats/spaces/link.d.ts +13 -0
- package/dist/commands/chats/spaces/link.js +36 -0
- package/dist/commands/chats/spaces/list.d.ts +10 -0
- package/dist/commands/chats/spaces/list.js +49 -0
- package/dist/commands/chats/spaces/unlink.d.ts +13 -0
- package/dist/commands/chats/spaces/unlink.js +36 -0
- package/dist/commands/chats/triggers/set.d.ts +32 -0
- package/dist/commands/chats/triggers/set.js +127 -0
- package/dist/commands/chats/triggers/show.d.ts +12 -0
- package/dist/commands/chats/triggers/show.js +46 -0
- package/dist/commands/chats/update.d.ts +15 -0
- package/dist/commands/chats/update.js +54 -0
- package/dist/commands/chats/widgets/create.d.ts +13 -0
- package/dist/commands/chats/widgets/create.js +51 -0
- package/dist/commands/chats/widgets/delete.d.ts +13 -0
- package/dist/commands/chats/widgets/delete.js +47 -0
- package/dist/commands/chats/widgets/list.d.ts +10 -0
- package/dist/commands/chats/widgets/list.js +49 -0
- package/dist/commands/chats/widgets/update.d.ts +16 -0
- package/dist/commands/chats/widgets/update.js +54 -0
- package/dist/commands/code/acp.d.ts +20 -0
- package/dist/commands/code/acp.js +46 -0
- package/dist/commands/code/doctor.d.ts +21 -0
- package/dist/commands/code/doctor.js +39 -0
- package/dist/commands/code/handover.d.ts +47 -0
- package/dist/commands/code/handover.js +177 -0
- package/dist/commands/code/index.d.ts +37 -0
- package/dist/commands/code/index.js +105 -0
- package/dist/commands/code/migrate.d.ts +26 -0
- package/dist/commands/code/migrate.js +62 -0
- package/dist/commands/code/oversky-agent.d.ts +63 -0
- package/dist/commands/code/oversky-agent.js +201 -0
- package/dist/commands/code/run.d.ts +13 -0
- package/dist/commands/code/run.js +36 -0
- package/dist/commands/commands.d.ts +16 -0
- package/dist/commands/commands.js +131 -0
- package/dist/commands/commitments/action-history.d.ts +21 -0
- package/dist/commands/commitments/action-history.js +40 -0
- package/dist/commands/commitments/analytics/detail.d.ts +25 -0
- package/dist/commands/commitments/analytics/detail.js +51 -0
- package/dist/commands/commitments/analytics/index.d.ts +34 -0
- package/dist/commands/commitments/analytics/index.js +107 -0
- package/dist/commands/commitments/analytics/replay.d.ts +22 -0
- package/dist/commands/commitments/analytics/replay.js +45 -0
- package/dist/commands/commitments/attach.d.ts +25 -0
- package/dist/commands/commitments/attach.js +81 -0
- package/dist/commands/commitments/autonomy-requests/decide.d.ts +26 -0
- package/dist/commands/commitments/autonomy-requests/decide.js +58 -0
- package/dist/commands/commitments/autonomy.d.ts +34 -0
- package/dist/commands/commitments/autonomy.js +68 -0
- package/dist/commands/commitments/cadence-decisions.d.ts +17 -0
- package/dist/commands/commitments/cadence-decisions.js +36 -0
- package/dist/commands/commitments/case.d.ts +12 -0
- package/dist/commands/commitments/case.js +26 -0
- package/dist/commands/commitments/cases.d.ts +13 -0
- package/dist/commands/commitments/cases.js +32 -0
- package/dist/commands/commitments/check-now.d.ts +22 -0
- package/dist/commands/commitments/check-now.js +76 -0
- package/dist/commands/commitments/checks.d.ts +21 -0
- package/dist/commands/commitments/checks.js +44 -0
- package/dist/commands/commitments/complete.d.ts +17 -0
- package/dist/commands/commitments/complete.js +40 -0
- package/dist/commands/commitments/create.d.ts +51 -0
- package/dist/commands/commitments/create.js +236 -0
- package/dist/commands/commitments/decide-remediation.d.ts +14 -0
- package/dist/commands/commitments/decide-remediation.js +38 -0
- package/dist/commands/commitments/delete.d.ts +27 -0
- package/dist/commands/commitments/delete.js +72 -0
- package/dist/commands/commitments/detach.d.ts +23 -0
- package/dist/commands/commitments/detach.js +77 -0
- package/dist/commands/commitments/effective-policy.d.ts +13 -0
- package/dist/commands/commitments/effective-policy.js +37 -0
- package/dist/commands/commitments/endpoints/connect.d.ts +25 -0
- package/dist/commands/commitments/endpoints/connect.js +78 -0
- package/dist/commands/commitments/endpoints/create.d.ts +32 -0
- package/dist/commands/commitments/endpoints/create.js +80 -0
- package/dist/commands/commitments/endpoints/delete.d.ts +20 -0
- package/dist/commands/commitments/endpoints/delete.js +57 -0
- package/dist/commands/commitments/endpoints/health.d.ts +22 -0
- package/dist/commands/commitments/endpoints/health.js +54 -0
- package/dist/commands/commitments/endpoints/list.d.ts +18 -0
- package/dist/commands/commitments/endpoints/list.js +41 -0
- package/dist/commands/commitments/endpoints/revoke.d.ts +21 -0
- package/dist/commands/commitments/endpoints/revoke.js +58 -0
- package/dist/commands/commitments/execute-remediation.d.ts +13 -0
- package/dist/commands/commitments/execute-remediation.js +29 -0
- package/dist/commands/commitments/export.d.ts +20 -0
- package/dist/commands/commitments/export.js +45 -0
- package/dist/commands/commitments/feedback.d.ts +25 -0
- package/dist/commands/commitments/feedback.js +59 -0
- package/dist/commands/commitments/fork.d.ts +20 -0
- package/dist/commands/commitments/fork.js +44 -0
- package/dist/commands/commitments/goals/link.d.ts +23 -0
- package/dist/commands/commitments/goals/link.js +41 -0
- package/dist/commands/commitments/goals/unlink.d.ts +19 -0
- package/dist/commands/commitments/goals/unlink.js +37 -0
- package/dist/commands/commitments/hypotheses.d.ts +27 -0
- package/dist/commands/commitments/hypotheses.js +60 -0
- package/dist/commands/commitments/import.d.ts +18 -0
- package/dist/commands/commitments/import.js +57 -0
- package/dist/commands/commitments/ledger.d.ts +21 -0
- package/dist/commands/commitments/ledger.js +49 -0
- package/dist/commands/commitments/lineage.d.ts +20 -0
- package/dist/commands/commitments/lineage.js +43 -0
- package/dist/commands/commitments/links/create.d.ts +15 -0
- package/dist/commands/commitments/links/create.js +58 -0
- package/dist/commands/commitments/links/detach.d.ts +12 -0
- package/dist/commands/commitments/links/detach.js +30 -0
- package/dist/commands/commitments/links/list.d.ts +12 -0
- package/dist/commands/commitments/links/list.js +41 -0
- package/dist/commands/commitments/links/update.d.ts +14 -0
- package/dist/commands/commitments/links/update.js +45 -0
- package/dist/commands/commitments/list.d.ts +21 -0
- package/dist/commands/commitments/list.js +64 -0
- package/dist/commands/commitments/metrics.d.ts +20 -0
- package/dist/commands/commitments/metrics.js +43 -0
- package/dist/commands/commitments/observations.d.ts +31 -0
- package/dist/commands/commitments/observations.js +64 -0
- package/dist/commands/commitments/open.d.ts +13 -0
- package/dist/commands/commitments/open.js +50 -0
- package/dist/commands/commitments/operating-review.d.ts +11 -0
- package/dist/commands/commitments/operating-review.js +99 -0
- package/dist/commands/commitments/pack/bind.d.ts +24 -0
- package/dist/commands/commitments/pack/bind.js +88 -0
- package/dist/commands/commitments/pack/list.d.ts +13 -0
- package/dist/commands/commitments/pack/list.js +52 -0
- package/dist/commands/commitments/pack/plan.d.ts +22 -0
- package/dist/commands/commitments/pack/plan.js +65 -0
- package/dist/commands/commitments/pack/preflight.d.ts +28 -0
- package/dist/commands/commitments/pack/preflight.js +85 -0
- package/dist/commands/commitments/pack/promote.d.ts +19 -0
- package/dist/commands/commitments/pack/promote.js +42 -0
- package/dist/commands/commitments/pack/shadow.d.ts +19 -0
- package/dist/commands/commitments/pack/shadow.js +40 -0
- package/dist/commands/commitments/pause.d.ts +16 -0
- package/dist/commands/commitments/pause.js +36 -0
- package/dist/commands/commitments/plan.d.ts +35 -0
- package/dist/commands/commitments/plan.js +126 -0
- package/dist/commands/commitments/preflight.d.ts +39 -0
- package/dist/commands/commitments/preflight.js +98 -0
- package/dist/commands/commitments/propose-remediation.d.ts +13 -0
- package/dist/commands/commitments/propose-remediation.js +40 -0
- package/dist/commands/commitments/reflect.d.ts +21 -0
- package/dist/commands/commitments/reflect.js +66 -0
- package/dist/commands/commitments/reflection-decision.d.ts +13 -0
- package/dist/commands/commitments/reflection-decision.js +37 -0
- package/dist/commands/commitments/reflection.d.ts +11 -0
- package/dist/commands/commitments/reflection.js +25 -0
- package/dist/commands/commitments/remediate.d.ts +30 -0
- package/dist/commands/commitments/remediate.js +65 -0
- package/dist/commands/commitments/remediation-proposal.d.ts +12 -0
- package/dist/commands/commitments/remediation-proposal.js +26 -0
- package/dist/commands/commitments/remediation-proposals.d.ts +14 -0
- package/dist/commands/commitments/remediation-proposals.js +34 -0
- package/dist/commands/commitments/reports.d.ts +26 -0
- package/dist/commands/commitments/reports.js +125 -0
- package/dist/commands/commitments/resume.d.ts +17 -0
- package/dist/commands/commitments/resume.js +37 -0
- package/dist/commands/commitments/show.d.ts +20 -0
- package/dist/commands/commitments/show.js +58 -0
- package/dist/commands/commitments/subject.d.ts +30 -0
- package/dist/commands/commitments/subject.js +115 -0
- package/dist/commands/commitments/trace.d.ts +18 -0
- package/dist/commands/commitments/trace.js +44 -0
- package/dist/commands/commitments/trigger-status.d.ts +27 -0
- package/dist/commands/commitments/trigger-status.js +111 -0
- package/dist/commands/commitments/update.d.ts +43 -0
- package/dist/commands/commitments/update.js +194 -0
- package/dist/commands/commitments/wake-capabilities.d.ts +22 -0
- package/dist/commands/commitments/wake-capabilities.js +61 -0
- package/dist/commands/compass/archive.d.ts +23 -0
- package/dist/commands/compass/archive.js +64 -0
- package/dist/commands/compass/commitments.d.ts +20 -0
- package/dist/commands/compass/commitments.js +58 -0
- package/dist/commands/compass/create.d.ts +39 -0
- package/dist/commands/compass/create.js +91 -0
- package/dist/commands/compass/list.d.ts +18 -0
- package/dist/commands/compass/list.js +45 -0
- package/dist/commands/compass/revert.d.ts +23 -0
- package/dist/commands/compass/revert.js +56 -0
- package/dist/commands/compass/revisions.d.ts +20 -0
- package/dist/commands/compass/revisions.js +46 -0
- package/dist/commands/compass/show.d.ts +21 -0
- package/dist/commands/compass/show.js +49 -0
- package/dist/commands/compass/tactic.d.ts +23 -0
- package/dist/commands/compass/tactic.js +53 -0
- package/dist/commands/compass/trace.d.ts +18 -0
- package/dist/commands/compass/trace.js +41 -0
- package/dist/commands/compass/update.d.ts +30 -0
- package/dist/commands/compass/update.js +82 -0
- package/dist/commands/completion/index.d.ts +13 -0
- package/dist/commands/completion/index.js +59 -0
- package/dist/commands/completion/script.d.ts +9 -0
- package/dist/commands/completion/script.js +24 -0
- package/dist/commands/completion/values.d.ts +10 -0
- package/dist/commands/completion/values.js +27 -0
- package/dist/commands/context.d.ts +10 -0
- package/dist/commands/context.js +130 -0
- package/dist/commands/convos/archive.d.ts +12 -0
- package/dist/commands/convos/archive.js +38 -0
- package/dist/commands/convos/delete.d.ts +12 -0
- package/dist/commands/convos/delete.js +49 -0
- package/dist/commands/convos/duplicate.d.ts +13 -0
- package/dist/commands/convos/duplicate.js +42 -0
- package/dist/commands/convos/fork.d.ts +16 -0
- package/dist/commands/convos/fork.js +56 -0
- package/dist/commands/convos/handover.d.ts +29 -0
- package/dist/commands/convos/handover.js +120 -0
- package/dist/commands/convos/import.d.ts +12 -0
- package/dist/commands/convos/import.js +101 -0
- package/dist/commands/convos/list.d.ts +16 -0
- package/dist/commands/convos/list.js +129 -0
- package/dist/commands/convos/messages.d.ts +30 -0
- package/dist/commands/convos/messages.js +97 -0
- package/dist/commands/convos/search.d.ts +27 -0
- package/dist/commands/convos/search.js +88 -0
- package/dist/commands/convos/show.d.ts +33 -0
- package/dist/commands/convos/show.js +118 -0
- package/dist/commands/convos/unarchive.d.ts +12 -0
- package/dist/commands/convos/unarchive.js +38 -0
- package/dist/commands/convos/update.d.ts +14 -0
- package/dist/commands/convos/update.js +59 -0
- package/dist/commands/create-token.d.ts +53 -0
- package/dist/commands/create-token.js +150 -0
- package/dist/commands/daemon/byok.d.ts +12 -0
- package/dist/commands/daemon/byok.js +33 -0
- package/dist/commands/daemon/index.d.ts +13 -0
- package/dist/commands/daemon/index.js +40 -0
- package/dist/commands/daemon/install.d.ts +18 -0
- package/dist/commands/daemon/install.js +35 -0
- package/dist/commands/daemon/logs.d.ts +60 -0
- package/dist/commands/daemon/logs.js +177 -0
- package/dist/commands/daemon/start.d.ts +6 -0
- package/dist/commands/daemon/start.js +23 -0
- package/dist/commands/daemon/status.d.ts +6 -0
- package/dist/commands/daemon/status.js +23 -0
- package/dist/commands/daemon/stop.d.ts +6 -0
- package/dist/commands/daemon/stop.js +23 -0
- package/dist/commands/daemon/uninstall.d.ts +18 -0
- package/dist/commands/daemon/uninstall.js +35 -0
- package/dist/commands/daemon/usage.d.ts +13 -0
- package/dist/commands/daemon/usage.js +68 -0
- package/dist/commands/daemons.d.ts +11 -0
- package/dist/commands/daemons.js +17 -0
- package/dist/commands/dm/list.d.ts +9 -0
- package/dist/commands/dm/list.js +46 -0
- package/dist/commands/dm/messages.d.ts +14 -0
- package/dist/commands/dm/messages.js +130 -0
- package/dist/commands/dm/show.d.ts +13 -0
- package/dist/commands/dm/show.js +74 -0
- package/dist/commands/dm/thread/broadcast.d.ts +29 -0
- package/dist/commands/dm/thread/broadcast.js +117 -0
- package/dist/commands/dm/thread/follow.d.ts +17 -0
- package/dist/commands/dm/thread/follow.js +90 -0
- package/dist/commands/dm/thread/messages.d.ts +18 -0
- package/dist/commands/dm/thread/messages.js +110 -0
- package/dist/commands/dm/thread/mute.d.ts +17 -0
- package/dist/commands/dm/thread/mute.js +88 -0
- package/dist/commands/dm/thread/share.d.ts +16 -0
- package/dist/commands/dm/thread/share.js +85 -0
- package/dist/commands/dm/thread/show.d.ts +16 -0
- package/dist/commands/dm/thread/show.js +88 -0
- package/dist/commands/dm/threads.d.ts +17 -0
- package/dist/commands/dm/threads.js +92 -0
- package/dist/commands/doctor.d.ts +37 -0
- package/dist/commands/doctor.js +378 -0
- package/dist/commands/engagement/annotate.d.ts +15 -0
- package/dist/commands/engagement/annotate.js +69 -0
- package/dist/commands/engagement/continue.d.ts +13 -0
- package/dist/commands/engagement/continue.js +50 -0
- package/dist/commands/engagement/react.d.ts +14 -0
- package/dist/commands/engagement/react.js +56 -0
- package/dist/commands/engagement/reactions.d.ts +13 -0
- package/dist/commands/engagement/reactions.js +68 -0
- package/dist/commands/engagement/share.d.ts +16 -0
- package/dist/commands/engagement/share.js +67 -0
- package/dist/commands/feeds/create.d.ts +15 -0
- package/dist/commands/feeds/create.js +56 -0
- package/dist/commands/feeds/delete.d.ts +12 -0
- package/dist/commands/feeds/delete.js +49 -0
- package/dist/commands/feeds/list.d.ts +12 -0
- package/dist/commands/feeds/list.js +76 -0
- package/dist/commands/feeds/update.d.ts +16 -0
- package/dist/commands/feeds/update.js +61 -0
- package/dist/commands/generate-recovery-code.d.ts +24 -0
- package/dist/commands/generate-recovery-code.js +78 -0
- package/dist/commands/github/allow-tools.d.ts +16 -0
- package/dist/commands/github/allow-tools.js +80 -0
- package/dist/commands/github/app/install.d.ts +25 -0
- package/dist/commands/github/app/install.js +54 -0
- package/dist/commands/github/app/status.d.ts +19 -0
- package/dist/commands/github/app/status.js +67 -0
- package/dist/commands/github/connect.d.ts +29 -0
- package/dist/commands/github/connect.js +109 -0
- package/dist/commands/github/connections.d.ts +14 -0
- package/dist/commands/github/connections.js +62 -0
- package/dist/commands/github/disconnect.d.ts +14 -0
- package/dist/commands/github/disconnect.js +50 -0
- package/dist/commands/github/finalize.d.ts +18 -0
- package/dist/commands/github/finalize.js +64 -0
- package/dist/commands/github/reconnect.d.ts +16 -0
- package/dist/commands/github/reconnect.js +94 -0
- package/dist/commands/github/run.d.ts +20 -0
- package/dist/commands/github/run.js +104 -0
- package/dist/commands/github/tools.d.ts +19 -0
- package/dist/commands/github/tools.js +82 -0
- package/dist/commands/goals/archive.d.ts +13 -0
- package/dist/commands/goals/archive.js +41 -0
- package/dist/commands/goals/briefing/disable.d.ts +9 -0
- package/dist/commands/goals/briefing/disable.js +32 -0
- package/dist/commands/goals/briefing/enable.d.ts +10 -0
- package/dist/commands/goals/briefing/enable.js +35 -0
- package/dist/commands/goals/briefing/preview.d.ts +9 -0
- package/dist/commands/goals/briefing/preview.js +40 -0
- package/dist/commands/goals/create.d.ts +20 -0
- package/dist/commands/goals/create.js +139 -0
- package/dist/commands/goals/delete.d.ts +12 -0
- package/dist/commands/goals/delete.js +45 -0
- package/dist/commands/goals/descendants.d.ts +13 -0
- package/dist/commands/goals/descendants.js +76 -0
- package/dist/commands/goals/key-results/create.d.ts +26 -0
- package/dist/commands/goals/key-results/create.js +83 -0
- package/dist/commands/goals/key-results/delete.d.ts +18 -0
- package/dist/commands/goals/key-results/delete.js +41 -0
- package/dist/commands/goals/key-results/list.d.ts +21 -0
- package/dist/commands/goals/key-results/list.js +73 -0
- package/dist/commands/goals/key-results/show.d.ts +19 -0
- package/dist/commands/goals/key-results/show.js +56 -0
- package/dist/commands/goals/key-results/update.d.ts +27 -0
- package/dist/commands/goals/key-results/update.js +92 -0
- package/dist/commands/goals/labels/add.d.ts +13 -0
- package/dist/commands/goals/labels/add.js +42 -0
- package/dist/commands/goals/labels/list.d.ts +12 -0
- package/dist/commands/goals/labels/list.js +72 -0
- package/dist/commands/goals/labels/remove.d.ts +13 -0
- package/dist/commands/goals/labels/remove.js +38 -0
- package/dist/commands/goals/list.d.ts +17 -0
- package/dist/commands/goals/list.js +112 -0
- package/dist/commands/goals/open.d.ts +13 -0
- package/dist/commands/goals/open.js +42 -0
- package/dist/commands/goals/plan-now.d.ts +25 -0
- package/dist/commands/goals/plan-now.js +68 -0
- package/dist/commands/goals/planner-config.d.ts +30 -0
- package/dist/commands/goals/planner-config.js +102 -0
- package/dist/commands/goals/revisions.d.ts +12 -0
- package/dist/commands/goals/revisions.js +54 -0
- package/dist/commands/goals/show.d.ts +12 -0
- package/dist/commands/goals/show.js +53 -0
- package/dist/commands/goals/tasks.d.ts +15 -0
- package/dist/commands/goals/tasks.js +106 -0
- package/dist/commands/goals/update.d.ts +26 -0
- package/dist/commands/goals/update.js +116 -0
- package/dist/commands/google-chat/list-channels.d.ts +11 -0
- package/dist/commands/google-chat/list-channels.js +14 -0
- package/dist/commands/google-chat/list-users.d.ts +12 -0
- package/dist/commands/google-chat/list-users.js +19 -0
- package/dist/commands/google-chat/read-channel.d.ts +13 -0
- package/dist/commands/google-chat/read-channel.js +20 -0
- package/dist/commands/google-chat/read-thread.d.ts +14 -0
- package/dist/commands/google-chat/read-thread.js +23 -0
- package/dist/commands/google-chat/run.d.ts +15 -0
- package/dist/commands/google-chat/run.js +17 -0
- package/dist/commands/google-chat/search.d.ts +13 -0
- package/dist/commands/google-chat/search.js +21 -0
- package/dist/commands/google-chat/send-as-agent.d.ts +16 -0
- package/dist/commands/google-chat/send-as-agent.js +23 -0
- package/dist/commands/google-chat/tools.d.ts +10 -0
- package/dist/commands/google-chat/tools.js +14 -0
- package/dist/commands/grants/create.d.ts +30 -0
- package/dist/commands/grants/create.js +84 -0
- package/dist/commands/grants/delete.d.ts +13 -0
- package/dist/commands/grants/delete.js +27 -0
- package/dist/commands/grants/list.d.ts +18 -0
- package/dist/commands/grants/list.js +41 -0
- package/dist/commands/grants/revoke.d.ts +19 -0
- package/dist/commands/grants/revoke.js +36 -0
- package/dist/commands/grants/rotate.d.ts +19 -0
- package/dist/commands/grants/rotate.js +47 -0
- package/dist/commands/harnesses/alias.d.ts +21 -0
- package/dist/commands/harnesses/alias.js +50 -0
- package/dist/commands/harnesses/forget.d.ts +20 -0
- package/dist/commands/harnesses/forget.js +59 -0
- package/dist/commands/harnesses/grants/add.d.ts +28 -0
- package/dist/commands/harnesses/grants/add.js +87 -0
- package/dist/commands/harnesses/grants/list.d.ts +14 -0
- package/dist/commands/harnesses/grants/list.js +60 -0
- package/dist/commands/harnesses/grants/revoke.d.ts +14 -0
- package/dist/commands/harnesses/grants/revoke.js +41 -0
- package/dist/commands/harnesses/install-token.d.ts +21 -0
- package/dist/commands/harnesses/install-token.js +48 -0
- package/dist/commands/harnesses/leases/action.d.ts +21 -0
- package/dist/commands/harnesses/leases/action.js +69 -0
- package/dist/commands/harnesses/leases/billing.d.ts +21 -0
- package/dist/commands/harnesses/leases/billing.js +66 -0
- package/dist/commands/harnesses/leases/list.d.ts +9 -0
- package/dist/commands/harnesses/leases/list.js +60 -0
- package/dist/commands/harnesses/leases/release.d.ts +21 -0
- package/dist/commands/harnesses/leases/release.js +59 -0
- package/dist/commands/harnesses/leases/show.d.ts +12 -0
- package/dist/commands/harnesses/leases/show.js +84 -0
- package/dist/commands/harnesses/list.d.ts +144 -0
- package/dist/commands/harnesses/list.js +247 -0
- package/dist/commands/harnesses/models.d.ts +19 -0
- package/dist/commands/harnesses/models.js +63 -0
- package/dist/commands/harnesses/ping.d.ts +22 -0
- package/dist/commands/harnesses/ping.js +108 -0
- package/dist/commands/harnesses/products.d.ts +9 -0
- package/dist/commands/harnesses/products.js +63 -0
- package/dist/commands/harnesses/quota.d.ts +47 -0
- package/dist/commands/harnesses/quota.js +208 -0
- package/dist/commands/harnesses/set-default.d.ts +21 -0
- package/dist/commands/harnesses/set-default.js +47 -0
- package/dist/commands/harnesses/show.d.ts +12 -0
- package/dist/commands/harnesses/show.js +60 -0
- package/dist/commands/harnesses/update.d.ts +25 -0
- package/dist/commands/harnesses/update.js +63 -0
- package/dist/commands/harnesses/usage.d.ts +47 -0
- package/dist/commands/harnesses/usage.js +128 -0
- package/dist/commands/inbox/index.d.ts +36 -0
- package/dist/commands/inbox/index.js +258 -0
- package/dist/commands/ingress/create.d.ts +22 -0
- package/dist/commands/ingress/create.js +68 -0
- package/dist/commands/ingress/delete.d.ts +13 -0
- package/dist/commands/ingress/delete.js +25 -0
- package/dist/commands/ingress/list.d.ts +15 -0
- package/dist/commands/ingress/list.js +32 -0
- package/dist/commands/ingress/rotate.d.ts +13 -0
- package/dist/commands/ingress/rotate.js +33 -0
- package/dist/commands/initiatives/decide.d.ts +25 -0
- package/dist/commands/initiatives/decide.js +111 -0
- package/dist/commands/initiatives/list.d.ts +20 -0
- package/dist/commands/initiatives/list.js +69 -0
- package/dist/commands/instructions/activate.d.ts +12 -0
- package/dist/commands/instructions/activate.js +30 -0
- package/dist/commands/instructions/archive-version.d.ts +12 -0
- package/dist/commands/instructions/archive-version.js +30 -0
- package/dist/commands/instructions/create.d.ts +13 -0
- package/dist/commands/instructions/create.js +48 -0
- package/dist/commands/instructions/delete.d.ts +12 -0
- package/dist/commands/instructions/delete.js +34 -0
- package/dist/commands/instructions/diff.d.ts +22 -0
- package/dist/commands/instructions/diff.js +81 -0
- package/dist/commands/instructions/install.d.ts +17 -0
- package/dist/commands/instructions/install.js +122 -0
- package/dist/commands/instructions/list.d.ts +10 -0
- package/dist/commands/instructions/list.js +46 -0
- package/dist/commands/instructions/purge-target.d.ts +13 -0
- package/dist/commands/instructions/purge-target.js +44 -0
- package/dist/commands/instructions/remove.d.ts +11 -0
- package/dist/commands/instructions/remove.js +33 -0
- package/dist/commands/instructions/restore-target.d.ts +11 -0
- package/dist/commands/instructions/restore-target.js +27 -0
- package/dist/commands/instructions/restore.d.ts +11 -0
- package/dist/commands/instructions/restore.js +27 -0
- package/dist/commands/instructions/show.d.ts +12 -0
- package/dist/commands/instructions/show.js +72 -0
- package/dist/commands/instructions/status.d.ts +9 -0
- package/dist/commands/instructions/status.js +103 -0
- package/dist/commands/instructions/update-target.d.ts +15 -0
- package/dist/commands/instructions/update-target.js +42 -0
- package/dist/commands/instructions/update.d.ts +17 -0
- package/dist/commands/instructions/update.js +66 -0
- package/dist/commands/integrations/connections/connect.d.ts +19 -0
- package/dist/commands/integrations/connections/connect.js +136 -0
- package/dist/commands/integrations/connections/disconnect.d.ts +17 -0
- package/dist/commands/integrations/connections/disconnect.js +57 -0
- package/dist/commands/integrations/connections/finalize.d.ts +18 -0
- package/dist/commands/integrations/connections/finalize.js +65 -0
- package/dist/commands/integrations/connections/list.d.ts +14 -0
- package/dist/commands/integrations/connections/list.js +62 -0
- package/dist/commands/integrations/connections/reconnect.d.ts +19 -0
- package/dist/commands/integrations/connections/reconnect.js +112 -0
- package/dist/commands/integrations/execute.d.ts +20 -0
- package/dist/commands/integrations/execute.js +97 -0
- package/dist/commands/integrations/search.d.ts +18 -0
- package/dist/commands/integrations/search.js +72 -0
- package/dist/commands/integrations/toolkits.d.ts +13 -0
- package/dist/commands/integrations/toolkits.js +51 -0
- package/dist/commands/integrations/tools/allow.d.ts +18 -0
- package/dist/commands/integrations/tools/allow.js +75 -0
- package/dist/commands/integrations/tools/list.d.ts +15 -0
- package/dist/commands/integrations/tools/list.js +65 -0
- package/dist/commands/labels/archive.d.ts +12 -0
- package/dist/commands/labels/archive.js +37 -0
- package/dist/commands/labels/create.d.ts +17 -0
- package/dist/commands/labels/create.js +74 -0
- package/dist/commands/labels/delete.d.ts +13 -0
- package/dist/commands/labels/delete.js +44 -0
- package/dist/commands/labels/list.d.ts +13 -0
- package/dist/commands/labels/list.js +75 -0
- package/dist/commands/labels/palette.d.ts +9 -0
- package/dist/commands/labels/palette.js +39 -0
- package/dist/commands/labels/reorder.d.ts +12 -0
- package/dist/commands/labels/reorder.js +57 -0
- package/dist/commands/labels/restore.d.ts +12 -0
- package/dist/commands/labels/restore.js +39 -0
- package/dist/commands/labels/update.d.ts +20 -0
- package/dist/commands/labels/update.js +94 -0
- package/dist/commands/lark/list-channels.d.ts +11 -0
- package/dist/commands/lark/list-channels.js +14 -0
- package/dist/commands/lark/list-users.d.ts +12 -0
- package/dist/commands/lark/list-users.js +19 -0
- package/dist/commands/lark/read-channel.d.ts +13 -0
- package/dist/commands/lark/read-channel.js +20 -0
- package/dist/commands/lark/read-thread.d.ts +14 -0
- package/dist/commands/lark/read-thread.js +23 -0
- package/dist/commands/lark/run.d.ts +15 -0
- package/dist/commands/lark/run.js +17 -0
- package/dist/commands/lark/search.d.ts +13 -0
- package/dist/commands/lark/search.js +21 -0
- package/dist/commands/lark/send-as-agent.d.ts +16 -0
- package/dist/commands/lark/send-as-agent.js +23 -0
- package/dist/commands/lark/tools.d.ts +10 -0
- package/dist/commands/lark/tools.js +14 -0
- package/dist/commands/list-daemons.d.ts +57 -0
- package/dist/commands/list-daemons.js +140 -0
- package/dist/commands/list-tokens.d.ts +17 -0
- package/dist/commands/list-tokens.js +80 -0
- package/dist/commands/login.d.ts +69 -0
- package/dist/commands/login.js +243 -0
- package/dist/commands/logout.d.ts +74 -0
- package/dist/commands/logout.js +260 -0
- package/dist/commands/machines/disconnect.d.ts +21 -0
- package/dist/commands/machines/disconnect.js +69 -0
- package/dist/commands/machines/hosted/connect.d.ts +14 -0
- package/dist/commands/machines/hosted/connect.js +92 -0
- package/dist/commands/machines/hosted/destroy.d.ts +13 -0
- package/dist/commands/machines/hosted/destroy.js +43 -0
- package/dist/commands/machines/hosted/exec.d.ts +30 -0
- package/dist/commands/machines/hosted/exec.js +130 -0
- package/dist/commands/machines/hosted/index.d.ts +6 -0
- package/dist/commands/machines/hosted/index.js +26 -0
- package/dist/commands/machines/hosted/list.d.ts +25 -0
- package/dist/commands/machines/hosted/list.js +98 -0
- package/dist/commands/machines/hosted/pause.d.ts +13 -0
- package/dist/commands/machines/hosted/pause.js +43 -0
- package/dist/commands/machines/hosted/pull.d.ts +19 -0
- package/dist/commands/machines/hosted/pull.js +271 -0
- package/dist/commands/machines/hosted/resume.d.ts +16 -0
- package/dist/commands/machines/hosted/resume.js +62 -0
- package/dist/commands/machines/hosted/start.d.ts +27 -0
- package/dist/commands/machines/hosted/start.js +187 -0
- package/dist/commands/machines/hosted/status.d.ts +17 -0
- package/dist/commands/machines/hosted/status.js +88 -0
- package/dist/commands/machines/list.d.ts +13 -0
- package/dist/commands/machines/list.js +60 -0
- package/dist/commands/machines/show.d.ts +13 -0
- package/dist/commands/machines/show.js +99 -0
- package/dist/commands/machines/update.d.ts +24 -0
- package/dist/commands/machines/update.js +82 -0
- package/dist/commands/measures/confirm.d.ts +21 -0
- package/dist/commands/measures/confirm.js +51 -0
- package/dist/commands/measures/create.d.ts +24 -0
- package/dist/commands/measures/create.js +65 -0
- package/dist/commands/measures/list.d.ts +19 -0
- package/dist/commands/measures/list.js +44 -0
- package/dist/commands/measures/record.d.ts +24 -0
- package/dist/commands/measures/record.js +64 -0
- package/dist/commands/measures/tasks.d.ts +27 -0
- package/dist/commands/measures/tasks.js +84 -0
- package/dist/commands/memory/commit.d.ts +14 -0
- package/dist/commands/memory/commit.js +37 -0
- package/dist/commands/memory/context.d.ts +16 -0
- package/dist/commands/memory/context.js +42 -0
- package/dist/commands/memory/daily-log.d.ts +13 -0
- package/dist/commands/memory/daily-log.js +84 -0
- package/dist/commands/memory/delete.d.ts +15 -0
- package/dist/commands/memory/delete.js +50 -0
- package/dist/commands/memory/list.d.ts +12 -0
- package/dist/commands/memory/list.js +53 -0
- package/dist/commands/memory/maintain.d.ts +14 -0
- package/dist/commands/memory/maintain.js +58 -0
- package/dist/commands/memory/observe.d.ts +18 -0
- package/dist/commands/memory/observe.js +51 -0
- package/dist/commands/memory/preferences.d.ts +11 -0
- package/dist/commands/memory/preferences.js +44 -0
- package/dist/commands/memory/read.d.ts +14 -0
- package/dist/commands/memory/read.js +43 -0
- package/dist/commands/memory/rebuild.d.ts +12 -0
- package/dist/commands/memory/rebuild.js +38 -0
- package/dist/commands/memory/save.d.ts +15 -0
- package/dist/commands/memory/save.js +72 -0
- package/dist/commands/memory/search.d.ts +17 -0
- package/dist/commands/memory/search.js +68 -0
- package/dist/commands/memory/show.d.ts +15 -0
- package/dist/commands/memory/show.js +48 -0
- package/dist/commands/memory/tree.d.ts +10 -0
- package/dist/commands/memory/tree.js +40 -0
- package/dist/commands/memory/update.d.ts +17 -0
- package/dist/commands/memory/update.js +42 -0
- package/dist/commands/messages/edit-artifact.d.ts +16 -0
- package/dist/commands/messages/edit-artifact.js +63 -0
- package/dist/commands/messages/feedback.d.ts +17 -0
- package/dist/commands/messages/feedback.js +66 -0
- package/dist/commands/messages/list.d.ts +38 -0
- package/dist/commands/messages/list.js +149 -0
- package/dist/commands/messages/show.d.ts +17 -0
- package/dist/commands/messages/show.js +79 -0
- package/dist/commands/messages/update-content.d.ts +15 -0
- package/dist/commands/messages/update-content.js +43 -0
- package/dist/commands/messages/update.d.ts +15 -0
- package/dist/commands/messages/update.js +44 -0
- package/dist/commands/northstars/create.d.ts +29 -0
- package/dist/commands/northstars/create.js +107 -0
- package/dist/commands/northstars/delete.d.ts +25 -0
- package/dist/commands/northstars/delete.js +75 -0
- package/dist/commands/northstars/governance/configure.d.ts +37 -0
- package/dist/commands/northstars/governance/configure.js +189 -0
- package/dist/commands/northstars/governance/show.d.ts +22 -0
- package/dist/commands/northstars/governance/show.js +45 -0
- package/dist/commands/northstars/intents/decide.d.ts +25 -0
- package/dist/commands/northstars/intents/decide.js +71 -0
- package/dist/commands/northstars/intents/list.d.ts +22 -0
- package/dist/commands/northstars/intents/list.js +52 -0
- package/dist/commands/northstars/link.d.ts +23 -0
- package/dist/commands/northstars/link.js +54 -0
- package/dist/commands/northstars/list.d.ts +18 -0
- package/dist/commands/northstars/list.js +42 -0
- package/dist/commands/northstars/recommendations/apply.d.ts +21 -0
- package/dist/commands/northstars/recommendations/apply.js +53 -0
- package/dist/commands/northstars/recommendations/dismiss.d.ts +21 -0
- package/dist/commands/northstars/recommendations/dismiss.js +45 -0
- package/dist/commands/northstars/recommendations/list.d.ts +22 -0
- package/dist/commands/northstars/recommendations/list.js +50 -0
- package/dist/commands/northstars/review-now.d.ts +21 -0
- package/dist/commands/northstars/review-now.js +62 -0
- package/dist/commands/northstars/reviews.d.ts +23 -0
- package/dist/commands/northstars/reviews.js +83 -0
- package/dist/commands/northstars/show.d.ts +25 -0
- package/dist/commands/northstars/show.js +57 -0
- package/dist/commands/northstars/unlink.d.ts +21 -0
- package/dist/commands/northstars/unlink.js +39 -0
- package/dist/commands/northstars/update.d.ts +32 -0
- package/dist/commands/northstars/update.js +114 -0
- package/dist/commands/outbox/drop.d.ts +20 -0
- package/dist/commands/outbox/drop.js +46 -0
- package/dist/commands/outbox/list.d.ts +22 -0
- package/dist/commands/outbox/list.js +85 -0
- package/dist/commands/outbox/retry.d.ts +39 -0
- package/dist/commands/outbox/retry.js +154 -0
- package/dist/commands/pair.d.ts +67 -0
- package/dist/commands/pair.js +351 -0
- package/dist/commands/payments/wallet.d.ts +10 -0
- package/dist/commands/payments/wallet.js +81 -0
- package/dist/commands/projects/activity.d.ts +25 -0
- package/dist/commands/projects/activity.js +80 -0
- package/dist/commands/projects/archive.d.ts +19 -0
- package/dist/commands/projects/archive.js +55 -0
- package/dist/commands/projects/create.d.ts +19 -0
- package/dist/commands/projects/create.js +76 -0
- package/dist/commands/projects/delete.d.ts +19 -0
- package/dist/commands/projects/delete.js +73 -0
- package/dist/commands/projects/docs/attach.d.ts +23 -0
- package/dist/commands/projects/docs/attach.js +65 -0
- package/dist/commands/projects/docs/detach.d.ts +23 -0
- package/dist/commands/projects/docs/detach.js +65 -0
- package/dist/commands/projects/docs/list.d.ts +22 -0
- package/dist/commands/projects/docs/list.js +67 -0
- package/dist/commands/projects/goals.d.ts +26 -0
- package/dist/commands/projects/goals.js +101 -0
- package/dist/commands/projects/list.d.ts +26 -0
- package/dist/commands/projects/list.js +102 -0
- package/dist/commands/projects/members.d.ts +16 -0
- package/dist/commands/projects/members.js +43 -0
- package/dist/commands/projects/open.d.ts +14 -0
- package/dist/commands/projects/open.js +44 -0
- package/dist/commands/projects/overview.d.ts +29 -0
- package/dist/commands/projects/overview.js +83 -0
- package/dist/commands/projects/promote.d.ts +30 -0
- package/dist/commands/projects/promote.js +84 -0
- package/dist/commands/projects/reorder.d.ts +13 -0
- package/dist/commands/projects/reorder.js +32 -0
- package/dist/commands/projects/revisions.d.ts +14 -0
- package/dist/commands/projects/revisions.js +42 -0
- package/dist/commands/projects/show.d.ts +22 -0
- package/dist/commands/projects/show.js +65 -0
- package/dist/commands/projects/summary.d.ts +12 -0
- package/dist/commands/projects/summary.js +30 -0
- package/dist/commands/projects/tasks.d.ts +28 -0
- package/dist/commands/projects/tasks.js +84 -0
- package/dist/commands/projects/update.d.ts +22 -0
- package/dist/commands/projects/update.js +73 -0
- package/dist/commands/projects/updates/add.d.ts +20 -0
- package/dist/commands/projects/updates/add.js +69 -0
- package/dist/commands/projects/updates/archive.d.ts +13 -0
- package/dist/commands/projects/updates/archive.js +33 -0
- package/dist/commands/projects/updates/cadence.d.ts +19 -0
- package/dist/commands/projects/updates/cadence.js +73 -0
- package/dist/commands/projects/updates/draft.d.ts +15 -0
- package/dist/commands/projects/updates/draft.js +38 -0
- package/dist/commands/projects/updates/edit.d.ts +19 -0
- package/dist/commands/projects/updates/edit.js +80 -0
- package/dist/commands/projects/updates/list.d.ts +14 -0
- package/dist/commands/projects/updates/list.js +53 -0
- package/dist/commands/projects/updates/post.d.ts +16 -0
- package/dist/commands/projects/updates/post.js +39 -0
- package/dist/commands/projects/updates/show.d.ts +13 -0
- package/dist/commands/projects/updates/show.js +43 -0
- package/dist/commands/projects/upsert.d.ts +19 -0
- package/dist/commands/projects/upsert.js +68 -0
- package/dist/commands/requests/cancel.d.ts +12 -0
- package/dist/commands/requests/cancel.js +46 -0
- package/dist/commands/requests/comments/add.d.ts +15 -0
- package/dist/commands/requests/comments/add.js +61 -0
- package/dist/commands/requests/comments/delete.d.ts +13 -0
- package/dist/commands/requests/comments/delete.js +53 -0
- package/dist/commands/requests/comments/list.d.ts +13 -0
- package/dist/commands/requests/comments/list.js +56 -0
- package/dist/commands/requests/create.d.ts +18 -0
- package/dist/commands/requests/create.js +78 -0
- package/dist/commands/requests/list.d.ts +11 -0
- package/dist/commands/requests/list.js +58 -0
- package/dist/commands/requests/pending.d.ts +9 -0
- package/dist/commands/requests/pending.js +33 -0
- package/dist/commands/requests/resolve.d.ts +24 -0
- package/dist/commands/requests/resolve.js +99 -0
- package/dist/commands/requests/show.d.ts +12 -0
- package/dist/commands/requests/show.js +57 -0
- package/dist/commands/revoke-daemon.d.ts +38 -0
- package/dist/commands/revoke-daemon.js +142 -0
- package/dist/commands/revoke-token.d.ts +23 -0
- package/dist/commands/revoke-token.js +93 -0
- package/dist/commands/search/agents.d.ts +38 -0
- package/dist/commands/search/agents.js +105 -0
- package/dist/commands/search/all.d.ts +40 -0
- package/dist/commands/search/all.js +144 -0
- package/dist/commands/search/skills.d.ts +12 -0
- package/dist/commands/search/skills.js +72 -0
- package/dist/commands/search/spaces.d.ts +27 -0
- package/dist/commands/search/spaces.js +84 -0
- package/dist/commands/search/tasks.d.ts +33 -0
- package/dist/commands/search/tasks.js +90 -0
- package/dist/commands/search/teams.d.ts +11 -0
- package/dist/commands/search/teams.js +69 -0
- package/dist/commands/set-capabilities.d.ts +26 -0
- package/dist/commands/set-capabilities.js +130 -0
- package/dist/commands/shares/create.d.ts +13 -0
- package/dist/commands/shares/create.js +40 -0
- package/dist/commands/shares/delete.d.ts +12 -0
- package/dist/commands/shares/delete.js +43 -0
- package/dist/commands/shares/get.d.ts +12 -0
- package/dist/commands/shares/get.js +64 -0
- package/dist/commands/shares/link-for.d.ts +12 -0
- package/dist/commands/shares/link-for.js +40 -0
- package/dist/commands/shares/list.d.ts +15 -0
- package/dist/commands/shares/list.js +84 -0
- package/dist/commands/shares/update.d.ts +12 -0
- package/dist/commands/shares/update.js +35 -0
- package/dist/commands/shortcuts/create.d.ts +19 -0
- package/dist/commands/shortcuts/create.js +140 -0
- package/dist/commands/shortcuts/delete.d.ts +12 -0
- package/dist/commands/shortcuts/delete.js +45 -0
- package/dist/commands/shortcuts/list.d.ts +10 -0
- package/dist/commands/shortcuts/list.js +56 -0
- package/dist/commands/shortcuts/reorder.d.ts +14 -0
- package/dist/commands/shortcuts/reorder.js +37 -0
- package/dist/commands/shortcuts/show.d.ts +12 -0
- package/dist/commands/shortcuts/show.js +79 -0
- package/dist/commands/shortcuts/trigger.d.ts +12 -0
- package/dist/commands/shortcuts/trigger.js +53 -0
- package/dist/commands/shortcuts/update.d.ts +21 -0
- package/dist/commands/shortcuts/update.js +144 -0
- package/dist/commands/skills/browse.d.ts +21 -0
- package/dist/commands/skills/browse.js +87 -0
- package/dist/commands/skills/categories.d.ts +11 -0
- package/dist/commands/skills/categories.js +58 -0
- package/dist/commands/skills/details.d.ts +12 -0
- package/dist/commands/skills/details.js +49 -0
- package/dist/commands/skills/duplicate.d.ts +21 -0
- package/dist/commands/skills/duplicate.js +52 -0
- package/dist/commands/skills/featured.d.ts +22 -0
- package/dist/commands/skills/featured.js +61 -0
- package/dist/commands/skills/install.d.ts +14 -0
- package/dist/commands/skills/install.js +60 -0
- package/dist/commands/skills/invocable.d.ts +21 -0
- package/dist/commands/skills/invocable.js +73 -0
- package/dist/commands/skills/library.d.ts +12 -0
- package/dist/commands/skills/library.js +73 -0
- package/dist/commands/skills/search.d.ts +12 -0
- package/dist/commands/skills/search.js +62 -0
- package/dist/commands/slack/list-channels.d.ts +15 -0
- package/dist/commands/slack/list-channels.js +84 -0
- package/dist/commands/slack/list-usergroups.d.ts +12 -0
- package/dist/commands/slack/list-usergroups.js +66 -0
- package/dist/commands/slack/list-users.d.ts +15 -0
- package/dist/commands/slack/list-users.js +80 -0
- package/dist/commands/slack/read-channel.d.ts +16 -0
- package/dist/commands/slack/read-channel.js +76 -0
- package/dist/commands/slack/read-thread.d.ts +15 -0
- package/dist/commands/slack/read-thread.js +76 -0
- package/dist/commands/slack/run.d.ts +15 -0
- package/dist/commands/slack/run.js +119 -0
- package/dist/commands/slack/search.d.ts +16 -0
- package/dist/commands/slack/search.js +90 -0
- package/dist/commands/slack/send-as-agent.d.ts +18 -0
- package/dist/commands/slack/send-as-agent.js +232 -0
- package/dist/commands/slack/tools.d.ts +10 -0
- package/dist/commands/slack/tools.js +58 -0
- package/dist/commands/space-directory-views/create.d.ts +13 -0
- package/dist/commands/space-directory-views/create.js +57 -0
- package/dist/commands/space-directory-views/delete.d.ts +13 -0
- package/dist/commands/space-directory-views/delete.js +39 -0
- package/dist/commands/space-directory-views/list.d.ts +8 -0
- package/dist/commands/space-directory-views/list.js +27 -0
- package/dist/commands/space-directory-views/show.d.ts +21 -0
- package/dist/commands/space-directory-views/show.js +84 -0
- package/dist/commands/space-directory-views/update.d.ts +16 -0
- package/dist/commands/space-directory-views/update.js +64 -0
- package/dist/commands/spaces/actions/add.d.ts +18 -0
- package/dist/commands/spaces/actions/add.js +60 -0
- package/dist/commands/spaces/actions/available.d.ts +20 -0
- package/dist/commands/spaces/actions/available.js +57 -0
- package/dist/commands/spaces/actions/delete.d.ts +13 -0
- package/dist/commands/spaces/actions/delete.js +47 -0
- package/dist/commands/spaces/actions/list.d.ts +11 -0
- package/dist/commands/spaces/actions/list.js +46 -0
- package/dist/commands/spaces/actions/replace.d.ts +14 -0
- package/dist/commands/spaces/actions/replace.js +66 -0
- package/dist/commands/spaces/actions/update.d.ts +18 -0
- package/dist/commands/spaces/actions/update.js +59 -0
- package/dist/commands/spaces/archive.d.ts +12 -0
- package/dist/commands/spaces/archive.js +34 -0
- package/dist/commands/spaces/auto-executor/preview.d.ts +11 -0
- package/dist/commands/spaces/auto-executor/preview.js +26 -0
- package/dist/commands/spaces/auto-executor/run.d.ts +11 -0
- package/dist/commands/spaces/auto-executor/run.js +29 -0
- package/dist/commands/spaces/auto-executor/update.d.ts +17 -0
- package/dist/commands/spaces/auto-executor/update.js +69 -0
- package/dist/commands/spaces/bootstrap.d.ts +39 -0
- package/dist/commands/spaces/bootstrap.js +103 -0
- package/dist/commands/spaces/briefs/delete.d.ts +14 -0
- package/dist/commands/spaces/briefs/delete.js +50 -0
- package/dist/commands/spaces/briefs/get.d.ts +14 -0
- package/dist/commands/spaces/briefs/get.js +59 -0
- package/dist/commands/spaces/briefs/list.d.ts +12 -0
- package/dist/commands/spaces/briefs/list.js +61 -0
- package/dist/commands/spaces/briefs/set.d.ts +17 -0
- package/dist/commands/spaces/briefs/set.js +116 -0
- package/dist/commands/spaces/capacity.d.ts +13 -0
- package/dist/commands/spaces/capacity.js +55 -0
- package/dist/commands/spaces/conversations.d.ts +14 -0
- package/dist/commands/spaces/conversations.js +86 -0
- package/dist/commands/spaces/create.d.ts +21 -0
- package/dist/commands/spaces/create.js +121 -0
- package/dist/commands/spaces/cycles/create.d.ts +16 -0
- package/dist/commands/spaces/cycles/create.js +44 -0
- package/dist/commands/spaces/cycles/graph.d.ts +13 -0
- package/dist/commands/spaces/cycles/graph.js +65 -0
- package/dist/commands/spaces/cycles/list.d.ts +13 -0
- package/dist/commands/spaces/cycles/list.js +57 -0
- package/dist/commands/spaces/cycles/settings.d.ts +15 -0
- package/dist/commands/spaces/cycles/settings.js +77 -0
- package/dist/commands/spaces/cycles/show.d.ts +12 -0
- package/dist/commands/spaces/cycles/show.js +54 -0
- package/dist/commands/spaces/cycles/update.d.ts +17 -0
- package/dist/commands/spaces/cycles/update.js +50 -0
- package/dist/commands/spaces/delete.d.ts +12 -0
- package/dist/commands/spaces/delete.js +45 -0
- package/dist/commands/spaces/files/delete.d.ts +13 -0
- package/dist/commands/spaces/files/delete.js +47 -0
- package/dist/commands/spaces/files/folders/create.d.ts +14 -0
- package/dist/commands/spaces/files/folders/create.js +48 -0
- package/dist/commands/spaces/files/folders/delete.d.ts +14 -0
- package/dist/commands/spaces/files/folders/delete.js +54 -0
- package/dist/commands/spaces/files/folders/list.d.ts +11 -0
- package/dist/commands/spaces/files/folders/list.js +41 -0
- package/dist/commands/spaces/files/folders/update.d.ts +16 -0
- package/dist/commands/spaces/files/folders/update.js +55 -0
- package/dist/commands/spaces/files/list.d.ts +12 -0
- package/dist/commands/spaces/files/list.js +66 -0
- package/dist/commands/spaces/files/move.d.ts +14 -0
- package/dist/commands/spaces/files/move.js +41 -0
- package/dist/commands/spaces/files/rename.d.ts +13 -0
- package/dist/commands/spaces/files/rename.js +37 -0
- package/dist/commands/spaces/files/upload.d.ts +14 -0
- package/dist/commands/spaces/files/upload.js +103 -0
- package/dist/commands/spaces/github-automations/set.d.ts +12 -0
- package/dist/commands/spaces/github-automations/set.js +51 -0
- package/dist/commands/spaces/github-automations/show.d.ts +11 -0
- package/dist/commands/spaces/github-automations/show.js +43 -0
- package/dist/commands/spaces/goals.d.ts +12 -0
- package/dist/commands/spaces/goals.js +61 -0
- package/dist/commands/spaces/heartbeats/create.d.ts +21 -0
- package/dist/commands/spaces/heartbeats/create.js +92 -0
- package/dist/commands/spaces/heartbeats/delete.d.ts +14 -0
- package/dist/commands/spaces/heartbeats/delete.js +55 -0
- package/dist/commands/spaces/heartbeats/list.d.ts +35 -0
- package/dist/commands/spaces/heartbeats/list.js +101 -0
- package/dist/commands/spaces/heartbeats/status.d.ts +13 -0
- package/dist/commands/spaces/heartbeats/status.js +60 -0
- package/dist/commands/spaces/heartbeats/update.d.ts +22 -0
- package/dist/commands/spaces/heartbeats/update.js +81 -0
- package/dist/commands/spaces/index.d.ts +18 -0
- package/dist/commands/spaces/index.js +132 -0
- package/dist/commands/spaces/insights.d.ts +48 -0
- package/dist/commands/spaces/insights.js +188 -0
- package/dist/commands/spaces/install-template.d.ts +59 -0
- package/dist/commands/spaces/install-template.js +145 -0
- package/dist/commands/spaces/labels/add.d.ts +13 -0
- package/dist/commands/spaces/labels/add.js +48 -0
- package/dist/commands/spaces/labels/list.d.ts +12 -0
- package/dist/commands/spaces/labels/list.js +72 -0
- package/dist/commands/spaces/labels/remove.d.ts +13 -0
- package/dist/commands/spaces/labels/remove.js +44 -0
- package/dist/commands/spaces/list.d.ts +15 -0
- package/dist/commands/spaces/list.js +85 -0
- package/dist/commands/spaces/live/cards/create.d.ts +19 -0
- package/dist/commands/spaces/live/cards/create.js +68 -0
- package/dist/commands/spaces/live/cards/delete.d.ts +13 -0
- package/dist/commands/spaces/live/cards/delete.js +44 -0
- package/dist/commands/spaces/live/cards/list.d.ts +11 -0
- package/dist/commands/spaces/live/cards/list.js +43 -0
- package/dist/commands/spaces/live/cards/reorder.d.ts +13 -0
- package/dist/commands/spaces/live/cards/reorder.js +52 -0
- package/dist/commands/spaces/live/cards/update.d.ts +20 -0
- package/dist/commands/spaces/live/cards/update.js +69 -0
- package/dist/commands/spaces/live/scene.d.ts +13 -0
- package/dist/commands/spaces/live/scene.js +55 -0
- package/dist/commands/spaces/members/add.d.ts +17 -0
- package/dist/commands/spaces/members/add.js +143 -0
- package/dist/commands/spaces/members/list.d.ts +12 -0
- package/dist/commands/spaces/members/list.js +54 -0
- package/dist/commands/spaces/members/remove.d.ts +15 -0
- package/dist/commands/spaces/members/remove.js +76 -0
- package/dist/commands/spaces/members/search.d.ts +13 -0
- package/dist/commands/spaces/members/search.js +57 -0
- package/dist/commands/spaces/move.d.ts +27 -0
- package/dist/commands/spaces/move.js +82 -0
- package/dist/commands/spaces/open.d.ts +13 -0
- package/dist/commands/spaces/open.js +42 -0
- package/dist/commands/spaces/pin.d.ts +11 -0
- package/dist/commands/spaces/pin.js +33 -0
- package/dist/commands/spaces/preferences/show.d.ts +11 -0
- package/dist/commands/spaces/preferences/show.js +34 -0
- package/dist/commands/spaces/preferences/tabs.d.ts +14 -0
- package/dist/commands/spaces/preferences/tabs.js +51 -0
- package/dist/commands/spaces/reorder.d.ts +14 -0
- package/dist/commands/spaces/reorder.js +67 -0
- package/dist/commands/spaces/revisions.d.ts +12 -0
- package/dist/commands/spaces/revisions.js +55 -0
- package/dist/commands/spaces/room/ensure.d.ts +12 -0
- package/dist/commands/spaces/room/ensure.js +39 -0
- package/dist/commands/spaces/room/messages.d.ts +15 -0
- package/dist/commands/spaces/room/messages.js +65 -0
- package/dist/commands/spaces/room/send.d.ts +18 -0
- package/dist/commands/spaces/room/send.js +107 -0
- package/dist/commands/spaces/room/show.d.ts +12 -0
- package/dist/commands/spaces/room/show.js +57 -0
- package/dist/commands/spaces/show.d.ts +12 -0
- package/dist/commands/spaces/show.js +67 -0
- package/dist/commands/spaces/skills/add.d.ts +13 -0
- package/dist/commands/spaces/skills/add.js +37 -0
- package/dist/commands/spaces/skills/list.d.ts +12 -0
- package/dist/commands/spaces/skills/list.js +67 -0
- package/dist/commands/spaces/skills/pin.d.ts +14 -0
- package/dist/commands/spaces/skills/pin.js +48 -0
- package/dist/commands/spaces/skills/remove.d.ts +13 -0
- package/dist/commands/spaces/skills/remove.js +37 -0
- package/dist/commands/spaces/snapshot.d.ts +20 -0
- package/dist/commands/spaces/snapshot.js +89 -0
- package/dist/commands/spaces/states/archive.d.ts +12 -0
- package/dist/commands/spaces/states/archive.js +31 -0
- package/dist/commands/spaces/states/create.d.ts +16 -0
- package/dist/commands/spaces/states/create.js +47 -0
- package/dist/commands/spaces/states/list.d.ts +11 -0
- package/dist/commands/spaces/states/list.js +47 -0
- package/dist/commands/spaces/states/reorder.d.ts +12 -0
- package/dist/commands/spaces/states/reorder.js +36 -0
- package/dist/commands/spaces/states/update.d.ts +15 -0
- package/dist/commands/spaces/states/update.js +42 -0
- package/dist/commands/spaces/subspaces.d.ts +13 -0
- package/dist/commands/spaces/subspaces.js +58 -0
- package/dist/commands/spaces/summary.d.ts +11 -0
- package/dist/commands/spaces/summary.js +29 -0
- package/dist/commands/spaces/tasks.d.ts +14 -0
- package/dist/commands/spaces/tasks.js +73 -0
- package/dist/commands/spaces/templates/create.d.ts +26 -0
- package/dist/commands/spaces/templates/create.js +79 -0
- package/dist/commands/spaces/templates/delete.d.ts +20 -0
- package/dist/commands/spaces/templates/delete.js +46 -0
- package/dist/commands/spaces/templates/fork.d.ts +26 -0
- package/dist/commands/spaces/templates/fork.js +60 -0
- package/dist/commands/spaces/templates/index.d.ts +24 -0
- package/dist/commands/spaces/templates/index.js +106 -0
- package/dist/commands/spaces/templates/purchase-status.d.ts +20 -0
- package/dist/commands/spaces/templates/purchase-status.js +54 -0
- package/dist/commands/spaces/templates/rate.d.ts +18 -0
- package/dist/commands/spaces/templates/rate.js +52 -0
- package/dist/commands/spaces/templates/report.d.ts +21 -0
- package/dist/commands/spaces/templates/report.js +48 -0
- package/dist/commands/spaces/templates/show.d.ts +21 -0
- package/dist/commands/spaces/templates/show.js +75 -0
- package/dist/commands/spaces/templates/update.d.ts +27 -0
- package/dist/commands/spaces/templates/update.js +57 -0
- package/dist/commands/spaces/templates/visibility.d.ts +24 -0
- package/dist/commands/spaces/templates/visibility.js +58 -0
- package/dist/commands/spaces/transfer-workspace.d.ts +20 -0
- package/dist/commands/spaces/transfer-workspace.js +56 -0
- package/dist/commands/spaces/triggers/delete.d.ts +13 -0
- package/dist/commands/spaces/triggers/delete.js +52 -0
- package/dist/commands/spaces/triggers/set.d.ts +36 -0
- package/dist/commands/spaces/triggers/set.js +145 -0
- package/dist/commands/spaces/triggers/show.d.ts +12 -0
- package/dist/commands/spaces/triggers/show.js +50 -0
- package/dist/commands/spaces/unarchive.d.ts +12 -0
- package/dist/commands/spaces/unarchive.js +34 -0
- package/dist/commands/spaces/update.d.ts +22 -0
- package/dist/commands/spaces/update.js +126 -0
- package/dist/commands/spaces/views/create.d.ts +17 -0
- package/dist/commands/spaces/views/create.js +62 -0
- package/dist/commands/spaces/views/delete.d.ts +13 -0
- package/dist/commands/spaces/views/delete.js +44 -0
- package/dist/commands/spaces/views/duplicate.d.ts +12 -0
- package/dist/commands/spaces/views/duplicate.js +30 -0
- package/dist/commands/spaces/views/list.d.ts +11 -0
- package/dist/commands/spaces/views/list.js +45 -0
- package/dist/commands/spaces/views/reorder.d.ts +14 -0
- package/dist/commands/spaces/views/reorder.js +64 -0
- package/dist/commands/spaces/views/subscribe.d.ts +16 -0
- package/dist/commands/spaces/views/subscribe.js +48 -0
- package/dist/commands/spaces/views/subscriptions.d.ts +12 -0
- package/dist/commands/spaces/views/subscriptions.js +31 -0
- package/dist/commands/spaces/views/unsubscribe.d.ts +12 -0
- package/dist/commands/spaces/views/unsubscribe.js +28 -0
- package/dist/commands/spaces/views/update.d.ts +19 -0
- package/dist/commands/spaces/views/update.js +65 -0
- package/dist/commands/spaces/widgets/add.d.ts +14 -0
- package/dist/commands/spaces/widgets/add.js +46 -0
- package/dist/commands/spaces/widgets/list.d.ts +12 -0
- package/dist/commands/spaces/widgets/list.js +71 -0
- package/dist/commands/spaces/widgets/remove.d.ts +14 -0
- package/dist/commands/spaces/widgets/remove.js +57 -0
- package/dist/commands/spaces/work-graph.d.ts +21 -0
- package/dist/commands/spaces/work-graph.js +104 -0
- package/dist/commands/spaces/workflow-templates/archive.d.ts +16 -0
- package/dist/commands/spaces/workflow-templates/archive.js +52 -0
- package/dist/commands/spaces/workflow-templates/create.d.ts +21 -0
- package/dist/commands/spaces/workflow-templates/create.js +69 -0
- package/dist/commands/spaces/workflow-templates/extract.d.ts +27 -0
- package/dist/commands/spaces/workflow-templates/extract.js +74 -0
- package/dist/commands/spaces/workflow-templates/insert.d.ts +26 -0
- package/dist/commands/spaces/workflow-templates/insert.js +133 -0
- package/dist/commands/spaces/workflow-templates/list.d.ts +19 -0
- package/dist/commands/spaces/workflow-templates/list.js +69 -0
- package/dist/commands/spaces/workflow-templates/promote.d.ts +31 -0
- package/dist/commands/spaces/workflow-templates/promote.js +76 -0
- package/dist/commands/spaces/workflow-templates/publish.d.ts +16 -0
- package/dist/commands/spaces/workflow-templates/publish.js +42 -0
- package/dist/commands/spaces/workflow-templates/show.d.ts +16 -0
- package/dist/commands/spaces/workflow-templates/show.js +92 -0
- package/dist/commands/spaces/workflow-templates/update.d.ts +20 -0
- package/dist/commands/spaces/workflow-templates/update.js +67 -0
- package/dist/commands/spaces/workflow-templates/versions.d.ts +15 -0
- package/dist/commands/spaces/workflow-templates/versions.js +51 -0
- package/dist/commands/spaces/workflows/archive.d.ts +13 -0
- package/dist/commands/spaces/workflows/archive.js +44 -0
- package/dist/commands/spaces/workflows/artifact.d.ts +14 -0
- package/dist/commands/spaces/workflows/artifact.js +45 -0
- package/dist/commands/spaces/workflows/cancel.d.ts +13 -0
- package/dist/commands/spaces/workflows/cancel.js +50 -0
- package/dist/commands/spaces/workflows/create.d.ts +19 -0
- package/dist/commands/spaces/workflows/create.js +100 -0
- package/dist/commands/spaces/workflows/events.d.ts +15 -0
- package/dist/commands/spaces/workflows/events.js +80 -0
- package/dist/commands/spaces/workflows/fixtures/create.d.ts +20 -0
- package/dist/commands/spaces/workflows/fixtures/create.js +74 -0
- package/dist/commands/spaces/workflows/fixtures/list.d.ts +13 -0
- package/dist/commands/spaces/workflows/fixtures/list.js +52 -0
- package/dist/commands/spaces/workflows/list.d.ts +11 -0
- package/dist/commands/spaces/workflows/list.js +48 -0
- package/dist/commands/spaces/workflows/pause.d.ts +14 -0
- package/dist/commands/spaces/workflows/pause.js +35 -0
- package/dist/commands/spaces/workflows/plan/show.d.ts +13 -0
- package/dist/commands/spaces/workflows/plan/show.js +39 -0
- package/dist/commands/spaces/workflows/plan/update.d.ts +24 -0
- package/dist/commands/spaces/workflows/plan/update.js +96 -0
- package/dist/commands/spaces/workflows/proposals/apply.d.ts +14 -0
- package/dist/commands/spaces/workflows/proposals/apply.js +45 -0
- package/dist/commands/spaces/workflows/proposals/confirm.d.ts +14 -0
- package/dist/commands/spaces/workflows/proposals/confirm.js +47 -0
- package/dist/commands/spaces/workflows/proposals/create.d.ts +20 -0
- package/dist/commands/spaces/workflows/proposals/create.js +89 -0
- package/dist/commands/spaces/workflows/proposals/dismiss.d.ts +14 -0
- package/dist/commands/spaces/workflows/proposals/dismiss.js +45 -0
- package/dist/commands/spaces/workflows/proposals/list.d.ts +12 -0
- package/dist/commands/spaces/workflows/proposals/list.js +40 -0
- package/dist/commands/spaces/workflows/publish.d.ts +12 -0
- package/dist/commands/spaces/workflows/publish.js +35 -0
- package/dist/commands/spaces/workflows/reconcile.d.ts +12 -0
- package/dist/commands/spaces/workflows/reconcile.js +33 -0
- package/dist/commands/spaces/workflows/resume.d.ts +13 -0
- package/dist/commands/spaces/workflows/resume.js +34 -0
- package/dist/commands/spaces/workflows/retry.d.ts +13 -0
- package/dist/commands/spaces/workflows/retry.js +43 -0
- package/dist/commands/spaces/workflows/run.d.ts +30 -0
- package/dist/commands/spaces/workflows/run.js +87 -0
- package/dist/commands/spaces/workflows/runs.d.ts +35 -0
- package/dist/commands/spaces/workflows/runs.js +83 -0
- package/dist/commands/spaces/workflows/show.d.ts +13 -0
- package/dist/commands/spaces/workflows/show.js +51 -0
- package/dist/commands/spaces/workflows/signal.d.ts +17 -0
- package/dist/commands/spaces/workflows/signal.js +76 -0
- package/dist/commands/spaces/workflows/start.d.ts +32 -0
- package/dist/commands/spaces/workflows/start.js +92 -0
- package/dist/commands/spaces/workflows/task-execution/create.d.ts +15 -0
- package/dist/commands/spaces/workflows/task-execution/create.js +49 -0
- package/dist/commands/spaces/workflows/test.d.ts +16 -0
- package/dist/commands/spaces/workflows/test.js +67 -0
- package/dist/commands/spaces/workflows/triggers/create.d.ts +19 -0
- package/dist/commands/spaces/workflows/triggers/create.js +68 -0
- package/dist/commands/spaces/workflows/triggers/fire.d.ts +16 -0
- package/dist/commands/spaces/workflows/triggers/fire.js +57 -0
- package/dist/commands/spaces/workflows/triggers/list.d.ts +12 -0
- package/dist/commands/spaces/workflows/triggers/list.js +49 -0
- package/dist/commands/spaces/workflows/triggers/update.d.ts +17 -0
- package/dist/commands/spaces/workflows/triggers/update.js +62 -0
- package/dist/commands/spaces/workflows/update.d.ts +35 -0
- package/dist/commands/spaces/workflows/update.js +130 -0
- package/dist/commands/spaces/workflows/validate.d.ts +12 -0
- package/dist/commands/spaces/workflows/validate.js +43 -0
- package/dist/commands/tasks/actionability.d.ts +12 -0
- package/dist/commands/tasks/actionability.js +63 -0
- package/dist/commands/tasks/actions/attach.d.ts +23 -0
- package/dist/commands/tasks/actions/attach.js +143 -0
- package/dist/commands/tasks/actions/detach.d.ts +20 -0
- package/dist/commands/tasks/actions/detach.js +129 -0
- package/dist/commands/tasks/active.d.ts +12 -0
- package/dist/commands/tasks/active.js +123 -0
- package/dist/commands/tasks/activity.d.ts +32 -0
- package/dist/commands/tasks/activity.js +67 -0
- package/dist/commands/tasks/ancestors.d.ts +12 -0
- package/dist/commands/tasks/ancestors.js +54 -0
- package/dist/commands/tasks/approvals/create.d.ts +15 -0
- package/dist/commands/tasks/approvals/create.js +58 -0
- package/dist/commands/tasks/approvals/delete.d.ts +13 -0
- package/dist/commands/tasks/approvals/delete.js +44 -0
- package/dist/commands/tasks/approvals/list.d.ts +27 -0
- package/dist/commands/tasks/approvals/list.js +75 -0
- package/dist/commands/tasks/approvals/resolve.d.ts +15 -0
- package/dist/commands/tasks/approvals/resolve.js +51 -0
- package/dist/commands/tasks/archive.d.ts +13 -0
- package/dist/commands/tasks/archive.js +41 -0
- package/dist/commands/tasks/assign.d.ts +41 -0
- package/dist/commands/tasks/assign.js +232 -0
- package/dist/commands/tasks/attachments/delete.d.ts +13 -0
- package/dist/commands/tasks/attachments/delete.js +44 -0
- package/dist/commands/tasks/attachments/download.d.ts +13 -0
- package/dist/commands/tasks/attachments/download.js +78 -0
- package/dist/commands/tasks/attachments/list.d.ts +29 -0
- package/dist/commands/tasks/attachments/list.js +89 -0
- package/dist/commands/tasks/attachments/upload.d.ts +13 -0
- package/dist/commands/tasks/attachments/upload.js +83 -0
- package/dist/commands/tasks/bulk-update.d.ts +11 -0
- package/dist/commands/tasks/bulk-update.js +120 -0
- package/dist/commands/tasks/calendar.d.ts +18 -0
- package/dist/commands/tasks/calendar.js +40 -0
- package/dist/commands/tasks/cancel-cascade.d.ts +12 -0
- package/dist/commands/tasks/cancel-cascade.js +43 -0
- package/dist/commands/tasks/cascade-status.d.ts +12 -0
- package/dist/commands/tasks/cascade-status.js +41 -0
- package/dist/commands/tasks/chat/exchange.d.ts +30 -0
- package/dist/commands/tasks/chat/exchange.js +88 -0
- package/dist/commands/tasks/chat/index.d.ts +31 -0
- package/dist/commands/tasks/chat/index.js +69 -0
- package/dist/commands/tasks/chat/read.d.ts +14 -0
- package/dist/commands/tasks/chat/read.js +35 -0
- package/dist/commands/tasks/chat/reindex.d.ts +20 -0
- package/dist/commands/tasks/chat/reindex.js +39 -0
- package/dist/commands/tasks/chat/reopen.d.ts +20 -0
- package/dist/commands/tasks/chat/reopen.js +43 -0
- package/dist/commands/tasks/chat/repair-attention.d.ts +19 -0
- package/dist/commands/tasks/chat/repair-attention.js +38 -0
- package/dist/commands/tasks/chat/rotate.d.ts +21 -0
- package/dist/commands/tasks/chat/rotate.js +59 -0
- package/dist/commands/tasks/checkout.d.ts +13 -0
- package/dist/commands/tasks/checkout.js +79 -0
- package/dist/commands/tasks/children.d.ts +12 -0
- package/dist/commands/tasks/children.js +54 -0
- package/dist/commands/tasks/comments/add.d.ts +36 -0
- package/dist/commands/tasks/comments/add.js +258 -0
- package/dist/commands/tasks/comments/anchor.d.ts +80 -0
- package/dist/commands/tasks/comments/anchor.js +374 -0
- package/dist/commands/tasks/comments/delete.d.ts +13 -0
- package/dist/commands/tasks/comments/delete.js +44 -0
- package/dist/commands/tasks/comments/list.d.ts +15 -0
- package/dist/commands/tasks/comments/list.js +96 -0
- package/dist/commands/tasks/comments/react.d.ts +14 -0
- package/dist/commands/tasks/comments/react.js +70 -0
- package/dist/commands/tasks/comments/reopen.d.ts +13 -0
- package/dist/commands/tasks/comments/reopen.js +40 -0
- package/dist/commands/tasks/comments/resolve.d.ts +13 -0
- package/dist/commands/tasks/comments/resolve.js +40 -0
- package/dist/commands/tasks/communications.d.ts +21 -0
- package/dist/commands/tasks/communications.js +45 -0
- package/dist/commands/tasks/complete.d.ts +106 -0
- package/dist/commands/tasks/complete.js +457 -0
- package/dist/commands/tasks/continue-ready.d.ts +20 -0
- package/dist/commands/tasks/continue-ready.js +220 -0
- package/dist/commands/tasks/create-tree.d.ts +30 -0
- package/dist/commands/tasks/create-tree.js +299 -0
- package/dist/commands/tasks/create.d.ts +47 -0
- package/dist/commands/tasks/create.js +389 -0
- package/dist/commands/tasks/current.d.ts +10 -0
- package/dist/commands/tasks/current.js +39 -0
- package/dist/commands/tasks/delete.d.ts +12 -0
- package/dist/commands/tasks/delete.js +45 -0
- package/dist/commands/tasks/descendants.d.ts +13 -0
- package/dist/commands/tasks/descendants.js +56 -0
- package/dist/commands/tasks/dri-plan.d.ts +12 -0
- package/dist/commands/tasks/dri-plan.js +40 -0
- package/dist/commands/tasks/dri-run.d.ts +12 -0
- package/dist/commands/tasks/dri-run.js +40 -0
- package/dist/commands/tasks/dri-status.d.ts +12 -0
- package/dist/commands/tasks/dri-status.js +50 -0
- package/dist/commands/tasks/duplicate-pipeline.d.ts +14 -0
- package/dist/commands/tasks/duplicate-pipeline.js +56 -0
- package/dist/commands/tasks/events/append.d.ts +19 -0
- package/dist/commands/tasks/events/append.js +59 -0
- package/dist/commands/tasks/events/list.d.ts +17 -0
- package/dist/commands/tasks/events/list.js +39 -0
- package/dist/commands/tasks/events/tail.d.ts +15 -0
- package/dist/commands/tasks/events/tail.js +45 -0
- package/dist/commands/tasks/execution-summary.d.ts +32 -0
- package/dist/commands/tasks/execution-summary.js +91 -0
- package/dist/commands/tasks/execution-timeline.d.ts +14 -0
- package/dist/commands/tasks/execution-timeline.js +65 -0
- package/dist/commands/tasks/export.d.ts +39 -0
- package/dist/commands/tasks/export.js +169 -0
- package/dist/commands/tasks/follow-up.d.ts +36 -0
- package/dist/commands/tasks/follow-up.js +181 -0
- package/dist/commands/tasks/forward.d.ts +14 -0
- package/dist/commands/tasks/forward.js +69 -0
- package/dist/commands/tasks/from-message.d.ts +19 -0
- package/dist/commands/tasks/from-message.js +51 -0
- package/dist/commands/tasks/import.d.ts +23 -0
- package/dist/commands/tasks/import.js +293 -0
- package/dist/commands/tasks/input/answer.d.ts +15 -0
- package/dist/commands/tasks/input/answer.js +71 -0
- package/dist/commands/tasks/input/dismiss.d.ts +12 -0
- package/dist/commands/tasks/input/dismiss.js +39 -0
- package/dist/commands/tasks/input/show.d.ts +11 -0
- package/dist/commands/tasks/input/show.js +39 -0
- package/dist/commands/tasks/interrupt.d.ts +19 -0
- package/dist/commands/tasks/interrupt.js +50 -0
- package/dist/commands/tasks/labels/attach.d.ts +25 -0
- package/dist/commands/tasks/labels/attach.js +78 -0
- package/dist/commands/tasks/labels/create.d.ts +12 -0
- package/dist/commands/tasks/labels/create.js +69 -0
- package/dist/commands/tasks/labels/delete.d.ts +12 -0
- package/dist/commands/tasks/labels/delete.js +43 -0
- package/dist/commands/tasks/labels/detach.d.ts +18 -0
- package/dist/commands/tasks/labels/detach.js +69 -0
- package/dist/commands/tasks/labels/list.d.ts +9 -0
- package/dist/commands/tasks/labels/list.js +48 -0
- package/dist/commands/tasks/list.d.ts +56 -0
- package/dist/commands/tasks/list.js +353 -0
- package/dist/commands/tasks/mark-duplicate.d.ts +12 -0
- package/dist/commands/tasks/mark-duplicate.js +35 -0
- package/dist/commands/tasks/monitor.d.ts +16 -0
- package/dist/commands/tasks/monitor.js +226 -0
- package/dist/commands/tasks/move.d.ts +33 -0
- package/dist/commands/tasks/move.js +166 -0
- package/dist/commands/tasks/open.d.ts +17 -0
- package/dist/commands/tasks/open.js +71 -0
- package/dist/commands/tasks/output.d.ts +24 -0
- package/dist/commands/tasks/output.js +186 -0
- package/dist/commands/tasks/pause-schedule.d.ts +12 -0
- package/dist/commands/tasks/pause-schedule.js +38 -0
- package/dist/commands/tasks/plan/add-subtask.d.ts +16 -0
- package/dist/commands/tasks/plan/add-subtask.js +47 -0
- package/dist/commands/tasks/plan/cancel.d.ts +13 -0
- package/dist/commands/tasks/plan/cancel.js +47 -0
- package/dist/commands/tasks/plan/create.d.ts +11 -0
- package/dist/commands/tasks/plan/create.js +28 -0
- package/dist/commands/tasks/plan/pause.d.ts +14 -0
- package/dist/commands/tasks/plan/pause.js +33 -0
- package/dist/commands/tasks/plan/reconcile.d.ts +12 -0
- package/dist/commands/tasks/plan/reconcile.js +29 -0
- package/dist/commands/tasks/plan/resume.d.ts +13 -0
- package/dist/commands/tasks/plan/resume.js +30 -0
- package/dist/commands/tasks/plan/retry.d.ts +13 -0
- package/dist/commands/tasks/plan/retry.js +34 -0
- package/dist/commands/tasks/plan/run-update.d.ts +17 -0
- package/dist/commands/tasks/plan/run-update.js +98 -0
- package/dist/commands/tasks/plan/run.d.ts +12 -0
- package/dist/commands/tasks/plan/run.js +33 -0
- package/dist/commands/tasks/plan/show.d.ts +11 -0
- package/dist/commands/tasks/plan/show.js +27 -0
- package/dist/commands/tasks/plan/start.d.ts +12 -0
- package/dist/commands/tasks/plan/start.js +30 -0
- package/dist/commands/tasks/plan/sync.d.ts +11 -0
- package/dist/commands/tasks/plan/sync.js +28 -0
- package/dist/commands/tasks/plan/update.d.ts +12 -0
- package/dist/commands/tasks/plan/update.js +51 -0
- package/dist/commands/tasks/pr.d.ts +12 -0
- package/dist/commands/tasks/pr.js +92 -0
- package/dist/commands/tasks/prompt-log.d.ts +12 -0
- package/dist/commands/tasks/prompt-log.js +42 -0
- package/dist/commands/tasks/ready.d.ts +15 -0
- package/dist/commands/tasks/ready.js +78 -0
- package/dist/commands/tasks/release.d.ts +12 -0
- package/dist/commands/tasks/release.js +47 -0
- package/dist/commands/tasks/remind.d.ts +14 -0
- package/dist/commands/tasks/remind.js +63 -0
- package/dist/commands/tasks/replay.d.ts +13 -0
- package/dist/commands/tasks/replay.js +61 -0
- package/dist/commands/tasks/report.d.ts +24 -0
- package/dist/commands/tasks/report.js +119 -0
- package/dist/commands/tasks/resume-schedule.d.ts +12 -0
- package/dist/commands/tasks/resume-schedule.js +38 -0
- package/dist/commands/tasks/retry-schedule.d.ts +13 -0
- package/dist/commands/tasks/retry-schedule.js +45 -0
- package/dist/commands/tasks/retry.d.ts +38 -0
- package/dist/commands/tasks/retry.js +110 -0
- package/dist/commands/tasks/revisions.d.ts +12 -0
- package/dist/commands/tasks/revisions.js +54 -0
- package/dist/commands/tasks/runs.d.ts +18 -0
- package/dist/commands/tasks/runs.js +82 -0
- package/dist/commands/tasks/schedule.d.ts +18 -0
- package/dist/commands/tasks/schedule.js +90 -0
- package/dist/commands/tasks/show.d.ts +14 -0
- package/dist/commands/tasks/show.js +220 -0
- package/dist/commands/tasks/skills/pin.d.ts +31 -0
- package/dist/commands/tasks/skills/pin.js +147 -0
- package/dist/commands/tasks/skills/unpin.d.ts +17 -0
- package/dist/commands/tasks/skills/unpin.js +121 -0
- package/dist/commands/tasks/snooze.d.ts +17 -0
- package/dist/commands/tasks/snooze.js +90 -0
- package/dist/commands/tasks/start-all.d.ts +13 -0
- package/dist/commands/tasks/start-all.js +63 -0
- package/dist/commands/tasks/start.d.ts +15 -0
- package/dist/commands/tasks/start.js +114 -0
- package/dist/commands/tasks/subscribe.d.ts +14 -0
- package/dist/commands/tasks/subscribe.js +64 -0
- package/dist/commands/tasks/tags/add.d.ts +21 -0
- package/dist/commands/tasks/tags/add.js +74 -0
- package/dist/commands/tasks/tags/remove.d.ts +17 -0
- package/dist/commands/tasks/tags/remove.js +68 -0
- package/dist/commands/tasks/templates/create.d.ts +19 -0
- package/dist/commands/tasks/templates/create.js +141 -0
- package/dist/commands/tasks/templates/delete.d.ts +12 -0
- package/dist/commands/tasks/templates/delete.js +44 -0
- package/dist/commands/tasks/templates/list.d.ts +10 -0
- package/dist/commands/tasks/templates/list.js +51 -0
- package/dist/commands/tasks/templates/reorder.d.ts +14 -0
- package/dist/commands/tasks/templates/reorder.js +40 -0
- package/dist/commands/tasks/templates/show.d.ts +12 -0
- package/dist/commands/tasks/templates/show.js +49 -0
- package/dist/commands/tasks/templates/update.d.ts +20 -0
- package/dist/commands/tasks/templates/update.js +123 -0
- package/dist/commands/tasks/timeline.d.ts +16 -0
- package/dist/commands/tasks/timeline.js +59 -0
- package/dist/commands/tasks/today.d.ts +12 -0
- package/dist/commands/tasks/today.js +66 -0
- package/dist/commands/tasks/transcript.d.ts +16 -0
- package/dist/commands/tasks/transcript.js +131 -0
- package/dist/commands/tasks/tree.d.ts +16 -0
- package/dist/commands/tasks/tree.js +87 -0
- package/dist/commands/tasks/triage.d.ts +23 -0
- package/dist/commands/tasks/triage.js +141 -0
- package/dist/commands/tasks/unschedule.d.ts +12 -0
- package/dist/commands/tasks/unschedule.js +38 -0
- package/dist/commands/tasks/unsnooze.d.ts +14 -0
- package/dist/commands/tasks/unsnooze.js +45 -0
- package/dist/commands/tasks/unsubscribe.d.ts +14 -0
- package/dist/commands/tasks/unsubscribe.js +58 -0
- package/dist/commands/tasks/update.d.ts +42 -0
- package/dist/commands/tasks/update.js +267 -0
- package/dist/commands/tasks/upsert.d.ts +26 -0
- package/dist/commands/tasks/upsert.js +215 -0
- package/dist/commands/tasks/wait.d.ts +19 -0
- package/dist/commands/tasks/wait.js +145 -0
- package/dist/commands/tasks/watch.d.ts +19 -0
- package/dist/commands/tasks/watch.js +121 -0
- package/dist/commands/tasks/workflow/approve-merge.d.ts +19 -0
- package/dist/commands/tasks/workflow/approve-merge.js +38 -0
- package/dist/commands/tasks/workflow/cancel.d.ts +19 -0
- package/dist/commands/tasks/workflow/cancel.js +57 -0
- package/dist/commands/tasks/workflow/e2e-complete.d.ts +24 -0
- package/dist/commands/tasks/workflow/e2e-complete.js +56 -0
- package/dist/commands/tasks/workflow/index.d.ts +19 -0
- package/dist/commands/tasks/workflow/index.js +37 -0
- package/dist/commands/tasks/workflow/retry-stage.d.ts +20 -0
- package/dist/commands/tasks/workflow/retry-stage.js +43 -0
- package/dist/commands/tasks/workflow/start.d.ts +13 -0
- package/dist/commands/tasks/workflow/start.js +32 -0
- package/dist/commands/tasks/workflow-await.d.ts +23 -0
- package/dist/commands/tasks/workflow-await.js +72 -0
- package/dist/commands/tasks/workflow-context.d.ts +21 -0
- package/dist/commands/tasks/workflow-context.js +114 -0
- package/dist/commands/tasks/workflow-findings.d.ts +23 -0
- package/dist/commands/tasks/workflow-findings.js +96 -0
- package/dist/commands/teams/list-channels.d.ts +11 -0
- package/dist/commands/teams/list-channels.js +14 -0
- package/dist/commands/teams/list-users.d.ts +12 -0
- package/dist/commands/teams/list-users.js +19 -0
- package/dist/commands/teams/read-channel.d.ts +13 -0
- package/dist/commands/teams/read-channel.js +20 -0
- package/dist/commands/teams/read-thread.d.ts +14 -0
- package/dist/commands/teams/read-thread.js +23 -0
- package/dist/commands/teams/run.d.ts +15 -0
- package/dist/commands/teams/run.js +17 -0
- package/dist/commands/teams/search.d.ts +13 -0
- package/dist/commands/teams/search.js +21 -0
- package/dist/commands/teams/send-as-agent.d.ts +16 -0
- package/dist/commands/teams/send-as-agent.js +23 -0
- package/dist/commands/teams/tools.d.ts +10 -0
- package/dist/commands/teams/tools.js +14 -0
- package/dist/commands/token/mint.d.ts +35 -0
- package/dist/commands/token/mint.js +131 -0
- package/dist/commands/tones/apply.d.ts +22 -0
- package/dist/commands/tones/apply.js +127 -0
- package/dist/commands/tones/create.d.ts +26 -0
- package/dist/commands/tones/create.js +109 -0
- package/dist/commands/tones/default.d.ts +21 -0
- package/dist/commands/tones/default.js +117 -0
- package/dist/commands/tones/delete.d.ts +20 -0
- package/dist/commands/tones/delete.js +55 -0
- package/dist/commands/tones/export.d.ts +28 -0
- package/dist/commands/tones/export.js +126 -0
- package/dist/commands/tones/import.d.ts +20 -0
- package/dist/commands/tones/import.js +167 -0
- package/dist/commands/tones/list.d.ts +16 -0
- package/dist/commands/tones/list.js +77 -0
- package/dist/commands/tones/policy/set.d.ts +25 -0
- package/dist/commands/tones/policy/set.js +134 -0
- package/dist/commands/tones/policy/show.d.ts +16 -0
- package/dist/commands/tones/policy/show.js +67 -0
- package/dist/commands/tones/show.d.ts +12 -0
- package/dist/commands/tones/show.js +64 -0
- package/dist/commands/tones/update.d.ts +25 -0
- package/dist/commands/tones/update.js +104 -0
- package/dist/commands/triggers/actions.d.ts +15 -0
- package/dist/commands/triggers/actions.js +64 -0
- package/dist/commands/triggers/audit.d.ts +19 -0
- package/dist/commands/triggers/audit.js +61 -0
- package/dist/commands/triggers/capabilities.d.ts +11 -0
- package/dist/commands/triggers/capabilities.js +48 -0
- package/dist/commands/triggers/create.d.ts +88 -0
- package/dist/commands/triggers/create.js +398 -0
- package/dist/commands/triggers/delete.d.ts +13 -0
- package/dist/commands/triggers/delete.js +51 -0
- package/dist/commands/triggers/disable.d.ts +11 -0
- package/dist/commands/triggers/disable.js +32 -0
- package/dist/commands/triggers/enable.d.ts +11 -0
- package/dist/commands/triggers/enable.js +32 -0
- package/dist/commands/triggers/event-catalog.d.ts +9 -0
- package/dist/commands/triggers/event-catalog.js +51 -0
- package/dist/commands/triggers/fire-detail.d.ts +13 -0
- package/dist/commands/triggers/fire-detail.js +51 -0
- package/dist/commands/triggers/fire.d.ts +13 -0
- package/dist/commands/triggers/fire.js +46 -0
- package/dist/commands/triggers/list.d.ts +15 -0
- package/dist/commands/triggers/list.js +50 -0
- package/dist/commands/triggers/parse-intent.d.ts +16 -0
- package/dist/commands/triggers/parse-intent.js +94 -0
- package/dist/commands/triggers/preflight.d.ts +30 -0
- package/dist/commands/triggers/preflight.js +142 -0
- package/dist/commands/triggers/prune.d.ts +29 -0
- package/dist/commands/triggers/prune.js +151 -0
- package/dist/commands/triggers/replay.d.ts +14 -0
- package/dist/commands/triggers/replay.js +51 -0
- package/dist/commands/triggers/rotate-secret.d.ts +12 -0
- package/dist/commands/triggers/rotate-secret.js +38 -0
- package/dist/commands/triggers/runs.d.ts +24 -0
- package/dist/commands/triggers/runs.js +60 -0
- package/dist/commands/triggers/show.d.ts +12 -0
- package/dist/commands/triggers/show.js +35 -0
- package/dist/commands/triggers/update.d.ts +73 -0
- package/dist/commands/triggers/update.js +249 -0
- package/dist/commands/usage.d.ts +14 -0
- package/dist/commands/usage.js +70 -0
- package/dist/commands/views/create.d.ts +26 -0
- package/dist/commands/views/create.js +115 -0
- package/dist/commands/views/delete.d.ts +12 -0
- package/dist/commands/views/delete.js +41 -0
- package/dist/commands/views/list.d.ts +8 -0
- package/dist/commands/views/list.js +44 -0
- package/dist/commands/views/show.d.ts +11 -0
- package/dist/commands/views/show.js +38 -0
- package/dist/commands/views/subscribe.d.ts +15 -0
- package/dist/commands/views/subscribe.js +44 -0
- package/dist/commands/views/subscriptions.d.ts +11 -0
- package/dist/commands/views/subscriptions.js +30 -0
- package/dist/commands/views/unsubscribe.d.ts +11 -0
- package/dist/commands/views/unsubscribe.js +27 -0
- package/dist/commands/views/update.d.ts +45 -0
- package/dist/commands/views/update.js +166 -0
- package/dist/commands/webhooks/create.d.ts +12 -0
- package/dist/commands/webhooks/create.js +57 -0
- package/dist/commands/webhooks/delete.d.ts +11 -0
- package/dist/commands/webhooks/delete.js +22 -0
- package/dist/commands/webhooks/deliveries.d.ts +12 -0
- package/dist/commands/webhooks/deliveries.js +24 -0
- package/dist/commands/webhooks/list.d.ts +10 -0
- package/dist/commands/webhooks/list.js +33 -0
- package/dist/commands/webhooks/test.d.ts +11 -0
- package/dist/commands/webhooks/test.js +24 -0
- package/dist/commands/whoami.d.ts +15 -0
- package/dist/commands/whoami.js +195 -0
- package/dist/commands/widgets/add.d.ts +13 -0
- package/dist/commands/widgets/add.js +64 -0
- package/dist/commands/widgets/list.d.ts +10 -0
- package/dist/commands/widgets/list.js +66 -0
- package/dist/commands/widgets/remove.d.ts +13 -0
- package/dist/commands/widgets/remove.js +46 -0
- package/dist/commands/widgets/reorder.d.ts +13 -0
- package/dist/commands/widgets/reorder.js +23 -0
- package/dist/commands/widgets/revert.d.ts +13 -0
- package/dist/commands/widgets/revert.js +25 -0
- package/dist/commands/widgets/show.d.ts +13 -0
- package/dist/commands/widgets/show.js +47 -0
- package/dist/commands/widgets/update.d.ts +15 -0
- package/dist/commands/widgets/update.js +53 -0
- package/dist/commands/widgets/versions.d.ts +13 -0
- package/dist/commands/widgets/versions.js +25 -0
- package/dist/commands/wiki/cat.d.ts +15 -0
- package/dist/commands/wiki/cat.js +52 -0
- package/dist/commands/wiki/ls.d.ts +14 -0
- package/dist/commands/wiki/ls.js +61 -0
- package/dist/commands/wiki/mkdir.d.ts +16 -0
- package/dist/commands/wiki/mkdir.js +48 -0
- package/dist/commands/wiki/mv.d.ts +38 -0
- package/dist/commands/wiki/mv.js +178 -0
- package/dist/commands/wiki/rm.d.ts +15 -0
- package/dist/commands/wiki/rm.js +96 -0
- package/dist/commands/wiki/rmdir.d.ts +15 -0
- package/dist/commands/wiki/rmdir.js +101 -0
- package/dist/commands/wiki/search.d.ts +14 -0
- package/dist/commands/wiki/search.js +53 -0
- package/dist/commands/wiki/tree.d.ts +13 -0
- package/dist/commands/wiki/tree.js +44 -0
- package/dist/commands/wiki/update.d.ts +27 -0
- package/dist/commands/wiki/update.js +94 -0
- package/dist/commands/wiki/write.d.ts +55 -0
- package/dist/commands/wiki/write.js +233 -0
- package/dist/commands/work-views/create.d.ts +31 -0
- package/dist/commands/work-views/create.js +84 -0
- package/dist/commands/work-views/delete.d.ts +13 -0
- package/dist/commands/work-views/delete.js +39 -0
- package/dist/commands/work-views/list.d.ts +8 -0
- package/dist/commands/work-views/list.js +29 -0
- package/dist/commands/work-views/result.d.ts +11 -0
- package/dist/commands/work-views/result.js +37 -0
- package/dist/commands/work-views/update.d.ts +15 -0
- package/dist/commands/work-views/update.js +62 -0
- package/dist/commands/worklog/list.d.ts +21 -0
- package/dist/commands/worklog/list.js +53 -0
- package/dist/commands/worklog/rm.d.ts +13 -0
- package/dist/commands/worklog/rm.js +32 -0
- package/dist/commands/worklog/save.d.ts +25 -0
- package/dist/commands/worklog/save.js +73 -0
- package/dist/commands/worklog/search.d.ts +14 -0
- package/dist/commands/worklog/search.js +37 -0
- package/dist/commands/worklog/show.d.ts +13 -0
- package/dist/commands/worklog/show.js +36 -0
- package/dist/commands/worklog/stats.d.ts +10 -0
- package/dist/commands/worklog/stats.js +26 -0
- package/dist/commands/worklog/update.d.ts +17 -0
- package/dist/commands/worklog/update.js +50 -0
- package/dist/commands/workspaces/attribution.d.ts +36 -0
- package/dist/commands/workspaces/attribution.js +88 -0
- package/dist/commands/workspaces/list.d.ts +9 -0
- package/dist/commands/workspaces/list.js +60 -0
- package/dist/commands/workspaces/use.d.ts +25 -0
- package/dist/commands/workspaces/use.js +93 -0
- package/dist/hooks/command-not-found.d.ts +3 -0
- package/dist/hooks/command-not-found.js +171 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +8 -0
- package/dist/lib/action-listings.d.ts +5 -0
- package/dist/lib/action-listings.js +70 -0
- package/dist/lib/agent-actions.d.ts +35 -0
- package/dist/lib/agent-actions.js +162 -0
- package/dist/lib/agent-config.d.ts +2 -0
- package/dist/lib/agent-config.js +52 -0
- package/dist/lib/agent-resolver.d.ts +50 -0
- package/dist/lib/agent-resolver.js +184 -0
- package/dist/lib/agent-scope.d.ts +21 -0
- package/dist/lib/agent-scope.js +33 -0
- package/dist/lib/agent-spaces.d.ts +34 -0
- package/dist/lib/agent-spaces.js +66 -0
- package/dist/lib/agent-thread.d.ts +22 -0
- package/dist/lib/agent-thread.js +51 -0
- package/dist/lib/agentic-stream.d.ts +107 -0
- package/dist/lib/agentic-stream.js +471 -0
- package/dist/lib/api-fetch.d.ts +47 -0
- package/dist/lib/api-fetch.js +248 -0
- package/dist/lib/assignee-resolver.d.ts +103 -0
- package/dist/lib/assignee-resolver.js +204 -0
- package/dist/lib/auth-core-init.d.ts +44 -0
- package/dist/lib/auth-core-init.js +289 -0
- package/dist/lib/auth-storage.d.ts +83 -0
- package/dist/lib/auth-storage.js +481 -0
- package/dist/lib/balance.d.ts +266 -0
- package/dist/lib/balance.js +242 -0
- package/dist/lib/builtinActions.d.ts +32 -0
- package/dist/lib/builtinActions.js +110 -0
- package/dist/lib/bulk-task-targets.d.ts +46 -0
- package/dist/lib/bulk-task-targets.js +81 -0
- package/dist/lib/capability-matrix.d.ts +59 -0
- package/dist/lib/capability-matrix.js +176 -0
- package/dist/lib/channel-command-runners.d.ts +22 -0
- package/dist/lib/channel-command-runners.js +294 -0
- package/dist/lib/channel-tools.d.ts +75 -0
- package/dist/lib/channel-tools.js +60 -0
- package/dist/lib/characters.d.ts +47 -0
- package/dist/lib/characters.js +31 -0
- package/dist/lib/cli-runtime.d.ts +14 -0
- package/dist/lib/cli-runtime.js +91 -0
- package/dist/lib/code-handover.d.ts +68 -0
- package/dist/lib/code-handover.js +96 -0
- package/dist/lib/command-hygiene.d.ts +34 -0
- package/dist/lib/command-hygiene.js +206 -0
- package/dist/lib/command-manifest.d.ts +33 -0
- package/dist/lib/command-manifest.js +85 -0
- package/dist/lib/commitment-analytics.d.ts +77 -0
- package/dist/lib/commitment-analytics.js +102 -0
- package/dist/lib/commitment-endpoints.d.ts +33 -0
- package/dist/lib/commitment-endpoints.js +65 -0
- package/dist/lib/commitment-terms.d.ts +45 -0
- package/dist/lib/commitment-terms.js +100 -0
- package/dist/lib/commitments.d.ts +492 -0
- package/dist/lib/commitments.js +889 -0
- package/dist/lib/compasses.d.ts +96 -0
- package/dist/lib/compasses.js +170 -0
- package/dist/lib/completion-index.d.ts +31 -0
- package/dist/lib/completion-index.js +169 -0
- package/dist/lib/completion-scripts.d.ts +10 -0
- package/dist/lib/completion-scripts.js +167 -0
- package/dist/lib/config.d.ts +156 -0
- package/dist/lib/config.js +343 -0
- package/dist/lib/cred-envelope.d.ts +17 -0
- package/dist/lib/cred-envelope.js +48 -0
- package/dist/lib/credential-resolver.d.ts +85 -0
- package/dist/lib/credential-resolver.js +164 -0
- package/dist/lib/daemonBroker.d.ts +255 -0
- package/dist/lib/daemonBroker.js +516 -0
- package/dist/lib/delegated-cli.d.ts +17 -0
- package/dist/lib/delegated-cli.js +102 -0
- package/dist/lib/device-code.d.ts +71 -0
- package/dist/lib/device-code.js +145 -0
- package/dist/lib/device-id.d.ts +14 -0
- package/dist/lib/device-id.js +27 -0
- package/dist/lib/device-identity.d.ts +7 -0
- package/dist/lib/device-identity.js +21 -0
- package/dist/lib/entity-embeds.d.ts +61 -0
- package/dist/lib/entity-embeds.js +130 -0
- package/dist/lib/entity-open.d.ts +61 -0
- package/dist/lib/entity-open.js +93 -0
- package/dist/lib/exec-oversky.d.ts +26 -0
- package/dist/lib/exec-oversky.js +181 -0
- package/dist/lib/execution-target.d.ts +28 -0
- package/dist/lib/execution-target.js +112 -0
- package/dist/lib/file-mime.d.ts +1 -0
- package/dist/lib/file-mime.js +104 -0
- package/dist/lib/format.d.ts +82 -0
- package/dist/lib/format.js +218 -0
- package/dist/lib/git-task.d.ts +25 -0
- package/dist/lib/git-task.js +137 -0
- package/dist/lib/github-tools.d.ts +12 -0
- package/dist/lib/github-tools.js +68 -0
- package/dist/lib/grants.d.ts +57 -0
- package/dist/lib/grants.js +77 -0
- package/dist/lib/group-chat-message.d.ts +142 -0
- package/dist/lib/group-chat-message.js +262 -0
- package/dist/lib/harness-tiers.d.ts +78 -0
- package/dist/lib/harness-tiers.js +121 -0
- package/dist/lib/harnesses.d.ts +138 -0
- package/dist/lib/harnesses.js +168 -0
- package/dist/lib/hosted-machines.d.ts +178 -0
- package/dist/lib/hosted-machines.js +283 -0
- package/dist/lib/http-error.d.ts +62 -0
- package/dist/lib/http-error.js +107 -0
- package/dist/lib/inbox.d.ts +63 -0
- package/dist/lib/inbox.js +97 -0
- package/dist/lib/ingress.d.ts +54 -0
- package/dist/lib/ingress.js +72 -0
- package/dist/lib/initiatives.d.ts +45 -0
- package/dist/lib/initiatives.js +67 -0
- package/dist/lib/instruction-input.d.ts +60 -0
- package/dist/lib/instruction-input.js +135 -0
- package/dist/lib/integrations-helpers.d.ts +15 -0
- package/dist/lib/integrations-helpers.js +29 -0
- package/dist/lib/keychain.d.ts +45 -0
- package/dist/lib/keychain.js +318 -0
- package/dist/lib/label-scope.d.ts +40 -0
- package/dist/lib/label-scope.js +64 -0
- package/dist/lib/login.d.ts +78 -0
- package/dist/lib/login.js +495 -0
- package/dist/lib/machines.d.ts +131 -0
- package/dist/lib/machines.js +93 -0
- package/dist/lib/measures.d.ts +59 -0
- package/dist/lib/measures.js +95 -0
- package/dist/lib/memory-scope.d.ts +38 -0
- package/dist/lib/memory-scope.js +82 -0
- package/dist/lib/memory-workspace-guidance.d.ts +12 -0
- package/dist/lib/memory-workspace-guidance.js +16 -0
- package/dist/lib/message-content.d.ts +17 -0
- package/dist/lib/message-content.js +60 -0
- package/dist/lib/message-intent.d.ts +166 -0
- package/dist/lib/message-intent.js +287 -0
- package/dist/lib/migrate.d.ts +21 -0
- package/dist/lib/migrate.js +118 -0
- package/dist/lib/node-adapter.d.ts +50 -0
- package/dist/lib/node-adapter.js +365 -0
- package/dist/lib/non-json-response.d.ts +49 -0
- package/dist/lib/non-json-response.js +70 -0
- package/dist/lib/northstars.d.ts +73 -0
- package/dist/lib/northstars.js +278 -0
- package/dist/lib/oauthLogin.d.ts +111 -0
- package/dist/lib/oauthLogin.js +427 -0
- package/dist/lib/outbox.d.ts +110 -0
- package/dist/lib/outbox.js +423 -0
- package/dist/lib/proactiveApi.d.ts +257 -0
- package/dist/lib/proactiveApi.js +38 -0
- package/dist/lib/projects.d.ts +293 -0
- package/dist/lib/projects.js +519 -0
- package/dist/lib/prompt.d.ts +55 -0
- package/dist/lib/prompt.js +181 -0
- package/dist/lib/publicEndpoints.generated.d.ts +10 -0
- package/dist/lib/publicEndpoints.generated.js +15 -0
- package/dist/lib/quota-render.d.ts +61 -0
- package/dist/lib/quota-render.js +189 -0
- package/dist/lib/reflection.d.ts +57 -0
- package/dist/lib/reflection.js +140 -0
- package/dist/lib/refresh.d.ts +79 -0
- package/dist/lib/refresh.js +237 -0
- package/dist/lib/runtime-context.d.ts +75 -0
- package/dist/lib/runtime-context.js +158 -0
- package/dist/lib/runtime-grants.d.ts +53 -0
- package/dist/lib/runtime-grants.js +47 -0
- package/dist/lib/schedule.d.ts +223 -0
- package/dist/lib/schedule.js +193 -0
- package/dist/lib/session-task-endpoints.d.ts +50 -0
- package/dist/lib/session-task-endpoints.js +108 -0
- package/dist/lib/shell-quote.d.ts +26 -0
- package/dist/lib/shell-quote.js +42 -0
- package/dist/lib/skill-library.d.ts +10 -0
- package/dist/lib/skill-library.js +16 -0
- package/dist/lib/sky-code-agent.d.ts +160 -0
- package/dist/lib/sky-code-agent.js +417 -0
- package/dist/lib/sky-code-broker.d.ts +226 -0
- package/dist/lib/sky-code-broker.js +1148 -0
- package/dist/lib/sky-code-doctor.d.ts +42 -0
- package/dist/lib/sky-code-doctor.js +554 -0
- package/dist/lib/sky-code-managed.d.ts +179 -0
- package/dist/lib/sky-code-managed.js +354 -0
- package/dist/lib/sky-code.d.ts +240 -0
- package/dist/lib/sky-code.js +410 -0
- package/dist/lib/slack-tools.d.ts +97 -0
- package/dist/lib/slack-tools.js +47 -0
- package/dist/lib/space-argument.d.ts +32 -0
- package/dist/lib/space-argument.js +43 -0
- package/dist/lib/space-members.d.ts +7 -0
- package/dist/lib/space-members.js +39 -0
- package/dist/lib/space-output.d.ts +28 -0
- package/dist/lib/space-output.js +103 -0
- package/dist/lib/space-resolver.d.ts +86 -0
- package/dist/lib/space-resolver.js +181 -0
- package/dist/lib/space-room.d.ts +65 -0
- package/dist/lib/space-room.js +138 -0
- package/dist/lib/space-templates.d.ts +122 -0
- package/dist/lib/space-templates.js +256 -0
- package/dist/lib/ssh-detect.d.ts +29 -0
- package/dist/lib/ssh-detect.js +44 -0
- package/dist/lib/task-execution.d.ts +90 -0
- package/dist/lib/task-execution.js +329 -0
- package/dist/lib/task-extras.d.ts +78 -0
- package/dist/lib/task-extras.js +100 -0
- package/dist/lib/task-instruction-offer.d.ts +5 -0
- package/dist/lib/task-instruction-offer.js +116 -0
- package/dist/lib/task-plan-output.d.ts +6 -0
- package/dist/lib/task-plan-output.js +28 -0
- package/dist/lib/task-pr.d.ts +11 -0
- package/dist/lib/task-pr.js +11 -0
- package/dist/lib/task-ref-resolver.d.ts +59 -0
- package/dist/lib/task-ref-resolver.js +133 -0
- package/dist/lib/task-report.d.ts +16 -0
- package/dist/lib/task-report.js +71 -0
- package/dist/lib/task-resolver.d.ts +45 -0
- package/dist/lib/task-resolver.js +127 -0
- package/dist/lib/task-transcript.d.ts +82 -0
- package/dist/lib/task-transcript.js +201 -0
- package/dist/lib/task-transfer.d.ts +42 -0
- package/dist/lib/task-transfer.js +311 -0
- package/dist/lib/task-tree.d.ts +23 -0
- package/dist/lib/task-tree.js +152 -0
- package/dist/lib/task-view-render.d.ts +71 -0
- package/dist/lib/task-view-render.js +125 -0
- package/dist/lib/tasks.d.ts +195 -0
- package/dist/lib/tasks.js +714 -0
- package/dist/lib/telephony-call.d.ts +36 -0
- package/dist/lib/telephony-call.js +37 -0
- package/dist/lib/tone-input.d.ts +48 -0
- package/dist/lib/tone-input.js +187 -0
- package/dist/lib/tone-workspace.d.ts +13 -0
- package/dist/lib/tone-workspace.js +43 -0
- package/dist/lib/triggers.d.ts +422 -0
- package/dist/lib/triggers.js +920 -0
- package/dist/lib/update-check.d.ts +31 -0
- package/dist/lib/update-check.js +233 -0
- package/dist/lib/usage-discovery.d.ts +75 -0
- package/dist/lib/usage-discovery.js +227 -0
- package/dist/lib/view-subscriptions.d.ts +32 -0
- package/dist/lib/view-subscriptions.js +61 -0
- package/dist/lib/views/vocabulary.d.ts +8 -0
- package/dist/lib/views/vocabulary.js +23 -0
- package/dist/lib/voice-call-intent.d.ts +65 -0
- package/dist/lib/voice-call-intent.js +106 -0
- package/dist/lib/warnings.d.ts +23 -0
- package/dist/lib/warnings.js +24 -0
- package/dist/lib/web-url.d.ts +176 -0
- package/dist/lib/web-url.js +358 -0
- package/dist/lib/wiki-update.d.ts +29 -0
- package/dist/lib/wiki-update.js +49 -0
- package/dist/lib/wiki.d.ts +53 -0
- package/dist/lib/wiki.js +146 -0
- package/dist/lib/workflow-templates.d.ts +145 -0
- package/dist/lib/workflow-templates.js +571 -0
- package/dist/lib/worklogs.d.ts +52 -0
- package/dist/lib/worklogs.js +100 -0
- package/dist/lib/workspace-header.d.ts +22 -0
- package/dist/lib/workspace-header.js +41 -0
- package/dist/lib/workspace-transfer.d.ts +20 -0
- package/dist/lib/workspace-transfer.js +11 -0
- package/dist/lib/workspaces.d.ts +75 -0
- package/dist/lib/workspaces.js +111 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/aead.d.ts +24 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/aead.js +65 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/authExpiredDetector.d.ts +65 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/authExpiredDetector.js +89 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/authHelper.d.ts +51 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/authHelper.js +321 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/credentialEnvelope.d.ts +85 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/credentialEnvelope.js +230 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/credentialEnvelopeBridge.d.ts +116 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/credentialEnvelopeBridge.js +637 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/credentialResolver.d.ts +278 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/credentialResolver.js +423 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/daemonPair.d.ts +172 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/daemonPair.js +495 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/daemonScopes.d.ts +74 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/daemonScopes.js +84 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/deviceIdentityBridge.d.ts +113 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/deviceIdentityBridge.js +591 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/deviceKey.d.ts +167 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/deviceKey.js +332 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/fdToken.d.ts +17 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/fdToken.js +238 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/harnessTrust.d.ts +72 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/harnessTrust.js +103 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/headers-helper.d.ts +25 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/headers-helper.js +323 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/index.d.ts +37 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/index.js +305 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/jwtUtils.d.ts +35 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/jwtUtils.js +61 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/index.d.ts +89 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/index.js +208 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/linux.d.ts +92 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/linux.js +596 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/macos.d.ts +112 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/macos.js +599 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/types.d.ts +111 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/types.js +43 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/windows.d.ts +71 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/windows.js +350 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/zeroize-registry.d.ts +44 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/zeroize-registry.js +63 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/legacyStatePreflight.d.ts +67 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/legacyStatePreflight.js +78 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/localIdentity.d.ts +54 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/localIdentity.js +57 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/loginLocalhost.d.ts +115 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/loginLocalhost.js +368 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/loginWithLocalhost.d.ts +131 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/loginWithLocalhost.js +359 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/machineId.d.ts +35 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/machineId.js +239 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/messages.d.ts +9 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/messages.js +44 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/package.json +3 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/pkce.d.ts +62 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/pkce.js +158 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/recoveryCode.d.ts +61 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/recoveryCode.js +213 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/refresh.d.ts +215 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/refresh.js +877 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/refreshClassification.d.ts +53 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/refreshClassification.js +105 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/refreshScheduler.d.ts +53 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/refreshScheduler.js +332 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/runtime.d.ts +149 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/runtime.js +136 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/spawnEnv.d.ts +76 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/spawnEnv.js +153 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/ttlParser.d.ts +54 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/ttlParser.js +87 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/types.d.ts +91 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/types.js +26 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/aead.d.ts +24 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/aead.js +57 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/authExpiredDetector.d.ts +65 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/authExpiredDetector.js +85 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/authHelper.d.ts +51 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/authHelper.js +311 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/credentialEnvelope.d.ts +85 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/credentialEnvelope.js +213 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/credentialEnvelopeBridge.d.ts +116 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/credentialEnvelopeBridge.js +620 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/credentialResolver.d.ts +278 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/credentialResolver.js +414 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/daemonPair.d.ts +172 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/daemonPair.js +476 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/daemonScopes.d.ts +74 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/daemonScopes.js +80 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/deviceIdentityBridge.d.ts +113 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/deviceIdentityBridge.js +572 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/deviceKey.d.ts +167 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/deviceKey.js +320 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/fdToken.d.ts +17 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/fdToken.js +231 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/harnessTrust.d.ts +72 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/harnessTrust.js +97 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/headers-helper.d.ts +25 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/headers-helper.js +316 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/index.d.ts +37 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/index.js +144 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/jwtUtils.d.ts +35 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/jwtUtils.js +57 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/index.d.ts +89 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/index.js +162 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/linux.d.ts +92 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/linux.js +585 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/macos.d.ts +112 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/macos.js +586 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/types.d.ts +111 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/types.js +39 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/windows.d.ts +71 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/windows.js +344 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/zeroize-registry.d.ts +44 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/zeroize-registry.js +58 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/legacyStatePreflight.d.ts +67 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/legacyStatePreflight.js +71 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/localIdentity.d.ts +54 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/localIdentity.js +54 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/loginLocalhost.d.ts +115 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/loginLocalhost.js +355 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/loginWithLocalhost.d.ts +131 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/loginWithLocalhost.js +353 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/machineId.d.ts +35 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/machineId.js +231 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/messages.d.ts +9 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/messages.js +40 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/pkce.d.ts +62 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/pkce.js +148 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/recoveryCode.d.ts +61 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/recoveryCode.js +207 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/refresh.d.ts +215 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/refresh.js +863 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/refreshClassification.d.ts +53 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/refreshClassification.js +106 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/refreshScheduler.d.ts +53 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/refreshScheduler.js +329 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/runtime.d.ts +149 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/runtime.js +121 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/spawnEnv.d.ts +76 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/spawnEnv.js +149 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/ttlParser.d.ts +54 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/ttlParser.js +83 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/types.d.ts +91 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/types.js +21 -0
- package/dist/node_modules/@skrr-ai/auth-core/package.json +33 -0
- package/dist/node_modules/@skrr-ai/data-provider/index.js +47601 -0
- package/dist/node_modules/@skrr-ai/data-provider/package.json +9 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/cjs/contract.d.ts +212 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/cjs/contract.js +150 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/cjs/index.d.ts +57 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/cjs/index.js +89 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/cjs/loopback-server.d.ts +70 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/cjs/loopback-server.js +216 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/cjs/managed-inference-broker.d.ts +226 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/cjs/managed-inference-broker.js +1063 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/cjs/managed-inference-renewal.d.ts +251 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/cjs/managed-inference-renewal.js +294 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/cjs/package.json +3 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/esm/contract.d.ts +212 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/esm/contract.js +146 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/esm/index.d.ts +57 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/esm/index.js +60 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/esm/loopback-server.d.ts +70 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/esm/loopback-server.js +212 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/esm/managed-inference-broker.d.ts +226 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/esm/managed-inference-broker.js +1054 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/esm/managed-inference-renewal.d.ts +251 -0
- package/dist/node_modules/@skrr-ai/inference-broker/dist/esm/managed-inference-renewal.js +289 -0
- package/dist/node_modules/@skrr-ai/inference-broker/package.json +19 -0
- package/oclif.manifest.json +76131 -0
- package/package.json +426 -0
|
@@ -0,0 +1,1054 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* First-party managed-inference broker for skrr Code.
|
|
3
|
+
*
|
|
4
|
+
* A LiteLLM virtual key is still a bearer capability. Delivering it through
|
|
5
|
+
* an ACP child's environment would make it available to the harness, its
|
|
6
|
+
* descendants, crash dumps, and the default wrapper's serialized request.
|
|
7
|
+
* For the first-party runtime the server retains that key behind an
|
|
8
|
+
* authenticated public relay. The daemon exposes a per-session Unix loopback
|
|
9
|
+
* endpoint, and the child receives only a random secret usable against that
|
|
10
|
+
* endpoint while it is alive.
|
|
11
|
+
*/
|
|
12
|
+
import { randomBytes, timingSafeEqual } from 'node:crypto';
|
|
13
|
+
import { chmodSync, mkdtempSync, rmSync } from 'node:fs';
|
|
14
|
+
import { join } from 'node:path';
|
|
15
|
+
import { ModelProxyLoopbackServer } from './loopback-server.js';
|
|
16
|
+
import { MODEL_PROXY_ERROR, ModelProxyError } from './contract.js';
|
|
17
|
+
import { startRenewalLoop, } from './managed-inference-renewal.js';
|
|
18
|
+
// A synthetic origin is required by URL-oriented provider SDKs. skrr Code pairs
|
|
19
|
+
// it with OVERSKY_INFERENCE_BROKER_SOCKET and Bun's `fetch({ unix })`; it is
|
|
20
|
+
// never resolved through DNS or connected over TCP.
|
|
21
|
+
/**
|
|
22
|
+
* OSK-3893 — reserved local path the engine reads for its managed-session readout.
|
|
23
|
+
*
|
|
24
|
+
* Deliberately outside the provider dialects (`/v1/...`) the broker forwards, so it
|
|
25
|
+
* can never collide with a real upstream route, and deliberately prefixed
|
|
26
|
+
* `/oversky/` so a reader of a request log can tell platform traffic from provider
|
|
27
|
+
* traffic at a glance.
|
|
28
|
+
*/
|
|
29
|
+
export const MANAGED_STATUS_PATH = '/oversky/managed-status';
|
|
30
|
+
export const INFERENCE_BROKER_ORIGIN = 'http://oversky-inference-broker.invalid';
|
|
31
|
+
export const INFERENCE_BROKER_SOCKET_ENV = 'OVERSKY_INFERENCE_BROKER_SOCKET';
|
|
32
|
+
export const MANAGED_SESSION_ENV = 'OVERSKY_MANAGED_SESSION';
|
|
33
|
+
export const MANAGED_PROMPT_CACHING_ENV = 'OVERSKY_MANAGED_PROMPT_CACHING';
|
|
34
|
+
const ALLOWED_PATHS = new Set([
|
|
35
|
+
'/v1/messages',
|
|
36
|
+
'/messages',
|
|
37
|
+
'/v1/chat/completions',
|
|
38
|
+
'/chat/completions',
|
|
39
|
+
'/v1/responses',
|
|
40
|
+
'/responses',
|
|
41
|
+
]);
|
|
42
|
+
const ANTHROPIC_ALLOWED_PATHS = new Set([
|
|
43
|
+
'/v1/messages',
|
|
44
|
+
'/messages',
|
|
45
|
+
'/v1/chat/completions',
|
|
46
|
+
'/chat/completions',
|
|
47
|
+
]);
|
|
48
|
+
const OPENAI_COMPATIBLE_CHAT_PATHS = new Set(['/v1/chat/completions', '/chat/completions']);
|
|
49
|
+
const FORWARDED_HEADERS = new Set([
|
|
50
|
+
'accept',
|
|
51
|
+
'content-type',
|
|
52
|
+
'anthropic-version',
|
|
53
|
+
'anthropic-beta',
|
|
54
|
+
'user-agent',
|
|
55
|
+
]);
|
|
56
|
+
function nonEmpty(value) {
|
|
57
|
+
return typeof value === 'string' && value.trim().length > 0 ? value.trim() : null;
|
|
58
|
+
}
|
|
59
|
+
export function managedClientModelId(scope) {
|
|
60
|
+
// skrr Code deliberately exposes managed Bedrock as a synthetic `bedrock`
|
|
61
|
+
// provider so the child cannot instantiate the native AWS SDK or discover
|
|
62
|
+
// ambient AWS credentials. The API-facing selector remains the canonical
|
|
63
|
+
// `amazon-bedrock/<inference-profile>` id for admission and accounting, but
|
|
64
|
+
// the ACP model handshake must use the exact synthetic alias that the
|
|
65
|
+
// validated lease already binds to.
|
|
66
|
+
if (scope.upstreamProvider === 'bedrock' && scope.gatewayModelAlias.startsWith('bedrock/')) {
|
|
67
|
+
return scope.gatewayModelAlias;
|
|
68
|
+
}
|
|
69
|
+
return scope.harnessModelId;
|
|
70
|
+
}
|
|
71
|
+
/** True only for a concrete gateway descriptor; raw provider keys never enter this broker. */
|
|
72
|
+
export function isGatewayCredential(value) {
|
|
73
|
+
if (!value || typeof value !== 'object')
|
|
74
|
+
return false;
|
|
75
|
+
const credential = value;
|
|
76
|
+
return Boolean(nonEmpty(credential.baseUrl) && nonEmpty(credential.authToken));
|
|
77
|
+
}
|
|
78
|
+
export function isManagedInferenceModelScope(value) {
|
|
79
|
+
if (!value || typeof value !== 'object')
|
|
80
|
+
return false;
|
|
81
|
+
const scope = value;
|
|
82
|
+
return Boolean(scope.version === 1 &&
|
|
83
|
+
nonEmpty(scope.harnessModelId) &&
|
|
84
|
+
nonEmpty(scope.upstreamProvider) &&
|
|
85
|
+
nonEmpty(scope.gatewayModelAlias) &&
|
|
86
|
+
nonEmpty(scope.wireModel) === nonEmpty(scope.gatewayModelAlias) &&
|
|
87
|
+
nonEmpty(scope.policyVersion) &&
|
|
88
|
+
nonEmpty(scope.reservationId) &&
|
|
89
|
+
isManagedRequestEnvelope(scope.requestEnvelope) &&
|
|
90
|
+
isManagedInputTokenAccounting(scope.inputTokenAccounting) &&
|
|
91
|
+
managedAccountingMatchesProvider(scope.upstreamProvider, scope.inputTokenAccounting));
|
|
92
|
+
}
|
|
93
|
+
function isManagedInputTokenAccounting(value) {
|
|
94
|
+
if (!value || typeof value !== 'object')
|
|
95
|
+
return false;
|
|
96
|
+
const accounting = value;
|
|
97
|
+
return Boolean(accounting.version === 1 &&
|
|
98
|
+
accounting.mode === 'server_authoritative' &&
|
|
99
|
+
['openai_o200k_json_v1', 'utf8_bytes_json_v1'].includes(String(accounting.algorithm)));
|
|
100
|
+
}
|
|
101
|
+
function managedAccountingMatchesProvider(upstreamProvider, accounting) {
|
|
102
|
+
return ((upstreamProvider === 'openai' && accounting.algorithm === 'openai_o200k_json_v1') ||
|
|
103
|
+
(['anthropic', 'openrouter', 'bedrock'].includes(String(upstreamProvider)) &&
|
|
104
|
+
accounting.algorithm === 'utf8_bytes_json_v1'));
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Build the public, session-scoped OverSky relay from a non-secret server
|
|
108
|
+
* model contract. Current servers never deliver a LiteLLM virtual key to the
|
|
109
|
+
* daemon. The explicit return shape also discards any legacy `authToken` that
|
|
110
|
+
* an older server might include, while the public relay authenticates the
|
|
111
|
+
* already-issued `agst_` claim and retrieves the virtual key server-side.
|
|
112
|
+
*/
|
|
113
|
+
export function buildManagedInferenceRelayCredential(credential, options) {
|
|
114
|
+
const sessionId = nonEmpty(options.sessionId);
|
|
115
|
+
const sessionToken = nonEmpty(options.sessionToken);
|
|
116
|
+
if (!sessionId || !sessionToken?.startsWith('agst_')) {
|
|
117
|
+
throw new Error('managed inference relay requires a session-scoped capability');
|
|
118
|
+
}
|
|
119
|
+
let base;
|
|
120
|
+
try {
|
|
121
|
+
base = new URL(options.serverUrl);
|
|
122
|
+
}
|
|
123
|
+
catch {
|
|
124
|
+
throw new Error('managed inference relay requires a valid OverSky server URL');
|
|
125
|
+
}
|
|
126
|
+
if (base.protocol !== 'https:' || base.username || base.password || base.search || base.hash) {
|
|
127
|
+
throw new Error('managed inference relay requires an authenticated HTTPS OverSky server');
|
|
128
|
+
}
|
|
129
|
+
base.pathname = `/api/agentic/sessions/${encodeURIComponent(sessionId)}/inference`;
|
|
130
|
+
return {
|
|
131
|
+
source: 'gateway-relay',
|
|
132
|
+
...(credential.modelScope ? { modelScope: credential.modelScope } : {}),
|
|
133
|
+
baseUrl: base.toString().replace(/\/$/, ''),
|
|
134
|
+
authToken: sessionToken,
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Start the daemon-local, request-envelope-constrained proxy.
|
|
139
|
+
*
|
|
140
|
+
* skrr Code is a multi-provider ACP runtime, so the child receives each dialect
|
|
141
|
+
* it may select: OpenAI/OpenRouter and Anthropic. Every credential variable
|
|
142
|
+
* contains the same daemon-local relay secret, never the LiteLLM virtual key.
|
|
143
|
+
* The first-party engine must use one of these supplied base URLs for managed
|
|
144
|
+
* execution; a failure to do so becomes an auth failure rather than a
|
|
145
|
+
* direct-provider fallback.
|
|
146
|
+
*/
|
|
147
|
+
export async function startManagedInferenceBroker(options) {
|
|
148
|
+
const gatewayBase = nonEmpty(options.credential.baseUrl);
|
|
149
|
+
const gatewayKey = nonEmpty(options.credential.authToken);
|
|
150
|
+
const modelScope = isManagedInferenceModelScope(options.modelScope) ? options.modelScope : null;
|
|
151
|
+
const legacyModel = nonEmpty(options.model);
|
|
152
|
+
if (!gatewayBase || !gatewayKey || (!modelScope && !legacyModel)) {
|
|
153
|
+
throw new Error('managed inference broker requires gateway base URL, virtual key, and resolved model');
|
|
154
|
+
}
|
|
155
|
+
let origin;
|
|
156
|
+
try {
|
|
157
|
+
origin = new URL(gatewayBase).origin;
|
|
158
|
+
}
|
|
159
|
+
catch {
|
|
160
|
+
throw new Error('managed inference broker received an invalid gateway base URL');
|
|
161
|
+
}
|
|
162
|
+
// 256-bit random, local-only bearer. It is meaningful solely to the
|
|
163
|
+
// loopback server and dies with this object; it is not accepted by LiteLLM.
|
|
164
|
+
let relayToken = randomBytes(32).toString('base64url');
|
|
165
|
+
let upstreamKey = gatewayKey;
|
|
166
|
+
/**
|
|
167
|
+
* OSK-3901 — the lease renewal heartbeat, armed below once the session is up.
|
|
168
|
+
*
|
|
169
|
+
* Declared here so `stop()` can cancel it. Assigned rather than constructed
|
|
170
|
+
* inline because a lease with no renewal policy must produce NO loop at all
|
|
171
|
+
* (see `renewalWindowMs`), and an always-armed timer that immediately gives up
|
|
172
|
+
* is harder to reason about than an absent one.
|
|
173
|
+
*/
|
|
174
|
+
let renewal = null;
|
|
175
|
+
/**
|
|
176
|
+
* OSK-3893 — the readout state, updated only from renewal responses.
|
|
177
|
+
*
|
|
178
|
+
* `expiresAtMs` is stored as an ABSOLUTE instant rather than a remaining
|
|
179
|
+
* duration: a duration recorded once and read later is wrong by however long the
|
|
180
|
+
* gap was, and a countdown that lies about the time left is worse than no
|
|
181
|
+
* countdown.
|
|
182
|
+
*/
|
|
183
|
+
const status = {
|
|
184
|
+
expiresAtMs: options.leaseExpiresInMs && options.leaseExpiresInMs > 0
|
|
185
|
+
? Date.now() + options.leaseExpiresInMs
|
|
186
|
+
: null,
|
|
187
|
+
spendUsd: null,
|
|
188
|
+
authorizedUsd: null,
|
|
189
|
+
renewals: 0,
|
|
190
|
+
};
|
|
191
|
+
const statusResponse = () => {
|
|
192
|
+
const payload = {
|
|
193
|
+
managed: true,
|
|
194
|
+
expiresInMs: status.expiresAtMs == null ? null : Math.max(0, status.expiresAtMs - Date.now()),
|
|
195
|
+
spendUsd: status.spendUsd,
|
|
196
|
+
authorizedUsd: status.authorizedUsd,
|
|
197
|
+
...(status.budgetState ? { budgetState: status.budgetState } : {}),
|
|
198
|
+
renewals: status.renewals,
|
|
199
|
+
...(status.stopped ? { stopped: status.stopped } : {}),
|
|
200
|
+
};
|
|
201
|
+
const encoded = new TextEncoder().encode(JSON.stringify(payload));
|
|
202
|
+
return {
|
|
203
|
+
status: 200,
|
|
204
|
+
headers: { 'content-type': 'application/json', 'cache-control': 'no-store' },
|
|
205
|
+
body: (async function* () {
|
|
206
|
+
yield encoded;
|
|
207
|
+
})(),
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
const fetchImpl = options.fetchImpl ?? ((url, init) => fetch(url, init));
|
|
211
|
+
const envelope = modelScope?.requestEnvelope ?? null;
|
|
212
|
+
let activeRequests = 0;
|
|
213
|
+
let totalRequests = 0;
|
|
214
|
+
const requestStarts = [];
|
|
215
|
+
const acquireRequestSlot = () => {
|
|
216
|
+
if (!envelope)
|
|
217
|
+
return () => { };
|
|
218
|
+
const now = Date.now();
|
|
219
|
+
while (requestStarts.length > 0 && requestStarts[0] <= now - 60_000)
|
|
220
|
+
requestStarts.shift();
|
|
221
|
+
if (activeRequests >= envelope.maxConcurrentRequests ||
|
|
222
|
+
totalRequests >= envelope.maxTotalRequests ||
|
|
223
|
+
requestStarts.length >= envelope.maxRequestsPerMinute) {
|
|
224
|
+
rejectManagedRequest('managed inference broker request rate or concurrency envelope exceeded');
|
|
225
|
+
}
|
|
226
|
+
activeRequests += 1;
|
|
227
|
+
totalRequests += 1;
|
|
228
|
+
requestStarts.push(now);
|
|
229
|
+
let released = false;
|
|
230
|
+
return () => {
|
|
231
|
+
if (released)
|
|
232
|
+
return;
|
|
233
|
+
released = true;
|
|
234
|
+
activeRequests -= 1;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
/**
|
|
238
|
+
* Copy the server's money figures off a relayed response into the status this
|
|
239
|
+
* broker serves.
|
|
240
|
+
*
|
|
241
|
+
* Absent headers change nothing. An older API sends none, and a status that
|
|
242
|
+
* kept its last known figures is strictly better than one that resets them to
|
|
243
|
+
* null every time a request comes back from a server that does not speak this.
|
|
244
|
+
*/
|
|
245
|
+
const readBudgetHeaders = (headers) => {
|
|
246
|
+
const verdict = headers.get('x-oversky-budget-state');
|
|
247
|
+
if (verdict === 'ok' || verdict === 'warn' || verdict === 'exhausted') {
|
|
248
|
+
status.budgetState = verdict;
|
|
249
|
+
}
|
|
250
|
+
// Parsed through a helper because `Number(null)` is 0 and 0 is finite — so a
|
|
251
|
+
// MISSING header read as "the session has spent nothing", which is the one
|
|
252
|
+
// wrong answer that looks reassuring. It also silently overwrote a real
|
|
253
|
+
// figure with zero on every response from a server that does not send these.
|
|
254
|
+
const usd = (name) => {
|
|
255
|
+
const raw = headers.get(name);
|
|
256
|
+
if (raw === null || raw.trim() === '')
|
|
257
|
+
return null;
|
|
258
|
+
const value = Number(raw);
|
|
259
|
+
return Number.isFinite(value) ? value : null;
|
|
260
|
+
};
|
|
261
|
+
const settled = usd('x-oversky-session-settled-usd');
|
|
262
|
+
if (settled !== null)
|
|
263
|
+
status.spendUsd = settled;
|
|
264
|
+
const authorized = usd('x-oversky-session-authorized-usd');
|
|
265
|
+
if (authorized !== null && authorized > 0)
|
|
266
|
+
status.authorizedUsd = authorized;
|
|
267
|
+
};
|
|
268
|
+
const forwarder = {
|
|
269
|
+
forward: async (request, { signal }) => {
|
|
270
|
+
// OSK-3893 (I5) — the supervised-session readout, answered LOCALLY.
|
|
271
|
+
//
|
|
272
|
+
// Intercepted here rather than added to the loopback server, so the
|
|
273
|
+
// transport keeps exactly one job (authenticate, read, forward) and the
|
|
274
|
+
// reserved path cannot be reached without the relay token that already
|
|
275
|
+
// guards every inference call.
|
|
276
|
+
//
|
|
277
|
+
// It consumes no request slot and never leaves the machine: the numbers were
|
|
278
|
+
// already fetched by the renewal heartbeat, which is a round-trip on the
|
|
279
|
+
// cadence a human readout wants anyway. A second polling surface would have
|
|
280
|
+
// been a second thing to authorize and revoke.
|
|
281
|
+
if (request.path === MANAGED_STATUS_PATH) {
|
|
282
|
+
return statusResponse();
|
|
283
|
+
}
|
|
284
|
+
const releaseSlot = acquireRequestSlot();
|
|
285
|
+
const url = resolveGatewayUrl(gatewayBase, origin, request.path);
|
|
286
|
+
try {
|
|
287
|
+
const body = assertApprovedEnvelope(request.method, request.path, request.body, modelScope, legacyModel);
|
|
288
|
+
const headers = new Headers();
|
|
289
|
+
for (const [name, value] of Object.entries(request.headers)) {
|
|
290
|
+
if (FORWARDED_HEADERS.has(name.toLowerCase()))
|
|
291
|
+
headers.set(name, value);
|
|
292
|
+
}
|
|
293
|
+
headers.set('authorization', `Bearer ${upstreamKey}`);
|
|
294
|
+
const response = await fetchImpl(url.toString(), {
|
|
295
|
+
method: request.method,
|
|
296
|
+
headers,
|
|
297
|
+
body: body ? body : undefined,
|
|
298
|
+
signal,
|
|
299
|
+
duplex: 'half',
|
|
300
|
+
redirect: 'error',
|
|
301
|
+
});
|
|
302
|
+
// OSK-3932 — learn the money from the response the session just made.
|
|
303
|
+
//
|
|
304
|
+
// The readout used to arrive only on the renewal heartbeat, and a read of
|
|
305
|
+
// dev found `renewalCount: 0` on every interactive reservation: sessions
|
|
306
|
+
// end in ~44-60s while the first heartbeat is armed at 72s. So the status
|
|
307
|
+
// this broker serves was, in practice, never populated with a figure at
|
|
308
|
+
// all. Every inference call carries one now, which is the one channel a
|
|
309
|
+
// session cannot be too short to use.
|
|
310
|
+
readBudgetHeaders(response.headers);
|
|
311
|
+
return {
|
|
312
|
+
status: response.status,
|
|
313
|
+
headers: responseHeaders(response.headers),
|
|
314
|
+
body: responseBody(response, envelope?.maxResponseBytes, releaseSlot),
|
|
315
|
+
};
|
|
316
|
+
}
|
|
317
|
+
catch (error) {
|
|
318
|
+
releaseSlot();
|
|
319
|
+
throw error;
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
};
|
|
323
|
+
if (process.platform === 'win32') {
|
|
324
|
+
throw new Error('managed inference broker requires a verified local IPC transport on Windows');
|
|
325
|
+
}
|
|
326
|
+
// Keep below Unix-domain socket path limits even on macOS where os.tmpdir()
|
|
327
|
+
// can be deeply nested. The random mkdtemp directory is private to this
|
|
328
|
+
// daemon process; the socket itself is chmod 0600 by the listener.
|
|
329
|
+
const socketDirectory = mkdtempSync('/tmp/oversky-inference-');
|
|
330
|
+
chmodSync(socketDirectory, 0o700);
|
|
331
|
+
const socketPath = join(socketDirectory, 'broker.sock');
|
|
332
|
+
const server = new ModelProxyLoopbackServer({
|
|
333
|
+
relayToken,
|
|
334
|
+
forwarder,
|
|
335
|
+
socketPath,
|
|
336
|
+
advertisedBaseUrl: INFERENCE_BROKER_ORIGIN,
|
|
337
|
+
...(envelope ? { maxBodyBytes: envelope.maxInputBytes } : {}),
|
|
338
|
+
});
|
|
339
|
+
try {
|
|
340
|
+
await server.start();
|
|
341
|
+
}
|
|
342
|
+
catch (error) {
|
|
343
|
+
rmSync(socketDirectory, { recursive: true, force: true });
|
|
344
|
+
throw error;
|
|
345
|
+
}
|
|
346
|
+
let stopped = false;
|
|
347
|
+
// OSK-3901 — arm the renewal heartbeat once the socket is live.
|
|
348
|
+
//
|
|
349
|
+
// Armed here rather than before `server.start()`: a renewal that extended a
|
|
350
|
+
// lease for a broker that then failed to start would hold a reservation and its
|
|
351
|
+
// concurrency slot for a session that never ran.
|
|
352
|
+
//
|
|
353
|
+
// The renewal reaches the API with the SAME session-scoped capability the relay
|
|
354
|
+
// uses (`upstreamKey`, an `agst_` token) against `<relay base>/renew` — so no
|
|
355
|
+
// second credential and no new daemon-to-worker message are involved.
|
|
356
|
+
if (options.leaseExpiresInMs && options.leaseExpiresInMs > 0) {
|
|
357
|
+
const renewUrl = `${gatewayBase.replace(/\/+$/, '')}/renew`;
|
|
358
|
+
const renewModel = modelScope?.gatewayModelAlias ?? legacyModel;
|
|
359
|
+
const refreshCapability = options.refreshCapability;
|
|
360
|
+
renewal = startRenewalLoop({
|
|
361
|
+
initialExpiresInMs: options.leaseExpiresInMs,
|
|
362
|
+
...(options.capabilityExpiresAtMs && refreshCapability
|
|
363
|
+
? {
|
|
364
|
+
capabilityExpiresAtMs: options.capabilityExpiresAtMs,
|
|
365
|
+
refreshCapability: async () => {
|
|
366
|
+
const outcome = await refreshCapability();
|
|
367
|
+
if (!outcome.ok)
|
|
368
|
+
return outcome;
|
|
369
|
+
const token = nonEmpty(outcome.token);
|
|
370
|
+
if (!token) {
|
|
371
|
+
// A success that carries nothing to install has refreshed nothing.
|
|
372
|
+
// Reported as transient rather than accepted, because accepting it
|
|
373
|
+
// would re-arm the schedule against a token we never swapped in and
|
|
374
|
+
// hide the real expiry until the relay 401s.
|
|
375
|
+
return { ok: false, reason: 'capability refresh returned no token' };
|
|
376
|
+
}
|
|
377
|
+
// THE SWAP, and the only statement in this block that matters.
|
|
378
|
+
// `upstreamKey` is read at CALL time — once per forwarded request
|
|
379
|
+
// (`headers.set('authorization', …)`) and once per lease renewal — so
|
|
380
|
+
// one assignment re-points every later use. Nothing captured it by
|
|
381
|
+
// value, no Headers object outlives a request, and the relay's own
|
|
382
|
+
// base URL never embedded it.
|
|
383
|
+
//
|
|
384
|
+
// Safe mid-flight: the server's renewal is ADDITIVE, so a request
|
|
385
|
+
// already carrying the previous token keeps working while the new one
|
|
386
|
+
// takes over.
|
|
387
|
+
//
|
|
388
|
+
// But never after teardown: `stop()` drops this reference on purpose,
|
|
389
|
+
// and a refresh that was already in flight would otherwise re-arm a
|
|
390
|
+
// credential for a session that has ended. Nothing could use it — the
|
|
391
|
+
// socket and the loop are both gone — which is exactly why writing it
|
|
392
|
+
// back would be pure hygiene loss.
|
|
393
|
+
if (stopped)
|
|
394
|
+
return { ok: false, reason: 'managed session stopped' };
|
|
395
|
+
upstreamKey = token;
|
|
396
|
+
return outcome;
|
|
397
|
+
},
|
|
398
|
+
}
|
|
399
|
+
: {}),
|
|
400
|
+
onStop: (reason, detail) => {
|
|
401
|
+
// Recorded before the caller's handler runs, so a readout polled during
|
|
402
|
+
// teardown reports the stop rather than a stale countdown that keeps
|
|
403
|
+
// ticking toward a lease nobody will renew.
|
|
404
|
+
status.stopped = { reason, ...(detail ? { detail } : {}) };
|
|
405
|
+
options.onLeaseRenewalStopped?.(reason, detail);
|
|
406
|
+
},
|
|
407
|
+
renew: async ({ renewalId }) => {
|
|
408
|
+
const response = await fetchImpl(renewUrl, {
|
|
409
|
+
method: 'POST',
|
|
410
|
+
headers: {
|
|
411
|
+
Authorization: `Bearer ${upstreamKey}`,
|
|
412
|
+
'Content-Type': 'application/json',
|
|
413
|
+
},
|
|
414
|
+
body: JSON.stringify({ model: renewModel, renewalId }),
|
|
415
|
+
});
|
|
416
|
+
if (response.ok) {
|
|
417
|
+
const payload = (await response.json().catch(() => ({})));
|
|
418
|
+
// Absolute instant, and only from fields the server actually sent —
|
|
419
|
+
// `?? null` rather than `?? 0`, because "not reported" must stay
|
|
420
|
+
// distinguishable from "zero spent" all the way to the screen.
|
|
421
|
+
if (typeof payload.expiresInMs === 'number') {
|
|
422
|
+
status.expiresAtMs = Date.now() + payload.expiresInMs;
|
|
423
|
+
}
|
|
424
|
+
if (payload.budgetState === 'ok' ||
|
|
425
|
+
payload.budgetState === 'warn' ||
|
|
426
|
+
payload.budgetState === 'exhausted') {
|
|
427
|
+
status.budgetState = payload.budgetState;
|
|
428
|
+
}
|
|
429
|
+
if (typeof payload.spendUsd === 'number')
|
|
430
|
+
status.spendUsd = payload.spendUsd;
|
|
431
|
+
if (typeof payload.authorizedUsd === 'number') {
|
|
432
|
+
status.authorizedUsd = payload.authorizedUsd;
|
|
433
|
+
}
|
|
434
|
+
status.renewals =
|
|
435
|
+
typeof payload.renewalCount === 'number' ? payload.renewalCount : status.renewals + 1;
|
|
436
|
+
return { ok: true, expiresInMs: payload.expiresInMs };
|
|
437
|
+
}
|
|
438
|
+
return classifyLeaseRenewalRefusal(response);
|
|
439
|
+
},
|
|
440
|
+
});
|
|
441
|
+
}
|
|
442
|
+
return {
|
|
443
|
+
env: {
|
|
444
|
+
OPENAI_BASE_URL: INFERENCE_BROKER_ORIGIN,
|
|
445
|
+
OPENAI_API_KEY: relayToken,
|
|
446
|
+
// skrr Code's existing multi-provider adapter uses the OpenRouter key
|
|
447
|
+
// name. Pointing both dialect variables at the loopback avoids falling
|
|
448
|
+
// back to an inherited operator credential.
|
|
449
|
+
OPENROUTER_BASE_URL: INFERENCE_BROKER_ORIGIN,
|
|
450
|
+
OPENROUTER_API_KEY: relayToken,
|
|
451
|
+
// Bedrock is reached only through LiteLLM's reviewed OpenAI-compatible
|
|
452
|
+
// alias. These are daemon-local relay values, never AWS credentials.
|
|
453
|
+
BEDROCK_BASE_URL: INFERENCE_BROKER_ORIGIN,
|
|
454
|
+
BEDROCK_API_KEY: relayToken,
|
|
455
|
+
// Claude's native Messages adapter does not consult either OpenAI
|
|
456
|
+
// variable. ANTHROPIC_AUTH_TOKEN makes it send the same short-lived
|
|
457
|
+
// Bearer capability that ModelProxyLoopbackServer validates.
|
|
458
|
+
ANTHROPIC_BASE_URL: INFERENCE_BROKER_ORIGIN,
|
|
459
|
+
ANTHROPIC_AUTH_TOKEN: relayToken,
|
|
460
|
+
[INFERENCE_BROKER_SOCKET_ENV]: socketPath,
|
|
461
|
+
[MANAGED_SESSION_ENV]: '1',
|
|
462
|
+
...(modelScope?.requestEnvelope.allowPromptCaching && supportsManagedPromptCaching(modelScope)
|
|
463
|
+
? { [MANAGED_PROMPT_CACHING_ENV]: '1' }
|
|
464
|
+
: {}),
|
|
465
|
+
},
|
|
466
|
+
socketPath,
|
|
467
|
+
...(modelScope ? { clientModelId: managedClientModelId(modelScope) } : {}),
|
|
468
|
+
...(envelope
|
|
469
|
+
? {
|
|
470
|
+
reasoningPolicy: {
|
|
471
|
+
allowedEfforts: [...envelope.allowedReasoningEfforts],
|
|
472
|
+
defaultEffort: envelope.defaultReasoningEffort ?? envelope.allowedReasoningEfforts[0],
|
|
473
|
+
...(envelope.selectedReasoningEffort
|
|
474
|
+
? { requestedEffort: envelope.selectedReasoningEffort }
|
|
475
|
+
: {}),
|
|
476
|
+
...(envelope.reasoningSelectionSource
|
|
477
|
+
? { selectionSource: envelope.reasoningSelectionSource }
|
|
478
|
+
: {}),
|
|
479
|
+
},
|
|
480
|
+
}
|
|
481
|
+
: {}),
|
|
482
|
+
async stop() {
|
|
483
|
+
if (stopped)
|
|
484
|
+
return;
|
|
485
|
+
stopped = true;
|
|
486
|
+
// Before the socket: a renewal in flight against a session that is ending
|
|
487
|
+
// would extend a lease nobody will use, and its timer would otherwise keep
|
|
488
|
+
// firing against a dead broker.
|
|
489
|
+
renewal?.stop();
|
|
490
|
+
await server.stop();
|
|
491
|
+
rmSync(socketDirectory, { recursive: true, force: true });
|
|
492
|
+
// Drop our own references promptly. JS cannot promise physical memory
|
|
493
|
+
// zeroization, but no subsequent request can authenticate upstream.
|
|
494
|
+
relayToken = '';
|
|
495
|
+
upstreamKey = '';
|
|
496
|
+
},
|
|
497
|
+
};
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* The renewal refusal that means the lease reached its IMMUTABLE ceiling.
|
|
501
|
+
*
|
|
502
|
+
* `POST <relay>/renew` answers this BEFORE it extends the gateway key, which is
|
|
503
|
+
* what makes it distinguishable at all: every other refusal that route can produce
|
|
504
|
+
* arrives as `lease-denied`, and that code covers revoked, reaped and spent
|
|
505
|
+
* identically. Matched exactly rather than by prefix — an unrecognised 4xx still
|
|
506
|
+
* stops the loop, just with the more cautious sentence.
|
|
507
|
+
*/
|
|
508
|
+
const LEASE_CEILING_CODE = 'lease-ceiling-reached';
|
|
509
|
+
/**
|
|
510
|
+
* The two money refusals (OSK-3932). Separate constants rather than a prefix
|
|
511
|
+
* match, for the same reason the ceiling is matched exactly: an unrecognised
|
|
512
|
+
* code must still stop the loop, just with the more cautious sentence.
|
|
513
|
+
*
|
|
514
|
+
* They differ in ONE respect that reaches the user — whether a `resetAt`
|
|
515
|
+
* accompanies them — so the classifier treats them alike and the message layer
|
|
516
|
+
* does not.
|
|
517
|
+
*/
|
|
518
|
+
const SESSION_BUDGET_CODE = 'session-budget-exhausted';
|
|
519
|
+
/**
|
|
520
|
+
* RESERVED, not currently emitted. The server deleted this refusal in
|
|
521
|
+
* `77d3b26187` because the quantity behind it — `hardUsd - spentUsd -
|
|
522
|
+
* reservedUsd` — is the NEW-ADMISSION question, and asking it of a live session
|
|
523
|
+
* would have terminated one admitted at an exact fit, on a bucket
|
|
524
|
+
* (`provider_model`) whose scope key carries no tenant and is therefore shared
|
|
525
|
+
* fleet-wide.
|
|
526
|
+
*
|
|
527
|
+
* Kept because the classifier must not regress if renewal ever claims new money
|
|
528
|
+
* (S3), and because a client that meets an unknown 402 falls through to the
|
|
529
|
+
* generic `denied` sentence, which is the wrong one for a budget. Costs one
|
|
530
|
+
* comparison; removing it would be a wire regression waiting to happen.
|
|
531
|
+
*/
|
|
532
|
+
const ACCOUNT_BUDGET_CODE = 'account-budget-exhausted';
|
|
533
|
+
/**
|
|
534
|
+
* Classify a NON-OK lease renewal response.
|
|
535
|
+
*
|
|
536
|
+
* Exported (though not re-exported from the package index) so a test can drive
|
|
537
|
+
* the loop's schedule against the server's ACTUAL wire shapes rather than against
|
|
538
|
+
* an injected outcome — which is the only way the interaction between the two
|
|
539
|
+
* schedules is testable at all, and a test that injects the outcome would have
|
|
540
|
+
* been green through the defect this exists to close.
|
|
541
|
+
*
|
|
542
|
+
* The status CLASS still decides everything else, deliberately: 4xx is a decision
|
|
543
|
+
* and 5xx is the dependency, and parsing server prose to tell them apart is a job
|
|
544
|
+
* the daemon should not have. The one exception is the ceiling, which is the
|
|
545
|
+
* refusal a supervised session is EXPECTED to end on and therefore the one whose
|
|
546
|
+
* sentence has to differ.
|
|
547
|
+
*/
|
|
548
|
+
export async function classifyLeaseRenewalRefusal(response) {
|
|
549
|
+
const refusal = await readRenewalRefusal(response);
|
|
550
|
+
if (refusal.code === LEASE_CEILING_CODE) {
|
|
551
|
+
return {
|
|
552
|
+
ok: false,
|
|
553
|
+
ceiling: true,
|
|
554
|
+
// The INSTANT rather than the code, and only here: the user knows which
|
|
555
|
+
// rule fired — they want to know when their window ended.
|
|
556
|
+
reason: refusal.maxExpiresAt
|
|
557
|
+
? `authorized through ${refusal.maxExpiresAt}`
|
|
558
|
+
: LEASE_CEILING_CODE,
|
|
559
|
+
};
|
|
560
|
+
}
|
|
561
|
+
// The MONEY, matched before the generic 4xx fallthrough for exactly the reason
|
|
562
|
+
// the ceiling is: both would otherwise arrive as `denied`, which covers
|
|
563
|
+
// revoked, reaped and spent identically and would tell a user whose budget ran
|
|
564
|
+
// out to go looking for a fault in their access.
|
|
565
|
+
if (refusal.code === SESSION_BUDGET_CODE || refusal.code === ACCOUNT_BUDGET_CODE) {
|
|
566
|
+
return {
|
|
567
|
+
ok: false,
|
|
568
|
+
exhausted: true,
|
|
569
|
+
// Carried only when the server sent one. A session's own authorization
|
|
570
|
+
// never comes back, so inventing a time here would be the one wrong
|
|
571
|
+
// answer that sounds reassuring.
|
|
572
|
+
...(refusal.resetAt ? { resetAt: refusal.resetAt } : {}),
|
|
573
|
+
reason: refusal.code,
|
|
574
|
+
};
|
|
575
|
+
}
|
|
576
|
+
const denied = response.status >= 400 && response.status < 500;
|
|
577
|
+
return {
|
|
578
|
+
ok: false,
|
|
579
|
+
denied,
|
|
580
|
+
reason: refusal.code ?? `renewal HTTP ${response.status}`,
|
|
581
|
+
};
|
|
582
|
+
}
|
|
583
|
+
/**
|
|
584
|
+
* Read `{error: {code}, maxExpiresAt}` without letting a hostile or huge body
|
|
585
|
+
* matter, and without letting a malformed one throw on a teardown-adjacent path.
|
|
586
|
+
*/
|
|
587
|
+
async function readRenewalRefusal(response) {
|
|
588
|
+
try {
|
|
589
|
+
const raw = (await response.text()).slice(0, 2048);
|
|
590
|
+
const parsed = JSON.parse(raw);
|
|
591
|
+
const code = parsed?.error?.code;
|
|
592
|
+
const maxExpiresAt = parsed?.maxExpiresAt;
|
|
593
|
+
// Present only when waiting can actually help — a spent account window
|
|
594
|
+
// refills, a spent session authorization does not. Absent is meaningful.
|
|
595
|
+
const resetAt = parsed?.resetAt;
|
|
596
|
+
return {
|
|
597
|
+
...(typeof code === 'string' && code ? { code } : {}),
|
|
598
|
+
...(typeof maxExpiresAt === 'string' && maxExpiresAt ? { maxExpiresAt } : {}),
|
|
599
|
+
...(typeof resetAt === 'string' && resetAt ? { resetAt } : {}),
|
|
600
|
+
};
|
|
601
|
+
}
|
|
602
|
+
catch {
|
|
603
|
+
return {};
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
function resolveGatewayUrl(base, allowedOrigin, path) {
|
|
607
|
+
let url;
|
|
608
|
+
try {
|
|
609
|
+
const parsedBase = new URL(base);
|
|
610
|
+
const canonicalPath = path.startsWith('/v1/') ? path : `/v1${path}`;
|
|
611
|
+
const basePath = parsedBase.pathname.replace(/\/$/, '');
|
|
612
|
+
const suffix = basePath.endsWith('/v1') ? canonicalPath.slice(3) : canonicalPath;
|
|
613
|
+
parsedBase.pathname = `${basePath}${suffix}`;
|
|
614
|
+
parsedBase.search = '';
|
|
615
|
+
parsedBase.hash = '';
|
|
616
|
+
url = parsedBase;
|
|
617
|
+
}
|
|
618
|
+
catch {
|
|
619
|
+
rejectManagedRequest('managed inference broker received an invalid request path');
|
|
620
|
+
}
|
|
621
|
+
if (url.origin !== allowedOrigin ||
|
|
622
|
+
!ALLOWED_PATHS.has(path) ||
|
|
623
|
+
(!url.pathname.endsWith('/v1/messages') &&
|
|
624
|
+
!url.pathname.endsWith('/v1/chat/completions') &&
|
|
625
|
+
!url.pathname.endsWith('/v1/responses'))) {
|
|
626
|
+
rejectManagedRequest('managed inference broker denied an unapproved upstream route');
|
|
627
|
+
}
|
|
628
|
+
return url;
|
|
629
|
+
}
|
|
630
|
+
function assertApprovedEnvelope(method, path, body, modelScope, legacyModel) {
|
|
631
|
+
if (method.toUpperCase() !== 'POST' || !ALLOWED_PATHS.has(path)) {
|
|
632
|
+
rejectManagedRequest('managed inference broker denied an unapproved request method or route');
|
|
633
|
+
}
|
|
634
|
+
if (!body)
|
|
635
|
+
rejectManagedRequest('managed inference broker requires a model request body');
|
|
636
|
+
if (modelScope && body.byteLength > modelScope.requestEnvelope.maxInputBytes) {
|
|
637
|
+
rejectManagedRequest('managed inference broker input byte envelope exceeded');
|
|
638
|
+
}
|
|
639
|
+
// The daemon enforces the independent byte/body boundary. Token accounting
|
|
640
|
+
// is intentionally repeated by the authenticated public relay using the
|
|
641
|
+
// reviewed server-side algorithm named in this immutable scope; the child
|
|
642
|
+
// cannot provide or influence a token estimate. Requiring the descriptor in
|
|
643
|
+
// isManagedInferenceModelScope keeps older servers fail-closed.
|
|
644
|
+
let payload;
|
|
645
|
+
try {
|
|
646
|
+
payload = JSON.parse(new TextDecoder().decode(body));
|
|
647
|
+
}
|
|
648
|
+
catch {
|
|
649
|
+
rejectManagedRequest('managed inference broker requires a JSON model request');
|
|
650
|
+
}
|
|
651
|
+
if (!payload || typeof payload !== 'object') {
|
|
652
|
+
rejectManagedRequest('managed inference broker denied a model outside the approved lease');
|
|
653
|
+
}
|
|
654
|
+
const requestedModel = payload.model;
|
|
655
|
+
if (modelScope) {
|
|
656
|
+
// The currently published binary may use compatible chat while the target
|
|
657
|
+
// binary uses native Messages. Neither dialect authorizes Responses.
|
|
658
|
+
if ((modelScope.upstreamProvider === 'anthropic' && !ANTHROPIC_ALLOWED_PATHS.has(path)) ||
|
|
659
|
+
(modelScope.upstreamProvider === 'bedrock' && !OPENAI_COMPATIBLE_CHAT_PATHS.has(path)) ||
|
|
660
|
+
(!['anthropic', 'bedrock'].includes(modelScope.upstreamProvider) &&
|
|
661
|
+
path.endsWith('/messages'))) {
|
|
662
|
+
rejectManagedRequest('managed inference broker denied a route outside the provider dialect');
|
|
663
|
+
}
|
|
664
|
+
// ACP selectors are provider-qualified (`openrouter/anthropic/...` and
|
|
665
|
+
// `amazon-bedrock/us.anthropic...`), while OpenAI-compatible adapters send
|
|
666
|
+
// the exact provider-local suffix in the JSON body. Accept that one
|
|
667
|
+
// deterministically derived spelling as the same selector, then translate
|
|
668
|
+
// it to the immutable gateway alias below. This is still an exact match;
|
|
669
|
+
// it does not authorize another provider or model.
|
|
670
|
+
const clientModelId = providerLocalModelId(modelScope.harnessModelId);
|
|
671
|
+
const approved = constantTimeStringEqual(requestedModel, modelScope.harnessModelId) ||
|
|
672
|
+
constantTimeStringEqual(requestedModel, modelScope.gatewayModelAlias) ||
|
|
673
|
+
(clientModelId !== null && constantTimeStringEqual(requestedModel, clientModelId));
|
|
674
|
+
if (!approved) {
|
|
675
|
+
rejectManagedRequest('managed inference broker denied a model outside the approved lease');
|
|
676
|
+
}
|
|
677
|
+
// The child speaks in its harness namespace. The virtual key and LiteLLM
|
|
678
|
+
// route are scoped in the gateway namespace, so make that translation in
|
|
679
|
+
// the trusted daemon and guarantee the upstream always sees the alias the
|
|
680
|
+
// key was actually minted for.
|
|
681
|
+
payload.model = modelScope.wireModel;
|
|
682
|
+
enforceRequestEnvelope(payload, path, modelScope.requestEnvelope, modelScope);
|
|
683
|
+
const sanitized = new TextEncoder().encode(JSON.stringify(payload));
|
|
684
|
+
if (sanitized.byteLength > modelScope.requestEnvelope.maxInputBytes) {
|
|
685
|
+
rejectManagedRequest('managed inference broker input byte envelope exceeded');
|
|
686
|
+
}
|
|
687
|
+
return sanitized;
|
|
688
|
+
}
|
|
689
|
+
if (!legacyModel || !constantTimeStringEqual(requestedModel, legacyModel)) {
|
|
690
|
+
rejectManagedRequest('managed inference broker denied a model outside the approved lease');
|
|
691
|
+
}
|
|
692
|
+
return body;
|
|
693
|
+
}
|
|
694
|
+
function enforceRequestEnvelope(payload, path, envelope, modelScope) {
|
|
695
|
+
// LiteLLM merges `extra_body` after provider transformation. The child must
|
|
696
|
+
// never use it to override model, spend, output, or cache fields already
|
|
697
|
+
// checked by this broker and the authenticated API.
|
|
698
|
+
if (payload.extra_body != null) {
|
|
699
|
+
rejectManagedRequest('managed inference broker denied a caller-supplied extra body');
|
|
700
|
+
}
|
|
701
|
+
const outputFields = ['max_tokens', 'max_completion_tokens', 'max_output_tokens'];
|
|
702
|
+
let sawOutputLimit = false;
|
|
703
|
+
for (const field of outputFields) {
|
|
704
|
+
if (payload[field] == null)
|
|
705
|
+
continue;
|
|
706
|
+
const value = Number(payload[field]);
|
|
707
|
+
if (!Number.isSafeInteger(value) || value < 1) {
|
|
708
|
+
rejectManagedRequest(`managed inference broker denied invalid ${field}`);
|
|
709
|
+
}
|
|
710
|
+
payload[field] = Math.min(value, envelope.maxOutputTokens);
|
|
711
|
+
sawOutputLimit = true;
|
|
712
|
+
}
|
|
713
|
+
if (!sawOutputLimit) {
|
|
714
|
+
payload[path.endsWith('/responses')
|
|
715
|
+
? 'max_output_tokens'
|
|
716
|
+
: path.endsWith('/messages')
|
|
717
|
+
? 'max_tokens'
|
|
718
|
+
: 'max_completion_tokens'] = envelope.maxOutputTokens;
|
|
719
|
+
}
|
|
720
|
+
if (payload.stream != null && typeof payload.stream !== 'boolean') {
|
|
721
|
+
rejectManagedRequest('managed inference broker denied invalid streaming mode');
|
|
722
|
+
}
|
|
723
|
+
if (payload.stream === true && !envelope.allowStreaming) {
|
|
724
|
+
rejectManagedRequest('managed inference broker denied streaming outside the lease envelope');
|
|
725
|
+
}
|
|
726
|
+
const reasoning = payload.reasoning;
|
|
727
|
+
if (reasoning != null) {
|
|
728
|
+
if (!reasoning || typeof reasoning !== 'object' || Array.isArray(reasoning)) {
|
|
729
|
+
rejectManagedRequest('managed inference broker denied invalid reasoning envelope');
|
|
730
|
+
}
|
|
731
|
+
const record = reasoning;
|
|
732
|
+
if (record.effort != null &&
|
|
733
|
+
(typeof record.effort !== 'string' ||
|
|
734
|
+
!envelope.allowedReasoningEfforts.includes(record.effort))) {
|
|
735
|
+
rejectManagedRequest('managed inference broker denied reasoning effort outside the lease envelope');
|
|
736
|
+
}
|
|
737
|
+
if (record.max_tokens != null) {
|
|
738
|
+
const value = Number(record.max_tokens);
|
|
739
|
+
if (!Number.isSafeInteger(value) || value < 1) {
|
|
740
|
+
rejectManagedRequest('managed inference broker denied invalid reasoning token limit');
|
|
741
|
+
}
|
|
742
|
+
record.max_tokens = Math.min(value, envelope.maxReasoningTokens);
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
if (payload.reasoning_effort != null &&
|
|
746
|
+
(typeof payload.reasoning_effort !== 'string' ||
|
|
747
|
+
!envelope.allowedReasoningEfforts.includes(payload.reasoning_effort))) {
|
|
748
|
+
rejectManagedRequest('managed inference broker denied reasoning effort outside the lease envelope');
|
|
749
|
+
}
|
|
750
|
+
const selectedEffort = envelope.selectedReasoningEffort;
|
|
751
|
+
if (selectedEffort) {
|
|
752
|
+
const responseEffort = reasoning && typeof reasoning === 'object' && !Array.isArray(reasoning)
|
|
753
|
+
? reasoning.effort
|
|
754
|
+
: undefined;
|
|
755
|
+
const anthropicOutputConfig = isPlainObject(payload.output_config)
|
|
756
|
+
? payload.output_config
|
|
757
|
+
: null;
|
|
758
|
+
const anthropicEffort = anthropicOutputConfig?.effort;
|
|
759
|
+
// Whether the pin is AUTHORITY or merely a DEFAULT, and the difference is the
|
|
760
|
+
// whole reason managed `sky code` could not complete a single turn.
|
|
761
|
+
//
|
|
762
|
+
// `selectedReasoningEffort` has two provenances and the envelope has always
|
|
763
|
+
// recorded which (`reasoningSelectionSource`) — it was read for reporting and
|
|
764
|
+
// ignored here. When the caller ASKED for an effort, admission priced that
|
|
765
|
+
// request and the reservation is authority: a later request naming a
|
|
766
|
+
// different one is trying to change what was authorized, and is refused.
|
|
767
|
+
//
|
|
768
|
+
// When it came from `policy_default`, nobody asked for anything. The server
|
|
769
|
+
// filled a blank, and refusing the engine's own choice enforces a preference
|
|
770
|
+
// the platform invented. That is what happened: the interactive admit sends
|
|
771
|
+
// no effort at all, so every supervised reservation pinned dev's
|
|
772
|
+
// `defaultReasoningEffort: 'low'`, and every request the engine made carried
|
|
773
|
+
// its own model default and was denied. Deterministic, not a race — no retry
|
|
774
|
+
// could help, and the CLI had no way to declare an effort in the first place.
|
|
775
|
+
//
|
|
776
|
+
// Cost is still bounded, and not by this check: `allowedReasoningEfforts`
|
|
777
|
+
// gates the value just above, `maxReasoningTokens` hard-caps the tokens
|
|
778
|
+
// reasoning may actually consume, and both apply to whatever wins here. So
|
|
779
|
+
// adopting the caller's explicit effort widens no envelope.
|
|
780
|
+
//
|
|
781
|
+
// Not solved by silently rewriting to the default either. The engine asked
|
|
782
|
+
// for something specific; answering with a quieter model and saying nothing
|
|
783
|
+
// is the same class of defect as a badge reporting a healthy lease over a
|
|
784
|
+
// dead one.
|
|
785
|
+
const declared = [responseEffort, payload.reasoning_effort, anthropicEffort].filter((value) => value != null);
|
|
786
|
+
let effectiveEffort = selectedEffort;
|
|
787
|
+
if (declared.length > 0) {
|
|
788
|
+
// The dialects must agree with EACH OTHER before either can be honoured.
|
|
789
|
+
// Two conflicting efforts in one payload is malformed, and picking one
|
|
790
|
+
// would make the winner depend on field order.
|
|
791
|
+
if (declared.some((value) => value !== declared[0])) {
|
|
792
|
+
rejectManagedRequest('managed inference broker denied conflicting reasoning efforts in one request');
|
|
793
|
+
}
|
|
794
|
+
const callerEffort = declared[0];
|
|
795
|
+
if (envelope.reasoningSelectionSource === 'request') {
|
|
796
|
+
if (callerEffort !== selectedEffort) {
|
|
797
|
+
rejectManagedRequest('managed inference broker denied reasoning effort different from the immutable reservation');
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
else if (callerEffort !== selectedEffort) {
|
|
801
|
+
// Re-validated rather than trusted. The allow-list check above covers the
|
|
802
|
+
// OpenAI dialects; `output_config.effort` reaches here unchecked, and this
|
|
803
|
+
// is the branch that would let it through.
|
|
804
|
+
if (typeof callerEffort !== 'string' ||
|
|
805
|
+
!envelope.allowedReasoningEfforts.includes(callerEffort)) {
|
|
806
|
+
rejectManagedRequest('managed inference broker denied reasoning effort outside the lease envelope');
|
|
807
|
+
}
|
|
808
|
+
effectiveEffort = callerEffort;
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
if (path.endsWith('/responses')) {
|
|
812
|
+
payload.reasoning = {
|
|
813
|
+
...(reasoning && typeof reasoning === 'object' && !Array.isArray(reasoning)
|
|
814
|
+
? reasoning
|
|
815
|
+
: {}),
|
|
816
|
+
effort: effectiveEffort,
|
|
817
|
+
};
|
|
818
|
+
}
|
|
819
|
+
else if (path.endsWith('/messages')) {
|
|
820
|
+
if (!['low', 'medium', 'high', 'max'].includes(effectiveEffort)) {
|
|
821
|
+
rejectManagedRequest('managed inference broker denied reasoning effort unsupported by the Anthropic dialect');
|
|
822
|
+
}
|
|
823
|
+
payload.output_config = { ...(anthropicOutputConfig ?? {}), effort: effectiveEffort };
|
|
824
|
+
}
|
|
825
|
+
else if (modelScope.upstreamProvider === 'openrouter') {
|
|
826
|
+
// OpenRouter accepts either reasoning.effort or reasoning.max_tokens,
|
|
827
|
+
// never both. skrr Code's compatible adapter may send a token budget even
|
|
828
|
+
// though the managed reservation selected an immutable effort. The
|
|
829
|
+
// reservation wins: replace the caller budget with that exact effort in
|
|
830
|
+
// OpenRouter's native envelope and leave LiteLLM nothing to merge twice.
|
|
831
|
+
const openRouterReasoning = reasoning && typeof reasoning === 'object' && !Array.isArray(reasoning)
|
|
832
|
+
? { ...reasoning }
|
|
833
|
+
: {};
|
|
834
|
+
delete openRouterReasoning.max_tokens;
|
|
835
|
+
payload.reasoning = { ...openRouterReasoning, effort: effectiveEffort };
|
|
836
|
+
delete payload.reasoning_effort;
|
|
837
|
+
}
|
|
838
|
+
else {
|
|
839
|
+
payload.reasoning_effort = effectiveEffort;
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
if (payload.max_reasoning_tokens != null) {
|
|
843
|
+
const value = Number(payload.max_reasoning_tokens);
|
|
844
|
+
if (!Number.isSafeInteger(value) || value < 1) {
|
|
845
|
+
rejectManagedRequest('managed inference broker denied invalid reasoning token limit');
|
|
846
|
+
}
|
|
847
|
+
payload.max_reasoning_tokens = Math.min(value, envelope.maxReasoningTokens);
|
|
848
|
+
}
|
|
849
|
+
enforcePromptCacheEnvelope(payload, envelope, modelScope);
|
|
850
|
+
}
|
|
851
|
+
function rejectManagedRequest(message) {
|
|
852
|
+
throw new ModelProxyError(MODEL_PROXY_ERROR.REQUEST_REJECTED, message);
|
|
853
|
+
}
|
|
854
|
+
function containsObjectKey(value, target) {
|
|
855
|
+
if (Array.isArray(value))
|
|
856
|
+
return value.some((item) => containsObjectKey(item, target));
|
|
857
|
+
if (!value || typeof value !== 'object')
|
|
858
|
+
return false;
|
|
859
|
+
const record = value;
|
|
860
|
+
return (Object.prototype.hasOwnProperty.call(record, target) ||
|
|
861
|
+
Object.values(record).some((item) => containsObjectKey(item, target)));
|
|
862
|
+
}
|
|
863
|
+
function objectKeyValues(value, target, found = []) {
|
|
864
|
+
if (Array.isArray(value)) {
|
|
865
|
+
for (const item of value)
|
|
866
|
+
objectKeyValues(item, target, found);
|
|
867
|
+
return found;
|
|
868
|
+
}
|
|
869
|
+
if (!value || typeof value !== 'object')
|
|
870
|
+
return found;
|
|
871
|
+
const record = value;
|
|
872
|
+
if (Object.prototype.hasOwnProperty.call(record, target))
|
|
873
|
+
found.push(record[target]);
|
|
874
|
+
for (const item of Object.values(record))
|
|
875
|
+
objectKeyValues(item, target, found);
|
|
876
|
+
return found;
|
|
877
|
+
}
|
|
878
|
+
function isPlainObject(value) {
|
|
879
|
+
return Boolean(value && typeof value === 'object' && !Array.isArray(value));
|
|
880
|
+
}
|
|
881
|
+
const MAX_OPENAI_CACHE_BREAKPOINTS = 50;
|
|
882
|
+
function supportsManagedPromptCaching(modelScope) {
|
|
883
|
+
const model = nonEmpty(modelScope.wireModel)
|
|
884
|
+
?.replace(/^openai\//, '')
|
|
885
|
+
.toLowerCase();
|
|
886
|
+
return modelScope.upstreamProvider === 'openai' && Boolean(model?.startsWith('gpt-5.6'));
|
|
887
|
+
}
|
|
888
|
+
/**
|
|
889
|
+
* OpenAI GPT-5.6 caching is implicit by default; removing the SDK's routing
|
|
890
|
+
* key does not disable it. A disabled lease is normalized to the provider's
|
|
891
|
+
* explicit/no-breakpoint contract before the request reaches the public relay.
|
|
892
|
+
* The authenticated API repeats this enforcement for direct capability calls.
|
|
893
|
+
*
|
|
894
|
+
* Source: https://developers.openai.com/api/docs/guides/prompt-caching
|
|
895
|
+
*/
|
|
896
|
+
function enforcePromptCacheEnvelope(payload, envelope, modelScope) {
|
|
897
|
+
const model = nonEmpty(modelScope.wireModel)
|
|
898
|
+
?.replace(/^openai\//, '')
|
|
899
|
+
.toLowerCase();
|
|
900
|
+
const claudeCacheControlFamily = ['anthropic', 'openrouter', 'bedrock'].includes(modelScope.upstreamProvider) &&
|
|
901
|
+
model?.includes('claude');
|
|
902
|
+
if (claudeCacheControlFamily) {
|
|
903
|
+
if (envelope.allowPromptCaching) {
|
|
904
|
+
rejectManagedRequest('managed inference broker has no prompt cache policy for the leased model');
|
|
905
|
+
}
|
|
906
|
+
if (containsObjectKey(payload, 'cache_control') ||
|
|
907
|
+
containsObjectKey(payload, 'prompt_cache_breakpoint') ||
|
|
908
|
+
payload.prompt_cache_key != null ||
|
|
909
|
+
payload.prompt_cache_options != null ||
|
|
910
|
+
payload.prompt_cache_retention != null) {
|
|
911
|
+
rejectManagedRequest('managed inference broker denied prompt caching outside the lease envelope');
|
|
912
|
+
}
|
|
913
|
+
return;
|
|
914
|
+
}
|
|
915
|
+
if (!supportsManagedPromptCaching(modelScope)) {
|
|
916
|
+
rejectManagedRequest('managed inference broker has no prompt cache policy for the leased model');
|
|
917
|
+
}
|
|
918
|
+
const breakpoints = objectKeyValues(payload, 'prompt_cache_breakpoint');
|
|
919
|
+
if (!envelope.allowPromptCaching) {
|
|
920
|
+
if (containsObjectKey(payload, 'cache_control') || breakpoints.length > 0) {
|
|
921
|
+
rejectManagedRequest('managed inference broker denied prompt caching outside the lease envelope');
|
|
922
|
+
}
|
|
923
|
+
delete payload.prompt_cache_key;
|
|
924
|
+
delete payload.prompt_cache_retention;
|
|
925
|
+
payload.prompt_cache_options = { mode: 'explicit' };
|
|
926
|
+
return;
|
|
927
|
+
}
|
|
928
|
+
if (payload.prompt_cache_key != null && !nonEmpty(payload.prompt_cache_key)) {
|
|
929
|
+
rejectManagedRequest('managed inference broker denied invalid prompt cache key');
|
|
930
|
+
}
|
|
931
|
+
if (payload.prompt_cache_retention != null) {
|
|
932
|
+
rejectManagedRequest('managed inference broker denied deprecated GPT-5.6 cache retention');
|
|
933
|
+
}
|
|
934
|
+
if (payload.prompt_cache_options != null) {
|
|
935
|
+
const options = payload.prompt_cache_options;
|
|
936
|
+
const keys = isPlainObject(options) ? Object.keys(options) : [];
|
|
937
|
+
if (!isPlainObject(options) ||
|
|
938
|
+
keys.some((key) => !['mode', 'ttl'].includes(key)) ||
|
|
939
|
+
(options.mode != null &&
|
|
940
|
+
(typeof options.mode !== 'string' || !['implicit', 'explicit'].includes(options.mode))) ||
|
|
941
|
+
(options.ttl != null && (typeof options.ttl !== 'string' || options.ttl !== '30m'))) {
|
|
942
|
+
rejectManagedRequest('managed inference broker denied invalid prompt cache options');
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
if (breakpoints.length > MAX_OPENAI_CACHE_BREAKPOINTS ||
|
|
946
|
+
breakpoints.some((breakpoint) => !isPlainObject(breakpoint) ||
|
|
947
|
+
Object.keys(breakpoint).length !== 1 ||
|
|
948
|
+
breakpoint.mode !== 'explicit')) {
|
|
949
|
+
rejectManagedRequest('managed inference broker denied invalid prompt cache breakpoint');
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
function isManagedRequestEnvelope(value) {
|
|
953
|
+
if (!value || typeof value !== 'object')
|
|
954
|
+
return false;
|
|
955
|
+
const envelope = value;
|
|
956
|
+
const boundedPositiveInteger = (candidate, max) => Number.isSafeInteger(candidate) && Number(candidate) > 0 && Number(candidate) <= max;
|
|
957
|
+
const allowedEfforts = new Set(['none', 'minimal', 'low', 'medium', 'high', 'xhigh', 'max']);
|
|
958
|
+
return Boolean(boundedPositiveInteger(envelope.maxInputBytes, 8 * 1024 * 1024) &&
|
|
959
|
+
boundedPositiveInteger(envelope.maxInputTokens, 1_000_000) &&
|
|
960
|
+
boundedPositiveInteger(envelope.maxOutputTokens, 1_000_000) &&
|
|
961
|
+
boundedPositiveInteger(envelope.maxReasoningTokens, 1_000_000) &&
|
|
962
|
+
boundedPositiveInteger(envelope.maxConcurrentRequests, 64) &&
|
|
963
|
+
boundedPositiveInteger(envelope.maxRequestsPerMinute, 10_000) &&
|
|
964
|
+
boundedPositiveInteger(envelope.maxTotalRequests, 100_000) &&
|
|
965
|
+
boundedPositiveInteger(envelope.maxResponseBytes, 128 * 1024 * 1024) &&
|
|
966
|
+
typeof envelope.allowStreaming === 'boolean' &&
|
|
967
|
+
typeof envelope.allowPromptCaching === 'boolean' &&
|
|
968
|
+
Array.isArray(envelope.allowedReasoningEfforts) &&
|
|
969
|
+
envelope.allowedReasoningEfforts.length > 0 &&
|
|
970
|
+
envelope.allowedReasoningEfforts.every((effort) => allowedEfforts.has(effort)) &&
|
|
971
|
+
(envelope.defaultReasoningEffort == null ||
|
|
972
|
+
(allowedEfforts.has(envelope.defaultReasoningEffort) &&
|
|
973
|
+
envelope.allowedReasoningEfforts.includes(envelope.defaultReasoningEffort))) &&
|
|
974
|
+
(envelope.selectedReasoningEffort == null
|
|
975
|
+
? envelope.requestedReasoningEffort == null && envelope.reasoningSelectionSource == null
|
|
976
|
+
: allowedEfforts.has(envelope.selectedReasoningEffort) &&
|
|
977
|
+
envelope.allowedReasoningEfforts.includes(envelope.selectedReasoningEffort) &&
|
|
978
|
+
(envelope.reasoningSelectionSource === 'request' ||
|
|
979
|
+
envelope.reasoningSelectionSource === 'policy_default')) &&
|
|
980
|
+
(envelope.reasoningSelectionSource !== 'request' ||
|
|
981
|
+
envelope.requestedReasoningEffort === envelope.selectedReasoningEffort) &&
|
|
982
|
+
(envelope.reasoningSelectionSource !== 'policy_default' ||
|
|
983
|
+
envelope.defaultReasoningEffort === envelope.selectedReasoningEffort));
|
|
984
|
+
}
|
|
985
|
+
function constantTimeStringEqual(value, expected) {
|
|
986
|
+
if (typeof value !== 'string')
|
|
987
|
+
return false;
|
|
988
|
+
const left = Buffer.from(value);
|
|
989
|
+
const right = Buffer.from(expected);
|
|
990
|
+
return left.length === right.length && timingSafeEqual(left, right);
|
|
991
|
+
}
|
|
992
|
+
function providerLocalModelId(harnessModelId) {
|
|
993
|
+
const separator = harnessModelId.indexOf('/');
|
|
994
|
+
if (separator <= 0 || separator === harnessModelId.length - 1)
|
|
995
|
+
return null;
|
|
996
|
+
return harnessModelId.slice(separator + 1);
|
|
997
|
+
}
|
|
998
|
+
function responseHeaders(headers) {
|
|
999
|
+
const out = {};
|
|
1000
|
+
// Fetch implementations expose the decoded response body while retaining
|
|
1001
|
+
// the origin response's representation metadata. Replaying those headers
|
|
1002
|
+
// through the daemon-local HTTP hop makes the child decode the body a second
|
|
1003
|
+
// time (and makes the encoded Content-Length describe the wrong bytes).
|
|
1004
|
+
// Preserve identity responses byte-for-byte, but when a content coding was
|
|
1005
|
+
// applied, describe the decoded representation that responseBody delivers.
|
|
1006
|
+
const contentEncoding = headers.get('content-encoding')?.trim().toLowerCase();
|
|
1007
|
+
const bodyWasDecoded = Boolean(contentEncoding && contentEncoding !== 'identity');
|
|
1008
|
+
headers.forEach((value, name) => {
|
|
1009
|
+
if (name === 'connection' || name === 'transfer-encoding')
|
|
1010
|
+
return;
|
|
1011
|
+
if (bodyWasDecoded && (name === 'content-encoding' || name === 'content-length'))
|
|
1012
|
+
return;
|
|
1013
|
+
out[name] = value;
|
|
1014
|
+
});
|
|
1015
|
+
return out;
|
|
1016
|
+
}
|
|
1017
|
+
async function* responseBody(response, maxBytes, onComplete = () => { }) {
|
|
1018
|
+
if (!response.body) {
|
|
1019
|
+
onComplete();
|
|
1020
|
+
return;
|
|
1021
|
+
}
|
|
1022
|
+
let totalBytes = 0;
|
|
1023
|
+
const bounded = (value) => {
|
|
1024
|
+
totalBytes += value.byteLength;
|
|
1025
|
+
if (maxBytes != null && totalBytes > maxBytes) {
|
|
1026
|
+
throw new Error('managed inference broker response byte envelope exceeded');
|
|
1027
|
+
}
|
|
1028
|
+
return value;
|
|
1029
|
+
};
|
|
1030
|
+
const stream = response.body;
|
|
1031
|
+
try {
|
|
1032
|
+
if (typeof stream[Symbol.asyncIterator] === 'function') {
|
|
1033
|
+
for await (const value of stream)
|
|
1034
|
+
yield bounded(value);
|
|
1035
|
+
return;
|
|
1036
|
+
}
|
|
1037
|
+
const reader = response.body.getReader();
|
|
1038
|
+
try {
|
|
1039
|
+
for (;;) {
|
|
1040
|
+
const { done, value } = await reader.read();
|
|
1041
|
+
if (done)
|
|
1042
|
+
break;
|
|
1043
|
+
if (value)
|
|
1044
|
+
yield bounded(value);
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
finally {
|
|
1048
|
+
reader.releaseLock();
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
finally {
|
|
1052
|
+
onComplete();
|
|
1053
|
+
}
|
|
1054
|
+
}
|