@cotal-ai/runtime 0.170.0 → 0.171.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/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/mesh-handler.d.ts +15 -86
- package/dist/mesh-handler.d.ts.map +1 -1
- package/dist/mesh-handler.js +40 -470
- package/dist/mesh-handler.js.map +1 -1
- package/dist/mesh-turn-ask.d.ts +181 -0
- package/dist/mesh-turn-ask.d.ts.map +1 -0
- package/dist/mesh-turn-ask.js +514 -0
- package/dist/mesh-turn-ask.js.map +1 -0
- package/dist/offline-command.d.ts.map +1 -1
- package/dist/offline-command.js +18 -2
- package/dist/offline-command.js.map +1 -1
- package/dist/run-command.d.ts.map +1 -1
- package/dist/run-command.js +12 -5
- package/dist/run-command.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -41,7 +41,7 @@ const runCommand = {
|
|
|
41
41
|
subcommands: [
|
|
42
42
|
{ name: "list", aliases: ["ps"], hidden: true, summary: "list recorded workflow runs", reads: true, outputs: ["json", "plain"] },
|
|
43
43
|
{ name: "start", flagNames: ["space", "server", "creds", "on", "file", "local", "admit-read", "admit-publish", "endpoint", "timeout", "json", "plain"], summary: "start a workflow on the manager", examples: [{ command: "cotal run start <file>", note: "start a workflow on your manager" }, { command: "cotal run start <file> --on <instance>", note: "start it on one named manager" }], usage: "cotal run start <file> [--on <instance>] [--timeout <dur>] [--json|--plain] | run start <file> --local --admit-read <channels> --admit-publish <channels> [--endpoint <ep>]", outputs: ["json", "plain"] },
|
|
44
|
-
{ name: "show", aliases: ["journal"], flagNames: ["space", "server", "creds", "on", "local", "endpoint", "limit", "json", "plain"], summary: "read recorded state, open requests and journal", examples: [{ command: "cotal run show <run-id>", note: "read a run's state and recent journal" }, { command: "cotal run show <run-id> --json", note: "the same as one JSON document" }], usage: "cotal run show <run-id> [--on <instance> | --local] [--endpoint <ep>] [--limit <n>]
|
|
44
|
+
{ name: "show", aliases: ["journal"], flagNames: ["space", "server", "creds", "on", "local", "endpoint", "limit", "json", "plain"], summary: "read recorded state, open requests and journal", examples: [{ command: "cotal run show <run-id>", note: "read a run's state and recent journal" }, { command: "cotal run show <run-id> --json", note: "the same as one JSON document" }], usage: "cotal run show <run-id> [--on <instance> | --local] [--endpoint <ep>] [--json | [--plain] [--limit <n>]]", reads: true, outputs: ["json", "plain"] },
|
|
45
45
|
{ name: "resume", flagNames: ["space", "server", "creds", "on", "file", "local", "endpoint", "timeout", "json", "plain"], summary: "resume a workflow from its recorded program", examples: [{ command: "cotal run resume <run-id>", note: "resume a stopped run from its recorded program" }], usage: "cotal run resume <run-id> [--on <instance>] [--timeout <dur>] [--json|--plain] | run resume <run-id> --local [--file <program>] [--endpoint <ep>]", outputs: ["json", "plain"] },
|
|
46
46
|
{ name: "answer", flagNames: ["space", "server", "creds", "on", "local", "endpoint", "by", "value", "artifact", "json", "plain"], summary: "answer an open checkpoint or ask", examples: [{ command: "cotal run answer <run-id> <step> --value '<json>'", note: "answer a step that waits for you" }], usage: "cotal run answer <run-id> <step> [--value <json>] [--artifact <ref>] [--on <instance> | --local --by <who>] [--endpoint <ep>] [--json|--plain]", outputs: ["json", "plain"] },
|
|
47
47
|
{ name: "amend", flagNames: ["space", "server", "creds", "on", "local", "endpoint", "by", "value", "artifact", "json", "plain"], summary: "record an amendment without reopening the pause", examples: [{ command: "cotal run amend <run-id> <step> --value '<json>'", note: "change an answer you already gave" }], usage: "cotal run amend <run-id> <step> [--value <json>] [--artifact <ref>] [--on <instance> | --local --by <who>] [--endpoint <ep>] [--json|--plain]", outputs: ["json", "plain"] },
|
|
@@ -69,7 +69,7 @@ const runCommand = {
|
|
|
69
69
|
{ name: "release", type: "string", value: "<handle>", description: "REFUSED by `check`: it decides what a commit does with an orphan, and that verb only checks" },
|
|
70
70
|
{ name: "discard-approvals", type: "boolean", description: "REFUSED by `check`: it decides what a commit does with a recorded decision, and that verb only checks" },
|
|
71
71
|
{ name: "page", type: "boolean", description: "hosted run list: one bounded diagnostic JSON page; requires --on and proves no absence or ownership" },
|
|
72
|
-
{ name: "limit", type: "string", value: "<n>", description: "run --page: row limit from 1 to 16 (default 8); byte and read bounds can return fewer. show: journal rows printed, 1 to 1000 (default 20)" },
|
|
72
|
+
{ name: "limit", type: "string", value: "<n>", description: "run --page: row limit from 1 to 16 (default 8); byte and read bounds can return fewer. show: journal rows printed, 1 to 1000 (default 20), for text output only (cannot be combined with --json)" },
|
|
73
73
|
{ name: "cursor", type: "string", value: "<cursor>", description: "run --page: continuation from the same manager instance, epoch and filter" },
|
|
74
74
|
jsonFlag, plainFlag,
|
|
75
75
|
{ name: "handler", type: "string", value: "<results.json>", description: "simulate: explicit JSON simulation results; no JavaScript handler is executed", completion: "files" },
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAuG,MAAM,iBAAiB,CAAC;AACtK,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,sBAAsB,EACtB,aAAa,EACb,SAAS,EACT,YAAY,GAGb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,GAMpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACnH,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAyB,MAAM,kBAAkB,CAAC;AAC/F,OAAO,EACL,UAA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CAA2C,EAAE;QAC7H,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,2CAA2C,EAAE;QAC1G,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,qCAAqC,EAAE;KACtG;IACD,WAAW,EAAE,eAAe;IAC5B,GAAG,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,kBAAkB,CAAC,IAAI,CAAC;CACxC,CAAC;AAEF,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC"}
|
package/dist/mesh-handler.d.ts
CHANGED
|
@@ -515,92 +515,6 @@ export declare class MeshHandler {
|
|
|
515
515
|
* comes only from the immutable admission, never from program text. The manager separately requires
|
|
516
516
|
* a current finite participation lease when a turn is dispatched. */
|
|
517
517
|
participant(_req: ParticipantRequest, ctx: EffectContext): Promise<AgentHandleValue>;
|
|
518
|
-
/**
|
|
519
|
-
* `turn` wakes ONE AGENT for one turn, over the manager's relay (a seat is not an endpoint):
|
|
520
|
-
* the manager accepts the goal, parks the rendered context durably, the seat pulls and yields
|
|
521
|
-
* under its own self reach, and the yield is this goal's terminal. The request id is the goalId,
|
|
522
|
-
* the same recovery discipline as `spawn`: a resumed run re-enters the poll, never re-submits.
|
|
523
|
-
*
|
|
524
|
-
* THREE AUTHORITIES END IT, one per ending. The seat's yield is the manager's `succeeded`
|
|
525
|
-
* terminal, carrying the TurnResult. The DEADLINE is double-covered: the manager arms a
|
|
526
|
-
* goal-bound hold (its expiry commits `failed` reason `turn-deadline`), and this client arms its
|
|
527
|
-
* OWN pause under the step's request id — the L4003 authority that survives a dead manager.
|
|
528
|
-
* DEATH: the manager's reap hook marks pending turns; death rides the deadline terminal as
|
|
529
|
-
* `agentDownAt`. This client's presence watch is the early L4002 authority even while the
|
|
530
|
-
* manager runs. The watch reads death the way `wait(down)` does: a superseded incarnation at
|
|
531
|
-
* once, a lapsed row only once it has stayed absent for {@link LAPSE_CONFIRM_MS} and its manager
|
|
532
|
-
* no longer runs the seat.
|
|
533
|
-
*
|
|
534
|
-
* Handoff honoring (lang §5.3) happens HERE: the scope's pending memo is spent at every turn's
|
|
535
|
-
* begin, and when this turn targets its `to`, the link rides the submission (`handoffFrom`, the
|
|
536
|
-
* manager mirrors it into the terminal) and the bound external state. A handoff YIELD is
|
|
537
|
-
* validated against the run roster: an addressee outside it is L4005, one in a different
|
|
538
|
-
* worktree is L4004.
|
|
539
|
-
*/
|
|
540
|
-
turn(req: TurnRequest, ctx: EffectContext): Promise<TurnResultValue>;
|
|
541
|
-
/**
|
|
542
|
-
* A yielded handoff's refusal class: L4005 when the addressee is not in this run's roster,
|
|
543
|
-
* L4004 when it sits in a different worktree than the seat handing off, undefined when the
|
|
544
|
-
* handoff is honorable. One reading for the turn that raises it and the `wait(replied)` that
|
|
545
|
-
* must not count it, so the two observers never diverge on a spoofed or misdirected `to`.
|
|
546
|
-
*/
|
|
547
|
-
private handoffRefusal;
|
|
548
|
-
/** Map a turn goal's terminal onto the effect's contract: `succeeded` carries the TurnResult
|
|
549
|
-
* (a handoff addressee resolved against the roster — L4005 outside it, L4004 across
|
|
550
|
-
* worktrees), `failed` splits on the manager's recorded reason, `cancelled` unwinds. The
|
|
551
|
-
* consumed notices are marked HERE, by the goal that carried them, tolerating the re-entry
|
|
552
|
-
* conflict (a crash between the terminal and the mark re-marks on resume). */
|
|
553
|
-
private turnOutcome;
|
|
554
|
-
/**
|
|
555
|
-
* `ask` is a schema-checked pause the ADDRESSED AGENT is expected to answer.
|
|
556
|
-
*
|
|
557
|
-
* Each attempt is one checkpoint-plane pause — the same mint, settle and answer record a
|
|
558
|
-
* `checkpoint` rides, answered through the run driver's `resolveCheckpoint` (`cotal run
|
|
559
|
-
* answer`), which is how "the agent publishes a record" reaches a holder-bound plane: the agent,
|
|
560
|
-
* or anyone the run's ACL admits on its behalf, answers through the driver exactly as a human
|
|
561
|
-
* answers a checkpoint. What `ask` adds is the handler-side contract of §6.5: the schema is read
|
|
562
|
-
* as the SHORTHAND (refused L4022 when it cannot be), every answer is checked against it, a
|
|
563
|
-
* non-conforming answer costs one attempt and the refusal reason is bound onto the entry for the
|
|
564
|
-
* answerer to read, and exhausted attempts are the effect's own catchable L4006.
|
|
565
|
-
*
|
|
566
|
-
* **One absolute deadline for the whole ask**, computed once and bound with the first attempt: a
|
|
567
|
-
* re-ask does not restart the clock, or a stream of non-conforming answers could stretch the
|
|
568
|
-
* pause forever. The deadline elapsing with no conforming answer is the ask's own L4006, the
|
|
569
|
-
* same outcome exhausted attempts name: the budget it ran out of is the ask's, and L4003 belongs
|
|
570
|
-
* to a `turn` whose own deadline elapsed.
|
|
571
|
-
*
|
|
572
|
-
* **Attempt N's token derives from the step's request id** (attempt 1 IS the request id), and
|
|
573
|
-
* the CURRENT attempt's token is bound as `askToken` before its pause is armed — so a resume
|
|
574
|
-
* re-enters the attempt in flight, an answer judged non-conforming just before a crash is
|
|
575
|
-
* re-judged identically from its durable settle, and the discharge and the adoption re-arm
|
|
576
|
-
* address the one timer that is actually armed.
|
|
577
|
-
*/
|
|
578
|
-
ask(req: AskRequest, ctx: EffectContext): Promise<unknown>;
|
|
579
|
-
/**
|
|
580
|
-
* One ask attempt's relay to the addressed seat: a `turn` goal under the attempt's token whose
|
|
581
|
-
* payload carries the ask (token, schema, attempt, deadline, the previous refusal), rendered by
|
|
582
|
-
* the seat's connector as the request to answer. The goal is the seat's to yield when it has
|
|
583
|
-
* answered; the ask itself settles on the checkpoint plane, so the relay's terminal is never
|
|
584
|
-
* read here, and it is never a reply `wait(replied)` observes. A seat the serve boundary reports
|
|
585
|
-
* gone is the agent-down failure (L4002).
|
|
586
|
-
*/
|
|
587
|
-
private askSeat;
|
|
588
|
-
/**
|
|
589
|
-
* Where a relay to an agent of this run is addressed: the roster entry under the handle's name,
|
|
590
|
-
* at the handle's incarnation, with the owner/actor coordinates its acceptance floor served.
|
|
591
|
-
* One resolver for the three relays (`turn`, `ask`, an escalation), because the three
|
|
592
|
-
* dispositions differ and the lookup does not: a turn and an ask refuse, an escalation stands.
|
|
593
|
-
*/
|
|
594
|
-
private seatAddress;
|
|
595
|
-
/**
|
|
596
|
-
* The principal a `message` wait's `from` handle names, as `<owner>.<actor>`: the coordinates
|
|
597
|
-
* this run's roster recorded when it spawned the seat or bound the participant. A message
|
|
598
|
-
* answers only when its subject's sender is that principal. A handle outside the roster, or one
|
|
599
|
-
* whose coordinates were never served, refuses: matching it on a display name would let any peer
|
|
600
|
-
* that names itself after the agent answer.
|
|
601
|
-
*/
|
|
602
|
-
private waitSender;
|
|
603
|
-
private relayAsk;
|
|
604
518
|
/**
|
|
605
519
|
* `monitor` registers interest: after it, `down(agent)` is an event a branch can await (§5.9).
|
|
606
520
|
*
|
|
@@ -692,6 +606,15 @@ export declare class MeshHandler {
|
|
|
692
606
|
private withdrawCancelledRelay;
|
|
693
607
|
private presenceRows;
|
|
694
608
|
private presenceDeath;
|
|
609
|
+
/** The turn and ask clients own no handler state: the run-memory maps they write are mutated in
|
|
610
|
+
* place through getters, and each input, the handler's own members included, is read through
|
|
611
|
+
* the handler at its use. */
|
|
612
|
+
private readonly turnAsk;
|
|
613
|
+
turn(req: TurnRequest, ctx: EffectContext): Promise<TurnResultValue>;
|
|
614
|
+
ask(req: AskRequest, ctx: EffectContext): Promise<unknown>;
|
|
615
|
+
private handoffRefusal;
|
|
616
|
+
private seatAddress;
|
|
617
|
+
private waitSender;
|
|
695
618
|
}
|
|
696
619
|
export { waitConsumerName, waitConsumerConfig } from "@cotal-ai/core";
|
|
697
620
|
/** How long one poll of a wait's consumer blocks. The deadline itself is durable; this is only how
|
|
@@ -748,6 +671,12 @@ export declare function canonicalCwd(cwd: string): string;
|
|
|
748
671
|
* bind at `turn`); `supervise` travels because the manager is who restarts the process, and
|
|
749
672
|
* `events` because the manager is who arms the event plane (`false` is `--no-events`). */
|
|
750
673
|
export declare function spawnArgs(req: SpawnRequest): Record<string, unknown>;
|
|
674
|
+
/** Split an agent handle `<name>#<lifecycleUid>` on its LAST `#` — the uid alphabet
|
|
675
|
+
* (`[a-z0-9]{26,32}`) cannot carry one, a name could. */
|
|
676
|
+
export declare function parseAgentHandle(agent: string): {
|
|
677
|
+
name: string;
|
|
678
|
+
uid: string;
|
|
679
|
+
};
|
|
751
680
|
/**
|
|
752
681
|
* RE-ARM the timers of every pause this run is still holding, under THIS driver's coordinates.
|
|
753
682
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mesh-handler.d.ts","sourceRoot":"","sources":["../src/mesh-handler.ts"],"names":[],"mappings":"AAqBA,OAAO,
|
|
1
|
+
{"version":3,"file":"mesh-handler.d.ts","sourceRoot":"","sources":["../src/mesh-handler.ts"],"names":[],"mappings":"AAqBA,OAAO,EA0CL,KAAK,aAAa,EAClB,KAAK,oBAAoB,EAGzB,KAAK,QAAQ,EACb,KAAK,OAAO,EAMZ,KAAK,gBAAgB,EAItB,MAAM,gBAAgB,CAAC;AAExB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAO,KAAK,EAAE,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAKL,KAAK,UAAU,EACf,KAAK,gBAAgB,EAErB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAElB,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,eAAe,EAIrB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAgB,KAAK,YAAY,EAAE,MAAM,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