@owlmeans/viable-sdk 0.1.19-rc.1 → 0.1.20-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/agent-meta/manifest.json +2 -2
- package/agent-meta/skills/viable-sdk/SKILL.md +123 -13
- package/build/api/collect/types.d.ts +12 -1
- package/build/api/collect/types.d.ts.map +1 -1
- package/build/api/collect.d.ts.map +1 -1
- package/build/api/collect.js +18 -1
- package/build/api/collect.js.map +1 -1
- package/build/api/consts.local.d.ts +2 -0
- package/build/api/consts.local.d.ts.map +1 -1
- package/build/api/consts.local.js +2 -0
- package/build/api/consts.local.js.map +1 -1
- package/build/api/remote.d.ts.map +1 -1
- package/build/api/remote.js +13 -0
- package/build/api/remote.js.map +1 -1
- package/build/context/index.d.ts.map +1 -1
- package/build/context/index.js +7 -3
- package/build/context/index.js.map +1 -1
- package/build/context/types.d.ts +7 -1
- package/build/context/types.d.ts.map +1 -1
- package/build/harness/index.d.ts +28 -0
- package/build/harness/index.d.ts.map +1 -0
- package/build/harness/index.js +83 -0
- package/build/harness/index.js.map +1 -0
- package/build/harness/templates.d.ts +30 -0
- package/build/harness/templates.d.ts.map +1 -0
- package/build/harness/templates.js +181 -0
- package/build/harness/templates.js.map +1 -0
- package/build/session/consts.local.d.ts +2 -0
- package/build/session/consts.local.d.ts.map +1 -1
- package/build/session/consts.local.js +2 -0
- package/build/session/consts.local.js.map +1 -1
- package/build/session/index.d.ts.map +1 -1
- package/build/session/index.js +18 -1
- package/build/session/index.js.map +1 -1
- package/build/session/types.d.ts +7 -0
- package/build/session/types.d.ts.map +1 -1
- package/build/tools/catalogue.d.ts.map +1 -1
- package/build/tools/catalogue.js +13 -2
- package/build/tools/catalogue.js.map +1 -1
- package/build/tools/consts.d.ts +9 -1
- package/build/tools/consts.d.ts.map +1 -1
- package/build/tools/consts.js +16 -0
- package/build/tools/consts.js.map +1 -1
- package/build/tools/consts.local.d.ts +1 -9
- package/build/tools/consts.local.d.ts.map +1 -1
- package/build/tools/consts.local.js +4 -17
- package/build/tools/consts.local.js.map +1 -1
- package/build/tools/index.d.ts +6 -0
- package/build/tools/index.d.ts.map +1 -1
- package/build/tools/index.js +4 -0
- package/build/tools/index.js.map +1 -1
- package/build/tools/instructions/types.d.ts +21 -0
- package/build/tools/instructions/types.d.ts.map +1 -0
- package/build/tools/instructions/types.js +2 -0
- package/build/tools/instructions/types.js.map +1 -0
- package/build/tools/instructions.d.ts +4 -0
- package/build/tools/instructions.d.ts.map +1 -0
- package/build/tools/instructions.js +143 -0
- package/build/tools/instructions.js.map +1 -0
- package/build/tools/mcp.d.ts +2 -6
- package/build/tools/mcp.d.ts.map +1 -1
- package/build/tools/mcp.js +36 -122
- package/build/tools/mcp.js.map +1 -1
- package/build/tools/platform.d.ts.map +1 -1
- package/build/tools/platform.js +13 -4
- package/build/tools/platform.js.map +1 -1
- package/build/tools/profile/consts.d.ts +8 -0
- package/build/tools/profile/consts.d.ts.map +1 -0
- package/build/tools/profile/consts.js +10 -0
- package/build/tools/profile/consts.js.map +1 -0
- package/build/tools/profile/listing/consts.local.d.ts +44 -0
- package/build/tools/profile/listing/consts.local.d.ts.map +1 -0
- package/build/tools/profile/listing/consts.local.js +612 -0
- package/build/tools/profile/listing/consts.local.js.map +1 -0
- package/build/tools/profile/listing/presentation.d.ts +12 -0
- package/build/tools/profile/listing/presentation.d.ts.map +1 -0
- package/build/tools/profile/listing/presentation.js +38 -0
- package/build/tools/profile/listing/presentation.js.map +1 -0
- package/build/tools/profile/listing/text.d.ts +13 -0
- package/build/tools/profile/listing/text.d.ts.map +1 -0
- package/build/tools/profile/listing/text.js +51 -0
- package/build/tools/profile/listing/text.js.map +1 -0
- package/build/tools/profile/listing/types.d.ts +18 -0
- package/build/tools/profile/listing/types.d.ts.map +1 -0
- package/build/tools/profile/listing/types.js +2 -0
- package/build/tools/profile/listing/types.js.map +1 -0
- package/build/tools/profile/listing.d.ts +18 -0
- package/build/tools/profile/listing.d.ts.map +1 -0
- package/build/tools/profile/listing.js +66 -0
- package/build/tools/profile/listing.js.map +1 -0
- package/build/tools/profile/presentation/platform/account.d.ts +4 -0
- package/build/tools/profile/presentation/platform/account.d.ts.map +1 -0
- package/build/tools/profile/presentation/platform/account.js +46 -0
- package/build/tools/profile/presentation/platform/account.js.map +1 -0
- package/build/tools/profile/presentation/platform/consts.d.ts +541 -0
- package/build/tools/profile/presentation/platform/consts.d.ts.map +1 -0
- package/build/tools/profile/presentation/platform/consts.js +335 -0
- package/build/tools/profile/presentation/platform/consts.js.map +1 -0
- package/build/tools/profile/presentation/platform/git.d.ts +4 -0
- package/build/tools/profile/presentation/platform/git.d.ts.map +1 -0
- package/build/tools/profile/presentation/platform/git.js +123 -0
- package/build/tools/profile/presentation/platform/git.js.map +1 -0
- package/build/tools/profile/presentation/platform/iam.d.ts +4 -0
- package/build/tools/profile/presentation/platform/iam.d.ts.map +1 -0
- package/build/tools/profile/presentation/platform/iam.js +202 -0
- package/build/tools/profile/presentation/platform/iam.js.map +1 -0
- package/build/tools/profile/presentation/platform/production.d.ts +4 -0
- package/build/tools/profile/presentation/platform/production.d.ts.map +1 -0
- package/build/tools/profile/presentation/platform/production.js +73 -0
- package/build/tools/profile/presentation/platform/production.js.map +1 -0
- package/build/tools/profile/presentation/platform/read.d.ts +4 -0
- package/build/tools/profile/presentation/platform/read.d.ts.map +1 -0
- package/build/tools/profile/presentation/platform/read.js +68 -0
- package/build/tools/profile/presentation/platform/read.js.map +1 -0
- package/build/tools/profile/presentation/platform/settings.d.ts +4 -0
- package/build/tools/profile/presentation/platform/settings.d.ts.map +1 -0
- package/build/tools/profile/presentation/platform/settings.js +48 -0
- package/build/tools/profile/presentation/platform/settings.js.map +1 -0
- package/build/tools/profile/presentation/platform/types.d.ts +174 -0
- package/build/tools/profile/presentation/platform/types.d.ts.map +1 -0
- package/build/tools/profile/presentation/platform/types.js +2 -0
- package/build/tools/profile/presentation/platform/types.js.map +1 -0
- package/build/tools/profile/presentation/platform/workspace.d.ts +4 -0
- package/build/tools/profile/presentation/platform/workspace.d.ts.map +1 -0
- package/build/tools/profile/presentation/platform/workspace.js +37 -0
- package/build/tools/profile/presentation/platform/workspace.js.map +1 -0
- package/build/tools/profile/presentation/platform.d.ts +11 -0
- package/build/tools/profile/presentation/platform.d.ts.map +1 -0
- package/build/tools/profile/presentation/platform.js +64 -0
- package/build/tools/profile/presentation/platform.js.map +1 -0
- package/build/tools/profile/presentation/work/consts.d.ts +22 -0
- package/build/tools/profile/presentation/work/consts.d.ts.map +1 -0
- package/build/tools/profile/presentation/work/consts.js +22 -0
- package/build/tools/profile/presentation/work/consts.js.map +1 -0
- package/build/tools/profile/presentation/work/presenters.d.ts +4 -0
- package/build/tools/profile/presentation/work/presenters.d.ts.map +1 -0
- package/build/tools/profile/presentation/work/presenters.js +502 -0
- package/build/tools/profile/presentation/work/presenters.js.map +1 -0
- package/build/tools/profile/presentation/work/schemas.d.ts +496 -0
- package/build/tools/profile/presentation/work/schemas.d.ts.map +1 -0
- package/build/tools/profile/presentation/work/schemas.js +358 -0
- package/build/tools/profile/presentation/work/schemas.js.map +1 -0
- package/build/tools/profile/presentation/work/shape.d.ts +4 -0
- package/build/tools/profile/presentation/work/shape.d.ts.map +1 -0
- package/build/tools/profile/presentation/work/shape.js +35 -0
- package/build/tools/profile/presentation/work/shape.js.map +1 -0
- package/build/tools/profile/presentation/work/types.d.ts +109 -0
- package/build/tools/profile/presentation/work/types.d.ts.map +1 -0
- package/build/tools/profile/presentation/work/types.js +2 -0
- package/build/tools/profile/presentation/work/types.js.map +1 -0
- package/build/tools/profile/presentation/work.d.ts +13 -0
- package/build/tools/profile/presentation/work.d.ts.map +1 -0
- package/build/tools/profile/presentation/work.js +66 -0
- package/build/tools/profile/presentation/work.js.map +1 -0
- package/build/tools/profile/types.d.ts +125 -0
- package/build/tools/profile/types.d.ts.map +1 -0
- package/build/tools/profile/types.js +2 -0
- package/build/tools/profile/types.js.map +1 -0
- package/build/tools/profile.d.ts +9 -0
- package/build/tools/profile.d.ts.map +1 -0
- package/build/tools/profile.js +114 -0
- package/build/tools/profile.js.map +1 -0
- package/build/tools/status/types.d.ts +7 -1
- package/build/tools/status/types.d.ts.map +1 -1
- package/build/tools/status.d.ts.map +1 -1
- package/build/tools/status.js +5 -1
- package/build/tools/status.js.map +1 -1
- package/build/tools/types.d.ts +12 -1
- package/build/tools/types.d.ts.map +1 -1
- package/build/types.d.ts +7 -1
- package/build/types.d.ts.map +1 -1
- package/package.json +20 -20
package/README.md
CHANGED
|
@@ -111,7 +111,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
|
|
|
111
111
|
your project's skill store (`.agents/skills/`):
|
|
112
112
|
|
|
113
113
|
```sh
|
|
114
|
-
npx @owlmeans/agent-skills@^0.1.19
|
|
114
|
+
npx @owlmeans/agent-skills@^0.1.19
|
|
115
115
|
```
|
|
116
116
|
|
|
117
117
|
The embedded files are version-matched to this package release. Do not edit them
|
package/agent-meta/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 3,
|
|
3
3
|
"package": "@owlmeans/viable-sdk",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"generatedAt": "2026-
|
|
4
|
+
"version": "0.1.20-rc.0",
|
|
5
|
+
"generatedAt": "2026-11-02T19:22:32.104Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: viable-sdk
|
|
3
|
-
description: How to use @owlmeans/viable-sdk — the connector SDK an external coding agent drives the OwlMeans Viable platform with — the token-authenticated client context, the two host kinds and their tool catalogue, the session operation loop, the local slot executor and local run, the model-task envelope,
|
|
3
|
+
description: How to use @owlmeans/viable-sdk — the connector SDK an external coding agent drives the OwlMeans Viable platform with — the token-authenticated client context, the two host kinds and their tool catalogue, the client header every request names its edition with, the session operation loop and its model-task seam, the local slot executor and local run, the model-task envelope, the extension seam a host adds its own tools through, and the profile seam that presents the catalogue for a store listing or a plugin (the listing profiles). Auto-invoked when building or changing a connector, an MCP host, a connector tool, a tool profile, the task envelope, or anything that executes platform slot commands on a developer's machine.
|
|
4
4
|
user-invocable: false
|
|
5
5
|
---
|
|
6
6
|
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
@@ -8,7 +8,7 @@ user-invocable: false
|
|
|
8
8
|
# @owlmeans/viable-sdk
|
|
9
9
|
|
|
10
10
|
**Layer:** Tooling (Node/Bun; not a browser or React package)
|
|
11
|
-
**Install:** `"@owlmeans/viable-sdk": "^0.1.
|
|
11
|
+
**Install:** `"@owlmeans/viable-sdk": "^0.1.20-rc.0"` in `dependencies`
|
|
12
12
|
**Subpaths:** `.` · `./executor` · `./run` · `./tools` · `./task`
|
|
13
13
|
**Contracts:** `@owlmeans/viable-common` (`./connect`, `./slot`, `./integrity`, and the planning
|
|
14
14
|
vocabulary — story type and story flow) and `@owlmeans/planning` (the planning protocol tree
|
|
@@ -24,21 +24,23 @@ machine, deliver its model calls to the parent agent, and run the generated appl
|
|
|
24
24
|
|
|
25
25
|
| Export | Description |
|
|
26
26
|
|--------|-------------|
|
|
27
|
-
| `makeSdkContext({ apiUrl, token, service?, timeout?, llm?, onRejected? })` | A client context authenticated by one token — a literal or a thunk — with the connector protocols and the planning tree bound, the planning client registered (`timeout` is its HTTP deadline) and the call-collect transport in front of the API client (`llm: ConnectLlm.Local` turns collection on) |
|
|
28
|
-
| `createCallCollectTransport({ delegated })` → `CallCollectTransport` · `appendCallCollectTransport(context, opts)` · `CallCollectOptions` · `CollectedCall` | The context's HTTP transport (`transport:http`): request now, collect later in the delegated mode |
|
|
27
|
+
| `makeSdkContext({ apiUrl, token, service?, timeout?, llm?, client?, onRejected? })` | A client context authenticated by one token — a literal or a thunk — with the connector protocols and the planning tree bound, the planning client registered (`timeout` is its HTTP deadline) and the call-collect transport in front of the API client (`llm: ConnectLlm.Local` turns collection on; `client` is the edition every request names, `sdk` when absent) |
|
|
28
|
+
| `createCallCollectTransport({ delegated, client? })` → `CallCollectTransport` (`.client` — the header value) · `appendCallCollectTransport(context, opts)` · `CallCollectOptions` · `CollectedCall` | The context's HTTP transport (`transport:http`): request now, collect later in the delegated mode |
|
|
29
29
|
| `makeRemoteConnectorApi(context, { timeout? })` · `RemoteConnectorOptions` | `ConnectorApi` over HTTP; its `planning` is the context's planning client facade; `timeout` bounds every request but the session verbs' (one request — a collected call's hops carry their own) |
|
|
30
|
-
| `openSession(opts)` → `SessionRuntime` (`nextTask(waitMs, signal?)`, `taskAvailable(waitMs, signal?)`, …) | One attached session: the pull loop, the serial worker, the task queue, `stats` |
|
|
30
|
+
| `openSession(opts)` → `SessionRuntime` (`nextTask(waitMs, signal?)`, `taskAvailable(waitMs, signal?)`, …) | One attached session: the pull loop, the serial worker, the task queue, `stats`; `modelTasks: false` refuses model tasks instead of queueing them |
|
|
31
31
|
| `createInflightCalls()` → `InflightCalls` · `makeHandoverHelper(deps)` → `HandoverHelper` (`run`/`contain`/`collect`/`report`/`pending`) | The delegated mode's handover: the calls still running after their tool answered, and how a blocked tool answers with its model task |
|
|
32
32
|
| `makeTaskEnvelopeModel(task)` — `.renderTaskEnvelope({ harness })` · `.parseTaskResult(raw)` | What the parent agent is told; what its answer is checked against |
|
|
33
33
|
| `makeModelTaskDriver({ models })` · `TaskDriver` | A reference parent agent backed by a chat model (tests, CLIs) |
|
|
34
34
|
| `ToolHost.extensions` · `EXTENSION_TOOLS` | Tools the hosting process adds beyond the catalogue (the agent-setup pair `describe_harness` / `install_harness` is one such extension, shipped outside this package); listed, filtered by their own `availability` and registered like the catalogue's own |
|
|
35
|
-
| `catalogue` · `catalogueHelper` (`.visibleTools(host)` · `.toolByName`) · `registerCatalogue(server, deps)` · `serverInstructions({ host })` | The tools
|
|
36
|
-
| `
|
|
35
|
+
| `catalogue` · `catalogueHelper` (`.visibleTools(host)` · `.toolByName`) · `registerCatalogue(server, deps)` · `serverInstructions({ host })` · `instructionsHelper.compose(host, { namesOf?, recommend? })` | The tools, how they reach an MCP server, and the base instructions a profile composes its own from |
|
|
36
|
+
| `ToolProfile` (`ToolSplit`, `ToolSplitVariant`, `ToolPresentation`, `ToolProfileText`) · `makeToolProfileModel(profile?)` (`apply`/`namesOf`/`presentationOf`/`answer`/`text`) · `makeListingProfile(opts)` · `listingProfile` · `claudeListingProfile` · `openaiListingProfile` · `localPluginProfile` · `LISTING_HIDDEN` | The profile seam and the listing profiles (below) |
|
|
37
|
+
| `READ_ONLY` · `WRITE` · `IDEMPOTENT_WRITE` · `DESTRUCTIVE` | The public annotation presets, from the root and `./tools` |
|
|
38
|
+
| `statusTextHelper` — `.renderProjectStatus`, `.renderStoryStatus(status, { landing? })`, `.renderPipelineStatus`, `.renderBatchStatus`, `.renderClient(view)`, `.conversionNext` | Domain status as concise lines ending in the next valid action |
|
|
37
39
|
| `controlToolHelper` — `.stopNeedsConfirm`, `.unconfirmedStop`, `.unconfirmedCancel`, `.renderStop`, `.renderSteer`, `.renderCancel` | The agent controls' words: what a stop rolls back, what a steering message does |
|
|
38
40
|
| `storyHelper` — `.resolveStory(deps, projectId, ref)` · `.storyQuery(projectId, filter?)` · `.renderStories(items, page, total)` · `.isLandingStory(card)`; `STORY_ORDER` · `LANDING_MARK` · `LANDING_NOTE` | The story tools' reading of planning cards |
|
|
39
41
|
| `PROJECT_SETTINGS` · `settingsHelper` — `.projectSettingOf(key)` · `.settingsPatch(args)` · `.renderProjectSettings(projectId, settings)` · `.settingsReach(target)` | The project-settings tools: each setting's label and rule, the patch a call asks for, the rendering |
|
|
40
42
|
| `PLATFORM_CATALOGUE` (`pipelines`, `features`, `capabilities`) · `renderPlatform(catalogue, host)` · `GENERATED_SUMMARY` | What `describe_platform` renders, and the one-sentence product summary `describe_capabilities` ends with |
|
|
41
|
-
| `ToolHostKind` (`Stdio`/`Http`) · `ToolHost` · `ToolDeps` (`detach?`, `release?`, `inflight?` beside `attach`) · `ToolAnnotations` · `toolHostHelper` (`anyHost`/`localTarget`/`cloudTarget`/`withExecutor`/`delegatedLlm`/`sessionCapable`/`performsModelTasks`) | The host description and the availability predicates |
|
|
43
|
+
| `ToolHostKind` (`Stdio`/`Http`) · `ToolHost` (`client?`, `profile?` beside `extensions?`) · `ToolDeps` (`detach?`, `release?`, `inflight?` beside `attach`) · `ToolAnnotations` · `toolHostHelper` (`anyHost`/`localTarget`/`cloudTarget`/`withExecutor`/`delegatedLlm`/`sessionCapable`/`performsModelTasks`) | The host description and the availability predicates |
|
|
42
44
|
| `./executor`: `makeLocalSlotExecutor(dir, opts?)`, `createLocalFileHelper`, `createLocalShellHelper`, `makeLocalGitHelper(dir).dispatchGitCommand`, `integrityHelper` (`verifyTarget`/`forgetIntegrity`), `makeLayoutHelper(dir)` (`targetPaths`/`apiPath`/`webPath`/`workerPath`), `makeTargetEnvHelper(dir)` (`backendEnv`/`frontendEnv`), `healthHelper` (`classifyTargetHealth`/`readTargetHealth`), `runBootCheck`, `confineToProject`, `spawnHelper` | The publisher's workload, on somebody's laptop |
|
|
43
45
|
| `./run`: `makeLocalRunHelper(dir)` (`runLocal`, `stopLocal`, `localStatus`), `createLocalServer`, `makeRunStateHelper(dir)` (`startApi`/`startWorker`/`restartApi`, `readRun`/`writeRun`/`clearRun`), `runProcessHelper.stopProcess` | Building and running the generated app locally |
|
|
44
46
|
| `makeMarkerHelper(dir)` (`readMarker`/`writeMarker`/`discoverProject`/`isViableTree`) · `makeProjectEnvHelper(dir)` (`readEnv`/`writeEnv`/`envStatus`) · `dotenvHelper.replaceManagedBlock` | The `.viable/connect.json` marker and the managed `.env` block |
|
|
@@ -72,6 +74,15 @@ thunk's value is unknown at construction, and an empty one is simply "not signed
|
|
|
72
74
|
is passed to the carrier guard and fires when the platform 401s the presented token, which is where
|
|
73
75
|
the holder forgets a dead file token (or reports a dead environment one) — see [[auth-token]].
|
|
74
76
|
|
|
77
|
+
**Every request names its edition — in a header, never in a body.** The call-collect transport
|
|
78
|
+
(below) writes `x-viable-client: <kind>[/<version>]` (`connectClientHelper.format`, `viable-common`)
|
|
79
|
+
on EVERY request it handles — connector routes and planning alike, every collect hop, in every llm
|
|
80
|
+
mode — and drops any other spelling of the header first, so the platform reads exactly one value.
|
|
81
|
+
The edition is `SdkContextOptions.client`; a host built on the SDK names itself
|
|
82
|
+
(`viable-mcp/<version>`), and a context that names nothing says `sdk`. It is formatted once per
|
|
83
|
+
context. A body field would be refused by an older platform (the session open body is closed) and
|
|
84
|
+
an older platform ignores an unknown header, so the header is what crosses the version skew.
|
|
85
|
+
|
|
75
86
|
**The `/mcp` URL is a value the SDK resolves, never one it derives:** `resolveMcpUrl(values)` returns
|
|
76
87
|
`values[ENV_MCP_URL]` (`VIABLE_MCP_URL`, empty = unset) else `DEFAULT_MCP_URL`
|
|
77
88
|
(`https://api.owlmeans.com/mcp`), trailing slash dropped so a resource URI has one spelling. The
|
|
@@ -124,7 +135,8 @@ tokens (`account.tokens.list()`, `.revoke(id)` — never a create), consents
|
|
|
124
135
|
(`list`, `get(projectId, path)`, `save(projectId, path, content)`, `remove(projectId, path)`,
|
|
125
136
|
`meta(projectId, { kind, category? })` — the category sent only when named), the preview's
|
|
126
137
|
`sandbox` (`run`, `restart`, `stop`, `rebuild` → `ConnectSlotView`), the organization's `slot.list`,
|
|
127
|
-
|
|
138
|
+
`client()` (how the platform sees this connection, `ConnectClientView`; `null` when an older platform
|
|
139
|
+
answers the route 404 — any other failure throws), pipeline state, conversion (`create`, `check`, `start(projectId, body?)`, `proceed(projectId, body)`
|
|
128
140
|
— the bodies are the route's, `confirm` included —, `status`, `purge`) and inquiry answers. There is
|
|
129
141
|
no capability view, no session read or heartbeat, no conversion cancel, no token create and no
|
|
130
142
|
consent grant. A member is added together with the route in `connectProtocols` and its
|
|
@@ -169,7 +181,8 @@ the list it reads is exactly the set of things that work for it. Predicates (`to
|
|
|
169
181
|
|
|
170
182
|
Every catalogue tool but `describe_platform` belongs to EXACTLY ONE `PLATFORM_CATALOGUE.capabilities`
|
|
171
183
|
group, and every group carries an `absent` sentence rendered where a host hides it. `serverInstructions`
|
|
172
|
-
|
|
184
|
+
(for a host without a profile `instructionsHelper.compose(host)`, `tools/instructions.ts`) is the
|
|
185
|
+
compact map a parent reads first: the workflow, ONE line naming each capability family by a few
|
|
173
186
|
of its tools ("everything the web application does except billing"), the cursor rule of the feeds, the
|
|
174
187
|
`confirm: true` set, the browser-only acts (payments and the plan, token creation, giving a marketing
|
|
175
188
|
consent or accepting terms, approving a connector, finishing a GitHub authorization) and the mode
|
|
@@ -357,7 +370,8 @@ is not stopped), and a platform keeps the old route only to answer that it is no
|
|
|
357
370
|
|
|
358
371
|
`ToolDefinition.annotations` is REQUIRED — the MCP tool annotations a host shows the person approving
|
|
359
372
|
a call — and `registerCatalogue` passes it through beside the title, description and input schema.
|
|
360
|
-
The shapes
|
|
373
|
+
The shapes are public presets (`tools/consts.ts`, exported from the root and `./tools`, so a profile
|
|
374
|
+
or a host builds on the same four): `READ_ONLY` (reads, statuses, descriptions), `WRITE`
|
|
361
375
|
(additive changes, the task and question loop), `IDEMPOTENT_WRITE` (setting a value: settings,
|
|
362
376
|
`update_story`, `reset_story`, `attach_project`, `stop_local`, `set_local_service`) and
|
|
363
377
|
`DESTRUCTIVE` (`delete_project`, `delete_story`, `purge_origin`, `reinitialize_project`, `git_revert`,
|
|
@@ -735,6 +749,13 @@ subagent, and what the loop owes them is delivery. The operation id is kept besi
|
|
|
735
749
|
never shown to the parent: a parent that could name one could answer an operation it was never
|
|
736
750
|
given.
|
|
737
751
|
|
|
752
|
+
**A connector that performs no model calls says so once per task.** `openSession({ modelTasks:
|
|
753
|
+
false })` (a plugin edition; `true` when absent) never queues a `ModelTask` op for the parent: it is
|
|
754
|
+
answered `ok: false` with `ConnectOpErrorKind.Unavailable` ("this connector does not perform model
|
|
755
|
+
tasks") — fatal for the run, so no retry ladder runs against a connector that never will —, logged
|
|
756
|
+
and counted in `opsFailed`; a redelivery is answered from the result cache. Questions are still put
|
|
757
|
+
to the person.
|
|
758
|
+
|
|
738
759
|
A local operation that fails reports `ConnectOpErrorKind.Refused`, never `Unavailable`. The
|
|
739
760
|
connector ran and could not do the thing; `Unavailable` tells the platform to give up on a run that
|
|
740
761
|
is fine.
|
|
@@ -821,6 +842,83 @@ renders as absent there. A group may name a tool only the catalogue or `EXTENSIO
|
|
|
821
842
|
`platform.spec.ts` holds that line. This package never imports a host's extension: the SDK is
|
|
822
843
|
public, the agent-setup pair is not.
|
|
823
844
|
|
|
845
|
+
## A profile changes how a host PRESENTS the catalogue — and with none, nothing changes
|
|
846
|
+
|
|
847
|
+
`ToolHost.profile` (`ToolProfile`, `tools/profile/types.ts`) is how a store listing or a vendor
|
|
848
|
+
plugin offers the catalogue: pure data (`hidden`, `splits`, `presentation`, `reportClient`) plus
|
|
849
|
+
two functions (`instructions`, an optional `text` rewrite). `makeToolProfileModel(profile?)`
|
|
850
|
+
(`tools/profile.ts`) holds the mechanics, and every member is the identity when there is no
|
|
851
|
+
profile. `ToolHost.client` names the edition the host is.
|
|
852
|
+
|
|
853
|
+
**No profile = byte-identical output.** `tools/list` (no `outputSchema` key — a registered config
|
|
854
|
+
is exactly `title, description, inputSchema, annotations`), the instructions, `describe_platform`
|
|
855
|
+
and every result stay what they always were; published hosts and the platform's `/mcp` depend on
|
|
856
|
+
it. A change that alters any of them without a profile is a regression, whatever it adds.
|
|
857
|
+
|
|
858
|
+
Under a profile:
|
|
859
|
+
|
|
860
|
+
- **`visibleTools` applies it after availability**: a hidden name is dropped, a split tool is
|
|
861
|
+
replaced IN PLACE by its variants, then a tool's OWN `presentation` entry overrides its title,
|
|
862
|
+
description and annotations. A variant (`ToolSplitVariant`) is a tool of its own — name, title,
|
|
863
|
+
description, annotations, the base input narrowed to its `fields` (the split argument never
|
|
864
|
+
offered) — whose run is the base tool's with the argument fixed, whatever the call sent.
|
|
865
|
+
- **A declared shape is always answered.** `presentationOf(tool)` is the tool's entry; a variant
|
|
866
|
+
inherits its base's `output` and `present` unless its own entry declares an `output` (a base
|
|
867
|
+
presenter is never paired with a variant's own schema). `registerCatalogue` passes `outputSchema`
|
|
868
|
+
only for a declared `output`, and a SUCCESSFUL call of such a tool always carries
|
|
869
|
+
`present(structured ?? {}, args)` (args with the variant's fixed action) — the MCP server refuses a
|
|
870
|
+
success without its declared structure. A refusal (`isError`) never carries one; a tool that
|
|
871
|
+
declares no `output` keeps only its text. A presenter that throws is a defect: the answer is its
|
|
872
|
+
text as `isError`, logged.
|
|
873
|
+
- **The text rewrite reaches every string the profile answers**: each text part, every string of
|
|
874
|
+
the presented structure and what `notify` pushes. Tools in the rewrite's raw set (`read_file`)
|
|
875
|
+
answer a file's content untouched.
|
|
876
|
+
- **The instructions are the profile's** (`profile.instructions({ host, offered })`, given only
|
|
877
|
+
the names actually offered). `renderPlatform` names a catalogue tool by `namesOf` — none when
|
|
878
|
+
hidden, the variants when split — so a hidden tool is never named.
|
|
879
|
+
- **`reportClient`**: `session_status` appends `statusTextHelper.renderClient(await api.client())`
|
|
880
|
+
— the kind, version and door, and that it never performs the platform's model calls where it may
|
|
881
|
+
not — and answers `{ client }`; a platform that cannot say (or a failed read, logged) is `null`.
|
|
882
|
+
|
|
883
|
+
## The listing profiles
|
|
884
|
+
|
|
885
|
+
`tools/profile/listing.ts` builds every listing with `makeListingProfile(opts)` and exports four:
|
|
886
|
+
`listingProfile` (the hosted listing), `claudeListingProfile` and `openaiListingProfile` (the vendor
|
|
887
|
+
endpoints' own objects over the shared listing tables — a rule for one vendor goes into its own
|
|
888
|
+
profile, never into the shared tables) and `localPluginProfile` (the stdio plugins: a local target, the workspace
|
|
889
|
+
paragraph added to the preface). Where each part lives:
|
|
890
|
+
|
|
891
|
+
| Part | File (under `tools/profile/`) |
|
|
892
|
+
|---|---|
|
|
893
|
+
| `LISTING_HIDDEN` — `describe_capabilities`, `describe_harness`, `install_harness`, `set_inference_mode`, `inference_settings` (`next_task` / `submit_task_result` never appear: a listing's llm is cloud) | `consts.ts` |
|
|
894
|
+
| `LISTING_SPLITS` — `custom_domain`, `preview_control`, `production_control`, `manage_app_user`, `manage_app_grant`, `manage_app_organization`, `manage_app_group`, one tool per `action` (`attach_custom_domain`, `start_preview`, `restart_production`, `invite_app_user`, `assign_app_grant`, `rename_app_organization`, `create_app_group`, …) | `listing/consts.local.ts` |
|
|
895
|
+
| `LISTING_TOOLS` — every offered tool's annotations, and its title and description where they differ | `listing/consts.local.ts` |
|
|
896
|
+
| The output schemas and presenters of the work domain and of the platform domain | `presentation/work.ts` (+ `work/`), `presentation/platform.ts` (+ `platform/`) |
|
|
897
|
+
| `session_status`'s `{ client }` shape; the merge of all of them | `listing/presentation.ts` |
|
|
898
|
+
| The text rewrite (`makeListingTextHelper(splits).rewrite`) and its rules | `listing/text.ts`, `listing/consts.local.ts` |
|
|
899
|
+
| The preface and the instruction rules | `listing/consts.local.ts`; the base text `tools/instructions.ts` |
|
|
900
|
+
|
|
901
|
+
Rules every listing holds (`listing-profile.spec.ts` pins the sets):
|
|
902
|
+
|
|
903
|
+
- **Annotations by behaviour**: destructive = may overwrite, delete, replace or rewrite code or data
|
|
904
|
+
(an update, a regeneration, a develop, a discard, a revocation, a stop that ends a running thing);
|
|
905
|
+
idempotent = a second identical call changes nothing more — starting paid model work again or
|
|
906
|
+
adding a record never is; openWorld = an effect outside the person's account (the live production
|
|
907
|
+
site, a custom domain, GitHub, a person invited by e-mail, an external repository read).
|
|
908
|
+
- **Descriptions say what spends credits and what repeats**, and carry nothing a listing may not:
|
|
909
|
+
no recommendation over writing by hand, no delegated mode, no task loop, no harness.
|
|
910
|
+
- **Every offered tool declares an output** except the text-only ones (`describe_platform`,
|
|
911
|
+
`delete_story`, `answer_question`, `stop_local`); a presenter keeps internal ids and timestamps
|
|
912
|
+
out unless a follow-up call needs them, and always yields what its schema accepts.
|
|
913
|
+
- **Instructions**: the preface (what OwlMeans does, credits, confirmation, billing in the web
|
|
914
|
+
application — plus the workspace note on the local plugin) stands in for the base text's opening
|
|
915
|
+
paragraph, the rest is `instructionsHelper.compose(host, { namesOf, recommend: false })` naming
|
|
916
|
+
only offered tools, then the instruction rules.
|
|
917
|
+
- **Text**: a split tool's call hint becomes its variant (`custom_domain { action: attach, … }` →
|
|
918
|
+
`attach_custom_domain { … }`), a bare mention the answering variant (or every variant), a top-up
|
|
919
|
+
or billing link and its call to action "managed in the OwlMeans web application", and `next_task`
|
|
920
|
+
`project_status`.
|
|
921
|
+
|
|
824
922
|
## The executor is the publisher's job, on somebody's laptop
|
|
825
923
|
|
|
826
924
|
`makeLocalSlotExecutor(dir)` answers the platform's slot commands against a directory here. The
|
|
@@ -991,7 +1089,17 @@ refused call is reported in `settled[]`, `next_task` names a call still running,
|
|
|
991
1089
|
create detaches, opens an unattached session, sends its id and attaches the new project (none of it
|
|
992
1090
|
in the cloud mode). `task-queue.spec.ts` pins the cancellable take, the non-consuming availability
|
|
993
1091
|
and the expiry order; `session-worker.spec.ts` that a model task is delivered while a slow slot
|
|
994
|
-
command runs and a redelivered command runs once.
|
|
1092
|
+
command runs and a redelivered command runs once; `session-model-tasks.spec.ts` the `modelTasks:
|
|
1093
|
+
false` refusal (once, `Unavailable`, logged, never queued, questions still delivered).
|
|
1094
|
+
`client-header.spec.ts` pins `x-viable-client` on connector and planning calls and collect hops in
|
|
1095
|
+
every mode (`sdk` by default, a differently spelled header replaced) and `client()` (404 → `null`).
|
|
1096
|
+
`profile-seam.spec.ts` pins the seam — hidden and split tools, inherited output schemas, the
|
|
1097
|
+
structured part on success only, a throwing presenter, the profile's instructions, `describe_platform`
|
|
1098
|
+
naming no hidden tool, `session_status`'s client line — and that WITHOUT a profile the model is the
|
|
1099
|
+
identity and no registration carries `outputSchema`; `listing-profile.spec.ts` the listing content
|
|
1100
|
+
(the destructive, open-world, credit and repeating sets, the text-only tools, descriptions,
|
|
1101
|
+
instructions, the text rewrite and its notification); `profile-presentation-{work,platform}.spec.ts`
|
|
1102
|
+
that every presenter's output validates against its schema.
|
|
995
1103
|
|
|
996
1104
|
## Depends On
|
|
997
1105
|
|
|
@@ -1026,7 +1134,9 @@ for installed custom registries. Read it before proposing a project category.
|
|
|
1026
1134
|
|
|
1027
1135
|
## Related
|
|
1028
1136
|
|
|
1029
|
-
- `@owlmeans/viable-mcp`
|
|
1137
|
+
- `@owlmeans/viable-mcp-core` and its editions `@owlmeans/viable-mcp` (the npx stdio server),
|
|
1138
|
+
`@owlmeans/viable-claude` and `@owlmeans/viable-codex` (the plugins' local servers, on
|
|
1139
|
+
`localPluginProfile`) — closed-source; each skill ships in its own package
|
|
1030
1140
|
- [[auth-token]] — the credential and its carrier guard
|
|
1031
1141
|
- [[client-planning]] · [[planning]] — the facade the story tools write through
|
|
1032
1142
|
- `@owlmeans/llm-delegate` (`internal` monorepo, skill `llm-delegate`) — the other end of a model
|
|
@@ -1,16 +1,25 @@
|
|
|
1
1
|
import type { EntrypointTransport } from '@owlmeans/entrypoint';
|
|
2
|
+
import type { ConnectClient } from '@owlmeans/viable-common';
|
|
2
3
|
export interface CallCollectOptions {
|
|
3
4
|
/**
|
|
4
5
|
* Whether this context runs in the DELEGATED mode (`llm=local`). Only then is a write named with
|
|
5
6
|
* `x-viable-call` and an early `{ pending }` answer collected; otherwise every call passes through
|
|
6
|
-
* to the API client untouched.
|
|
7
|
+
* to the API client untouched but for the client header.
|
|
7
8
|
*/
|
|
8
9
|
delegated: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* The edition every request names in `x-viable-client` — in every mode, on the connector routes
|
|
12
|
+
* and the planning client alike. `{ kind: sdk }` when absent.
|
|
13
|
+
*/
|
|
14
|
+
client?: ConnectClient;
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
11
17
|
* The SDK context's HTTP transport — ONE seam in front of the API client that every bound route
|
|
12
18
|
* goes through, the connector routes and the planning client alike.
|
|
13
19
|
*
|
|
20
|
+
* Every request names the connector's edition in `x-viable-client` (`CallCollectOptions.client`),
|
|
21
|
+
* whatever the mode.
|
|
22
|
+
*
|
|
14
23
|
* In the delegated mode a write may wait on a model call the connector's own parent performs, which
|
|
15
24
|
* outlasts what an edge holds a response open. So every non-GET request carries `x-viable-call:
|
|
16
25
|
* <uuid>` (kept when the request already names one, so a retry reuses it), and an answer `{ pending:
|
|
@@ -21,6 +30,8 @@ export interface CallCollectOptions {
|
|
|
21
30
|
export interface CallCollectTransport extends EntrypointTransport {
|
|
22
31
|
/** Whether writes are named and collected — the delegated mode. */
|
|
23
32
|
readonly delegated: boolean;
|
|
33
|
+
/** The `x-viable-client` value every request carries. */
|
|
34
|
+
readonly client: string;
|
|
24
35
|
}
|
|
25
36
|
/** A collected call's answer, as the original entrypoint would have resolved. */
|
|
26
37
|
export interface CollectedCall {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/api/collect/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/api/collect/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAE5D,MAAM,WAAW,kBAAkB;IACjC;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAA;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,aAAa,CAAA;CACvB;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,mEAAmE;IACnE,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAA;IAC3B,yDAAyD;IACzD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CACxB;AAED,iFAAiF;AACjF,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,OAAO,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;CAChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collect.d.ts","sourceRoot":"","sources":["../../src/api/collect.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,oBAAoB,EAAiB,MAAM,oBAAoB,CAAA;AACjG,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAW3C;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,SAAU,kBAAkB,KAAG,
|
|
1
|
+
{"version":3,"file":"collect.d.ts","sourceRoot":"","sources":["../../src/api/collect.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,oBAAoB,EAAiB,MAAM,oBAAoB,CAAA;AACjG,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAW3C;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,SAAU,kBAAkB,KAAG,oBAiIrE,CAAA;AAED,mFAAmF;AACnF,eAAO,MAAM,0BAA0B,GAAI,CAAC,SAAS,GAAG,WAAW,CAAC,QAAQ,kBAAkB,KAAG,CAIhG,CAAA"}
|
package/build/api/collect.js
CHANGED
|
@@ -5,7 +5,7 @@ import { assertContext, createService } from '@owlmeans/context';
|
|
|
5
5
|
import { EntrypointOutcome, provideResponse, transportAlias, } from '@owlmeans/entrypoint';
|
|
6
6
|
import { ResilientError } from '@owlmeans/error';
|
|
7
7
|
import { RouteMethod, RouteProtocols } from '@owlmeans/route';
|
|
8
|
-
import { CONNECT_CALL_COLLECT_WAIT_SEC, CONNECT_CALL_HEADER, ConnectCallLost, ConnectCallState, connectRef, } from '@owlmeans/viable-common';
|
|
8
|
+
import { CONNECT_CALL_COLLECT_WAIT_SEC, CONNECT_CALL_HEADER, CONNECT_CLIENT_HEADER, ConnectCallLost, ConnectCallState, ConnectClientKind, connectClientHelper, connectRef, } from '@owlmeans/viable-common';
|
|
9
9
|
import { SdkUnsupported } from '../errors.js';
|
|
10
10
|
import { AXIOS_TIMEOUT_CODE, COLLECT_DROPPED_HOPS, COLLECT_DROPPED_STATUSES, COLLECT_FAST_MS, COLLECT_HOP_TIMEOUT_MS, COLLECT_PAUSE_MS, } from './consts.local.js';
|
|
11
11
|
import { transportHelper } from './transport.js';
|
|
@@ -27,6 +27,8 @@ const pause = async (ms, signal) => await new Promise(resolve => {
|
|
|
27
27
|
*/
|
|
28
28
|
export const createCallCollectTransport = (opts) => {
|
|
29
29
|
const location = 'viable-sdk:call-collect-transport';
|
|
30
|
+
// Formatted once: the edition does not change for the life of the context.
|
|
31
|
+
const client = connectClientHelper.format(opts.client ?? { kind: ConnectClientKind.Sdk });
|
|
30
32
|
const contextOf = () => assertContext(transport.ctx, location);
|
|
31
33
|
/** The API client this transport stands in front of — what an entrypoint would have called. */
|
|
32
34
|
const apiOf = (context) => {
|
|
@@ -49,6 +51,19 @@ export const createCallCollectTransport = (opts) => {
|
|
|
49
51
|
req.headers[CONNECT_CALL_HEADER] = callId;
|
|
50
52
|
return callId;
|
|
51
53
|
};
|
|
54
|
+
/**
|
|
55
|
+
* The edition, written onto every request — a collect hop included — in place of any spelling of
|
|
56
|
+
* the header the request already carried, so the platform reads exactly one value.
|
|
57
|
+
*/
|
|
58
|
+
const nameClient = (req) => {
|
|
59
|
+
const headers = req.headers ?? {};
|
|
60
|
+
for (const key of Object.keys(headers)) {
|
|
61
|
+
if (key.toLowerCase() === CONNECT_CLIENT_HEADER && key !== CONNECT_CLIENT_HEADER)
|
|
62
|
+
delete headers[key];
|
|
63
|
+
}
|
|
64
|
+
headers[CONNECT_CLIENT_HEADER] = client;
|
|
65
|
+
req.headers = headers;
|
|
66
|
+
};
|
|
52
67
|
const pendingFor = (value, callId) => value != null && typeof value === 'object' && value.pending === callId;
|
|
53
68
|
/** A hop the line dropped rather than the platform refused — asked again, since a collect is a read. */
|
|
54
69
|
const dropped = (e) => transportHelper.isTransientTransportError(e)
|
|
@@ -94,6 +109,7 @@ export const createCallCollectTransport = (opts) => {
|
|
|
94
109
|
const handle = async (req, res) => {
|
|
95
110
|
const context = contextOf();
|
|
96
111
|
const api = apiOf(context);
|
|
112
|
+
nameClient(req);
|
|
97
113
|
if (!opts.delegated || !writes(context, req.alias)) {
|
|
98
114
|
await api.handler(req, res);
|
|
99
115
|
return;
|
|
@@ -120,6 +136,7 @@ export const createCallCollectTransport = (opts) => {
|
|
|
120
136
|
const transport = createService(transportAlias(RouteProtocols.WEB), {
|
|
121
137
|
protocol: RouteProtocols.WEB,
|
|
122
138
|
delegated: opts.delegated,
|
|
139
|
+
client,
|
|
123
140
|
handle: handle,
|
|
124
141
|
});
|
|
125
142
|
return transport;
|
package/build/api/collect.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collect.js","sourceRoot":"","sources":["../../src/api/collect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EAAE,aAAa,EAA8C,MAAM,eAAe,CAAA;AACzF,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAErD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAChE,OAAO,EACL,iBAAiB,EAAE,eAAe,EAAE,cAAc,GAEnD,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAC7D,OAAO,EACL,6BAA6B,EAAE,mBAAmB,EAAE,eAAe,EAAE,gBAAgB,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"collect.js","sourceRoot":"","sources":["../../src/api/collect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EAAE,aAAa,EAA8C,MAAM,eAAe,CAAA;AACzF,OAAO,EAAE,WAAW,EAAE,MAAM,yB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C,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,OAA4B,CAAC,CAAA;QAClE,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,GAAG,CAAC,MAAM,CAAC,CAAU,CAAC,CAAA;QACxB,CAAC;IACH,CAAC,CAAA;IAED,MAAM,SAAS,GAAyB,aAAa,CAAuB,cAAc,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;QAC9G,QAAQ,EAAE,cAAc,CAAC,GAAG;QAC5B,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,MAAM;QACN,MAAM,EAAE,MAAwC;KACjD,CAAC,CAAA;IAEF,OAAO,SAAS,CAAA;AAClB,CAAC,CAAA;AAED,mFAAmF;AACnF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAgB,OAAU,EAAE,IAAwB,EAAK,EAAE;IACnG,OAAO,CAAC,eAAe,CAAC,0BAA0B,CAAC,IAAI,CAAC,CAAC,CAAA;IAEzD,OAAO,OAAO,CAAA;AAChB,CAAC,CAAA"}
|
|
@@ -18,4 +18,6 @@ export declare const AXIOS_TIMEOUT_CODE = "ECONNABORTED";
|
|
|
18
18
|
export declare const COLLECT_FAST_MS = 1000;
|
|
19
19
|
/** The rest after an unheld `pending`, so a platform that answers at once is not asked in a hot loop. */
|
|
20
20
|
export declare const COLLECT_PAUSE_MS = 1000;
|
|
21
|
+
/** What a platform older than a route answers for it — read as "this platform cannot say". */
|
|
22
|
+
export declare const NOT_FOUND = 404;
|
|
21
23
|
//# sourceMappingURL=consts.local.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.local.d.ts","sourceRoot":"","sources":["../../src/api/consts.local.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,aAGpC,CAAA;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,QAA8C,CAAA;AAEjF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,IAAI,CAAA;AAErC,uFAAuF;AACvF,eAAO,MAAM,wBAAwB,aAA2B,CAAA;AAEhE,yEAAyE;AACzE,eAAO,MAAM,kBAAkB,iBAAiB,CAAA;AAEhD,gHAAgH;AAChH,eAAO,MAAM,eAAe,OAAQ,CAAA;AAEpC,yGAAyG;AACzG,eAAO,MAAM,gBAAgB,OAAQ,CAAA"}
|
|
1
|
+
{"version":3,"file":"consts.local.d.ts","sourceRoot":"","sources":["../../src/api/consts.local.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,aAGpC,CAAA;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,QAA8C,CAAA;AAEjF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,IAAI,CAAA;AAErC,uFAAuF;AACvF,eAAO,MAAM,wBAAwB,aAA2B,CAAA;AAEhE,yEAAyE;AACzE,eAAO,MAAM,kBAAkB,iBAAiB,CAAA;AAEhD,gHAAgH;AAChH,eAAO,MAAM,eAAe,OAAQ,CAAA;AAEpC,yGAAyG;AACzG,eAAO,MAAM,gBAAgB,OAAQ,CAAA;AAErC,8FAA8F;AAC9F,eAAO,MAAM,SAAS,MAAM,CAAA"}
|
|
@@ -22,4 +22,6 @@ export const AXIOS_TIMEOUT_CODE = 'ECONNABORTED';
|
|
|
22
22
|
export const COLLECT_FAST_MS = 1_000;
|
|
23
23
|
/** The rest after an unheld `pending`, so a platform that answers at once is not asked in a hot loop. */
|
|
24
24
|
export const COLLECT_PAUSE_MS = 1_000;
|
|
25
|
+
/** What a platform older than a route answers for it — read as "this platform cannot say". */
|
|
26
|
+
export const NOT_FOUND = 404;
|
|
25
27
|
//# sourceMappingURL=consts.local.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.local.js","sourceRoot":"","sources":["../../src/api/consts.local.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAA;AAEvE,MAAM,CAAC,MAAM,yBAAyB,GAAG,IAAI,GAAG,CAAC;IAC/C,YAAY,E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kB,GAAG,cAAc,CAAA;AAEhD,gHAAgH;AAChH,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,CAAA;AAEpC,yGAAyG;AACzG,MAAM,CAAC,MAAM,gBAAgB,GAAG,KAAK,CAAA;AAErC,8FAA8F;AAC9F,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote.d.ts","sourceRoot":"","sources":["../../src/api/remote.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"remote.d.ts","sourceRoot":"","sources":["../../src/api/remote.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAiC,MAAM,aAAa,CAAA;AAC9E,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAA;AAGxD;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,sBAAsB,YAAa,GAAG,SAAQ,sBAAsB,KAAQ,YAwXxF,CAAA"}
|
package/build/api/remote.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { apiStatusHelper } from '@owlmeans/api';
|
|
1
2
|
import { connectRef } from '@owlmeans/viable-common';
|
|
2
3
|
import { TOOL_DEADLINE_MS } from '../consts.js';
|
|
4
|
+
import { NOT_FOUND } from './consts.local.js';
|
|
3
5
|
import { planningContextOf } from '@owlmeans/client-planning';
|
|
4
6
|
/**
|
|
5
7
|
* The connector API over HTTP.
|
|
@@ -202,6 +204,17 @@ export const makeRemoteConnectorApi = (context, opts = {}) => {
|
|
|
202
204
|
slot: {
|
|
203
205
|
list: async () => await context.entrypoint(connectRef.slot.list).call({ timeout }),
|
|
204
206
|
},
|
|
207
|
+
// A platform older than the route answers 404: it cannot say, which is not a failure.
|
|
208
|
+
client: async () => {
|
|
209
|
+
try {
|
|
210
|
+
return (await context.entrypoint(connectRef.client.identify).call({ timeout })) ?? null;
|
|
211
|
+
}
|
|
212
|
+
catch (e) {
|
|
213
|
+
if (apiStatusHelper.httpStatusOf(e) === NOT_FOUND)
|
|
214
|
+
return null;
|
|
215
|
+
throw e;
|
|
216
|
+
}
|
|
217
|
+
},
|
|
205
218
|
git: {
|
|
206
219
|
status: async (id) => await context.entrypoint(connectRef.git.status).call({ params: { id }, timeout }),
|
|
207
220
|
log: async (id) => await context.entrypoint(connectRef.git.log).call({ params: { id }, timeout }),
|
package/build/api/remote.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote.js","sourceRoot":"","sources":["../../src/api/remote.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAA05B,MAAM,yBAAyB,CAAA;AAC58B,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAI/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAE7D;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,OAAY,EAAE,IAAI,GAA2B,EAAE,EAAgB,EAAE;IACtG,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,IAAI,gBAAgB,CAAA;IAChD,wGAAwG;IACxG,MAAM,OAAO,GAAG,CAAC,KAA0B,EAAkC,EAAE,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAA;IAC9G,iGAAiG;IACjG,kFAAkF;IAClF,MAAM,WAAW,GAAG,CAAC,KAAK,GAAyB,EAAE,EAAwB,EAAE,CAAC,CAAC;QAC/E,GAAG,CAAC,KAAK,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACtD,GAAG,CAAC,KAAK,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,KAAK,EA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EAAE,EAAU,EAAiC,EAAE,CAAC,MAAM,OAAO;iBACvE,UAAU,CAAC,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC;YAC1E,KAAK,EAAE,KAAK,EAAE,EAAU,EAAiC,EAAE,CAAC,MAAM,OAAO;iBACtE,UAAU,CAAC,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC;SAC1E;QAED,OAAO,EAAE;YACP,MAAM,EAAE,KAAK,EAAE,EAAU,EAAE,SAAiB,EAAE,MAA4B,EAAE,EAAE;YAC5E,0FAA0F;YAC1F,qEAAqE;YACrE,MAAM,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC;gBACvD,MAAM,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,MAAM,EAAE,SAAS,EAAE,EAAE,OAAO;aACnE,CAAC;SACL;KACF,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/context/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAqB,KAAK,YAAY,EAAE,KAAK,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAQnG,OAAO,EAAE,OAAO,EAAsD,MAAM,yBAAyB,CAAA;AAKrG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAenD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,SAAgB,iBAAiB,KAAG,OAAO,CAAC,aAAa,CAAC,YAAY,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/context/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAqB,KAAK,YAAY,EAAE,KAAK,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAQnG,OAAO,EAAE,OAAO,EAAsD,MAAM,yBAAyB,CAAA;AAKrG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAenD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,SAAgB,iBAAiB,KAAG,OAAO,CAAC,aAAa,CAAC,YAAY,CAAC,CAkGjG,CAAA;AAED,OAAO,EAAE,OAAO,EAAE,CAAA;AAElB,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA"}
|
package/build/context/index.js
CHANGED
|
@@ -84,9 +84,13 @@ export const makeSdkContext = async (opts) => {
|
|
|
84
84
|
}));
|
|
85
85
|
context.registerMiddleware(authMiddleware);
|
|
86
86
|
// ONE transport in front of the API client for every bound route — the connector's and the
|
|
87
|
-
// planning client's.
|
|
88
|
-
// early `{ pending }` answer until the
|
|
89
|
-
|
|
87
|
+
// planning client's. Every request names the edition (`x-viable-client`); in the delegated mode it
|
|
88
|
+
// also names each write (`x-viable-call`) and collects an early `{ pending }` answer until the
|
|
89
|
+
// call settles; otherwise it only forwards.
|
|
90
|
+
appendCallCollectTransport(context, {
|
|
91
|
+
delegated: opts.llm === ConnectLlm.Local,
|
|
92
|
+
...(opts.client != null ? { client: opts.client } : {}),
|
|
93
|
+
});
|
|
90
94
|
const surface = connectProtocols({ guard: DEFAULT_GUARD });
|
|
91
95
|
// The story tools speak planning: the same tree the platform mounts, reached with the same token.
|
|
92
96
|
const planning = sdkPlanningProtocols();
|