@cogitator-ai/bridge 0.7.0 → 0.8.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.
Files changed (58) hide show
  1. package/README.md +65 -20
  2. package/dist/board.d.ts +76 -0
  3. package/dist/board.d.ts.map +1 -0
  4. package/dist/board.js +19 -0
  5. package/dist/board.js.map +1 -0
  6. package/dist/client.d.ts +11 -1
  7. package/dist/client.d.ts.map +1 -1
  8. package/dist/client.js +15 -0
  9. package/dist/client.js.map +1 -1
  10. package/dist/dispatcher.d.ts +70 -1
  11. package/dist/dispatcher.d.ts.map +1 -1
  12. package/dist/dispatcher.js +361 -8
  13. package/dist/dispatcher.js.map +1 -1
  14. package/dist/errors.d.ts +1 -1
  15. package/dist/errors.d.ts.map +1 -1
  16. package/dist/errors.js.map +1 -1
  17. package/dist/handover.d.ts +72 -0
  18. package/dist/handover.d.ts.map +1 -0
  19. package/dist/handover.js +225 -0
  20. package/dist/handover.js.map +1 -0
  21. package/dist/host.d.ts +7 -0
  22. package/dist/host.d.ts.map +1 -1
  23. package/dist/host.js +1 -0
  24. package/dist/host.js.map +1 -1
  25. package/dist/index.d.ts +3 -1
  26. package/dist/index.d.ts.map +1 -1
  27. package/dist/index.js +2 -0
  28. package/dist/index.js.map +1 -1
  29. package/dist/inputs.d.ts +77 -0
  30. package/dist/inputs.d.ts.map +1 -1
  31. package/dist/inputs.js +41 -0
  32. package/dist/inputs.js.map +1 -1
  33. package/dist/job-record.d.ts +1 -0
  34. package/dist/job-record.d.ts.map +1 -1
  35. package/dist/job-record.js +1 -0
  36. package/dist/job-record.js.map +1 -1
  37. package/dist/memory/index.d.ts +35 -0
  38. package/dist/memory/index.d.ts.map +1 -0
  39. package/dist/memory/index.js +192 -0
  40. package/dist/memory/index.js.map +1 -0
  41. package/dist/protocol.d.ts +3 -0
  42. package/dist/protocol.d.ts.map +1 -1
  43. package/dist/protocol.js +3 -0
  44. package/dist/protocol.js.map +1 -1
  45. package/dist/server.d.ts.map +1 -1
  46. package/dist/server.js +3 -0
  47. package/dist/server.js.map +1 -1
  48. package/dist/tools/guidance.d.ts.map +1 -1
  49. package/dist/tools/guidance.js +2 -0
  50. package/dist/tools/guidance.js.map +1 -1
  51. package/dist/tools/tools.d.ts.map +1 -1
  52. package/dist/tools/tools.js +126 -0
  53. package/dist/tools/tools.js.map +1 -1
  54. package/dist/types.d.ts +16 -1
  55. package/dist/types.d.ts.map +1 -1
  56. package/dist/types.js +4 -0
  57. package/dist/types.js.map +1 -1
  58. package/package.json +11 -1
package/README.md CHANGED
@@ -53,10 +53,10 @@ What names a path of this machine goes where only you have it, never into a file
53
53
 
54
54
  | Tool | What it does |
55
55
  | ---------- | --------------------------------------------------------------------------------------------------------------- |
56
- | `delegate` | Hands a job to `codex`, `claude` or an agent by name, with its checks and, when asked, a worktree of its own |
56
+ | `delegate` | Hands a job to `codex`, `claude` or an agent by name, with its context, its checks and, when asked, a worktree |
57
57
  | `ask` | Asks the other agent of a job a question. The answer wakes the session |
58
58
  | `answer` | Answers a question another agent asked, or decides its permission request: allow, deny, or leave it to the user |
59
- | `report` | Reports the result of a job handed to this session, which ends the job. `failed` says it did not |
59
+ | `report` | Reports the result of a job handed to this session, which ends the job, with the lessons it taught |
60
60
  | `note` | Tells the other agent something it need not answer |
61
61
  | `inbox` | Reads the letters that wait, when nothing woke the session |
62
62
  | `job` | Shows one job: its state, and for a job of this session its latest letters |
