@cogitator-ai/bridge 0.10.2 → 0.12.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 (104) hide show
  1. package/README.md +114 -22
  2. package/dist/adapter.d.ts +16 -1
  3. package/dist/adapter.d.ts.map +1 -1
  4. package/dist/adapters/claude.d.ts +44 -0
  5. package/dist/adapters/claude.d.ts.map +1 -1
  6. package/dist/adapters/claude.js +98 -2
  7. package/dist/adapters/claude.js.map +1 -1
  8. package/dist/adapters/codex.d.ts +8 -2
  9. package/dist/adapters/codex.d.ts.map +1 -1
  10. package/dist/adapters/codex.js +24 -5
  11. package/dist/adapters/codex.js.map +1 -1
  12. package/dist/adapters/hosted.d.ts +13 -1
  13. package/dist/adapters/hosted.d.ts.map +1 -1
  14. package/dist/adapters/hosted.js +25 -3
  15. package/dist/adapters/hosted.js.map +1 -1
  16. package/dist/checks.d.ts +10 -1
  17. package/dist/checks.d.ts.map +1 -1
  18. package/dist/checks.js +12 -0
  19. package/dist/checks.js.map +1 -1
  20. package/dist/client.d.ts +10 -1
  21. package/dist/client.d.ts.map +1 -1
  22. package/dist/client.js +16 -0
  23. package/dist/client.js.map +1 -1
  24. package/dist/dispatcher.d.ts +157 -4
  25. package/dist/dispatcher.d.ts.map +1 -1
  26. package/dist/dispatcher.js +644 -41
  27. package/dist/dispatcher.js.map +1 -1
  28. package/dist/errors.d.ts +1 -1
  29. package/dist/errors.d.ts.map +1 -1
  30. package/dist/errors.js.map +1 -1
  31. package/dist/host.d.ts +3 -1
  32. package/dist/host.d.ts.map +1 -1
  33. package/dist/host.js +1 -0
  34. package/dist/host.js.map +1 -1
  35. package/dist/index.d.ts +8 -6
  36. package/dist/index.d.ts.map +1 -1
  37. package/dist/index.js +5 -3
  38. package/dist/index.js.map +1 -1
  39. package/dist/inputs.d.ts +67 -3
  40. package/dist/inputs.d.ts.map +1 -1
  41. package/dist/inputs.js +26 -1
  42. package/dist/inputs.js.map +1 -1
  43. package/dist/job-record.d.ts +25 -0
  44. package/dist/job-record.d.ts.map +1 -1
  45. package/dist/job-record.js +19 -1
  46. package/dist/job-record.js.map +1 -1
  47. package/dist/letters.d.ts +1 -1
  48. package/dist/letters.d.ts.map +1 -1
  49. package/dist/letters.js +4 -0
  50. package/dist/letters.js.map +1 -1
  51. package/dist/limit.d.ts +37 -0
  52. package/dist/limit.d.ts.map +1 -0
  53. package/dist/limit.js +189 -0
  54. package/dist/limit.js.map +1 -0
  55. package/dist/protocol.d.ts +8 -1
  56. package/dist/protocol.d.ts.map +1 -1
  57. package/dist/protocol.js +6 -1
  58. package/dist/protocol.js.map +1 -1
  59. package/dist/recipes/built-in.d.ts.map +1 -1
  60. package/dist/recipes/built-in.js +6 -2
  61. package/dist/recipes/built-in.js.map +1 -1
  62. package/dist/recipes/debate.d.ts.map +1 -1
  63. package/dist/recipes/debate.js +3 -1
  64. package/dist/recipes/debate.js.map +1 -1
  65. package/dist/recipes/race.d.ts.map +1 -1
  66. package/dist/recipes/race.js +3 -1
  67. package/dist/recipes/race.js.map +1 -1
  68. package/dist/recipes/steps.d.ts +14 -11
  69. package/dist/recipes/steps.d.ts.map +1 -1
  70. package/dist/recipes/steps.js +34 -21
  71. package/dist/recipes/steps.js.map +1 -1
  72. package/dist/registry.d.ts +15 -2
  73. package/dist/registry.d.ts.map +1 -1
  74. package/dist/registry.js +18 -2
  75. package/dist/registry.js.map +1 -1
  76. package/dist/scoreboard.d.ts +169 -0
  77. package/dist/scoreboard.d.ts.map +1 -0
  78. package/dist/scoreboard.js +328 -0
  79. package/dist/scoreboard.js.map +1 -0
  80. package/dist/server.d.ts.map +1 -1
  81. package/dist/server.js +10 -1
  82. package/dist/server.js.map +1 -1
  83. package/dist/setup/claude.d.ts +3 -1
  84. package/dist/setup/claude.d.ts.map +1 -1
  85. package/dist/setup/claude.js +8 -2
  86. package/dist/setup/claude.js.map +1 -1
  87. package/dist/store/sqlite.d.ts +4 -1
  88. package/dist/store/sqlite.d.ts.map +1 -1
  89. package/dist/store/sqlite.js +20 -1
  90. package/dist/store/sqlite.js.map +1 -1
  91. package/dist/store/store.d.ts +6 -1
  92. package/dist/store/store.d.ts.map +1 -1
  93. package/dist/tools/guidance.d.ts.map +1 -1
  94. package/dist/tools/guidance.js +1 -0
  95. package/dist/tools/guidance.js.map +1 -1
  96. package/dist/tools/tools.d.ts.map +1 -1
  97. package/dist/tools/tools.js +47 -4
  98. package/dist/tools/tools.js.map +1 -1
  99. package/dist/types.d.ts +107 -2
  100. package/dist/types.d.ts.map +1 -1
  101. package/dist/types.js +35 -0
  102. package/dist/types.js.map +1 -1
  103. package/fakes/claude.mjs +49 -0
  104. package/package.json +2 -1
