@owlmeans/viable-sdk 0.1.18-rc.8 → 0.1.18
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 +29 -11
- package/agent-meta/manifest.json +16 -0
- package/agent-meta/skills/viable-sdk/SKILL.md +1033 -0
- package/build/api/collect/types.d.ts +30 -0
- package/build/api/collect/types.d.ts.map +1 -0
- package/build/api/collect/types.js +2 -0
- package/build/api/collect/types.js.map +1 -0
- package/build/api/collect.d.ts +14 -0
- package/build/api/collect.d.ts.map +1 -0
- package/build/api/collect.js +132 -0
- package/build/api/collect.js.map +1 -0
- package/build/api/consts.local.d.ts +21 -0
- package/build/api/consts.local.d.ts.map +1 -0
- package/build/api/consts.local.js +25 -0
- package/build/api/consts.local.js.map +1 -0
- package/build/api/index.d.ts +5 -0
- package/build/api/index.d.ts.map +1 -1
- package/build/api/index.js +2 -0
- package/build/api/index.js.map +1 -1
- package/build/api/remote.d.ts +13 -6
- package/build/api/remote.d.ts.map +1 -1
- package/build/api/remote.js +302 -35
- package/build/api/remote.js.map +1 -1
- package/build/api/transport/types.d.ts +14 -0
- package/build/api/transport/types.d.ts.map +1 -0
- package/build/api/transport/types.js +2 -0
- package/build/api/transport/types.js.map +1 -0
- package/build/api/transport.d.ts +4 -0
- package/build/api/transport.d.ts.map +1 -0
- package/build/api/transport.js +32 -0
- package/build/api/transport.js.map +1 -0
- package/build/api/types.d.ts +9 -0
- package/build/api/types.d.ts.map +1 -0
- package/build/api/types.js +2 -0
- package/build/api/types.js.map +1 -0
- package/build/api/types.local.d.ts +3 -0
- package/build/api/types.local.d.ts.map +1 -0
- package/build/api/types.local.js +2 -0
- package/build/api/types.local.js.map +1 -0
- package/build/consts.d.ts +29 -14
- package/build/consts.d.ts.map +1 -1
- package/build/consts.js +30 -14
- package/build/consts.js.map +1 -1
- package/build/context/consts.local.d.ts +18 -0
- package/build/context/consts.local.d.ts.map +1 -0
- package/build/context/consts.local.js +18 -0
- package/build/context/consts.local.js.map +1 -0
- package/build/context/index.d.ts +3 -7
- package/build/context/index.d.ts.map +1 -1
- package/build/context/index.js +58 -25
- package/build/context/index.js.map +1 -1
- package/build/context/types.d.ts +26 -0
- package/build/context/types.d.ts.map +1 -0
- package/build/context/types.js +2 -0
- package/build/context/types.js.map +1 -0
- package/build/executor/boot-check.d.ts +1 -40
- package/build/executor/boot-check.d.ts.map +1 -1
- package/build/executor/boot-check.js +22 -19
- package/build/executor/boot-check.js.map +1 -1
- package/build/executor/consts.d.ts +55 -0
- package/build/executor/consts.d.ts.map +1 -0
- package/build/executor/consts.js +66 -0
- package/build/executor/consts.js.map +1 -0
- package/build/executor/consts.local.d.ts +63 -0
- package/build/executor/consts.local.d.ts.map +1 -0
- package/build/executor/consts.local.js +69 -0
- package/build/executor/consts.local.js.map +1 -0
- package/build/executor/env/types.d.ts +40 -0
- package/build/executor/env/types.d.ts.map +1 -0
- package/build/executor/env/types.js +2 -0
- package/build/executor/env/types.js.map +1 -0
- package/build/executor/env.d.ts +11 -20
- package/build/executor/env.d.ts.map +1 -1
- package/build/executor/env.js +39 -59
- package/build/executor/env.js.map +1 -1
- package/build/executor/errors.d.ts +15 -0
- package/build/executor/errors.d.ts.map +1 -1
- package/build/executor/errors.js +19 -2
- package/build/executor/errors.js.map +1 -1
- package/build/executor/files/types.d.ts +106 -0
- package/build/executor/files/types.d.ts.map +1 -0
- package/build/executor/files/types.js +2 -0
- package/build/executor/files/types.js.map +1 -0
- package/build/executor/files.d.ts +2 -50
- package/build/executor/files.d.ts.map +1 -1
- package/build/executor/files.js +225 -68
- package/build/executor/files.js.map +1 -1
- package/build/executor/git/types.d.ts +19 -0
- package/build/executor/git/types.d.ts.map +1 -0
- package/build/executor/git/types.js +2 -0
- package/build/executor/git/types.js.map +1 -0
- package/build/executor/git.d.ts +4 -36
- package/build/executor/git.d.ts.map +1 -1
- package/build/executor/git.js +206 -241
- package/build/executor/git.js.map +1 -1
- package/build/executor/glob/types.d.ts +12 -0
- package/build/executor/glob/types.d.ts.map +1 -0
- package/build/executor/glob/types.js +2 -0
- package/build/executor/glob/types.js.map +1 -0
- package/build/executor/glob.d.ts +4 -0
- package/build/executor/glob.d.ts.map +1 -0
- package/build/executor/glob.js +11 -0
- package/build/executor/glob.js.map +1 -0
- package/build/executor/health/types.d.ts +39 -0
- package/build/executor/health/types.d.ts.map +1 -0
- package/build/executor/health/types.js +2 -0
- package/build/executor/health/types.js.map +1 -0
- package/build/executor/health.d.ts +3 -83
- package/build/executor/health.d.ts.map +1 -1
- package/build/executor/health.js +76 -91
- package/build/executor/health.js.map +1 -1
- package/build/executor/index.d.ts +14 -15
- package/build/executor/index.d.ts.map +1 -1
- package/build/executor/index.js +36 -18
- package/build/executor/index.js.map +1 -1
- package/build/executor/integrity/types.d.ts +25 -0
- package/build/executor/integrity/types.d.ts.map +1 -0
- package/build/executor/integrity/types.js +2 -0
- package/build/executor/integrity/types.js.map +1 -0
- package/build/executor/integrity.d.ts +5 -15
- package/build/executor/integrity.d.ts.map +1 -1
- package/build/executor/integrity.js +28 -39
- package/build/executor/integrity.js.map +1 -1
- package/build/executor/layout/types.d.ts +69 -0
- package/build/executor/layout/types.d.ts.map +1 -0
- package/build/executor/layout/types.js +2 -0
- package/build/executor/layout/types.js.map +1 -0
- package/build/executor/layout.d.ts +9 -56
- package/build/executor/layout.d.ts.map +1 -1
- package/build/executor/layout.js +35 -82
- package/build/executor/layout.js.map +1 -1
- package/build/executor/shell/types.d.ts +76 -0
- package/build/executor/shell/types.d.ts.map +1 -0
- package/build/executor/shell/types.js +2 -0
- package/build/executor/shell/types.js.map +1 -0
- package/build/executor/shell.d.ts +3 -78
- package/build/executor/shell.d.ts.map +1 -1
- package/build/executor/shell.js +61 -91
- package/build/executor/shell.js.map +1 -1
- package/build/executor/spawn/types.d.ts +98 -0
- package/build/executor/spawn/types.d.ts.map +1 -0
- package/build/executor/spawn/types.js +2 -0
- package/build/executor/spawn/types.js.map +1 -0
- package/build/executor/spawn.d.ts +3 -103
- package/build/executor/spawn.d.ts.map +1 -1
- package/build/executor/spawn.js +192 -274
- package/build/executor/spawn.js.map +1 -1
- package/build/executor/types.d.ts +123 -0
- package/build/executor/types.d.ts.map +1 -0
- package/build/executor/types.js +2 -0
- package/build/executor/types.js.map +1 -0
- package/build/executor/types.local.d.ts +6 -0
- package/build/executor/types.local.d.ts.map +1 -0
- package/build/executor/types.local.js +2 -0
- package/build/executor/types.local.js.map +1 -0
- package/build/index.d.ts +14 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +5 -1
- package/build/index.js.map +1 -1
- package/build/project/consts.d.ts +17 -0
- package/build/project/consts.d.ts.map +1 -0
- package/build/project/consts.js +17 -0
- package/build/project/consts.js.map +1 -0
- package/build/project/consts.local.d.ts +4 -0
- package/build/project/consts.local.d.ts.map +1 -0
- package/build/project/consts.local.js +4 -0
- package/build/project/consts.local.js.map +1 -0
- package/build/project/dotenv/types.d.ts +39 -0
- package/build/project/dotenv/types.d.ts.map +1 -0
- package/build/project/dotenv/types.js +2 -0
- package/build/project/dotenv/types.js.map +1 -0
- package/build/project/dotenv.d.ts +4 -0
- package/build/project/dotenv.d.ts.map +1 -0
- package/build/project/dotenv.js +56 -0
- package/build/project/dotenv.js.map +1 -0
- package/build/project/env/types.d.ts +40 -0
- package/build/project/env/types.d.ts.map +1 -0
- package/build/project/env/types.js +2 -0
- package/build/project/env/types.js.map +1 -0
- package/build/project/env.d.ts +2 -98
- package/build/project/env.d.ts.map +1 -1
- package/build/project/env.js +63 -215
- package/build/project/env.js.map +1 -1
- package/build/project/marker/types.d.ts +33 -0
- package/build/project/marker/types.d.ts.map +1 -0
- package/build/project/marker/types.js +2 -0
- package/build/project/marker/types.js.map +1 -0
- package/build/project/marker.d.ts +4 -25
- package/build/project/marker.d.ts.map +1 -1
- package/build/project/marker.js +40 -43
- package/build/project/marker.js.map +1 -1
- package/build/project/probe/types.d.ts +22 -0
- package/build/project/probe/types.d.ts.map +1 -0
- package/build/project/probe/types.js +2 -0
- package/build/project/probe/types.js.map +1 -0
- package/build/project/probe.d.ts +4 -0
- package/build/project/probe.d.ts.map +1 -0
- package/build/project/probe.js +39 -0
- package/build/project/probe.js.map +1 -0
- package/build/project/report/types.d.ts +18 -0
- package/build/project/report/types.d.ts.map +1 -0
- package/build/project/report/types.js +2 -0
- package/build/project/report/types.js.map +1 -0
- package/build/project/report.d.ts +7 -0
- package/build/project/report.d.ts.map +1 -0
- package/build/project/report.js +68 -0
- package/build/project/report.js.map +1 -0
- package/build/project/setup/types.d.ts +32 -0
- package/build/project/setup/types.d.ts.map +1 -0
- package/build/project/setup/types.js +2 -0
- package/build/project/setup/types.js.map +1 -0
- package/build/project/setup.d.ts +4 -53
- package/build/project/setup.d.ts.map +1 -1
- package/build/project/setup.js +112 -175
- package/build/project/setup.js.map +1 -1
- package/build/project/types.d.ts +37 -0
- package/build/project/types.d.ts.map +1 -0
- package/build/project/types.js +2 -0
- package/build/project/types.js.map +1 -0
- package/build/run/consts.local.d.ts +3 -0
- package/build/run/consts.local.d.ts.map +1 -0
- package/build/run/consts.local.js +26 -0
- package/build/run/consts.local.js.map +1 -0
- package/build/run/index.d.ts +11 -69
- package/build/run/index.d.ts.map +1 -1
- package/build/run/index.js +9 -147
- package/build/run/index.js.map +1 -1
- package/build/run/local/types.d.ts +39 -0
- package/build/run/local/types.d.ts.map +1 -0
- package/build/run/local/types.js +2 -0
- package/build/run/local/types.js.map +1 -0
- package/build/run/local.d.ts +3 -0
- package/build/run/local.d.ts.map +1 -0
- package/build/run/local.js +130 -0
- package/build/run/local.js.map +1 -0
- package/build/run/process/types.d.ts +15 -0
- package/build/run/process/types.d.ts.map +1 -0
- package/build/run/process/types.js +2 -0
- package/build/run/process/types.js.map +1 -0
- package/build/run/process.d.ts +4 -0
- package/build/run/process.d.ts.map +1 -0
- package/build/run/process.js +20 -0
- package/build/run/process.js.map +1 -0
- package/build/run/serve.d.ts +14 -9
- package/build/run/serve.d.ts.map +1 -1
- package/build/run/serve.js +1 -25
- package/build/run/serve.js.map +1 -1
- package/build/run/state/types.d.ts +35 -0
- package/build/run/state/types.d.ts.map +1 -0
- package/build/run/state/types.js +2 -0
- package/build/run/state/types.js.map +1 -0
- package/build/run/state.d.ts +3 -62
- package/build/run/state.d.ts.map +1 -1
- package/build/run/state.js +96 -123
- package/build/run/state.js.map +1 -1
- package/build/run/types.d.ts +78 -0
- package/build/run/types.d.ts.map +1 -0
- package/build/run/types.js +2 -0
- package/build/run/types.js.map +1 -0
- package/build/session/consts.local.d.ts +5 -0
- package/build/session/consts.local.d.ts.map +1 -0
- package/build/session/consts.local.js +5 -0
- package/build/session/consts.local.js.map +1 -0
- package/build/session/index.d.ts +5 -10
- package/build/session/index.d.ts.map +1 -1
- package/build/session/index.js +84 -15
- package/build/session/index.js.map +1 -1
- package/build/session/questions.d.ts +16 -0
- package/build/session/questions.d.ts.map +1 -0
- package/build/session/questions.js +17 -0
- package/build/session/questions.js.map +1 -0
- package/build/session/queue.d.ts +61 -0
- package/build/session/queue.d.ts.map +1 -0
- package/build/session/queue.js +156 -0
- package/build/session/queue.js.map +1 -0
- package/build/session/tasks.d.ts +11 -30
- package/build/session/tasks.d.ts.map +1 -1
- package/build/session/tasks.js +18 -78
- package/build/session/tasks.js.map +1 -1
- package/build/session/types.d.ts +20 -0
- package/build/session/types.d.ts.map +1 -0
- package/build/session/types.js +2 -0
- package/build/session/types.js.map +1 -0
- package/build/task/consts.d.ts +12 -0
- package/build/task/consts.d.ts.map +1 -0
- package/build/task/consts.js +12 -0
- package/build/task/consts.js.map +1 -0
- package/build/task/consts.local.d.ts +19 -0
- package/build/task/consts.local.d.ts.map +1 -0
- package/build/task/consts.local.js +72 -0
- package/build/task/consts.local.js.map +1 -0
- package/build/task/driver.d.ts +1 -28
- package/build/task/driver.d.ts.map +1 -1
- package/build/task/driver.js +2 -9
- package/build/task/driver.js.map +1 -1
- package/build/task/envelope/types.d.ts +29 -0
- package/build/task/envelope/types.d.ts.map +1 -0
- package/build/task/envelope/types.js +2 -0
- package/build/task/envelope/types.js.map +1 -0
- package/build/task/envelope.d.ts +4 -34
- package/build/task/envelope.d.ts.map +1 -1
- package/build/task/envelope.js +103 -165
- package/build/task/envelope.js.map +1 -1
- package/build/task/index.d.ts +5 -0
- package/build/task/index.d.ts.map +1 -1
- package/build/task/index.js +2 -0
- package/build/task/index.js.map +1 -1
- package/build/task/inquiry/types.d.ts +38 -0
- package/build/task/inquiry/types.d.ts.map +1 -0
- package/build/task/inquiry/types.js +2 -0
- package/build/task/inquiry/types.js.map +1 -0
- package/build/task/inquiry.d.ts +5 -0
- package/build/task/inquiry.d.ts.map +1 -0
- package/build/task/inquiry.js +188 -0
- package/build/task/inquiry.js.map +1 -0
- package/build/task/types.d.ts +48 -0
- package/build/task/types.d.ts.map +1 -0
- package/build/task/types.js +2 -0
- package/build/task/types.js.map +1 -0
- package/build/tools/account/types.d.ts +24 -0
- package/build/tools/account/types.d.ts.map +1 -0
- package/build/tools/account/types.js +2 -0
- package/build/tools/account/types.js.map +1 -0
- package/build/tools/account.d.ts +4 -0
- package/build/tools/account.d.ts.map +1 -0
- package/build/tools/account.js +72 -0
- package/build/tools/account.js.map +1 -0
- package/build/tools/blueprints/types.d.ts +5 -0
- package/build/tools/blueprints/types.d.ts.map +1 -0
- package/build/tools/blueprints/types.js +2 -0
- package/build/tools/blueprints/types.js.map +1 -0
- package/build/tools/blueprints.d.ts +4 -0
- package/build/tools/blueprints.d.ts.map +1 -0
- package/build/tools/blueprints.js +23 -0
- package/build/tools/blueprints.js.map +1 -0
- package/build/tools/catalogue/types.d.ts +8 -0
- package/build/tools/catalogue/types.d.ts.map +1 -0
- package/build/tools/catalogue/types.js +2 -0
- package/build/tools/catalogue/types.js.map +1 -0
- package/build/tools/catalogue.d.ts +8 -6
- package/build/tools/catalogue.d.ts.map +1 -1
- package/build/tools/catalogue.js +2565 -213
- package/build/tools/catalogue.js.map +1 -1
- package/build/tools/config/types.d.ts +19 -0
- package/build/tools/config/types.d.ts.map +1 -0
- package/build/tools/config/types.js +2 -0
- package/build/tools/config/types.js.map +1 -0
- package/build/tools/config.d.ts +4 -0
- package/build/tools/config.d.ts.map +1 -0
- package/build/tools/config.js +42 -0
- package/build/tools/config.js.map +1 -0
- package/build/tools/consts.d.ts +61 -0
- package/build/tools/consts.d.ts.map +1 -0
- package/build/tools/consts.js +515 -0
- package/build/tools/consts.js.map +1 -0
- package/build/tools/consts.local.d.ts +131 -0
- package/build/tools/consts.local.d.ts.map +1 -0
- package/build/tools/consts.local.js +236 -0
- package/build/tools/consts.local.js.map +1 -0
- package/build/tools/control/types.d.ts +17 -0
- package/build/tools/control/types.d.ts.map +1 -0
- package/build/tools/control/types.js +2 -0
- package/build/tools/control/types.js.map +1 -0
- package/build/tools/control.d.ts +4 -0
- package/build/tools/control.d.ts.map +1 -0
- package/build/tools/control.js +44 -0
- package/build/tools/control.js.map +1 -0
- package/build/tools/feed/types.d.ts +21 -0
- package/build/tools/feed/types.d.ts.map +1 -0
- package/build/tools/feed/types.js +2 -0
- package/build/tools/feed/types.js.map +1 -0
- package/build/tools/feed.d.ts +4 -0
- package/build/tools/feed.d.ts.map +1 -0
- package/build/tools/feed.js +75 -0
- package/build/tools/feed.js.map +1 -0
- package/build/tools/git/types.d.ts +25 -0
- package/build/tools/git/types.d.ts.map +1 -0
- package/build/tools/git/types.js +2 -0
- package/build/tools/git/types.js.map +1 -0
- package/build/tools/git.d.ts +4 -0
- package/build/tools/git.d.ts.map +1 -0
- package/build/tools/git.js +83 -0
- package/build/tools/git.js.map +1 -0
- package/build/tools/handover/types.d.ts +49 -0
- package/build/tools/handover/types.d.ts.map +1 -0
- package/build/tools/handover/types.js +2 -0
- package/build/tools/handover/types.js.map +1 -0
- package/build/tools/handover.d.ts +8 -0
- package/build/tools/handover.d.ts.map +1 -0
- package/build/tools/handover.js +138 -0
- package/build/tools/handover.js.map +1 -0
- package/build/tools/host/types.d.ts +34 -0
- package/build/tools/host/types.d.ts.map +1 -0
- package/build/tools/host/types.js +2 -0
- package/build/tools/host/types.js.map +1 -0
- package/build/tools/host.d.ts +4 -0
- package/build/tools/host.d.ts.map +1 -0
- package/build/tools/host.js +13 -0
- package/build/tools/host.js.map +1 -0
- package/build/tools/iam/types.d.ts +44 -0
- package/build/tools/iam/types.d.ts.map +1 -0
- package/build/tools/iam/types.js +2 -0
- package/build/tools/iam/types.js.map +1 -0
- package/build/tools/iam.d.ts +4 -0
- package/build/tools/iam.d.ts.map +1 -0
- package/build/tools/iam.js +229 -0
- package/build/tools/iam.js.map +1 -0
- package/build/tools/index.d.ts +27 -1
- package/build/tools/index.d.ts.map +1 -1
- package/build/tools/index.js +14 -1
- package/build/tools/index.js.map +1 -1
- package/build/tools/inflight/types.d.ts +47 -0
- package/build/tools/inflight/types.d.ts.map +1 -0
- package/build/tools/inflight/types.js +2 -0
- package/build/tools/inflight/types.js.map +1 -0
- package/build/tools/inflight.d.ts +3 -0
- package/build/tools/inflight.d.ts.map +1 -0
- package/build/tools/inflight.js +88 -0
- package/build/tools/inflight.js.map +1 -0
- package/build/tools/kits/types.d.ts +12 -0
- package/build/tools/kits/types.d.ts.map +1 -0
- package/build/tools/kits/types.js +2 -0
- package/build/tools/kits/types.js.map +1 -0
- package/build/tools/kits.d.ts +4 -0
- package/build/tools/kits.d.ts.map +1 -0
- package/build/tools/kits.js +33 -0
- package/build/tools/kits.js.map +1 -0
- package/build/tools/mcp.d.ts +13 -19
- package/build/tools/mcp.d.ts.map +1 -1
- package/build/tools/mcp.js +117 -38
- package/build/tools/mcp.js.map +1 -1
- package/build/tools/platform.d.ts +14 -0
- package/build/tools/platform.d.ts.map +1 -0
- package/build/tools/platform.js +90 -0
- package/build/tools/platform.js.map +1 -0
- package/build/tools/production/types.d.ts +22 -0
- package/build/tools/production/types.d.ts.map +1 -0
- package/build/tools/production/types.js +2 -0
- package/build/tools/production/types.js.map +1 -0
- package/build/tools/production.d.ts +4 -0
- package/build/tools/production.d.ts.map +1 -0
- package/build/tools/production.js +80 -0
- package/build/tools/production.js.map +1 -0
- package/build/tools/refusal/types.d.ts +95 -0
- package/build/tools/refusal/types.d.ts.map +1 -0
- package/build/tools/refusal/types.js +2 -0
- package/build/tools/refusal/types.js.map +1 -0
- package/build/tools/refusal.d.ts +4 -0
- package/build/tools/refusal.d.ts.map +1 -0
- package/build/tools/refusal.js +663 -0
- package/build/tools/refusal.js.map +1 -0
- package/build/tools/settings/types.d.ts +42 -0
- package/build/tools/settings/types.d.ts.map +1 -0
- package/build/tools/settings/types.js +2 -0
- package/build/tools/settings/types.js.map +1 -0
- package/build/tools/settings.d.ts +4 -0
- package/build/tools/settings.d.ts.map +1 -0
- package/build/tools/settings.js +71 -0
- package/build/tools/settings.js.map +1 -0
- package/build/tools/status/types.d.ts +25 -0
- package/build/tools/status/types.d.ts.map +1 -0
- package/build/tools/status/types.js +2 -0
- package/build/tools/status/types.js.map +1 -0
- package/build/tools/status.d.ts +4 -0
- package/build/tools/status.d.ts.map +1 -0
- package/build/tools/status.js +183 -0
- package/build/tools/status.js.map +1 -0
- package/build/tools/stories/types.d.ts +48 -0
- package/build/tools/stories/types.d.ts.map +1 -0
- package/build/tools/stories/types.js +2 -0
- package/build/tools/stories/types.js.map +1 -0
- package/build/tools/stories.d.ts +8 -0
- package/build/tools/stories.d.ts.map +1 -0
- package/build/tools/stories.js +79 -0
- package/build/tools/stories.js.map +1 -0
- package/build/tools/types.d.ts +177 -26
- package/build/tools/types.d.ts.map +1 -1
- package/build/tools/types.js +1 -32
- package/build/tools/types.js.map +1 -1
- package/build/types.d.ts +391 -26
- package/build/types.d.ts.map +1 -1
- package/build/utils.d.ts +8 -0
- package/build/utils.d.ts.map +1 -0
- package/build/utils.js +12 -0
- package/build/utils.js.map +1 -0
- package/package.json +30 -34
- package/build/harness/index.d.ts +0 -28
- package/build/harness/index.d.ts.map +0 -1
- package/build/harness/index.js +0 -83
- package/build/harness/index.js.map +0 -1
- package/build/harness/templates.d.ts +0 -30
- package/build/harness/templates.d.ts.map +0 -1
- package/build/harness/templates.js +0 -154
- package/build/harness/templates.js.map +0 -1
- package/build/tools/jobs.d.ts +0 -12
- package/build/tools/jobs.d.ts.map +0 -1
- package/build/tools/jobs.js +0 -47
- package/build/tools/jobs.js.map +0 -1
package/build/types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PlanningFacade } from '@owlmeans/planning';
|
|
2
|
+
import type { BlueprintCatalogue, ConnectAccessTokenList, ConnectAccessTokenRevoked, ConnectIntentPickup, ConnectPrivacyChoices, ConnectProfileSettingsView, ConnectProjectSettings, ConnectAgentLock, ConnectBrandingBackfill, ConnectCapabilities, ConnectConfigSaveBody, ConnectConfigScope, ConnectOrganizationBranding, ConnectOrganizationBrandingSave, ConnectProjectConfig, ConnectConvertCreateBody, ConnectConvertProceedBody, ConnectConvertStartBody, ConnectFileContent, ConnectFileMetaQuery, ConnectFileWritten, ConnectSlotView, ConnectGitCommit, ConnectGitCommitResult, ConnectGitRevertResult, ConnectGitState, ConnectGitStatus, ConnectGitSyncResult, ConnectGithubAuthorize, ConnectGithubBranchList, ConnectGithubBranchQuery, ConnectGithubConnection, ConnectGithubDisconnected, ConnectGithubLinkBody, ConnectGithubLinked, ConnectGithubPublishBody, ConnectGithubRepoList, ConnectGithubRepoQuery, ConnectProductionAuth, ConnectProductionDomain, ConnectProductionRedirects, ConnectProductionStatus, ConnectHarness, ConnectKitApplyBody, ConnectKitApplyResult, ConnectKitDescribe, ConnectLlm, ConnectMarker, ConnectOp, ConnectOpResult, ConnectOpSubmission, ConnectPipelineState, ConnectProjectBranding, ConnectProjectBrandingSave, ConnectProjectStatus, ConnectProjectSummary, ConnectSessionView, ConnectStoryStatus, ConnectTarget, ConversionStatusView, ConvertCheck, InquiryAnswerPayload, InquiryPayload, ModelTask, ModelTaskResult, SlotCommandPayload, IamAssignGrant, IamDefinitionUpdate, IamGrant, IamGrantsQuery, IamGrantsResponse, IamGroup, IamGroupCreate, IamGroupEdit, IamGroupsResponse, IamMember, IamMembersResponse, IamOrganization, IamOrganizationEdit, IamOrganizationsResponse, IamPermissionDefinition, IamPermissionsResponse, IamProjectMemberInvite, IamProjectMemberUpdate, IamProjectUserInvite, IamProjectUserUpdate, IamRevokeGrant, IamUser, IamUsersResponse, ConnectActivityQuery, ConnectFeedPage, ConnectFeedQuery, ConnectFileChanges, AgentSteerArgs, AgentSteerResult, AgentStopArgs, StoryBatchStartArgs, StoryBatchView } from '@owlmeans/viable-common';
|
|
2
3
|
export interface SdkOptions {
|
|
3
4
|
apiUrl: string;
|
|
4
5
|
/** The access token. The connector authenticates with nothing else. */
|
|
@@ -21,15 +22,17 @@ export interface SdkOptions {
|
|
|
21
22
|
* written against this, so a tool cannot accidentally work in only one of the two.
|
|
22
23
|
*/
|
|
23
24
|
export interface ConnectorApi {
|
|
24
|
-
capabilities: () => Promise<ConnectCapabilitiesView>;
|
|
25
25
|
openSession: (args: OpenSessionArgs) => Promise<ConnectSessionView>;
|
|
26
26
|
closeSession: (sessionId: string) => Promise<void>;
|
|
27
|
-
heartbeat: (sessionId: string) => Promise<ConnectSessionView>;
|
|
28
27
|
pullOps: (sessionId: string, waitSec: number) => Promise<ConnectOp[]>;
|
|
29
28
|
submitOp: (sessionId: string, result: ConnectOpResult) => Promise<ConnectOpSubmission>;
|
|
30
29
|
project: {
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
/**
|
|
31
|
+
* `sessionId`: the caller's UNATTACHED delegated session — its parent performs the checks the
|
|
32
|
+
* platform runs before the project card exists. Absent, the platform performs them.
|
|
33
|
+
*/
|
|
34
|
+
create: (prompt: string, target?: ConnectTarget, sessionId?: string) => Promise<ConnectProjectStatus>;
|
|
35
|
+
confirm: (projectId: string, edits: ProjectEdits) => Promise<ConnectProjectStatus>;
|
|
33
36
|
list: () => Promise<Array<{
|
|
34
37
|
id: string;
|
|
35
38
|
name: string;
|
|
@@ -40,24 +43,366 @@ export interface ConnectorApi {
|
|
|
40
43
|
projectId?: string;
|
|
41
44
|
slug?: string;
|
|
42
45
|
}) => Promise<ConnectProjectStatus>;
|
|
43
|
-
reinit: (projectId: string) => Promise<
|
|
44
|
-
modify: (projectId: string, prompt: string) => Promise<
|
|
45
|
-
|
|
46
|
+
reinit: (projectId: string) => Promise<ConnectProjectStatus>;
|
|
47
|
+
modify: (projectId: string, prompt: string) => Promise<ConnectProjectStatus>;
|
|
48
|
+
/**
|
|
49
|
+
* Rename the project: its record, specification, vision and what its code calls it. The web
|
|
50
|
+
* address stays. A new name starts an agent run, paid like an open-ended change.
|
|
51
|
+
*/
|
|
52
|
+
rename: (projectId: string, name: string, description?: string) => Promise<ConnectProjectStatus>;
|
|
53
|
+
/**
|
|
54
|
+
* The planning kits the project can take: ready sets of card types and status flows, each
|
|
55
|
+
* for one kind of work-management product.
|
|
56
|
+
*/
|
|
57
|
+
kitDescribe: (projectId: string) => Promise<ConnectKitDescribe>;
|
|
58
|
+
/**
|
|
59
|
+
* Write one kit's card types and flows into the project's common package (`types` keeps only
|
|
60
|
+
* those type keys). The platform rebuilds the preview itself; the answer says what was written.
|
|
61
|
+
*/
|
|
62
|
+
kitApply: (projectId: string, body: ConnectKitApplyBody) => Promise<ConnectKitApplyResult>;
|
|
63
|
+
/**
|
|
64
|
+
* Delete the project and everything it owns — its preview and production workloads, its
|
|
65
|
+
* stories and documents, its configuration and its connector sessions. Cannot be undone; the
|
|
66
|
+
* answer names what was deleted.
|
|
67
|
+
*/
|
|
68
|
+
destroy: (projectId: string) => Promise<ConnectProjectSummary>;
|
|
69
|
+
/**
|
|
70
|
+
* Release the project's agent lock by force — the recovery for a lock a crashed run left
|
|
71
|
+
* behind. A run still working is not stopped by it; the answer is the lock as it now stands.
|
|
72
|
+
*/
|
|
73
|
+
unlock: (projectId: string) => Promise<ConnectAgentLock>;
|
|
74
|
+
/**
|
|
75
|
+
* Stop what the agent runs now — the web's Stop. A story run stops at its next step boundary and
|
|
76
|
+
* its changes since that run started are rolled back (the story returns to planned); an
|
|
77
|
+
* open-ended change stops once the model's current answer arrives and ends with a short summary,
|
|
78
|
+
* its edits kept; the `batch` scope cancels the batch first. Answers the lock, `stopping` set.
|
|
79
|
+
* Refused `AgentNotRunning` when nothing it reaches runs.
|
|
80
|
+
*/
|
|
81
|
+
stop: (projectId: string, args: AgentStopArgs) => Promise<ConnectAgentLock>;
|
|
82
|
+
/**
|
|
83
|
+
* Send the open-ended change that runs now a message, read before the agent's next model call.
|
|
84
|
+
* Refused `AgentNotRunning` when no such run is open to messages.
|
|
85
|
+
*/
|
|
86
|
+
steer: (projectId: string, args: AgentSteerArgs) => Promise<AgentSteerResult>;
|
|
87
|
+
/**
|
|
88
|
+
* A story batch — the web's Run all: several planned stories implemented one after another, in
|
|
89
|
+
* the order the platform chooses for building them.
|
|
90
|
+
*/
|
|
91
|
+
batch: {
|
|
92
|
+
/**
|
|
93
|
+
* Start one over the stories named (card ids), or every planned story when `stories` is left
|
|
94
|
+
* out. Refused `StoryBatchActive` while another runs, `StoryBatchEmpty` when nothing planned is
|
|
95
|
+
* selected; each story's start is admitted like a person's Start.
|
|
96
|
+
*/
|
|
97
|
+
start: (projectId: string, args: StoryBatchStartArgs) => Promise<StoryBatchView>;
|
|
98
|
+
/** The project's latest batch, or `null` when none ever ran. */
|
|
99
|
+
get: (projectId: string) => Promise<StoryBatchView | null>;
|
|
100
|
+
/** No further story starts; the story in progress is stopped through {@link stop}. */
|
|
101
|
+
cancel: (projectId: string) => Promise<StoryBatchView>;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* What the project's agent did after a cursor — run starts and stops, pipeline steps, card,
|
|
105
|
+
* workload and conversion changes, git proposals, tool outcomes, and with `detail: thinking` the
|
|
106
|
+
* model's own words. Held up to `wait` seconds (at most 20) when nothing came yet; `gap` says
|
|
107
|
+
* entries after the cursor were dropped. The browser's project socket, polled.
|
|
108
|
+
*/
|
|
109
|
+
activity: (projectId: string, query?: ConnectActivityQuery) => Promise<ConnectFeedPage>;
|
|
110
|
+
/**
|
|
111
|
+
* The project's inference override (`null` inherits the person's preference), what it resolves
|
|
112
|
+
* to and whether the plan allows the delegated mode.
|
|
113
|
+
*/
|
|
114
|
+
llm: (projectId: string) => Promise<ConnectProjectSettings>;
|
|
115
|
+
/**
|
|
116
|
+
* Pin the project's inference mode, or `null` to inherit the person's preference again — a
|
|
117
|
+
* capability of the plan: refused `CapabilityRequired` when the plan has no delegated mode
|
|
118
|
+
* (clearing an override included, exactly as in the browser). It is the DEFAULT the
|
|
119
|
+
* URL-configured host and the browser use; a stdio connector already running keeps its `--llm`.
|
|
120
|
+
*/
|
|
121
|
+
setLlm: (projectId: string, llmMode: ConnectLlm | null) => Promise<ConnectProjectSettings>;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* The project settings a person edits on the project's control panel: the copyright line, the
|
|
125
|
+
* organization name, the Terms and Privacy links and the Google tag — and, read-only, where the
|
|
126
|
+
* platform credit stands (`credit`).
|
|
127
|
+
*
|
|
128
|
+
* Read and written as ONE record, because the platform validates them as one — a save merges the
|
|
129
|
+
* patch over what is stored, checks and moderates the merged record exactly as the web save does,
|
|
130
|
+
* and answers with it. `scope` names the production workload's own set; absent, the preview's.
|
|
131
|
+
*/
|
|
132
|
+
projectBranding: (projectId: string, scope?: ConnectConfigScope) => Promise<ConnectProjectBranding>;
|
|
133
|
+
/**
|
|
134
|
+
* Change some of the project settings; the fields left out keep their stored values.
|
|
135
|
+
*
|
|
136
|
+
* The platform applies a change of the preview's set by a configuration push (which rebuilds it);
|
|
137
|
+
* production takes it at the next Publish. For a local target that push is a `Configure`
|
|
138
|
+
* operation, so the caller attaches its connector first.
|
|
139
|
+
*/
|
|
140
|
+
saveProjectBranding: (projectId: string, patch: ConnectProjectBrandingSave, scope?: ConnectConfigScope) => Promise<ConnectProjectBranding>;
|
|
141
|
+
/**
|
|
142
|
+
* Hide (`true`) or show the platform credit — white label, a capability of the plan: refused
|
|
143
|
+
* `CapabilityRequired` when the plan does not include it. Answers the settings with the credit.
|
|
144
|
+
*/
|
|
145
|
+
setPlatformCredit: (projectId: string, hidden: boolean, scope?: ConnectConfigScope) => Promise<ConnectProjectBranding>;
|
|
146
|
+
/** Replace the project's organization name and copyright with the organization's defaults. */
|
|
147
|
+
copyOrganizationBranding: (projectId: string, scope?: ConnectConfigScope) => Promise<ConnectProjectBranding>;
|
|
148
|
+
/**
|
|
149
|
+
* The project's configuration variables — what its generated application reads from its
|
|
150
|
+
* environment. A backend variable's value is a secret and never comes back: only whether it is set.
|
|
151
|
+
*/
|
|
152
|
+
config: {
|
|
153
|
+
get: (projectId: string, scope?: ConnectConfigScope) => Promise<ConnectProjectConfig>;
|
|
154
|
+
/** Set the variables named (a patch); a save of the preview's set reconfigures and rebuilds it. */
|
|
155
|
+
save: (projectId: string, body: ConnectConfigSaveBody, scope?: ConnectConfigScope) => Promise<ConnectProjectConfig>;
|
|
156
|
+
/** Let the platform's agent read the sources again for the variables they declare. */
|
|
157
|
+
recollect: (projectId: string) => Promise<ConnectProjectConfig>;
|
|
158
|
+
};
|
|
159
|
+
/** The organization's own records. */
|
|
160
|
+
account: {
|
|
161
|
+
/** Installed blueprint and case catalogue; available before any project exists. */
|
|
162
|
+
blueprints: () => Promise<BlueprintCatalogue>;
|
|
163
|
+
/** The organization's branding defaults — what every new project starts with. */
|
|
164
|
+
branding: {
|
|
165
|
+
get: () => Promise<ConnectOrganizationBranding>;
|
|
166
|
+
save: (patch: ConnectOrganizationBrandingSave) => Promise<ConnectOrganizationBranding>;
|
|
167
|
+
/** Fill the projects' blank branding rows from the defaults; answers how many changed. */
|
|
168
|
+
backfill: () => Promise<ConnectBrandingBackfill>;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* The person's own inference preference — the default of every project without an override.
|
|
172
|
+
* `set` is a capability of the plan (refused `CapabilityRequired` without the delegated mode).
|
|
173
|
+
*/
|
|
174
|
+
llm: {
|
|
175
|
+
get: () => Promise<ConnectProfileSettingsView>;
|
|
176
|
+
set: (llmMode: ConnectLlm) => Promise<ConnectProfileSettingsView>;
|
|
177
|
+
};
|
|
178
|
+
/** The person's own access tokens: listed and revoked — never created through the connector. */
|
|
179
|
+
tokens: {
|
|
180
|
+
list: () => Promise<ConnectAccessTokenList>;
|
|
181
|
+
/** Revoke one of the person's own tokens (this connector's own included); idempotent. */
|
|
182
|
+
revoke: (tokenId: string) => Promise<ConnectAccessTokenRevoked>;
|
|
183
|
+
};
|
|
184
|
+
/** The person's own marketing consents: read, and withdrawn — never granted. */
|
|
185
|
+
privacy: {
|
|
186
|
+
status: () => Promise<ConnectPrivacyChoices>;
|
|
187
|
+
/** Write `granted: false` for each key; an unknown key refuses the whole call. */
|
|
188
|
+
withdraw: (keys: string[]) => Promise<ConnectPrivacyChoices>;
|
|
189
|
+
};
|
|
190
|
+
/** A prompt stashed on the public site, collected ONCE by its reference. */
|
|
191
|
+
intent: {
|
|
192
|
+
pickup: (ref: string) => Promise<ConnectIntentPickup>;
|
|
193
|
+
};
|
|
194
|
+
/** The organization's notices after a cursor, held up to `wait` seconds — the browser's toasts. */
|
|
195
|
+
notifications: (query?: ConnectFeedQuery) => Promise<ConnectFeedPage>;
|
|
46
196
|
};
|
|
47
197
|
story: {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
198
|
+
status: (projectId: string, storyId: string) => Promise<ConnectStoryStatus>;
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* The platform's planning surface: projects, user stories and the documents behind them as
|
|
202
|
+
* cards, and every change to one as a transition.
|
|
203
|
+
*
|
|
204
|
+
* The story tools read and write through it. The scope it answers for is the CREDENTIAL's —
|
|
205
|
+
* the platform takes the organization, the profile and the channel from the token (over HTTP)
|
|
206
|
+
* or from the caller it authenticated (in process), never from anything a tool sends.
|
|
207
|
+
*/
|
|
208
|
+
planning: PlanningFacade;
|
|
209
|
+
/**
|
|
210
|
+
* A cloud target's generated tree — the web editor's reads and writes. Paths are relative to the
|
|
211
|
+
* project root, as `list` prints them.
|
|
212
|
+
*/
|
|
213
|
+
files: {
|
|
214
|
+
list: (projectId: string) => Promise<string[]>;
|
|
215
|
+
/** One file's content. */
|
|
216
|
+
get: (projectId: string, path: string) => Promise<ConnectFileContent>;
|
|
217
|
+
/**
|
|
218
|
+
* Replace one file's whole content (a new path creates it). The content is checked like the web
|
|
219
|
+
* editor's save and the preview is rebuilt; a build that failed is named on `buildWarning`, and
|
|
220
|
+
* the write stands either way. A file that decides how the project builds and starts is refused.
|
|
221
|
+
*/
|
|
222
|
+
save: (projectId: string, path: string, content: string) => Promise<ConnectFileWritten>;
|
|
223
|
+
/** Delete one file, then rebuild the preview — `buildWarning` as for {@link save}. */
|
|
224
|
+
remove: (projectId: string, path: string) => Promise<ConnectFileWritten>;
|
|
225
|
+
/** The project's metadata documents of one kind: stories, specifications, or all of them. */
|
|
226
|
+
meta: (projectId: string, query: ConnectFileMetaQuery) => Promise<string[]>;
|
|
227
|
+
/**
|
|
228
|
+
* The preview tree's file changes after a cursor, held up to `wait` seconds; the read starts the
|
|
229
|
+
* preview's watcher when it is not running yet (`watching` says whether it runs).
|
|
230
|
+
*/
|
|
231
|
+
changes: (projectId: string, query?: ConnectFeedQuery) => Promise<ConnectFileChanges>;
|
|
232
|
+
};
|
|
233
|
+
/**
|
|
234
|
+
* The project's PREVIEW workload — the web's sandbox controls; each answers the workload as it
|
|
235
|
+
* then stands. A cloud target only: a local project's process is the user's own.
|
|
236
|
+
*/
|
|
237
|
+
sandbox: {
|
|
238
|
+
/** Start the preview (provisioning it first when it has none). */
|
|
239
|
+
run: (projectId: string) => Promise<ConnectSlotView>;
|
|
240
|
+
restart: (projectId: string) => Promise<ConnectSlotView>;
|
|
241
|
+
stop: (projectId: string) => Promise<ConnectSlotView>;
|
|
242
|
+
/**
|
|
243
|
+
* Reinstall the dependencies and rebuild — the repair for a preview that will not build. It runs
|
|
244
|
+
* on after the answer, holding the project's agent lock until it is done.
|
|
245
|
+
*/
|
|
246
|
+
rebuild: (projectId: string) => Promise<ConnectSlotView>;
|
|
247
|
+
};
|
|
248
|
+
/** The organization's workloads, every project and kind (preview, production, local). */
|
|
249
|
+
slot: {
|
|
250
|
+
list: () => Promise<ConnectSlotView[]>;
|
|
251
|
+
};
|
|
252
|
+
/**
|
|
253
|
+
* A cloud target's git repository — the web Git dialog's own calls. Every write waits while an
|
|
254
|
+
* agent run holds the project (`git-busy`); a revert is a NEW commit, history is never rewritten.
|
|
255
|
+
*/
|
|
256
|
+
git: {
|
|
257
|
+
/**
|
|
258
|
+
* The project's GitHub connection and its working tree — `git` is `null` while the preview is not
|
|
259
|
+
* ready (reading git there would start a stopped preview).
|
|
260
|
+
*/
|
|
261
|
+
status: (projectId: string) => Promise<ConnectGitState>;
|
|
262
|
+
/** The latest commits, newest first. */
|
|
263
|
+
log: (projectId: string) => Promise<ConnectGitCommit[]>;
|
|
264
|
+
/** Commit every change of the working tree; `commit` is `null` when there was nothing to commit. */
|
|
265
|
+
commit: (projectId: string, message: string) => Promise<ConnectGitCommitResult>;
|
|
266
|
+
/** Throw away every uncommitted change; answers the clean tree. */
|
|
267
|
+
discard: (projectId: string) => Promise<ConnectGitStatus>;
|
|
268
|
+
/** Go back to one earlier commit's tree as a new commit, then rebuild the preview. */
|
|
269
|
+
revert: (projectId: string, hash: string) => Promise<ConnectGitRevertResult>;
|
|
270
|
+
};
|
|
271
|
+
/**
|
|
272
|
+
* The project's GitHub connection. `authorize` answers the address the PERSON opens: GitHub returns
|
|
273
|
+
* to the platform's web application, which completes the connection — nothing here completes it.
|
|
274
|
+
* The GitHub token is never answered.
|
|
275
|
+
*/
|
|
276
|
+
github: {
|
|
277
|
+
authorize: (projectId: string) => Promise<ConnectGithubAuthorize>;
|
|
278
|
+
/** Publish to a new repository or an existing one; push and pull work from then on. */
|
|
279
|
+
publish: (projectId: string, body: ConnectGithubPublishBody) => Promise<ConnectGithubConnection>;
|
|
280
|
+
push: (projectId: string) => Promise<ConnectGitSyncResult>;
|
|
281
|
+
pull: (projectId: string) => Promise<ConnectGitSyncResult>;
|
|
282
|
+
/** Forget the connection — the repository on GitHub is left as it is. */
|
|
283
|
+
disconnect: (projectId: string) => Promise<ConnectGithubDisconnected>;
|
|
284
|
+
/** One page of the person's repositories. */
|
|
285
|
+
repos: (projectId: string, query?: ConnectGithubRepoQuery) => Promise<ConnectGithubRepoList>;
|
|
286
|
+
/** One page of one repository's branches. */
|
|
287
|
+
branches: (projectId: string, query: ConnectGithubBranchQuery) => Promise<ConnectGithubBranchList>;
|
|
288
|
+
/** Record which repository an imported project came FROM — nothing is pushed or published. */
|
|
289
|
+
link: (projectId: string, body: ConnectGithubLinkBody) => Promise<ConnectGithubLinked>;
|
|
290
|
+
};
|
|
291
|
+
/**
|
|
292
|
+
* A cloud target's PRODUCTION workload — the web Publish dialog's own calls; never the preview.
|
|
293
|
+
* A publish holds a published-sites unit of the plan (`LimitExhausted` when it has no room), a
|
|
294
|
+
* custom domain and the standalone sign-in are paid capabilities (`CapabilityRequired`). The
|
|
295
|
+
* sign-in's client secret is never answered: `auth` says whether one is set.
|
|
296
|
+
*/
|
|
297
|
+
production: {
|
|
298
|
+
/** The production workload (`null` before the first publish) and its domain. */
|
|
299
|
+
status: (projectId: string) => Promise<ConnectProductionStatus>;
|
|
300
|
+
/** Build and deploy the current sources as the published site; it goes live after the answer. */
|
|
301
|
+
publish: (projectId: string) => Promise<ConnectProductionStatus>;
|
|
302
|
+
/** Restart the site — a stopped one is redeployed, and takes a published-sites unit again. */
|
|
303
|
+
restart: (projectId: string) => Promise<ConnectProductionStatus>;
|
|
304
|
+
/** Stop the site and give its published-sites unit back; its data is kept. */
|
|
305
|
+
stop: (projectId: string) => Promise<ConnectProductionStatus>;
|
|
306
|
+
domain: {
|
|
307
|
+
/** Attach a custom domain; answers the DNS records the owner creates. */
|
|
308
|
+
attach: (projectId: string, domain: string) => Promise<ConnectProductionDomain | null>;
|
|
309
|
+
/** Ask the provider again whether the records are in place. */
|
|
310
|
+
verify: (projectId: string) => Promise<ConnectProductionDomain | null>;
|
|
311
|
+
/** Detach the custom domain; the generated address keeps serving. */
|
|
312
|
+
detach: (projectId: string) => Promise<ConnectProductionDomain | null>;
|
|
313
|
+
};
|
|
314
|
+
/** The standalone sign-in configuration — never its secret. */
|
|
315
|
+
auth: (projectId: string) => Promise<ConnectProductionAuth>;
|
|
316
|
+
/** Replace the standalone redirect addresses; applied on the next publish. */
|
|
317
|
+
setRedirects: (projectId: string, redirects: string[]) => Promise<ConnectProductionRedirects>;
|
|
318
|
+
};
|
|
319
|
+
/**
|
|
320
|
+
* The generated app's sign-in — the owner console's own calls, per project and per app: `scope`
|
|
321
|
+
* picks the preview's client (absent) or production's. Platform records, so a local target's app is
|
|
322
|
+
* managed here too. An IAM refusal the owner can act on (the staff group's members, bundles or
|
|
323
|
+
* existence, a managed definition, the last owner) is `IamRefused` (`iam-refused:<marker>`); a
|
|
324
|
+
* backend that keeps a listing in a console of its own answers it empty with `external: true`.
|
|
325
|
+
* Organizations travel by slug, groups by key.
|
|
326
|
+
*/
|
|
327
|
+
iam: {
|
|
328
|
+
/** Every end user of every app the organization owns — read-only; a person is managed per project. */
|
|
329
|
+
organizationUsers: () => Promise<IamUsersResponse>;
|
|
330
|
+
/** The app's permission definitions and its tenancy flags. */
|
|
331
|
+
permissions: (projectId: string, scope?: ConnectConfigScope) => Promise<IamPermissionsResponse>;
|
|
332
|
+
/** A definition's default class or organization binding; an omitted setting is kept. */
|
|
333
|
+
setDefault: (projectId: string, body: IamDefinitionUpdate) => Promise<IamPermissionDefinition>;
|
|
334
|
+
grants: {
|
|
335
|
+
/**
|
|
336
|
+
* Every grant, one person's (`profileId`) or one group's (`group` with its `entitySlug`) — what
|
|
337
|
+
* is held, plus the inherited grants a subject's own restriction withholds (`restricted: true`).
|
|
338
|
+
*/
|
|
339
|
+
list: (projectId: string, query?: IamGrantsQuery) => Promise<IamGrantsResponse>;
|
|
340
|
+
/** Grant to exactly one subject — a person or a group. */
|
|
341
|
+
assign: (projectId: string, body: IamAssignGrant) => Promise<IamGrant>;
|
|
342
|
+
/** A whole-permission revoke restricts the subject; `mode: inherit` takes its own value back. */
|
|
343
|
+
revoke: (projectId: string, body: IamRevokeGrant) => Promise<void>;
|
|
344
|
+
};
|
|
345
|
+
users: {
|
|
346
|
+
list: (projectId: string, scope?: ConnectConfigScope) => Promise<IamUsersResponse>;
|
|
347
|
+
/** Find-or-create, by e-mail. */
|
|
348
|
+
invite: (projectId: string, body: IamProjectUserInvite) => Promise<IamUser>;
|
|
349
|
+
update: (projectId: string, profileId: string, body: IamProjectUserUpdate) => Promise<IamUser>;
|
|
350
|
+
/** Remove from this app only — the account and its other apps stay. */
|
|
351
|
+
remove: (projectId: string, profileId: string, scope?: ConnectConfigScope) => Promise<void>;
|
|
352
|
+
};
|
|
353
|
+
organizations: {
|
|
354
|
+
list: (projectId: string, scope?: ConnectConfigScope) => Promise<IamOrganizationsResponse>;
|
|
355
|
+
/** Retitle; the slug stays. */
|
|
356
|
+
update: (projectId: string, entitySlug: string, body: IamOrganizationEdit) => Promise<IamOrganization>;
|
|
357
|
+
members: (projectId: string, entitySlug: string, scope?: ConnectConfigScope) => Promise<IamMembersResponse>;
|
|
358
|
+
addMember: (projectId: string, entitySlug: string, body: IamProjectMemberInvite) => Promise<IamMember>;
|
|
359
|
+
updateMember: (projectId: string, entitySlug: string, profileId: string, body: IamProjectMemberUpdate) => Promise<IamMember>;
|
|
360
|
+
removeMember: (projectId: string, entitySlug: string, profileId: string, scope?: ConnectConfigScope) => Promise<void>;
|
|
361
|
+
};
|
|
362
|
+
groups: {
|
|
363
|
+
list: (projectId: string, entitySlug: string, scope?: ConnectConfigScope) => Promise<IamGroupsResponse>;
|
|
364
|
+
/** Find-or-create by key. */
|
|
365
|
+
ensure: (projectId: string, entitySlug: string, body: IamGroupCreate) => Promise<IamGroup>;
|
|
366
|
+
/** Title and the WHOLE bundle list (it replaces the group's); an omitted field is kept. */
|
|
367
|
+
update: (projectId: string, entitySlug: string, group: string, body: IamGroupEdit) => Promise<IamGroup>;
|
|
368
|
+
remove: (projectId: string, entitySlug: string, group: string, scope?: ConnectConfigScope) => Promise<void>;
|
|
369
|
+
members: (projectId: string, entitySlug: string, group: string, scope?: ConnectConfigScope) => Promise<IamMembersResponse>;
|
|
370
|
+
addMembers: (projectId: string, entitySlug: string, group: string, profileIds: string[], scope?: ConnectConfigScope) => Promise<void>;
|
|
371
|
+
removeMembers: (projectId: string, entitySlug: string, group: string, profileIds: string[], scope?: ConnectConfigScope) => Promise<void>;
|
|
372
|
+
};
|
|
54
373
|
};
|
|
55
374
|
pipeline: {
|
|
56
375
|
state: (projectId: string, runId: string) => Promise<ConnectPipelineState>;
|
|
57
376
|
resume: (projectId: string, runId: string, args?: {
|
|
58
377
|
from?: string;
|
|
59
378
|
force?: boolean;
|
|
60
|
-
}) => Promise<
|
|
379
|
+
}) => Promise<ConnectPipelineState>;
|
|
380
|
+
};
|
|
381
|
+
/**
|
|
382
|
+
* Bringing an application the platform did not generate onto its rails.
|
|
383
|
+
*
|
|
384
|
+
* State-changing verbs return the conversion's current domain status. Long-running work remains
|
|
385
|
+
* server-side and is observed through `status`; broker records are never part of this API.
|
|
386
|
+
*/
|
|
387
|
+
convert: {
|
|
388
|
+
create: (args: ConnectConvertCreateBody) => Promise<ConversionStatusView>;
|
|
389
|
+
check: (projectId: string) => Promise<ConvertCheck>;
|
|
390
|
+
/** `body.confirm`: a person agreed to what the start uses (`ConnectConfirmationRequired` otherwise). */
|
|
391
|
+
start: (projectId: string, body?: ConnectConvertStartBody) => Promise<ConversionStatusView>;
|
|
392
|
+
proceed: (projectId: string, body: ConnectConvertProceedBody) => Promise<ConversionStatusView>;
|
|
393
|
+
status: (projectId: string) => Promise<ConversionStatusView>;
|
|
394
|
+
purge: (projectId: string) => Promise<ConversionStatusView>;
|
|
395
|
+
};
|
|
396
|
+
/**
|
|
397
|
+
* Answering a question by its own id.
|
|
398
|
+
*
|
|
399
|
+
* The fallback path, and never the first one: while a connector holds the question it answers
|
|
400
|
+
* the OPERATION it arrived on, which is what the platform is actually waiting for. This is for a
|
|
401
|
+
* run that parked while nobody was attached — its operation has timed out, and the question is
|
|
402
|
+
* then reachable only through the project it belongs to.
|
|
403
|
+
*/
|
|
404
|
+
inquiry: {
|
|
405
|
+
answer: (projectId: string, inquiryId: string, answer: InquiryAnswerPayload) => Promise<unknown>;
|
|
61
406
|
};
|
|
62
407
|
}
|
|
63
408
|
export interface OpenSessionArgs {
|
|
@@ -74,15 +419,9 @@ export interface ProjectEdits {
|
|
|
74
419
|
description?: string;
|
|
75
420
|
specification?: string;
|
|
76
421
|
vision?: string;
|
|
422
|
+
designSystem?: string;
|
|
77
423
|
target?: ConnectTarget;
|
|
78
424
|
}
|
|
79
|
-
export interface StoryQuery {
|
|
80
|
-
page?: number;
|
|
81
|
-
size?: number;
|
|
82
|
-
status?: string;
|
|
83
|
-
area?: string;
|
|
84
|
-
q?: string;
|
|
85
|
-
}
|
|
86
425
|
/** What a connector executes locally. Absent for a cloud target — the platform's pod does it. */
|
|
87
426
|
export interface LocalExecutor {
|
|
88
427
|
execute: (payload: SlotCommandPayload) => Promise<unknown>;
|
|
@@ -98,8 +437,16 @@ export interface LocalExecutor {
|
|
|
98
437
|
export interface SessionRuntime {
|
|
99
438
|
session: ConnectSessionView;
|
|
100
439
|
stats: SessionStats;
|
|
101
|
-
/**
|
|
102
|
-
|
|
440
|
+
/**
|
|
441
|
+
* The next model task for the parent agent, or null if none arrives within the wait or the
|
|
442
|
+
* signal aborts. Among queued tasks, the one that expires first.
|
|
443
|
+
*/
|
|
444
|
+
nextTask: (waitMs: number, signal?: AbortSignal) => Promise<ModelTask | null>;
|
|
445
|
+
/**
|
|
446
|
+
* Whether a model task is queued, waiting up to `waitMs` for one; takes nothing. What a tool
|
|
447
|
+
* blocked on a platform call races that call against.
|
|
448
|
+
*/
|
|
449
|
+
taskAvailable: (waitMs: number, signal?: AbortSignal) => Promise<boolean>;
|
|
103
450
|
/** A task already handed out and not yet answered — what an answer is checked against. */
|
|
104
451
|
taskById: (taskId: string) => ModelTask | null;
|
|
105
452
|
/** Handed to the parent and still unanswered, oldest first. */
|
|
@@ -108,6 +455,22 @@ export interface SessionRuntime {
|
|
|
108
455
|
submitTask: (result: ModelTaskResult) => Promise<void>;
|
|
109
456
|
/** How many tasks are waiting right now. */
|
|
110
457
|
pendingTasks: () => number;
|
|
458
|
+
/**
|
|
459
|
+
* The next question for the person the parent agent is working for, or null within the wait.
|
|
460
|
+
*
|
|
461
|
+
* A separate queue from the tasks and drained by a separate tool, because the two are answered
|
|
462
|
+
* by different parties on entirely different timescales — and a question that reached a
|
|
463
|
+
* subagent would be answered by a model, which is the one outcome asking exists to avoid.
|
|
464
|
+
*/
|
|
465
|
+
nextQuestion: (waitMs: number) => Promise<InquiryPayload | null>;
|
|
466
|
+
/** A question already put to the parent and not yet answered — what an answer is checked against. */
|
|
467
|
+
questionById: (inquiryId: string) => InquiryPayload | null;
|
|
468
|
+
/** Put to the parent and still unanswered, oldest first. */
|
|
469
|
+
outstandingQuestions: () => InquiryPayload[];
|
|
470
|
+
/** Hand back what the person decided. */
|
|
471
|
+
answerQuestion: (answer: InquiryAnswerPayload) => Promise<void>;
|
|
472
|
+
/** How many questions are waiting right now. */
|
|
473
|
+
pendingQuestions: () => number;
|
|
111
474
|
close: () => Promise<void>;
|
|
112
475
|
}
|
|
113
476
|
export interface SessionStats {
|
|
@@ -115,9 +478,11 @@ export interface SessionStats {
|
|
|
115
478
|
opsFailed: number;
|
|
116
479
|
tasksDelivered: number;
|
|
117
480
|
tasksSubmitted: number;
|
|
481
|
+
questionsDelivered: number;
|
|
482
|
+
questionsAnswered: number;
|
|
118
483
|
lastActivityAt: number;
|
|
119
|
-
/** How the connector is currently receiving operations. */
|
|
120
|
-
transport: '
|
|
484
|
+
/** How the connector is currently receiving operations: by long poll, or not at all once closed. */
|
|
485
|
+
transport: 'pull' | 'none';
|
|
121
486
|
}
|
|
122
487
|
export interface SdkMarker extends ConnectMarker {
|
|
123
488
|
}
|
package/build/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EAAE,uBAAuB,EAAE,cAAc,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EACnG,SAAS,EAAE,eAAe,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,oBAAoB,EAC3F,kBAAkB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,oBAAoB,EAClG,aAAa,EAAE,SAAS,EAAE,eAAe,EAAE,kBAAkB,EAC9D,MAAM,yBAAyB,CAAA;AAEhC,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAA;IACd,uEAAuE;IACvE,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,aAAa,CAAA;IACrB,GAAG,EAAE,UAAU,CAAA;IACf,OAAO,EAAE,cAAc,CAAA;IACvB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,qFAAqF;IACrF,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CAC7B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,YAAY;IAC3B,YAAY,EAAE,MAAM,OAAO,CAAC,uBAAuB,CAAC,CAAA;IAEpD,WAAW,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,OAAO,CAAC,kBAAkB,CAAC,CAAA;IACnE,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IAClD,SAAS,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,kBAAkB,CAAC,CAAA;IAC7D,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,M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tB,cAAc,EAAE,MAAM,CAAA;IACtB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,iBAAiB,EAAE,MAAM,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;IACtB,oGAAoG;IACpG,SAAS,EAAE,MAAM,GAAG,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,SAAU,SAAQ,aAAa;CAAG"}
|
package/build/utils.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `/mcp` URL a person, a doc or a verification tool should use: the value the merged
|
|
3
|
+
* configuration names (environment over `~/.owlmeans`, already resolved by the caller), else the
|
|
4
|
+
* production default. An empty value counts as unset, and a trailing slash is dropped — a
|
|
5
|
+
* canonical resource URI (RFC 8707) has one spelling.
|
|
6
|
+
*/
|
|
7
|
+
export declare const resolveMcpUrl: (values: Record<string, string | undefined>) => string;
|
|
8
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,aAAa,WAAY,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,KAAG,MAI1E,CAAA"}
|
package/build/utils.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DEFAULT_MCP_URL, ENV_MCP_URL } from './consts.js';
|
|
2
|
+
/**
|
|
3
|
+
* The `/mcp` URL a person, a doc or a verification tool should use: the value the merged
|
|
4
|
+
* configuration names (environment over `~/.owlmeans`, already resolved by the caller), else the
|
|
5
|
+
* production default. An empty value counts as unset, and a trailing slash is dropped — a
|
|
6
|
+
* canonical resource URI (RFC 8707) has one spelling.
|
|
7
|
+
*/
|
|
8
|
+
export const resolveMcpUrl = (values) => {
|
|
9
|
+
const named = values[ENV_MCP_URL];
|
|
10
|
+
return (named != null && named !== '' ? named : DEFAULT_MCP_URL).replace(/\/+$/, '');
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE1D;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,MAA0C,EAAU,EAAE;IAClF,MAAM,KAAK,GAAG,MAAM,CAAC,WAAW,CAAC,CAAA;IAEjC,OAAO,CAAC,KAAK,IAAI,IAAI,IAAI,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAA;AACtF,CAAC,CAAA"}
|