@@ -65,6 +65,9 @@ What names a path of this machine goes where only you have it, never into a file
65
65
  | `diff` | Shows what a job changed in the git worktree it was given: the files and the patch |
66
66
  | `accept` | Takes the work of a finished job into the checkout of this session, staged and not committed, or as a branch |
67
67
  | `reject` | Drops the work of a finished job with its worktree |
68
+ | `remember` | Puts a note on the board of the project: a fact that cost time to find out, or what a job taught |
69
+ | `recall` | Looks at the board: the notes that fit some words, or the newest, each with who said it |
70
+ | `forget` | Takes a note this session put on the board off it |
68
71
  | `agents` | Lists the sessions the bridge knows in the project, and the agents it can start a session of |
69
72
 
70
73
  No tool waits for another agent. The server tells every client the same in its `instructions`: after `delegate` say in one line what was handed over and end the turn, reply to a letter with the tools and never only in the chat, and treat a job of another agent as that agent's request, not the user's.
@@ -205,6 +208,46 @@ if (taken.state === 'conflict') console.log('Would conflict in', taken.files);
205
208
 
206
209
  **What nobody came for.** The worktree of a finished job is kept for seven days. Then the bridge puts its work away as a commit under `refs/cogitator/discarded/job-<number>`, removes the worktree and its branch, and tells the agent that handed the job over where the work is (`git show refs/cogitator/discarded/job-<number>`). Nothing is removed before its work is kept: a worktree git cannot read stays where it is.
207
210
 