@@ -1,9 +1,10 @@
1
1
  import { EventEmitter } from 'node:events';
2
2
  import { type BoardFact, type FactBoard } from './board.js';
3
3
  import { type BridgeLimitsInput } from './guards.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
+ import { type AcceptInput, type AcceptResult, type CreateJobInput, type DiffInput, type ForgetInput, type JobDiff, type LimitedInput, type LimitedResult, type RecallInput, type RejectInput, type RememberInput, type ResultsInput, type SuggestInput, 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';
5
+ import { type JobResult, type Suggestion } from './scoreboard.js';
5
6
  import type { AgentFilter, BridgeStore, JobTaskFilter, JournalQuery, LetterFilter } from './store/store.js';
6
- import { type AgentRecord, type BridgeJob, type BridgeLimits, type CallerIdentity, type JobVerification, type JournalEntry, type Letter, type RenderedLetter } from './types.js';
7
+ import { type AgentRecord, type BridgeJob, type BridgeLimits, type CallerIdentity, type HarnessLimit, type JobVerification, type JournalEntry, type Letter, type RenderedLetter } from './types.js';
7
8
  import type { BridgeAdapter, BridgeCalls } from './adapter.js';
8
9
  import type { PersonCalls, PersonLetter, PersonRoute, RightsJudge } from './person.js';
9
10
  export interface BridgeDispatcherOptions {
@@ -27,6 +28,8 @@ export interface BridgeDispatcherOptions {
27
28
  * with what its caller named alone
28
29
  */
29
30
  board?: FactBoard;
31
+ /** Who takes a job nobody is named for, or whose agent can go no further */
32
+ routing?: BridgeRouting;
30
33
  /** Ms since the epoch, `Date.now` by default */
31
34
  now?: () => number;
32
35
  /** The id of a letter whose sender gave none */
@@ -40,6 +43,16 @@ export interface BridgeDispatcherOptions {
40
43
  */
41
44
  assertWritable?: () => void;
42
45
  }
46
+ /** Who takes a job the bridge has to find an agent for. */
47
+ export interface BridgeRouting {
48
+ /**
49
+ * Harnesses that take such a job only when no other can: `auto` passes them over while any
50
+ * other harness takes jobs, and a job whose agent ran into its limit goes to them last. For
51
+ * an agent that costs money by the call, such as one on an API key, next to agents on a
52
+ * subscription
53
+ */
54
+ fallback?: readonly string[];
55
+ }
43
56
  export type { CreateJobResult, SendLetterResult } from './inputs.js';
44
57
  export interface SweepResult {
45
58
  /** Jobs failed for running out of time or for a letter nobody reacted to */
@@ -55,6 +68,8 @@ export interface DispatcherStatus {
55
68
  adapters: string[];
56
69
  /** The harnesses it can start a session of, for a job handed to one that has none */
57
70
  startable: string[];
71
+ /** The harnesses that ran into their limit and take no job until it is over */
72
+ limited: HarnessLimit[];
58
73
  /** The agents with a waiter armed: a letter for one of them wakes its session at once */
59
74
  waiting: string[];
60
75
  }
@@ -95,8 +110,11 @@ export declare class BridgeDispatcher extends EventEmitter<BridgeDispatcherEvent
95
110
  private readonly rights;
96
111
  private readonly person;
97
112
  private readonly board;
113
+ private readonly fallback;
98
114
  /** When each agent's other parties were last told it waits at its window, see `stuck` */
99
115
  private readonly stuckTold;
116
+ /** The agents a listing of their harness showed waiting at their window, until it shows them not */
117
+ private readonly stuckNow;
100
118
  /** Those waiting for the verdict of a permission request, by its id, see `verdict` */
101
119
  private readonly verdictWaiters;
102
120
  /** What the person route is told, one thing after another */
@@ -120,6 +138,10 @@ export declare class BridgeDispatcher extends EventEmitter<BridgeDispatcherEvent
120
138
  * adapter reports back, since it may have handed the job's first letter over itself
121
139
  */
122
140
  private readonly starting;
141
+ /** Session starts that wait their turn, see `startSession` */
142
+ private readonly startQueue;
143
+ /** How many sessions adapters are starting right now */
144
+ private startsRunning;
123
145
  /** The waiter of each agent that has one, see `wait` */
124
146
  private readonly waiters;
125
147
  /**
@@ -194,6 +216,13 @@ export declare class BridgeDispatcher extends EventEmitter<BridgeDispatcherEvent
194
216
  * however often its harness says so. Resolves with the jobs whose other party was told.
195
217
  */
196
218
  stuck(caller: string, input: StuckInput): Promise<number[]>;
219
+ /**
220
+ * Notes that a session waits for a person at its own window. `seen` says how the bridge
221
+ * learned of it: a `hook` runs once for each dialog, a `listing` of the harness shows the same
222
+ * wait again every time it is asked, so only the first sight of it counts as one more time
223
+ * the jobs of the session needed the person. Whoever handed those jobs over is told, and not
224
+ * again within `limits.windowNoticeMs`.
225
+ */
197
226
  private noteStuck;
198
227
  /** How a letter that waits no more was settled, for whoever answers it too late. */
199
228
  private settledBy;
@@ -359,6 +388,53 @@ export declare class BridgeDispatcher extends EventEmitter<BridgeDispatcherEvent
359
388
  private checkOwnId;
360
389
  /** The harness words of the adapters that carry jobs out by recipes. */
361
390
  private conductors;
391
+ /**
392
+ * A review names the job it reviews, and only somebody with a say in that job may: one of its
393
+ * two agents, whoever handed it over, or the conductor of a recipe, which reviews by the word
394
+ * of whoever started it.
395
+ */
396
+ private checkReviewAsked;
397
+ /**
398
+ * Counts what a review found on the record of the job it reviewed, once for each review. A
399
+ * review by the agent that did the work, and one that agent had made of its own work, count
400
+ * for nothing: nobody rates itself. The first reviews of a job are the ones kept, so a later
401
+ * one cannot push an earlier one out.
402
+ */
403
+ private noteReview;
404
+ /** Notes that a job needed the person once more: the scoreboard counts how often it did. */
405
+ private neededPerson;
406
+ /** The harnesses a job can be handed to with nobody named, in the order of the adapters. */
407
+ private routable;
408
+ /**
409
+ * What became of the jobs that ended within the window of the scoreboard, newest first. The
410
+ * window is measured from when a job ended, whenever it was handed over, among the newest
411
+ * `SCORED_JOBS` finished jobs.
412
+ */
413
+ private scored;
414
+ /**
415
+ * Who a job handed to `auto` goes to, worked out before the job is created: the suggestion of
416
+ * the scoreboard, and the sessions of the caller's project that would not wake for a letter,
417
+ * which `auto` passes over for a fresh session. Undefined for a job that was handed over
418
+ * before under the same letter id: it is with whoever got it then.
419
+ */
420
+ private choiceFor;
421
+ /** The agents a caller works for: those that handed it its jobs, and those above them. */
422
+ private worksFor;
423
+ /**
424
+ * Finds the agent a job handed to `auto` goes to: the best of the suggestion first, then the
425
+ * others a job can go to. Each is tried by its harness word, and by a fresh session where the
426
+ * session that is there would not wake, several fit, or the session is one the caller works
427
+ * for, which would then wait for the caller while the caller waits for it. A harness the
428
+ * bridge cannot start a session of right now is passed over for the next. `avoid` names a
429
+ * harness to take after the others: the one that did the work a review is of. The harnesses
430
+ * of last resort come after all of those, so one of them takes the job only when no other
431
+ * harness could, whether that one ran into its limit or simply has no session to give.
432
+ *
433
+ * @throws BridgeError `no_session` when the job can go to none of them
434
+ */
435
+ private takeChoice;
436
+ /** Why the bridge starts no session right now, when too many are being started already. */
437
+ private startingRefusal;
362
438
  /**
363
439
  * Refuses a recipe the conductor cannot start, and a job for the conductor that names none.
364
440
  * Every recipe gets a conductor of its own, so a recipe is addressed by the harness word of
@@ -560,6 +636,71 @@ export declare class BridgeDispatcher extends EventEmitter<BridgeDispatcherEvent
560
636
  * last `tail`, and no more text than fits one answer. Go on from the last one with `afterSeq`
561
637
  */
562
638
  readJournal(query?: JournalQuery): Promise<JournalEntry[]>;
639
+ /**
640
+ * Notes that the harness of the calling session ran into the limit of its subscription or its
641
+ * key: an adapter says so when a turn fails with it, a hook of the harness when the harness
642
+ * tells one. Until the limit is over (the time the harness named, `limits.limitRetryMs` from
643
+ * now when it named none) no job is handed to that harness: `auto` passes it over, and a job
644
+ * addressed to it is refused with `limit_reached`. The jobs the session carries out go to
645
+ * another agent, the one `suggest` names for their type among those that take jobs, with what
646
+ * the session left in the folder of each. A job nobody else can take fails, and not by the
647
+ * doing of its agent.
648
+ *
649
+ * A time that is past, or further ahead than a limit lasts, is taken for no time at all.
650
+ *
651
+ * @throws BridgeError `not_registered`
652
+ */
653
+ limited(caller: string, input?: LimitedInput): Promise<LimitedResult>;
654
+ /** The harnesses that are out of their limit right now. */
655
+ limitsInForce(): Promise<HarnessLimit[]>;
656
+ /**
657
+ * Takes the limit of a harness back before its time: the person knows it is over, such as
658
+ * after they changed their plan. `agent` is a harness word (`codex`, `claude`) or the name of
659
+ * one of its agents. Returns whether there was a limit.
660
+ *
661
+ * @throws BridgeError `unknown_agent` for a name nobody has
662
+ */
663
+ unlimit(agent: string): Promise<boolean>;
664
+ private limitsNow;
665
+ private limitOfHarness;
666
+ /** Why a job cannot go to the harness an address names, when that harness is out of its limit. */
667
+ private limitRefusal;
668
+ /** Forgets the limit of a harness. Returns whether it had one. */
669
+ private liftLimit;
670
+ /**
671
+ * What the bridge does when the harness of an agent ran into its limit: notes the limit, and
672
+ * hands the jobs the agent carries out to others. A limit that is noted already stays as it is
673
+ * unless the new one lasts longer: a session that names no time must not cut short the time
674
+ * another one named. `unstarted` says the session never came up, so the agent is gone and not
675
+ * merely out of work. So is the session of a harness that waits for its mail itself, such as
676
+ * Claude Code: a turn that ended on an error runs no hook that waits, so nothing wakes the
677
+ * session until a person opens it, and it is back in the book as soon as it calls.
678
+ */
679
+ private outOfLimit;
680
+ /**
681
+ * Hands a job whose agent ran into the limit of its harness to a fresh session of another
682
+ * harness, which goes on in the folder of the job with what is there and gets the time of the
683
+ * job anew. The letters of the job that waited are done with, the jobs handed over from inside
684
+ * it are canceled, and whoever handed the job over is told. The agent that had it is told only
685
+ * when its sessions fetch their mail themselves: a letter pushed to a session that is out of
686
+ * its limit would start a turn that fails on it again. Returns the new agent, null when nobody
687
+ * could take the job and it failed, undefined when the job needs no new agent any more.
688
+ */
689
+ private redirect;
690
+ /**
691
+ * What became of the jobs that ended within the window of the scoreboard
692
+ * (`limits.scoreWindowMs`), newest first: who carried each out, its type, whether anything
693
+ * confirmed its result, what its reviews found, how long it took, how many letters, and how
694
+ * many times it needed the person. Canceled jobs and recipes are not among them.
695
+ */
696
+ results(input?: ResultsInput): Promise<JobResult[]>;
697
+ /**
698
+ * Who a job should go to, by how earlier jobs went: every harness the bridge can start a
699
+ * session of with its rate of jobs that held and the interval of that rate, the one `auto`
700
+ * would take now, and why. With too few checked jobs it says so, and goes by the order of the
701
+ * adapters instead of a rating it does not have.
702
+ */
703
+ suggest(input?: SuggestInput): Promise<Suggestion>;
563
704
  /**
564
705
  * The harnesses the bridge can start a session of for a job. The conductor of recipes is none
565
706
  * of them: it takes a recipe, not a job.
@@ -668,14 +809,19 @@ export declare class BridgeDispatcher extends EventEmitter<BridgeDispatcherEvent
668
809
  private patchRecord;
669
810
  private transition;
670
811
  private pickUp;
812
+ /**
813
+ * Fails a job. `failure` says whose doing it was: the scoreboard holds only what its agent did
814
+ * against the agent.
815
+ */
671
816
  private failJob;
672
817
  private cancelJob;
673
818
  /** A job that is over takes the jobs handed over from inside it with it: nobody waits for them. */
674
819
  private cancelChildren;
675
820
  /**
676
821
  * Why an agent may not hand this job over right now, if it may not: it is the job it already
677
- * handed to the same agent and that is still in progress, it has too many jobs out, it hands
678
- * jobs over too fast, or too many sessions are being started.
822
+ * handed to the same agent and that is still in progress (for a job left to `auto`: one it
823
+ * left to `auto` before, whoever got it), it has too many jobs out, it hands jobs over too
824
+ * fast, or too many sessions are being started.
679
825
  */
680
826
  private handOverRefusal;
681
827
  /**
@@ -706,7 +852,14 @@ export declare class BridgeDispatcher extends EventEmitter<BridgeDispatcherEvent
706
852
  private wake;
707
853
  private deliverTo;
708
854
  private deliveryFailed;
855
+ /**
856
+ * Starts the session of an agent for a job, or queues the start when as many sessions are
857
+ * being started as may be at once (`limits.maxStartingSessions`). A job handed over by an
858
+ * agent is refused before it gets here, so what waits in the queue is what the bridge itself
859
+ * hands on: the jobs of an agent that ran into its limit, each of which needs a session.
860
+ */
709
861
  private startSession;
862
+ private launchSession;
710
863
  private wakeIfKnown;
711
864
  private runSessionStart;
712
865
  }
@@ -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,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAqB,MAAM,YAAY,CAAC;AAGjG,OAAO,EAOL,KAAK,iBAAiB,EACvB,MAAM,aAAa,CAAC;AACrB,OAAO,EA0BL,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,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;AAiCrB,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,EAMnB,KAAK,eAAe,EAGpB,KAAK,YAAY,EACjB,KAAK,MAAM,EAGX,KAAK,cAAc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