@cogitator-ai/bridge 0.4.0 → 0.6.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 +87 -35
- package/dist/adapter.d.ts +34 -2
- package/dist/adapter.d.ts.map +1 -1
- package/dist/adapters/claude.d.ts +95 -2
- package/dist/adapters/claude.d.ts.map +1 -1
- package/dist/adapters/claude.js +207 -3
- package/dist/adapters/claude.js.map +1 -1
- package/dist/adapters/hosted.d.ts +38 -5
- package/dist/adapters/hosted.d.ts.map +1 -1
- package/dist/adapters/hosted.js +190 -10
- package/dist/adapters/hosted.js.map +1 -1
- package/dist/client.d.ts +26 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +38 -1
- package/dist/client.js.map +1 -1
- package/dist/dispatcher.d.ts +145 -3
- package/dist/dispatcher.d.ts.map +1 -1
- package/dist/dispatcher.js +602 -24
- package/dist/dispatcher.js.map +1 -1
- package/dist/errors.d.ts +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js.map +1 -1
- package/dist/guards.d.ts +3 -2
- package/dist/guards.d.ts.map +1 -1
- package/dist/guards.js +4 -3
- package/dist/guards.js.map +1 -1
- package/dist/host.d.ts +9 -0
- package/dist/host.d.ts.map +1 -1
- package/dist/host.js +2 -0
- package/dist/host.js.map +1 -1
- package/dist/index.d.ts +16 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/dist/inputs.d.ts +100 -1
- package/dist/inputs.d.ts.map +1 -1
- package/dist/inputs.js +35 -1
- package/dist/inputs.js.map +1 -1
- package/dist/job-record.d.ts +1 -0
- package/dist/job-record.d.ts.map +1 -1
- package/dist/job-record.js +1 -0
- package/dist/job-record.js.map +1 -1
- package/dist/letters.d.ts.map +1 -1
- package/dist/letters.js +23 -1
- package/dist/letters.js.map +1 -1
- package/dist/permit.d.ts +43 -0
- package/dist/permit.d.ts.map +1 -0
- package/dist/permit.js +118 -0
- package/dist/permit.js.map +1 -0
- package/dist/person-channel.d.ts +45 -0
- package/dist/person-channel.d.ts.map +1 -0
- package/dist/person-channel.js +160 -0
- package/dist/person-channel.js.map +1 -0
- package/dist/person-inbox.d.ts +31 -0
- package/dist/person-inbox.d.ts.map +1 -0
- package/dist/person-inbox.js +69 -0
- package/dist/person-inbox.js.map +1 -0
- package/dist/person.d.ts +65 -0
- package/dist/person.d.ts.map +1 -0
- package/dist/person.js +31 -0
- package/dist/person.js.map +1 -0
- package/dist/protocol.d.ts +8 -1
- package/dist/protocol.d.ts.map +1 -1
- package/dist/protocol.js +7 -1
- package/dist/protocol.js.map +1 -1
- package/dist/rights/index.d.ts +36 -0
- package/dist/rights/index.d.ts.map +1 -0
- package/dist/rights/index.js +186 -0
- package/dist/rights/index.js.map +1 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +11 -0
- package/dist/server.js.map +1 -1
- package/dist/setup/claude.d.ts +4 -2
- package/dist/setup/claude.d.ts.map +1 -1
- package/dist/setup/claude.js +9 -3
- package/dist/setup/claude.js.map +1 -1
- package/dist/store/sqlite.d.ts +6 -1
- package/dist/store/sqlite.d.ts.map +1 -1
- package/dist/store/sqlite.js +74 -18
- package/dist/store/sqlite.js.map +1 -1
- package/dist/store/store.d.ts +6 -2
- package/dist/store/store.d.ts.map +1 -1
- package/dist/testing/fake-harnesses.d.ts +15 -2
- package/dist/testing/fake-harnesses.d.ts.map +1 -1
- package/dist/testing/fake-harnesses.js +17 -2
- package/dist/testing/fake-harnesses.js.map +1 -1
- package/dist/tools/guidance.d.ts.map +1 -1
- package/dist/tools/guidance.js +1 -0
- package/dist/tools/guidance.js.map +1 -1
- package/dist/tools/tools.d.ts.map +1 -1
- package/dist/tools/tools.js +27 -4
- package/dist/tools/tools.js.map +1 -1
- package/dist/types.d.ts +87 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +31 -0
- package/dist/types.js.map +1 -1
- package/fakes/claude.mjs +175 -8
- package/fakes/lib.mjs +58 -7
- package/fakes/mcp.mjs +5 -1
- package/package.json +6 -1
package/dist/dispatcher.d.ts
CHANGED
|
@@ -1,14 +1,25 @@
|
|
|
1
1
|
import { EventEmitter } from 'node:events';
|
|
2
2
|
import { type BridgeLimitsInput } from './guards.js';
|
|
3
|
-
import { type CreateJobInput, type CreateJobResult, type InboxInput, type SendLetterInput, type SendLetterResult, type WaitInput, type WaitResult } from './inputs.js';
|
|
3
|
+
import { type CreateJobInput, type CreateJobResult, type EscalateInput, type InboxInput, type PersonAnswerInput, type SendLetterInput, type SendLetterResult, type StuckInput, type VerdictInput, type VerdictResult, type WaitInput, type WaitResult, type WithdrawInput, type WithdrawResult } from './inputs.js';
|
|
4
4
|
import type { AgentFilter, BridgeStore, JobTaskFilter, JournalQuery, LetterFilter } from './store/store.js';
|
|
5
5
|
import { type AgentRecord, type BridgeJob, type BridgeLimits, type CallerIdentity, type JobVerification, type JournalEntry, type Letter, type RenderedLetter } from './types.js';
|
|
6
6
|
import type { BridgeAdapter, BridgeCalls } from './adapter.js';
|
|
7
|
+
import type { PersonCalls, PersonLetter, PersonRoute, RightsJudge } from './person.js';
|
|
7
8
|
export interface BridgeDispatcherOptions {
|
|
8
9
|
store: BridgeStore;
|
|
9
10
|
/** How the bridge reaches the sessions of each harness. A harness without one reads its inbox */
|
|
10
11
|
adapters?: readonly BridgeAdapter[];
|
|
11
12
|
limits?: BridgeLimitsInput;
|
|
13
|
+
/**
|
|
14
|
+
* What the rules of the agent that handed a job over say of a call the one carrying it out
|
|
15
|
+
* asks leave for. Without it every such call is the person's to decide
|
|
16
|
+
*/
|
|
17
|
+
rights?: RightsJudge;
|
|
18
|
+
/**
|
|
19
|
+
* How a letter that waits for the person reaches them. Without it nothing can be passed on to
|
|
20
|
+
* the person, and a call only they could allow is refused
|
|
21
|
+
*/
|
|
22
|
+
person?: PersonRoute;
|
|
12
23
|
/** Ms since the epoch, `Date.now` by default */
|
|
13
24
|
now?: () => number;
|
|
14
25
|
/** The id of a letter whose sender gave none */
|
|
@@ -65,7 +76,7 @@ export interface BridgeDispatcherEvents {
|
|
|
65
76
|
* await bridge.send(codex.name, { job: job.number, kind: 'report', body: 'Done: 14 tests' });
|
|
66
77
|
* ```
|
|
67
78
|
*/
|
|
68
|
-
export declare class BridgeDispatcher extends EventEmitter<BridgeDispatcherEvents> implements BridgeCalls {
|
|
79
|
+
export declare class BridgeDispatcher extends EventEmitter<BridgeDispatcherEvents> implements BridgeCalls, PersonCalls {
|
|
69
80
|
readonly limits: BridgeLimits;
|
|
70
81
|
private readonly store;
|
|
71
82
|
private readonly tasks;
|
|
@@ -74,6 +85,14 @@ export declare class BridgeDispatcher extends EventEmitter<BridgeDispatcherEvent
|
|
|
74
85
|
private readonly letterId;
|
|
75
86
|
private readonly onError;
|
|
76
87
|
private readonly assertWritable;
|
|
88
|
+
private readonly rights;
|
|
89
|
+
private readonly person;
|
|
90
|
+
/** When each agent's other parties were last told it waits at its window, see `stuck` */
|
|
91
|
+
private readonly stuckTold;
|
|
92
|
+
/** Those waiting for the verdict of a permission request, by its id, see `verdict` */
|
|
93
|
+
private readonly verdictWaiters;
|
|
94
|
+
/** What the person route is told, one thing after another */
|
|
95
|
+
private personNews;
|
|
77
96
|
private queue;
|
|
78
97
|
private readonly deliveries;
|
|
79
98
|
private readonly background;
|
|
@@ -116,11 +135,120 @@ export declare class BridgeDispatcher extends EventEmitter<BridgeDispatcherEvent
|
|
|
116
135
|
* Sends a letter on a job to its other party: a question, an answer, a report that ends the
|
|
117
136
|
* job, a note. The call returns once the bridge has the letter, the answer comes as a letter.
|
|
118
137
|
*
|
|
138
|
+
* A permission request that names its call (`ask`) is judged first by the rules of the agent
|
|
139
|
+
* that handed the job over: what they forbid is refused at once, what they allow is that
|
|
140
|
+
* agent's to answer, and the rest waits for the person. So the one carrying a job out never
|
|
141
|
+
* gets leave the one who handed it over does not have. The decision comes through `verdict`.
|
|
142
|
+
*
|
|
119
143
|
* @throws BridgeError `not_registered`, `unknown_job`, `not_a_party`, `job_finished`,
|
|
120
144
|
* `invalid_letter`, `loop_detected` (the same letter twice in a row), `budget_exhausted` (the
|
|
121
|
-
* job ran out of letters or time, and has failed)
|
|
145
|
+
* job ran out of letters or time, and has failed), `needs_person` (an agent allowing what only
|
|
146
|
+
* the person can)
|
|
122
147
|
*/
|
|
123
148
|
send(caller: string, input: SendLetterInput): Promise<SendLetterResult>;
|
|
149
|
+
/**
|
|
150
|
+
* Passes a question or a permission request addressed to the caller on to the person: the
|
|
151
|
+
* answer is theirs to give now, and goes to the one who asked. The caller can still answer it
|
|
152
|
+
* itself, except to allow a call its own rules leave to the person. Passing a letter on twice
|
|
153
|
+
* changes nothing.
|
|
154
|
+
*
|
|
155
|
+
* @throws BridgeError `unknown_letter` for a letter that is not addressed to the caller,
|
|
156
|
+
* `invalid_letter` for one that takes no answer or waits no more, `no_person` when the bridge
|
|
157
|
+
* has no way to reach the person
|
|
158
|
+
*/
|
|
159
|
+
escalate(caller: string, input: EscalateInput): Promise<Letter>;
|
|
160
|
+
/**
|
|
161
|
+
* Takes what the person said to a letter that waits for them: `allow` or `deny` for a
|
|
162
|
+
* permission request that names its call, words for anything else. The answer goes to the one
|
|
163
|
+
* who asked, signed `person`. Whoever calls this speaks for the person, so it is not served to
|
|
164
|
+
* agents: a route to the person calls it, see `PersonRoute`.
|
|
165
|
+
*
|
|
166
|
+
* @throws BridgeError `unknown_letter` when no such letter waits for the person,
|
|
167
|
+
* `invalid_letter` when it waits no more or the answer is of the wrong kind
|
|
168
|
+
*/
|
|
169
|
+
personAnswer(input: PersonAnswerInput): Promise<SendLetterResult>;
|
|
170
|
+
/**
|
|
171
|
+
* Says the caller's session waits for a person at its own window, such as for the answer to
|
|
172
|
+
* its harness's permission dialog: something only a person there can give. Whoever handed it
|
|
173
|
+
* a job that still runs is told in a note, and the person through their route, so nobody
|
|
174
|
+
* waits for an agent that itself waits. Told once in `limits.windowNoticeMs` for an agent,
|
|
175
|
+
* however often its harness says so. Resolves with the jobs whose other party was told.
|
|
176
|
+
*/
|
|
177
|
+
stuck(caller: string, input: StuckInput): Promise<number[]>;
|
|
178
|
+
private noteStuck;
|
|
179
|
+
/** How a letter that waits no more was settled, for whoever answers it too late. */
|
|
180
|
+
private settledBy;
|
|
181
|
+
/**
|
|
182
|
+
* Whether the agent holds a call of the job for a verdict it asked through the bridge. Its
|
|
183
|
+
* harness may say all the while that the session waits for a permission (Claude Code does, a
|
|
184
|
+
* few seconds into the hook that asks leave), but that wait is answered through the bridge,
|
|
185
|
+
* not at a window.
|
|
186
|
+
*/
|
|
187
|
+
private holdsCall;
|
|
188
|
+
/** The letters that wait for the person, oldest first, each with its job and the text to show. */
|
|
189
|
+
forPerson(): Promise<PersonLetter[]>;
|
|
190
|
+
/**
|
|
191
|
+
* Whether a permission request the caller sent is decided. Answers at once when it is,
|
|
192
|
+
* otherwise as soon as it is, or with `waiting` when `timeoutMs` passes: the caller asks
|
|
193
|
+
* again. A request whose job ended before anybody answered counts as refused.
|
|
194
|
+
*
|
|
195
|
+
* @throws BridgeError `unknown_letter` for anything but a permission request of the caller
|
|
196
|
+
* that names its call
|
|
197
|
+
*/
|
|
198
|
+
verdict(caller: string, input: VerdictInput, signal?: AbortSignal): Promise<VerdictResult>;
|
|
199
|
+
/**
|
|
200
|
+
* Takes back a permission request the caller sent and holds its call for no more, such as when
|
|
201
|
+
* the hook that waited for the verdict gave up and left the call to its harness. The request
|
|
202
|
+
* is done with as refused in the bridge's name: nobody is asked to decide it any more, an
|
|
203
|
+
* answer that comes late is refused instead of looking as if it let the call through, and a
|
|
204
|
+
* job that waited only for it works again. A request that was decided already keeps its
|
|
205
|
+
* decision, and the caller gets it.
|
|
206
|
+
*
|
|
207
|
+
* @throws BridgeError `unknown_letter` for anything but a permission request of the caller
|
|
208
|
+
* that names its call
|
|
209
|
+
*/
|
|
210
|
+
withdraw(caller: string, input: WithdrawInput): Promise<WithdrawResult>;
|
|
211
|
+
private decisionOf;
|
|
212
|
+
/** Resolves when the request gets its verdict, `ms` pass, or `signal` aborts. */
|
|
213
|
+
private untilDecided;
|
|
214
|
+
/**
|
|
215
|
+
* What the rules of the agent that handed a job over make of a call. A job handed over from
|
|
216
|
+
* inside a job is bound by every agent up the chain: the call is theirs to allow only when it
|
|
217
|
+
* is each one's, and forbidden when any of them may not make it. A judge that throws, and a
|
|
218
|
+
* bridge without one, leave the call to the person: nothing is allowed by accident.
|
|
219
|
+
*/
|
|
220
|
+
private rightsFor;
|
|
221
|
+
private jobIfAny;
|
|
222
|
+
/** Whether a permission request was answered with `allow`: the same call may be asked for again. */
|
|
223
|
+
private wasAllowed;
|
|
224
|
+
/**
|
|
225
|
+
* Refuses a permission request on the spot, in the bridge's own name: the request is done
|
|
226
|
+
* with, and its sender finds the refusal through `verdict`.
|
|
227
|
+
*/
|
|
228
|
+
private refuse;
|
|
229
|
+
/**
|
|
230
|
+
* Whether a job waits for the person right now: a letter of it does, or a job handed over
|
|
231
|
+
* from inside it waits for them.
|
|
232
|
+
*/
|
|
233
|
+
private waitsForPerson;
|
|
234
|
+
/** A job and the jobs it was handed over from inside of, the nearest first, while they run. */
|
|
235
|
+
private chainOf;
|
|
236
|
+
/**
|
|
237
|
+
* Notes that a job began to wait for the person, and with it every job it is part of: none
|
|
238
|
+
* of them is failed by its deadline while the wait lasts.
|
|
239
|
+
*/
|
|
240
|
+
private startWaiting;
|
|
241
|
+
/**
|
|
242
|
+
* Settles the wait of a job and of every job it is part of after a letter that waited for the
|
|
243
|
+
* person was dealt with. Time spent waiting for the person is not time the agents worked:
|
|
244
|
+
* when the person answered (`answered`), the deadline moves by as long as the job waited so
|
|
245
|
+
* far. When an agent dealt with the letter itself, or the job ended, nothing is given back, so
|
|
246
|
+
* agents cannot buy a job time by leaving letters to the person and taking them back. A job
|
|
247
|
+
* that still waits for another letter goes on waiting.
|
|
248
|
+
*/
|
|
249
|
+
private stopWaiting;
|
|
250
|
+
/** Puts a job that waited for an answer back to work once nothing of it waits for one. */
|
|
251
|
+
private resumeIfAnswered;
|
|
124
252
|
/**
|
|
125
253
|
* The letters waiting for the caller, oldest first, each with the text to show. Taking them
|
|
126
254
|
* marks them read, and taking a job's first letter starts the job. One call returns `limit`
|
|
@@ -247,6 +375,14 @@ export declare class BridgeDispatcher extends EventEmitter<BridgeDispatcherEvent
|
|
|
247
375
|
*/
|
|
248
376
|
private asCaller;
|
|
249
377
|
private transact;
|
|
378
|
+
/** Lets those who wait for the verdict of a permission request look again. */
|
|
379
|
+
private announce;
|
|
380
|
+
/**
|
|
381
|
+
* Hands the person route what a call changed for it, after the call is stored and in the
|
|
382
|
+
* order it happened. A route that throws, or takes longer than a delivery may, stops nothing:
|
|
383
|
+
* the letter still waits in the bridge, and what comes after it is still told.
|
|
384
|
+
*/
|
|
385
|
+
private tellPerson;
|
|
250
386
|
private journal;
|
|
251
387
|
/**
|
|
252
388
|
* Notes that a session called: the time, and that a session the bridge took for gone is
|
|
@@ -278,6 +414,12 @@ export declare class BridgeDispatcher extends EventEmitter<BridgeDispatcherEvent
|
|
|
278
414
|
/** A letter the bridge writes itself. It costs the job nothing and is never held back as a repeat. */
|
|
279
415
|
private systemNote;
|
|
280
416
|
private answeredLetter;
|
|
417
|
+
/**
|
|
418
|
+
* The one letter of a job that waits for the caller's answer.
|
|
419
|
+
*
|
|
420
|
+
* @throws BridgeError `invalid_letter` when none does, or several do
|
|
421
|
+
*/
|
|
422
|
+
private openLetter;
|
|
281
423
|
private markRead;
|
|
282
424
|
private markHandled;
|
|
283
425
|
/**
|
package/dist/dispatcher.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dispatcher.d.ts","sourceRoot":"","sources":["../src/dispatcher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAK3C,OAAO,EAOL,KAAK,iBAAiB,EACvB,MAAM,aAAa,CAAC;AACrB,OAAO,
|
|
1
|
+
{"version":3,"file":"dispatcher.d.ts","sourceRoot":"","sources":["../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