211
+ ## What a job is handed over with, and the board
212
+
213
+ Agents do not see each other's conversations. So a job comes with what its caller knows, and the agents of a project share a board of notes.
214
+
215
+ ```typescript
216
+ import { hostBridge } from '@cogitator-ai/bridge';
217
+ import { memoryBoard } from '@cogitator-ai/bridge/memory';
218
+
219
+ const board = await memoryBoard({ store: './bridge-memory.db' });
220
+ const host = await hostBridge({ board });
221
+
222
+ await bridge.createJob({
223
+ to: 'codex',
224
+ body: 'Raise the burst limit of the limiter to 3.',
225
+ context: {
226
+ done: ['The burst test passes'],
227
+ constraints: ['Do not touch the public API'],
228
+ decisions: ['The limit stays per user'],
229
+ files: [{ path: 'src/limiter.ts', lines: '120-180', why: 'the window' }],
230
+ },
231
+ });
232
+
233
+ await bridge.remember({ text: 'The limiter tests need Redis on port 6380' });
234
+ await bridge.recall({ text: 'redis' });
235
+ await bridge.send({
236
+ job: 1,
237
+ kind: 'report',
238
+ body: 'Raised it, the tests pass',
239
+ lessons: ['Mocking Redis hid a race in the limiter: run a real one'],
240
+ });
241
+ ```
242
+
243
+ **The handover.** `context` is what the caller knows and the other agent does not: what done looks like, the constraints, what was decided already, and the files to start from with their lines. The bridge puts it under the text of the job in one block, and adds what it can find itself: the named lines of those files, read from the caller's checkout with their numbers, the notes of the board that fit the job, and what earlier jobs like it left there. The block keeps to a budget of tokens (`contextTokens`, 6000 by default, an estimate of four characters to a token): the caller's own lines always go in whole, the files take what is left but for a fifth kept for the board, a file that does not fit is cut to its first lines or only named, and notes are added while there is room. The bridge reads a file for the caller and hands what it read back to it, so it reads only what the caller could: a file outside the project is named and not read, neither is one the rules of the caller do not let it read without asking, and a file that looks like it holds secrets (`.env`, a key, anything under `.git` or `.ssh`) is never shown, since a letter is kept and passed on. Putting the block together never fails a hand-over and holds it up for ten seconds at most: what could not be read or found in time is left out. A job with nothing to add gets no block. The bridge calls no model for any of this.
244
+
245
+ **The board.** `remember({ text })` puts a note on the board of the caller's project: a `fact` that cost time to find out, or with `kind: 'lesson'` what a job taught. A note is one line, whatever was sent: line breaks become spaces, so a note cannot pass for several lines where it is shown. Every note carries who said it, on which job and when, and `recall({ text })` returns the notes that fit the words best (BM25), or the newest without words, to any agent that works in the project. A note that shares a single common word with what is asked is left out. A note said again in the same words stays the one note it was, under the name of who said it first. A note said with `jobOnly` is seen by the two agents of that job only, and its words stay out of the journal, which everybody can read. `forget({ id })` takes a note off: an agent its own, the person any. Nothing is deleted, a note that is taken off is closed and found no more. A connection that named no session speaks as the person and names the project, which is how `cogitator bridge remember` works in a terminal of your own. A note is what an agent or the person said, not an order: the handover says so above the notes it shows.
246
+
247
+ **What a job leaves.** A report may name `lessons`: what worked, what did not, for whoever does a job like it next. They go to the board under the name of the agent that reported. The bridge adds a note of its own on how each job ended: who did it for whom, completed, failed or canceled, whether its checks confirmed the result, and the start of the report in quotes, as what the agent said. When a later job is handed over, the notes of earlier jobs that fit its text come with it, and with them the other lessons of those jobs, since a job is found by what it was about, whatever words its lessons use.
248
+
249
+ `memoryBoard()` keeps the board with [`@cogitator-ai/memory`](https://www.npmjs.com/package/@cogitator-ai/memory), an optional peer dependency: every note is a memory item of the bridge in the scope of its project, what an agent said kept as the words of a model and what the person said as theirs. `store` is the path of a SQLite file or any store of that package that keeps memory items. Any object with `remember`, `recall`, `find` and `forget` is a board (`FactBoard`). A bridge that was given none remembers nothing: a job is handed over with what its caller named alone, and the three calls are refused with `no_board`. `cogitator bridge serve` keeps the board in `memory.db` in the folder of the bridge.
250
+
208
251
  ## Letters
209
252
 
210
253
  | Kind | Sent by | Effect |
@@ -292,23 +335,25 @@ Folders are compared by their real path, so a project reached through a symlink
292
335
 
293
336
  Each number is a default that `hostBridge({ limits })` changes.
294
337
 
295
- | Limit | Default | What happens |
296
- | ----------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------ |
297
- | Depth | 3 | A job handed over from inside a job from inside a job is the deepest. One more is refused |
298
- | Letters per job | 60 | The job fails, both sides are told. The report that ends the job always goes through |
299
- | Time per job | 4 hours | The job fails, both sides are told |
300
- | Reply timeout | 30 minutes | The one who owes an answer, or did not pick a job up, is reminded. After as long again the job fails |
301
- | Jobs out | 20 | An agent with that many jobs still in progress cannot hand over another |
302
- | Jobs per hour | 60 | Handing over faster is refused as a loop |
303
- | Sessions starting | 2 | No more sessions are started at once |
304
- | Silence | 12 hours | A session with no job in progress is taken for gone, unless its harness lists it or its hook waits |
305
- | Session check | 1 minute | How often a harness that can list its sessions is asked which of them still run |
306
- | Window notice | 10 minutes | An agent that waits for a person at its own window is said so to whoever handed it a job, and not again within this time |
307
- | Person's answer | 4 hours | The person is reminded of a letter that waits for them. After as long again the job fails |
308
- | Delivery | 5 attempts | Retried with a growing wait, then left for the inbox |
309
- | Worktrees | 2 | A third job of the project that asks for a worktree of its own is refused while two are in progress |
310
- | Check | 10 minutes | A check that runs longer is ended with everything it started, and fails |
311
- | Worktree kept | 7 days | The worktree of a finished job nobody took or dropped is removed, its work kept under a ref |
338
+ | Limit | Default | What happens |
339
+ | ----------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------ |
340
+ | Depth | 3 | A job handed over from inside a job from inside a job is the deepest. One more is refused |
341
+ | Letters per job | 60 | The job fails, both sides are told. The report that ends the job always goes through |
342
+ | Time per job | 4 hours | The job fails, both sides are told |
343
+ | Reply timeout | 30 minutes | The one who owes an answer, or did not pick a job up, is reminded. After as long again the job fails |
344
+ | Jobs out | 20 | An agent with that many jobs still in progress cannot hand over another |
345
+ | Jobs per hour | 60 | Handing over faster is refused as a loop |
346
+ | Sessions starting | 2 | No more sessions are started at once |
347
+ | Silence | 12 hours | A session with no job in progress is taken for gone, unless its harness lists it or its hook waits |
348
+ | Session check | 1 minute | How often a harness that can list its sessions is asked which of them still run |
349
+ | Window notice | 10 minutes | An agent that waits for a person at its own window is said so to whoever handed it a job, and not again within this time |
350
+ | Person's answer | 4 hours | The person is reminded of a letter that waits for them. After as long again the job fails |
351
+ | Delivery | 5 attempts | Retried with a growing wait, then left for the inbox |
352
+ | Worktrees | 2 | A third job of the project that asks for a worktree of its own is refused while two are in progress |
353
+ | Check | 10 minutes | A check that runs longer is ended with everything it started, and fails |
354
+ | Worktree kept | 7 days | The worktree of a finished job nobody took or dropped is removed, its work kept under a ref |
355
+ | Context | 6000 tokens | The block the bridge adds under a job keeps to it: files are cut or only named, notes stop when it is full |
356
+ | Context wait | 10 seconds | A job whose context could not be put together in that time is handed over without it |
312
357
 
313
358
  Two more rules have no number. A letter that says what the previous one in the same direction said is not delivered, and neither is a job the same agent already has from the caller and has not finished.
314
359
 
@@ -492,7 +537,7 @@ The bridge is a tool of one person on one machine. The socket and the database a
492
537
 
493
538
  ## Errors
494
539
 
495
- Every refusal is a `BridgeError` with a `code` to branch on and a message written for the agent that gets it: `not_registered`, `unknown_agent`, `ambiguous_agent`, `no_session`, `unknown_job`, `unknown_letter`, `not_a_party`, `job_finished`, `invalid_letter`, `invalid_input`, `depth_exceeded`, `budget_exhausted`, `loop_detected`, `needs_person`, `no_person`, `no_worktree`, `worktree_limit`, `already_running`, `not_running`, `storage`.
540
+ Every refusal is a `BridgeError` with a `code` to branch on and a message written for the agent that gets it: `not_registered`, `unknown_agent`, `ambiguous_agent`, `no_session`, `unknown_job`, `unknown_letter`, `not_a_party`, `job_finished`, `invalid_letter`, `invalid_input`, `depth_exceeded`, `budget_exhausted`, `loop_detected`, `needs_person`, `no_person`, `no_worktree`, `worktree_limit`, `no_board`, `already_running`, `not_running`, `storage`.
496
541
 
497
542
  ## Documentation
498
543
 
@@ -0,0 +1,76 @@
1
+ /**
2
+ * What a note on the board is: a `fact` an agent or the person wants the others to know, a
3
+ * `lesson` of a job (what worked, what did not), or the `outcome` of a job as the bridge saw it.
4
+ */
5
+ export type FactKind = 'fact' | 'lesson' | 'outcome';
6
+ export declare const FACT_KINDS: readonly FactKind[];
7
+ /** Who put a note on the board, and on which occasion. */
8
+ export interface FactSource {
9
+ /** The agent that said it, `person` for the person, `bridge` for what the bridge noted itself */
10
+ by: string;
11
+ /** The job it was said on, or is about */
12
+ job?: number;
13
+ /** ISO 8601 */
14
+ at: string;
15
+ }
16
+ /** One note on the board of a project. */
17
+ export interface BoardFact {
18
+ id: string;
19
+ kind: FactKind;
20
+ text: string;
21
+ /** The main checkout of the project it belongs to */
22
+ project: string;
23
+ /** Set on a note for one job only: the two agents of that job see it, nobody else */
24
+ job?: number;
25
+ source: FactSource;
26
+ }
27
+ export interface NewBoardFact {
28
+ kind: FactKind;
29
+ text: string;
30
+ project: string;
31
+ /** Keep the note to this job */
32
+ job?: number;
33
+ source: FactSource;
34
+ }
35
+ export interface BoardQuery {
36
+ project: string;
37
+ /**
38
+ * The jobs whose own notes are looked at too. Notes of the whole project always are, a note
39
+ * kept to a job only when its job is named here
40
+ */
41
+ jobs?: readonly number[];
42
+ /** Words to look for: the notes that fit them best come first. The newest first without it */
43
+ text?: string;
44
+ kinds?: readonly FactKind[];
45
+ /** 10 by default */
46
+ limit?: number;
47
+ }
48
+ /**
49
+ * The shared board of facts: what agents and the person told the bridge to remember, by
50
+ * project. The bridge keeps no notes itself, a host gives it a board, such as `memoryBoard()` of
51
+ * `@cogitator-ai/bridge/memory`, which keeps them with `@cogitator-ai/memory`.
52
+ *
53
+ * A board decides nothing about who may read or forget what: the dispatcher asks it only for
54
+ * what the caller may see.
55
+ */
56
+ export interface FactBoard {
57
+ remember(fact: NewBoardFact): Promise<BoardFact>;
58
+ recall(query: BoardQuery): Promise<BoardFact[]>;
59
+ /** The note with this id, or the one whose id starts with it when only one does */
60
+ find(id: string): Promise<BoardFact | undefined>;
61
+ /** Lets a note go: it is found no more. Resolves with whether there was such a note */
62
+ forget(id: string): Promise<boolean>;
63
+ close?(): Promise<void>;
64
+ }
65
+ /** How many notes one look at the board returns when it names no number. */
66
+ export declare const DEFAULT_RECALL_LIMIT = 10;
67
+ /** The most notes one look at the board returns. */
68
+ export declare const MAX_RECALL_LIMIT = 50;
69
+ /** The longest note the board takes, in characters. */
70
+ export declare const MAX_FACT_LENGTH = 2000;
71
+ /**
72
+ * One note as a line an agent or a person reads: the text, then who said it and when. It is one
73
+ * line whatever the text holds, so a note cannot pass for several lines of whoever shows it.
74
+ */
75
+ export declare function factLine(fact: BoardFact): string;
76
+ //# sourceMappingURL=board.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"board.d.ts","sourceRoot":"","sources":["../src/board.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;AAErD,eAAO,MAAM,UAAU,EAAE,SAAS,QAAQ,EAAkC,CAAC;AAE7E,0DAA0D;AAC1D,MAAM,WAAW,UAAU;IACzB,iGAAiG;IACjG,EAAE,EAAE,MAAM,CAAC;IACX,0CAA0C;IAC1C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,eAAe;IACf,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,qDAAqD;IACrD,OAAO,EAAE,MAAM,CAAC;IAChB,qFAAqF;IACrF,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,UAAU,CAAC;CACpB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,gCAAgC;IAChC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,UAAU,CAAC;CACpB;AAED,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,8FAA8F;IAC9F,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,QAAQ,EAAE,CAAC;IAC5B,oBAAoB;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;IACjD,MAAM,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAAC;IAChD,mFAAmF;IACnF,IAAI,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CAAC;IACjD,uFAAuF;IACvF,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IACrC,KAAK,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CACzB;AAED,4EAA4E;AAC5E,eAAO,MAAM,oBAAoB,KAAK,CAAC;AAEvC,oDAAoD;AACpD,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAEnC,uDAAuD;AACvD,eAAO,MAAM,eAAe,OAAQ,CAAC;AAErC;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAMhD"}
package/dist/board.js ADDED
@@ -0,0 +1,19 @@
1
+ export const FACT_KINDS = ['fact', 'lesson', 'outcome'];
2
+ /** How many notes one look at the board returns when it names no number. */
3
+ export const DEFAULT_RECALL_LIMIT = 10;
4
+ /** The most notes one look at the board returns. */
5
+ export const MAX_RECALL_LIMIT = 50;
6
+ /** The longest note the board takes, in characters. */
7
+ export const MAX_FACT_LENGTH = 2_000;
8
+ /**
9
+ * One note as a line an agent or a person reads: the text, then who said it and when. It is one
10
+ * line whatever the text holds, so a note cannot pass for several lines of whoever shows it.
11
+ */
12
+ export function factLine(fact) {
13
+ const text = fact.text.replace(/\s+/gu, ' ').trim();
14
+ const who = fact.source.by === 'person' ? 'the person' : fact.source.by;
15
+ const on = fact.source.job === undefined ? '' : `, job #${fact.source.job}`;
16
+ const kept = fact.job === undefined ? '' : ', kept to that job';
17
+ return `${text} (${fact.kind} from ${who}${on}, ${fact.source.at.slice(0, 10)}${kept})`;
18
+ }
19
+ //# sourceMappingURL=board.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"board.js","sourceRoot":"","sources":["../src/board.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,MAAM,UAAU,GAAwB,CAAC,MAAM,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC;AAiE7E,4EAA4E;AAC5E,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAAE,CAAC;AAEvC,oDAAoD;AACpD,MAAM,CAAC,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAEnC,uDAAuD;AACvD,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,CAAC;AAErC;;;GAGG;AACH,MAAM,UAAU,QAAQ,CAAC,IAAe;IACtC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC;IACpD,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,EAAE,KAAK,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;IACxE,MAAM,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;IAC5E,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,oBAAoB,CAAC;IAChE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAC,IAAI,SAAS,GAAG,GAAG,EAAE,KAAK,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,IAAI,GAAG,CAAC;AAC1F,CAAC"}
package/dist/client.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- import { type AcceptInput, type AcceptResult, type CreateJobInput, type CreateJobResult, type DiffInput, type EscalateInput, type InboxInput, type JobDiff, type PersonAnswerInput, type RejectInput, type SendLetterInput, type SendLetterResult, type StuckInput, type VerdictInput, type VerdictResult, type WaitInput, type WaitResult, type WithdrawInput, type WithdrawResult } from './inputs.js';
1
+ import type { BoardFact } from './board.js';
2
+ import { type AcceptInput, type AcceptResult, type CreateJobInput, type CreateJobResult, type DiffInput, type EscalateInput, type ForgetInput, type InboxInput, type JobDiff, type PersonAnswerInput, type RecallInput, type RejectInput, type RememberInput, type SendLetterInput, type SendLetterResult, type StuckInput, type VerdictInput, type VerdictResult, type WaitInput, type WaitResult, type WithdrawInput, type WithdrawResult } from './inputs.js';
2
3
  import { type BridgeStatus, type DispatcherInfo } from './protocol.js';
3
4
  import type { AgentFilter, JobTaskFilter, JournalQuery, LetterFilter } from './store/store.js';
4
5
  import type { AgentRecord, BridgeJob, CallerIdentity, JournalEntry, Letter, RenderedLetter } from './types.js';
@@ -80,6 +81,15 @@ export declare class BridgeClient {
80
81
  */
81
82
  personAnswer(input: PersonAnswerInput): Promise<SendLetterResult>;
82
83
  cancel(job: number, reason?: string): Promise<BridgeJob>;
84
+ /**
85
+ * Puts a note on the board of a project, see `BridgeDispatcher.remember`. A connection that
86
+ * named no session speaks as the person, and names the project
87
+ */
88
+ remember(input: RememberInput): Promise<BoardFact>;
89
+ /** Looks at the board of a project, see `BridgeDispatcher.recall` */
90
+ recall(input?: RecallInput): Promise<BoardFact[]>;
91
+ /** Lets a note of the board go, see `BridgeDispatcher.forget` */
92
+ forget(input: ForgetInput): Promise<BoardFact>;
83
93
  /** What a job changed in its worktree so far, see `BridgeDispatcher.diff` */
84
94
  diff(input: DiffInput): Promise<JobDiff>;
85
95
  /** Takes the work of a finished job out of its worktree, see `BridgeDispatcher.accept` */
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAQA,OAAO,EAGL,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,cAAc,EACpB,MAAM,aAAa,CAAC;AACrB,OAAO,EAKL,KAAK,YAAY,EACjB,KAAK,cAAc,EAEpB,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC/F,OAAO,KAAK,EACV,WAAW,EACX,SAAS,EACT,cAAc,EACd,YAAY,EACZ,MAAM,EACN,cAAc,EACf,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,WAAW,mBAAmB;IAClC,mCAAmC;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,sFAAsF;IACtF,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,4EAA4E;I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AY,CAAC;IAI/B;;;OAGG;IACG,SAAS,CACb,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,EACvC,OAAO,GAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAA;KAAO,GAC7B,OAAO,CAAC,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAc/B;;;;OAIG;IACH,OAAO,CAAC,gBAAgB;IAgBxB,oEAAoE;IAC9D,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;YASd,IAAI;CAOnB"}
package/dist/client.js CHANGED
@@ -175,6 +175,21 @@ export class BridgeClient {
175
175
  cancel(job, reason) {
176
176
  return this.call(BRIDGE_METHODS.cancelJob, { job, ...(reason !== undefined && { reason }) });
177
177
  }
178
+ /**
179
+ * Puts a note on the board of a project, see `BridgeDispatcher.remember`. A connection that
180
+ * named no session speaks as the person, and names the project
181
+ */
182
+ remember(input) {
183
+ return this.call(BRIDGE_METHODS.remember, input);
184
+ }
185
+ /** Looks at the board of a project, see `BridgeDispatcher.recall` */
186
+ recall(input = {}) {
187
+ return this.call(BRIDGE_METHODS.recall, input);
188
+ }
189
+ /** Lets a note of the board go, see `BridgeDispatcher.forget` */
190
+ forget(input) {
191
+ return this.call(BRIDGE_METHODS.forget, input);
192
+ }
178
193
  /** What a job changed in its worktree so far, see `BridgeDispatcher.diff` */
179
194
  diff(input) {
180
195
  return this.call(BRIDGE_METHODS.diff, input, GIT_CALL_MS + this.timeoutMs);
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAe,MAAM,UAAU,CAAC;AAChD,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,UAAU,GAEX,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EACL,uBAAuB,EACvB,eAAe,GAoBhB,MAAM,aAAa,CAAC;AACrB,OAAO,EAC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AAC,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC;QAC3C,OAAO,IAAI,CAAC;IACd,CAAC;IAED,oEAAoE;IACpE,KAAK,CAAC,KAAK;QACT,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,WAAW,CAAC,aAAa,EAAE,yCAAyC,CAAC,CAAC,CAAC;QAC3F,IAAI,IAAI,CAAC,MAAM,CAAC,SAAS;YAAE,OAAO;QAClC,MAAM,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE;YAClC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC;YAC3C,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;QACpB,CAAC,CAAC,CAAC;IACL,CAAC;IAEO,KAAK,CAAC,IAAI,CAAI,MAAc,EAAE,MAAe,EAAE,SAAS,GAAG,IAAI,CAAC,SAAS;QAC/E,IAAI,CAAC;YACH,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAI,MAAM,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC;QACnE,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,gBAAgB,CAAC,KAAK,CAAC,CAAC;QAChC,CAAC;IACH,CAAC;CACF"}
@@ -1,6 +1,7 @@
1
1
  import { EventEmitter } from 'node:events';
2
+ import { type BoardFact, type FactBoard } from './board.js';
2
3
  import { type BridgeLimitsInput } from './guards.js';
3
- import { type AcceptInput, type AcceptResult, type CreateJobInput, type DiffInput, type JobDiff, type RejectInput, 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
+ import { type AcceptInput, type AcceptResult, type CreateJobInput, type DiffInput, type ForgetInput, type JobDiff, type RecallInput, type RejectInput, type RememberInput, 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
5
  import type { AgentFilter, BridgeStore, JobTaskFilter, JournalQuery, LetterFilter } from './store/store.js';
5
6
  import { type AgentRecord, type BridgeJob, type BridgeLimits, type CallerIdentity, type JobVerification, type JournalEntry, type Letter, type RenderedLetter } from './types.js';
6
7
  import type { BridgeAdapter, BridgeCalls } from './adapter.js';
@@ -20,6 +21,12 @@ export interface BridgeDispatcherOptions {
20
21
  * the person, and a call only they could allow is refused
21
22
  */
22
23
  person?: PersonRoute;
24
+ /**
25
+ * The board of facts agents and the person share, such as `memoryBoard()` of
26
+ * `@cogitator-ai/bridge/memory`. Without it nothing is remembered, and a job is handed over
27
+ * with what its caller named alone
28
+ */
29
+ board?: FactBoard;
23
30
  /** Ms since the epoch, `Date.now` by default */
24
31
  now?: () => number;
25
32
  /** The id of a letter whose sender gave none */
@@ -87,6 +94,7 @@ export declare class BridgeDispatcher extends EventEmitter<BridgeDispatcherEvent
87
94
  private readonly assertWritable;
88
95
  private readonly rights;
89
96
  private readonly person;
97
+ private readonly board;
90
98
  /** When each agent's other parties were last told it waits at its window, see `stuck` */
91
99
  private readonly stuckTold;
92
100
  /** Those waiting for the verdict of a permission request, by its id, see `verdict` */
@@ -429,6 +437,67 @@ export declare class BridgeDispatcher extends EventEmitter<BridgeDispatcherEvent
429
437
  * and when it cannot for another reason, the worktree stays and the next look tries again.
430
438
  */
431
439
  private putAway;
440
+ /** The board of this bridge, or the refusal of a bridge that was given none. */
441
+ private requireBoard;
442
+ /** The project a call about the board is for: the caller's own, or the one the person names. */
443
+ private boardProject;
444
+ /** The jobs whose own notes a caller may see: an agent's are those it is a party of. */
445
+ private jobsSeenBy;
446
+ /**
447
+ * Puts a note on the board of a project, for the agents that work there to find: a fact, or
448
+ * what a job taught. The note carries who said it, on which job and when. `caller` is the
449
+ * agent that says it, or `null` for the person, who names the project. A note kept to a job
450
+ * (`jobOnly`) is seen by the two agents of that job only.
451
+ *
452
+ * @throws BridgeError `no_board`, `not_registered`, `unknown_job`, `not_a_party` (the job named
453
+ * is not the caller's), `invalid_input`
454
+ */
455
+ remember(caller: string | null, input: RememberInput): Promise<BoardFact>;
456
+ /**
457
+ * Writes down that a note went on the board, and who said it this time. Everybody can read
458
+ * the journal, so the text of a note kept to one job is left out of it.
459
+ */
460
+ private journalNote;
461
+ /**
462
+ * Looks at the board of a project: the notes that fit `text` best, or the newest. An agent
463
+ * sees the notes of its project and those kept to the jobs it is a party of, the person
464
+ * (`caller` is `null`) every note of the project they name.
465
+ *
466
+ * @throws BridgeError `no_board`, `not_registered`, `invalid_input`
467
+ */
468
+ recall(caller: string | null, input?: RecallInput): Promise<BoardFact[]>;
469
+ /**
470
+ * Lets a note of the board go: it is found no more, and is not deleted. An agent lets go what
471
+ * it said itself, the person (`caller` is `null`) any note of the project they name.
472
+ *
473
+ * @throws BridgeError `no_board`, `not_registered`, `invalid_input` (no such note there),
474
+ * `not_a_party` (the note is another's)
475
+ */
476
+ forget(caller: string | null, input: ForgetInput): Promise<BoardFact>;
477
+ /** The text of a job as its caller wrote it: its first letter without what the bridge added. */
478
+ private taskText;
479
+ /**
480
+ * Whether the rules of an agent let it read a file without asking: its own, and those of every
481
+ * agent up the chain of the jobs it carries out. True on a bridge that was given no judge:
482
+ * what an agent names in its own project it could read itself.
483
+ */
484
+ private mayRead;
485
+ /**
486
+ * The block the bridge puts under the text of a job, see `buildHandover`: what the caller
487
+ * named, the lines of the files it pointed at, and the notes of the board that fit the job.
488
+ * Undefined when there is nothing to add. It never fails the hand-over and never holds it up
489
+ * for long: what cannot be read or found in time is left out, and the block is kept small
490
+ * enough for the letter to take it.
491
+ */
492
+ private handoverFor;
493
+ /**
494
+ * Notes how a job ended on the board of its project, in the bridge's own name: who did it for
495
+ * whom, how it ended, what its checks showed and the start of what was reported. A later job
496
+ * like it finds the note in its handover.
497
+ */
498
+ private noteOutcome;
499
+ /** Puts on the board what a call left for it, after the call is stored. */
500
+ private keepNotes;
432
501
  /** @throws BridgeError `unknown_job` */
433
502
  job(number: number): Promise<BridgeJob>;
434
503
  /** Jobs, newest first, 200 at most unless `limit` says otherwise */
@@ -1 +1 @@
1
- {"version":3,"file":"dispatcher.d.ts","sourceRoot":"","sources":["../src/dispatcher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAO3C,OAAO,EAOL,KAAK,iBAAiB,EACvB,MAAM,aAAa,CAAC;AACrB,OAAO,EAuBL,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,KAAK,aAAa,EAElB,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,cAAc,EACpB,MAAM,aAAa,CAAC;AAgCrB,OAAO,KAAK,EACV,WAAW,EACX,WAAW,EACX,aAAa,EACb,YAAY,EACZ,YAAY,EACb,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EASL,KAAK,WAAW,EAChB,KAAK,SAAS,EAEd,KAAK,YAAY,EACjB,KAAK,cAAc,EAKnB,KAAK,eAAe,EAGpB,KAAK,YAAY,EACjB,KAAK,MAAM,EAGX,KAAK,cAAc,EAEpB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAkB,MAAM,cAAc,CAAC;AAC/E,OAAO,KAAK,EACV,WAAW,EACX,YAAY,EAEZ,WAAW,EACX,WAAW,EACZ,MAAM,aAAa,CAAC;AAErB,MAAM,WAAW,uBAAuB;IACtC,KA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