@intentic/sandbox-contract 1.310.0 → 1.311.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 +38 -159
- package/dist/contracts/accounts.contract.d.ts +3 -0
- package/dist/contracts/accounts.contract.d.ts.map +1 -1
- package/dist/contracts/agent.contract.d.ts +15 -0
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.d.ts +596 -1
- package/dist/contracts/agents.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.js +13 -2
- package/dist/contracts/agents.contract.js.map +1 -1
- package/dist/contracts/capabilities.contract.d.ts +2 -0
- package/dist/contracts/capabilities.contract.d.ts.map +1 -1
- package/dist/contracts/device.contract.d.ts +1 -0
- package/dist/contracts/device.contract.d.ts.map +1 -1
- package/dist/contracts/runner.contract.d.ts +45 -0
- package/dist/contracts/runner.contract.d.ts.map +1 -1
- package/dist/contracts/settings.contract.d.ts +8 -0
- package/dist/contracts/settings.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.d.ts +59 -0
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/events/agent-events.d.ts +20 -0
- package/dist/events/agent-events.d.ts.map +1 -1
- package/dist/events/agent-events.js +6 -1
- package/dist/events/agent-events.js.map +1 -1
- package/dist/events/system-events.d.ts +48 -0
- package/dist/events/system-events.d.ts.map +1 -1
- package/dist/events/transcript.d.ts +5 -0
- package/dist/events/transcript.d.ts.map +1 -1
- package/dist/events/transcript.js +9 -1
- package/dist/events/transcript.js.map +1 -1
- package/dist/front/generated/wire.d.ts +74 -0
- package/dist/front/generated/wire.d.ts.map +1 -0
- package/dist/front/generated/wire.js +2 -0
- package/dist/front/generated/wire.js.map +1 -0
- package/dist/index.d.ts +684 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/policy/command-run.d.ts +1 -1
- package/dist/policy/command-run.d.ts.map +1 -1
- package/dist/policy/command-run.js +7 -4
- package/dist/policy/command-run.js.map +1 -1
- package/dist/protocol/ingress-protocol.d.ts.map +1 -1
- package/dist/protocol/ingress-protocol.js +15 -0
- package/dist/protocol/ingress-protocol.js.map +1 -1
- package/dist/schemas/agents.d.ts +72 -3
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/agents.js +10 -7
- package/dist/schemas/agents.js.map +1 -1
- package/dist/schemas/automations.d.ts +24 -0
- package/dist/schemas/automations.d.ts.map +1 -1
- package/dist/schemas/capabilities.d.ts +3 -0
- package/dist/schemas/capabilities.d.ts.map +1 -1
- package/dist/schemas/capabilities.js +4 -0
- package/dist/schemas/capabilities.js.map +1 -1
- package/dist/schemas/devices.d.ts +32 -6
- package/dist/schemas/devices.d.ts.map +1 -1
- package/dist/schemas/devices.js +8 -6
- package/dist/schemas/devices.js.map +1 -1
- package/dist/schemas/keep-warm.d.ts +68 -0
- package/dist/schemas/keep-warm.d.ts.map +1 -0
- package/dist/schemas/keep-warm.js +74 -0
- package/dist/schemas/keep-warm.js.map +1 -0
- package/dist/schemas/providers/provider-oauth.d.ts +3 -0
- package/dist/schemas/providers/provider-oauth.d.ts.map +1 -1
- package/dist/schemas/providers/provider-oauth.js +4 -0
- package/dist/schemas/providers/provider-oauth.js.map +1 -1
- package/dist/schemas/providers/usage.d.ts +6 -0
- package/dist/schemas/providers/usage.d.ts.map +1 -1
- package/dist/schemas/providers/usage.js +4 -0
- package/dist/schemas/providers/usage.js.map +1 -1
- package/dist/schemas/settings.d.ts +4 -0
- package/dist/schemas/settings.d.ts.map +1 -1
- package/dist/schemas/settings.js +23 -0
- package/dist/schemas/settings.js.map +1 -1
- package/dist/state/definition.d.ts +16 -0
- package/dist/state/definition.d.ts.map +1 -1
- package/dist/state/fix-stance.d.ts.map +1 -1
- package/dist/state/fix-stance.js +1 -0
- package/dist/state/fix-stance.js.map +1 -1
- package/dist/state/runtime-state.d.ts +3 -0
- package/dist/state/runtime-state.d.ts.map +1 -1
- package/dist/state/runtime-state.js +1 -0
- package/dist/state/runtime-state.js.map +1 -1
- package/dist/text/transcript-fold.d.ts +2 -0
- package/dist/text/transcript-fold.d.ts.map +1 -1
- package/dist/text/transcript-fold.js +20 -7
- package/dist/text/transcript-fold.js.map +1 -1
- package/dist/time/zone.d.ts +1 -0
- package/dist/time/zone.d.ts.map +1 -1
- package/dist/time/zone.js +5 -0
- package/dist/time/zone.js.map +1 -1
- package/package.json +16 -5
- package/src/contracts/agents.contract.ts +14 -2
- package/src/events/agent-events.ts +9 -1
- package/src/events/transcript.ts +14 -3
- package/src/front/generated/wire.ts +73 -0
- package/src/ids/hostnames.fixture.json +20 -0
- package/src/ids/hostnames.test.ts +20 -0
- package/src/index.ts +1 -0
- package/src/policy/command-run.test.ts +35 -0
- package/src/policy/command-run.ts +10 -5
- package/src/protocol/ingress-protocol.test.ts +45 -1
- package/src/protocol/ingress-protocol.ts +25 -4
- package/src/schemas/agents.ts +14 -7
- package/src/schemas/capabilities.ts +6 -0
- package/src/schemas/devices.ts +16 -9
- package/src/schemas/keep-warm.test.ts +68 -0
- package/src/schemas/keep-warm.ts +124 -0
- package/src/schemas/providers/provider-oauth.ts +6 -0
- package/src/schemas/providers/usage.ts +7 -0
- package/src/schemas/settings.ts +30 -0
- package/src/state/fix-stance.test.ts +14 -0
- package/src/state/fix-stance.ts +2 -0
- package/src/state/runtime-state.ts +4 -0
- package/src/text/transcript-fold.test.ts +20 -1
- package/src/text/transcript-fold.ts +39 -9
- package/src/time/zone.ts +7 -0
- package/src/webext/index.ts +1 -1
package/README.md
CHANGED
|
@@ -1,164 +1,43 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
The wire between the sandbox daemon
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
`
|
|
27
|
-
|
|
28
|
-
- Define workflow designs and immutable run snapshots, including full model/account/harness pins, per-step spend
|
|
29
|
-
ceilings, pinned repository bases, bounded report previews, and complete-report artifact paths.
|
|
30
|
-
- Hold the embeds' half of the public doors (the daemon's `automations/public-door.ts`): `src/embed.ts`, its
|
|
31
|
-
own entry point and import-free on purpose, is what the Visitor chat widget and the bug reporter both do before
|
|
32
|
-
they do anything of their own — the door's three calls, the proof-of-work solver, the localStorage id, the
|
|
33
|
-
script-tag boot.
|
|
34
|
-
- Hold the far end of the peer doors (the daemon's `peers/`): the hello each peer sends (`host-protocol.ts`,
|
|
35
|
-
`webext-protocol.ts`, `runner-protocol.ts`), the one outbound socket loop every peer runs
|
|
36
|
-
(`src/peer-dial.ts`, its own entry point) and the MCP tool server a device or a browser answers over it
|
|
37
|
-
(`src/peer-mcp-server.ts`, its own entry point). Runtime-neutral by construction, since one of those peers is
|
|
38
|
-
an MV3 service worker.
|
|
1
|
+
# sandbox-contract
|
|
2
|
+
|
|
3
|
+
The wire contract between the editor and the sandbox daemon: every route, its schemas and its access policy, as one oRPC contract both ends compile against.
|
|
4
|
+
|
|
5
|
+
```mermaid
|
|
6
|
+
flowchart LR
|
|
7
|
+
web["Editor<br/>typed oRPC client"] --> contract(["sandboxContract"])
|
|
8
|
+
ext["Extensions<br/>api.sandbox.rpc"] --> contract
|
|
9
|
+
contract --> daemon["Sandbox daemon<br/>route factories"]
|
|
10
|
+
daemon -- "device · webext<br/>runner contracts" --> peers["Machines · browser extension<br/>runners"]
|
|
11
|
+
contract -. "contract.lock.json" .-> shrink["contract-shrink<br/>push gate"]
|
|
12
|
+
contract -. "generated from" .-> openapi["sandbox-openapi"]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
- Each subject pairs a route group in `src/contracts/*.contract.ts` with its wire shapes in `src/schemas/`.
|
|
16
|
+
`src/index.ts` assembles them into `sandboxContract`, which the daemon implements per domain and the browser calls
|
|
17
|
+
through one typed client.
|
|
18
|
+
- Policy sits beside each route: `procedure()` declares how a request authenticates, which member tier it needs and how
|
|
19
|
+
far a control token reaches. Routes outside oRPC (streams, WebSocket upgrades, `/health`) are listed in
|
|
20
|
+
`RAW_ROUTES`.
|
|
21
|
+
- Three contracts run the other way. `deviceContract`, `webextContract` and `runnerContract` are served by a user's
|
|
22
|
+
machine, the browser extension and a runner over the socket each one opens, with the daemon as the client.
|
|
23
|
+
- The daemon names the routes it implements on the `/events` hello frame, and the browser diffs that list against its
|
|
24
|
+
own build, so a route an older daemon lacks shows as a missing feature instead of a 404.
|
|
25
|
+
- `contract.lock.json` is every exported schema as canonical JSON Schema. `pnpm verify:turn` rewrites it, and
|
|
26
|
+
`_tools/checks/contract-shrink.mjs` refuses a push that shrinks it unless a commit declares the break (`type!:` or
|
|
27
|
+
`Breaking-Note:`).
|
|
39
28
|
|
|
40
29
|
## Key files
|
|
41
30
|
|
|
42
|
-
- [src/
|
|
43
|
-
- [src/
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
side of the wire sends.
|
|
49
|
-
- [src/events/](src/events): what the daemon pushes, and when, one file per family — the cards a turn raises
|
|
50
|
-
([cards.ts](src/events/requests.ts)), the transcript wire ([transcript.ts](src/events/transcript.ts): a
|
|
51
|
-
`TranscriptRow` (a speaker's bubble, a notice, a card), a `TranscriptPatch` (append, replace, drop, more text or
|
|
52
|
-
thinking, a tool's progress)), the turn's own frames ([agent-events.ts](src/events/agent-events.ts): the
|
|
53
|
-
`AgentEvent` union, the `TurnFact` view of it, and the `AttachFrame` union a window follows a run through), the
|
|
54
|
-
resume notes ([resume.ts](src/events/resume.ts)), the two other prompts the daemon composes and sends as turns —
|
|
55
|
-
a condition watch's wake ([watch-wake.ts](src/events/watch-wake.ts)) and the unverified-work follow-up
|
|
56
|
-
([verify-nudge.ts](src/events/verify-nudge.ts)), each recognisable by its opening so the chat can draw it as
|
|
57
|
-
something other than the user's own words — and what is about the sandbox rather than a turn
|
|
58
|
-
([system-events.ts](src/events/system-events.ts): heartbeat, boot, presence, what just moved).
|
|
59
|
-
- [src/transcript-fold.ts](src/text/transcript-fold.ts), its own entry point (`@intentic/sandbox-contract/transcript-fold`):
|
|
60
|
-
THE fold from a turn's frames to its rows, and the patches each frame is worth. The daemon runs it inside every
|
|
61
|
-
run, the demo runs it over its recording, and the browser only applies the patches it emits, so there is one
|
|
62
|
-
opinion about what a turn looks like. Its notices (a stop, a refusal, a landing, a routed tier) are written
|
|
63
|
-
here too, and so is the one turn that leaves NO rows: a refusal that ran nothing takes its message back out
|
|
64
|
-
with it and is never recorded, since the composer still holds those words
|
|
65
|
-
([docs/design/turns-that-never-ran.md](../../docs/design/turns-that-never-ran.md)). [src/policy/request-status.ts](src/policy/request-status.ts) is how a request settles: raised `pending`, and given its
|
|
66
|
-
status by the reply that released it or by the stop that cancelled it. One card is settled by a reply the
|
|
67
|
-
daemon may REFUSE: a `credential_offer` is addressed to the named people the owner's gate lists rather than
|
|
68
|
-
to whoever holds a session, so a reply that reaches this derivation at all is one the daemon already accepted
|
|
69
|
-
from an approver, and who that was rides on the `credential_receipt` frame (the reply carries no sender).
|
|
70
|
-
- [src/state/fix-stance.ts](src/state/fix-stance.ts) and [src/state/fix-attempt-plan.ts](src/state/fix-attempt-plan.ts):
|
|
71
|
-
what became of the agent a surface sent after a failure (working, needs you, fix ready, landed, waiting, ended),
|
|
72
|
-
and what a press on that surface does about it (open attempt 1, continue the ended attempt, start over, or wait
|
|
73
|
-
for the one in play). Read here rather than in any one surface, so the editor's push question, the pipelines
|
|
74
|
-
board and the daemon's `/ci/fix` route describe one agent one way and never race a second one beside it. The
|
|
75
|
-
attempt ids are [src/ids/conversation-ids.ts](src/ids/conversation-ids.ts): the failure's derived id for
|
|
76
|
-
attempt 1, then `-attempt2` on, so every attempt keeps its own transcript, cost and URL.
|
|
77
|
-
- [src/workspace-state.ts](src/state/workspace-state.ts) and [src/runtime-state.ts](src/state/runtime-state.ts): which
|
|
78
|
-
changed file, and which moved runtime thing, makes which browser view stale. The workspace table also assigns
|
|
79
|
-
each daemon-owned path its export lifecycle (`carry`, `secret`, `identity`, or `derived`), including the
|
|
80
|
-
auth/session/cache/artifact roots, and marks the configuration slice the root repo TRACKS (`versioned`: the
|
|
81
|
-
allowlist the git exclude rules are derived from, so a store added later is untracked until someone says
|
|
82
|
-
otherwise) and the authored-content slice a workspace SEARCH may surface (`versioned` + `authored` →
|
|
83
|
-
`SEARCHABLE_STATE_PATHS`, which iq's floor denies the rest of `.intentic` against by default). The same flag
|
|
84
|
-
decides what an isolated turn shares LIVE with the main tree (`SHARED_STATE_PATHS`: every untracked group, bound
|
|
85
|
-
in over the worktree) and what is the worktree's own checkout that reaches the main tree by landing (the
|
|
86
|
-
tracked `config/` slice). Extensions name
|
|
87
|
-
their scratch home through `extensionRuntimeDir` rather than spelling the layout themselves. The daemon
|
|
88
|
-
publishes the cause and the browser derives the consequence, so neither side keeps its own copy of the
|
|
89
|
-
other's list.
|
|
90
|
-
- [src/documents.ts](src/text/documents.ts): which of a turn's writes is a DOCUMENT, a markdown file written whole,
|
|
91
|
-
as opposed to a change made to code. Shared because both sides act on the same answer: the daemon attaches
|
|
92
|
-
that document to the question or plan card the turn parks on (so a choice can be read beside the write-up it
|
|
93
|
-
is about), and the browser draws the write's own card as prose rather than as a diff stat. Two copies of the
|
|
94
|
-
rule would let a card carry a document the transcript never drew.
|
|
95
|
-
- The provider vocabulary, three modules, bottom-up, and the arrow between them only points one way:
|
|
96
|
-
- [src/agent-runtimes.ts](src/models/agent-runtimes.ts): what each agentic LOOP can do, one record per runtime: its
|
|
97
|
-
permission axis, its MCP reach, whether it steers, and how much of the owner's system prompt it will take
|
|
98
|
-
(`instructions`: replace, add, or nothing at all), plus whether it discovers loaded skills natively or
|
|
99
|
-
needs their catalogue in its opening prompt. It names no providers at all.
|
|
100
|
-
- [src/provider-specs.ts](src/models/provider-specs.ts): **one row per provider**, and the source every other list
|
|
101
|
-
of providers in this repo derives from — the wire vocabulary (`NATIVE_PROVIDERS`), the picker's labels, the
|
|
102
|
-
access and vendor tables, the plan-limit list, the routed-provider enum and its accounts schema, the
|
|
103
|
-
daemon's CLIProxyAPI id map, and the web's account tabs and readiness rules. A row carries the two axes it
|
|
104
|
-
deliberately keeps apart: what a turn COSTS (`access`) and what the user CONNECTS (`auth`: an OAuth account
|
|
105
|
-
this daemon stores, a subscription the bundled translator holds, or a sign-in that MINTS the vendor's own
|
|
106
|
-
API key, which then carries its estates' base URLs — Z.ai sells one plan through two of them and a key
|
|
107
|
-
minted on one is refused by the other's host).
|
|
108
|
-
`brand` is typed against the marks in `@intentic/constants`, so a provider added without a logo does not
|
|
109
|
-
compile. **Adding a provider is a row here**, its brand path, and (daemon-side) one line in the provider
|
|
110
|
-
registry; `provider-specs.test.ts` walks the table rather than a list, so the guard covers a provider the
|
|
111
|
-
day it is added.
|
|
112
|
-
- [src/contracts/accounts.contract.ts](src/contracts/accounts.contract.ts): the accounts the sandbox holds
|
|
113
|
-
itself, one route family with the provider as a parameter (`/accounts/{provider}`), the lesson the
|
|
114
|
-
catalog route learned applied to sign-ins: start, complete, cancel, list, rename, disconnect are the same
|
|
115
|
-
six verbs for every provider, and `LoginStart` (schemas/providers/provider-oauth.ts) is the one sign-in shape,
|
|
116
|
-
whose `flow` says how an attempt ENDS (device, redirect, paste). Nothing redeemable is on any answer.
|
|
117
|
-
- [src/agent-catalog.ts](src/models/agent-catalog.ts): the shapes each surface reads that table in, plus the rules
|
|
118
|
-
that are about something other than a provider (the trial, the endpoint namespace, the effort and fast-mode
|
|
119
|
-
gates). Shared because both sides act on it: the daemon composes a turn's instructions and skill discovery
|
|
120
|
-
against it and the browser both discloses what a pair cannot do (`limitationsOf`) and names which models
|
|
121
|
-
the system-prompt setting reaches.
|
|
122
|
-
- [src/chores](src/chores), the chore book: definitions, applicability gates and verdicts, shared because the
|
|
123
|
-
daemon computes the signals and the browser renders the judgement.
|
|
124
|
-
- [src/approvals-execution.ts](src/policy/approvals-execution.ts): how an approved item gets done, the hold every
|
|
125
|
-
approval starts with, which platforms the daemon posts to by code, and the prompts the executing turns are
|
|
126
|
-
handed, shared because the daemon acts on them and the Approvals page counts the same seconds down.
|
|
127
|
-
- [src/workflow-faults.ts](src/text/workflow-faults.ts) and [src/output-fields.ts](src/policy/output-fields.ts): graph and
|
|
128
|
-
structured-output invariants shared by the designer and daemon, including duplicate field-name rejection.
|
|
129
|
-
- [src/definition.ts](src/state/definition.ts): the SANDBOX DEFINITION, the declarable shape of a sandbox
|
|
130
|
-
(`sandbox.toml`): repositories by remote, connections by shape, secret names, the overlay as source, the
|
|
131
|
-
non-default agent settings — plus the bundle manifest that embeds it, since a bundle is definition + state.
|
|
132
|
-
Shared because the daemon derives definitions and the browser renders them and their diffs; the definition
|
|
133
|
-
never carries a credential value or an approval hash, so it is the export that is safe to publish. Only the
|
|
134
|
-
OUTBOUND half lives here; applying one is an arrival.
|
|
135
|
-
- [src/arrival.ts](src/state/arrival.ts): the ARRIVAL PIPELINE, one plan → apply → report for every artifact that can
|
|
136
|
-
come into a sandbox — a definition, an environment bundle, a Hermes or OpenClaw home directory. There were
|
|
137
|
-
three of these once, one per artifact, and the differences between them were drift rather than design (only
|
|
138
|
-
two of the three previewed; the credential consent was asked on opposite sides). The artifact is a parser
|
|
139
|
-
now and everything after it is shared, which is what lets one card render all four.
|
|
140
|
-
- [src/index.ts](src/index.ts): the public surface.
|
|
141
|
-
- [src/contract-lock.ts](src/state/contract-lock.ts) and [contract.lock.json](contract.lock.json): every exported
|
|
142
|
-
schema serialized to one committed, comparable document. Regenerate with `pnpm --filter
|
|
143
|
-
@intentic/sandbox-contract lock` whenever a schema changes; the test beside it fails until you do, and the
|
|
144
|
-
repo-level `contract-shrink` check refuses a push whose lock *lost or changed* an existing surface without a declared
|
|
145
|
-
breaking change (COMPATIBILITY.md at the repo root has the whole story).
|
|
146
|
-
|
|
147
|
-
## How it fits
|
|
148
|
-
|
|
149
|
-
Depended on by `_sandbox/sandbox` (the daemon) and `_editor/web` (the browser), by `@intentic/extension-api` (so
|
|
150
|
-
`api.sandbox.rpc` can be typed), and by every extension that talks to any of them. Its few shared dependencies
|
|
151
|
-
include `@intentic/extension-manifest`, for the install shape, and `@intentic/registry`, for marketplace rows and
|
|
152
|
-
their source-bound admission evidence. Keeping those schemas outside `extension-api` lets every plane import
|
|
153
|
-
the wire without a cycle.
|
|
31
|
+
- [src/index.ts](src/index.ts) — `sandboxContract`, the route tables derived from it, and every public export.
|
|
32
|
+
- [src/protocol/route-meta.ts](src/protocol/route-meta.ts) — the per-route policy fields and their defaults.
|
|
33
|
+
- [src/protocol/raw-routes.ts](src/protocol/raw-routes.ts) — every route the daemon serves outside oRPC.
|
|
34
|
+
- [src/protocol/routes.ts](src/protocol/routes.ts) — route naming, `streamOf` for streamed routes, and the route list a daemon advertises.
|
|
35
|
+
- [contract.lock.json](contract.lock.json) — the committed fingerprint of the wire surface.
|
|
36
|
+
- [src/webext/index.ts](src/webext/index.ts) — a narrow entry point, one of several that keep small bundles off the barrel.
|
|
154
37
|
|
|
155
|
-
##
|
|
38
|
+
## Commands
|
|
156
39
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
- **Logic lives here only when both sides must agree on it.** A chore's verdict qualifies; a view's layout does
|
|
162
|
-
not. When in doubt, the test is whether disagreement between daemon and browser would be a bug.
|
|
163
|
-
- A cross-package type change may not resolve until the workspace settles: `@intentic/*` imports go through
|
|
164
|
-
`node_modules` to the main checkout's source. See the workspace README before concluding an export is missing.
|
|
40
|
+
```sh
|
|
41
|
+
pnpm --filter @intentic/sandbox-contract lock # rebuild, then rewrite contract.lock.json
|
|
42
|
+
pnpm --filter @intentic/sandbox-contract test
|
|
43
|
+
```
|
|
@@ -49,6 +49,7 @@ export declare const accountsContract: {
|
|
|
49
49
|
connectedAt: import("zod").ZodNumber;
|
|
50
50
|
needsReauth: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
51
51
|
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
52
|
+
seatRefusal: import("zod").ZodOptional<import("zod").ZodString>;
|
|
52
53
|
usage: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
53
54
|
windows: import("zod").ZodArray<import("zod").ZodObject<{
|
|
54
55
|
kind: import("zod").ZodString;
|
|
@@ -100,6 +101,7 @@ export declare const accountsContract: {
|
|
|
100
101
|
connectedAt: import("zod").ZodNumber;
|
|
101
102
|
needsReauth: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
102
103
|
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
104
|
+
seatRefusal: import("zod").ZodOptional<import("zod").ZodString>;
|
|
103
105
|
usage: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
104
106
|
windows: import("zod").ZodArray<import("zod").ZodObject<{
|
|
105
107
|
kind: import("zod").ZodString;
|
|
@@ -136,6 +138,7 @@ export declare const accountsContract: {
|
|
|
136
138
|
connectedAt: import("zod").ZodNumber;
|
|
137
139
|
needsReauth: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
138
140
|
detail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
141
|
+
seatRefusal: import("zod").ZodOptional<import("zod").ZodString>;
|
|
139
142
|
usage: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
140
143
|
windows: import("zod").ZodArray<import("zod").ZodObject<{
|
|
141
144
|
kind: import("zod").ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accounts.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/accounts.contract.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,gBAAgB;IACzB,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;IAUL,QAAQ
|
|
1
|
+
{"version":3,"file":"accounts.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/accounts.contract.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,gBAAgB;IACzB,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;IAUL,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUR,MAAM;;;;;;;;;;;;;;;IAUN,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUR,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASN,UAAU;;;;;;;;;;;;;;;CASb,CAAC"}
|
|
@@ -628,6 +628,11 @@ export declare const agentContract: {
|
|
|
628
628
|
op: "thinking";
|
|
629
629
|
index: number;
|
|
630
630
|
text: string;
|
|
631
|
+
} | {
|
|
632
|
+
op: "toolThinking";
|
|
633
|
+
index: number;
|
|
634
|
+
id: string;
|
|
635
|
+
text: string;
|
|
631
636
|
} | {
|
|
632
637
|
op: "tool";
|
|
633
638
|
index: number;
|
|
@@ -1180,6 +1185,11 @@ export declare const agentContract: {
|
|
|
1180
1185
|
op: "thinking";
|
|
1181
1186
|
index: number;
|
|
1182
1187
|
text: string;
|
|
1188
|
+
} | {
|
|
1189
|
+
op: "toolThinking";
|
|
1190
|
+
index: number;
|
|
1191
|
+
id: string;
|
|
1192
|
+
text: string;
|
|
1183
1193
|
} | {
|
|
1184
1194
|
op: "tool";
|
|
1185
1195
|
index: number;
|
|
@@ -2006,6 +2016,11 @@ export declare const agentContract: {
|
|
|
2006
2016
|
op: import("zod").ZodLiteral<"thinking">;
|
|
2007
2017
|
index: import("zod").ZodNumber;
|
|
2008
2018
|
text: import("zod").ZodString;
|
|
2019
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2020
|
+
op: import("zod").ZodLiteral<"toolThinking">;
|
|
2021
|
+
index: import("zod").ZodNumber;
|
|
2022
|
+
id: import("zod").ZodString;
|
|
2023
|
+
text: import("zod").ZodString;
|
|
2009
2024
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2010
2025
|
op: import("zod").ZodLiteral<"tool">;
|
|
2011
2026
|
index: import("zod").ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/agent.contract.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,aAAa;IACtB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYH,MAAM
|
|
1
|
+
{"version":3,"file":"agent.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/agent.contract.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,aAAa;IACtB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYH,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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