@plurnk/plurnk-contracts 7.4.0 → 7.5.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/SPEC.md CHANGED
@@ -105,10 +105,10 @@ plurnk.<op>({ ... }) // optional aside
105
105
  | Rule | Contract |
106
106
  | --- | --- |
107
107
  | Balanced call boundaries & heredocs | A statement spans from its `<service>.<tool>(` head through its matching closing `)` and optional `;` and trailing `// aside` comment. In any value position, `<<<TAG\n...\nTAG` (where `TAG` matches `[A-Za-z][A-Za-z0-9_-]{0,16}`, optionally single- or double-quoted on the opener, or placed after `})` as a statement-trailing heredoc) captures raw unescaped text between its opener newline and closer line, pairing nested `<<TAG` / `<<-TAG` shell heredocs before closing the outer `TAG`. Multi-line strings and template literals (`` `...` ``) preserve embedded newlines and treat unescaped `${...}` as literal text. |
108
- | Markdown fence unwrapping & `await` tolerance | Heredoc Code Mode statements require neither a Markdown fence nor `await`; if a model prefixes `await` or wraps `plurnk.<op>(...)` or a registered `<service>.<tool>(...)` (or `await <service>.<tool>(...)`) inside a balanced `ts`, `js`, or plain Markdown code fence, the parser normalizes the statement silently under RENO. |
109
- | Native and markup tool-call translation | Tool-call wrapper tags (`<tool_call>`, `<tool_calls>`, `<function_call>`, `<function_calls>`, `<|DSML|function_calls>`, `<||DSML|| function_calls>`, `<\|tool_call\|>`, `<|tool▁calls▁begin|>`, `<\|tool_calls_section_begin\|>`, `<\|python_tag\|>`, `[TOOL_CALLS]`) around Code Mode statements unwrap silently, and structured XML/DSML/token-delimited (`<function=...>`, `<invoke name="...">`, `<|DSML|invoke name="...">`, `<plurnk.<op> ... />`, `<|tool▁call▁begin|>`, `<\|tool_call_begin\|>`, `<\|tool_call\|>name`, `<\|channel\|>... to=name`) or JSON tool calls targeting `plurnk` operations or `<service>.<tool>` translate silently into canonical Heredoc Code Mode statements. |
108
+ | Markdown fence unwrapping & `await` tolerance | Heredoc Code Mode statements require neither a Markdown fence nor `await`; if a model prefixes `await` or wraps `plurnk.<op>(...)`, an unprefixed core/runtime verb, a registered `<service>.<tool>(...)`, or a RENO JSON/XML/Pythonic tool-call descriptor inside a balanced Markdown code fence (`ts`, `js`, `python`, `sh`, `bash`, `json`, `xml`, `tool_call`, `plurnk`, or unlabeled, pairing inline `<<<TAG ... TAG` heredocs before matching the outer fence closer), the parser normalizes the statement silently under RENO while preserving non-tool prose fences (`console.log(...)`, `print(...)`, nameless JSON literals, generic XML) as outside text. |
109
+ | Native, markup, bare-verb, and runtime-alias recovery | Tool-call wrapper tags (`<tool_call>`, `<tool_calls>`, `<function_call>`, `<function_calls>`, `<|DSML|function_calls>`, `<||DSML|| function_calls>`, `<\|tool_call\|>`, `<|tool▁calls▁begin|>`, `<\|tool_calls_section_begin\|>`, `<\|python_tag\|>`, `[TOOL_CALLS]`) around Code Mode statements unwrap silently; structured XML/DSML/token-delimited (`<function=...>`, `<invoke name="...">`, `<|DSML|invoke name="...">`, `<plurnk.<op> ... />`, `<|tool▁call▁begin|>`, `<\|tool_call_begin\|>`, `<\|tool_call\|>name`, `<\|channel\|>... to=name`) or JSON tool calls targeting `plurnk` operations or `<service>.<tool>` translate silently into canonical Heredoc Code Mode statements; unprefixed core/runtime calls (`read({ ... })`, `edit({ ... })`, `done()`, `env({ ... })`) lower to `plurnk.<op>`; and built-in runtime aliases (`ts`/`javascript`/`typescript`/`node` -> `js`, `bash`/`shell` -> `sh`, `python`/`py` -> `python3` when not shadowed by an explicit executor) normalize to their canonical runtime. |
110
110
  | Case-insensitive method recovery | Uppercase or mixed-case method names (`plurnk.READ(...)`, `plurnk.SH(...)`) recover silently to their lowercase canonical tool name. |
111
- | Reflective statement rendering | `PlurnkParser.stringify` formats AST statements back into canonical `plurnk.<op>({ ... })` or `<service>.<tool>({ ... })` Heredoc Code Mode statements for `emission` / `emission-history` (`assistant` turn) reflection, normalizing empty optional bodies to `null` and rendering every `pattern` field and any string value containing `\n` (as well as the Turn 0 `Resolve all Open Work.` note seed) as an inline `<<<EOF\n...\nEOF` heredoc (stepping `EOF1`, `EOF2`, … when the string contains the delimiter). |
111
+ | Reflective statement rendering | `PlurnkParser.stringify` formats AST statements back into canonical `plurnk.<op>({ ... })` or `<service>.<tool>({ ... })` Heredoc Code Mode statements for `emission` / `emission-history` (`assistant` turn) reflection, normalizing empty optional bodies to `null` and rendering every `pattern` field and any string value containing `\n` as an inline `<<<EOF\n...\nEOF` heredoc (stepping `EOF1`, `EOF2`, … when the string contains the delimiter). |
112
112
 
113
113
  ### §slot-order Argument shapes, target groups, and endpoint options
114
114
 
@@ -118,7 +118,7 @@ plurnk.<op>({ ... }) // optional aside
118
118
  | Target groups and multi-target lists | `plurnk.read`, `plurnk.find`, and `plurnk.kill` accept `path` or `paths` as a string or array of strings; comma/pipe/whitespace-separated `scheme://` URI lists and comma/pipe-separated local path/glob lists outside brackets/braces expand into one statement per target in authored order. |
119
119
  | `note` annotation on retrievals | Providing `note` on `plurnk.read` or `plurnk.find` emits a preceding `note` statement before the retrieval(s). |
120
120
  | Endpoint and message options | `headers` (`Record<string, string>`) passes HTTP(S) request headers on `plurnk.read`, `plurnk.find`, `plurnk.edit`, `plurnk.send`, `plurnk.kill`, and `plurnk.copy`/`plurnk.move` (`fromHeaders`/`toHeaders`); `remote` (`boolean`) confirms remote HTTP `DELETE` on `plurnk.kill`; `attachments` (`string[]`) attaches resources to `plurnk.send`, `plurnk.done`, and `plurnk.fail`. Unknown option keys on `plurnk.<op>({ ... })` are refused with a parser diagnostic. |
121
- | Operation aside | A trailing `// aside` comment after `;` or `)` on the closing line of a statement is captured into `aside` (`string` or `null`) as descriptive commentary, splitting before any glued transcript heading (`### log:///` or `**<service>: <label>**`). |
121
+ | Operation aside | A trailing `// aside` comment after `;` or `)` on the closing line of a statement is captured into `aside` (`string` or `null`) as descriptive commentary, splitting before any glued transcript heading (`### log:///` or `**<service>: <label>**`); in model-turn RENO parsing, `description`, `explanation`, or `comment` string options on core operations and built-in executors promote to `aside` when no explicit `aside` or trailing `// aside` is present. |
122
122
 
123
123
  ---
124
124
 
@@ -164,7 +164,7 @@ plurnk.<op>({ ... }) // optional aside
164
164
  | Prefix | Dialect | Validation & tolerance |
165
165
  | --- | --- | --- |
166
166
  | `//` | `xpath` | Validated with XPath 1.0 parser before regex classification (also silently normalizes single-slash absolute XPath location paths such as `/root/item[@id='old']/@id` or `/root/item/text()`, regex-wrapped or trailing-slash XPath selectors such as `///item[@id='old']/`, `//item[@id='old']/`, or `/\/\/item[@id='old']/`, and vacuous `/text()` after `@attr` steps) |
167
- | `/` or `^` | `regex` | ECMAScript `RegExp`; tolerates `\|` alternation, trailing `-flags`, `/~.../` mixed prefix, unbalanced unescaped `(`, `)`, or `[`, and glob-shaped `/*text*/` |
167
+ | `/` or `^` | `regex` | ECMAScript `RegExp` (escaped pipe is literal, unescaped pipe is alternation); tolerates PCRE `\A`/`\z`/`\Z` anchors, trailing `-flags`, `/~.../` mixed prefix, unbalanced unescaped `(`, `)`, or `[`, and glob-shaped `/*text*/` |
168
168
  | `$` | `jsonpath` | Validated with RFC 9535 `json-p3` |
169
169
  | `~` | `fulltext` | Single-line FTS5 query string |
170
170
  | `&` | `graph` | `&symbol`, `&<symbol`, or `&>symbol` relation query |
@@ -237,5 +237,5 @@ plurnk.<op>({ ... }) // optional aside
237
237
  | Mechanism | Contract |
238
238
  | --- | --- |
239
239
  | Working-form recovery & attempt | Every hard error (`severity: "error"`) populates `recovery` with the canonical Heredoc Code Mode syntax of the refused construct and `attempt` (`{ text, verb }`) with the refused statement's source text; `operationOmitted` marks unexecuted call fragments. Each malformed statement produces at most one hard error. |
240
- | Regex and matcher tolerances | Lifts leading PCRE inline flags `(?ims)` with a warning; recognizes unslashed line-anchored regexes opening with `^` or closing with `$`; folds comma-separated `/pattern/` lists on `find` and `read` into alternation with a warning while refusing numeric/open sed ranges (`/a/,+N`, `/a/,-1`, `/a/,`) and mutating `/a/,/b/` ranges; diagnoses trailing text after `/pattern/flags`; recovers unclosed `/pattern` at EOL. |
240
+ | Regex and matcher tolerances | Lifts leading PCRE inline flags `(?ims)` with a warning; recognizes unslashed line-anchored regexes opening with `^` or closing with `$`; folds comma-separated `/pattern/` lists on `find` and `read` into alternation with a warning while refusing numeric/open sed ranges (`/a/,+N`, `/a/,-1`, `/a/,`) and mutating `/a/,/b/` ranges; diagnoses trailing text after `/pattern/flags`; recovers unclosed `/pattern` at EOL; and on `edit`, normalizes unreadable single-line literal code patterns starting with `//`, `$`, `&`, or `/` (when an interior `/` is followed by non-flag literal text rather than `/pattern/flags`) into exact literal matchers. |
241
241
  | Statement & argument tolerances (RENO) | Lifts inline `<L,M>` ranges from `path<L,M>` strings with a warning; recovers bare `edit` anchors (`@abcde`), combined `42<@abcde>` ranges, trailing commas in range lists (`"17,18,"`), unbalanced angle brackets around `@hash` ranges (`"<@abcde,@fghij"`), anchor-first column tuples (`"@SL,@EL,SC[,EC]"`), and packet-header line counts (`"N lines"`); recovers extra or transposed delimiters on heredoc closers (`EOF)})`, `EOF)}`, `EOF)]`) and closing `}}` call braces; unwraps nested parameter wrappers (`params`, `parameters`, `arguments`, `args`, `input`, `options`, `properties`, `text`); transduces foreign native tool-call envelopes (`<tool_call>`, `<TOOLCALL>`, `<\|tool_call_start\|>`, `<\|python_tag\|>`, `[TOOL_CALLS]...[ARGS]`, `Action:` JSON fences, `<arg_key>`/`<arg_value>`, `<seed:think>`, `<mm:think>`); unwraps Markdown-fenced Code Mode statements and accepts redundant `await` prefixes silently; suppresses standalone `**<service>: <label>**` transcript-echo headings and trailing canonical duplicate statements in model emissions; and sets `unparsedTail` when an unclosed string, comment, parenthesis, bracket, or brace reaches end of input. |
@@ -58,6 +58,11 @@ export interface ApplicationPort extends HttpHost {
58
58
  readonly workspaceId: number;
59
59
  readonly sessionId: number;
60
60
  }): Promise<ApplicationInboxMessage[]>;
61
+ /** {§methods} The accepted messages the session has not yet completed, in acceptance order, each with the lifecycle of the loop holding it. */
62
+ readOpenMessages(args: {
63
+ readonly workspaceId: number;
64
+ readonly sessionId: number;
65
+ }): Promise<ApplicationInboxMessage[]>;
61
66
  /** {§methods} The streams the session holds open, in opening order, each with its channels' states. */
62
67
  readStreams(args: {
63
68
  readonly workspaceId: number;
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationPort.d.ts","sourceRoot":"","sources":["../../src/ApplicationPort.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AACjE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EAAE,gCAAgC,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACjH,OAAO,KAAK,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACzG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EACR,gBAAgB,EAChB,oBAAoB,EACpB,yBAAyB,EACzB,2BAA2B,EAC3B,2BAA2B,EAC3B,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,MAAM,EACN,MAAM,EACN,YAAY,EACf,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EACR,wBAAwB,EACxB,kBAAkB,EAClB,wBAAwB,EACxB,2BAA2B,EAC3B,cAAc,EACd,0BAA0B,EAC1B,4BAA4B,EAC5B,uBAAuB,EACvB,2BAA2B,EAC3B,0BAA0B,EAC1B,yBAAyB,EACzB,6BAA6B,EAC7B,0BAA0B,EAC1B,0BAA0B,EAC1B,wBAAwB,EACxB,yBAAyB,EACzB,gBAAgB,EAChB,wBAAwB,EACxB,4BAA4B,EAC5B,8BAA8B,EAC9B,YAAY,EACZ,uBAAuB,EACvB,mBAAmB,EACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+B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CAAC;QAC7B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;KAC9B,GAAG,OAAO,CAAC;QACR,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QAE/B,QAAQ,CAAC,MAAM,EAAE,SAAS,GAAG,UAAU,CAAC;QACxC,QAAQ,CAAC,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAC;KAChD,CAAC,CAAC;IACH,gBAAgB,CAAC,IAAI,EAAE;QACnB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;QAC3B,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;KAC5B,GAAG,OAAO,CAAC;QACR,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;QACxB,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;QAC5B,QAAQ,CAAC,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAC;KAChD,CAAC,CAAC;IACH,yBAAyB,CAAC,IAAI,EAAE;QAC5B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;KAChC,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAClC,wBAAwB,CAAC,IAAI,EAAE;QAC3B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAC;KACrC,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAClC,YAAY,CAAC,CAAC,IAAI,EAAE;QAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,SAAS,4BAA4B,EAAE,CAAC,CAAC;CAC3G"}
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationPort.js","sourceRoot":"","sources":["../../src/ApplicationPort.ts"],"names":[],"mappings":"","sourcesContent":["import type { IncomingMessage, ServerResponse } from \"node:http\";\nimport type { Duplex } from \"node:stream\";\nimport type { FunctionalityPreparationActivity, ProviderAccounting, RollbackReport } from \"./types.generated.ts\";\nimport type { ApplicationInboxMessage, ApplicationMessage, MessageResource } from \"./MessageResource.ts\";\nimport type { ApplicationStream } from \"./ApplicationStream.ts\";\nimport type {\n CapabilityPolicy,\n CapabilityProjection,\n ClientDisplayCapabilities,\n ClientInteractionProjection,\n ClientInteractionResolution,\n EntryReadResult,\n ModelCatalogPage,\n ModelCatalogQuery,\n ModelRoute,\n OperationResult,\n PlurnkStatement,\n ProposalProjection,\n Notice,\n Effort,\n SessionOwner,\n} from \"./types.ts\";\nimport type {\n ApplicationOwnerIdentity,\n ProposalResolution,\n ApplicationActionContext,\n ApplicationActionDescriptor,\n ClientEnvelope,\n ApplicationSessionOverview,\n ApplicationSessionProjection,\n ApplicationSessionQuery,\n ApplicationSessionArchiving,\n ApplicationSessionDeletion,\n ApplicationSessionTitling,\n ApplicationWorkspaceArchiving,\n ApplicationSessionIdentity,\n ApplicationSessionCreation,\n ApplicationLoopAdmission,\n ApplicationLoopProjection,\n ApplicationGauge,\n ApplicationProviderAlias,\n ApplicationPersonaProjection,\n ApplicationServiceUpdateResult,\n LogEntryWire,\n ApplicationEventHandler,\n CredentialAuthority,\n} from \"./Application.ts\";\nimport type { NotificationFilter } from \"./ApplicationNotifications.ts\";\n\n/** {§http-host} One request on the daemon's listener, handed to the adapter that mounted its prefix. */\nexport type HttpRouteHandler = (req: IncomingMessage, res: ServerResponse) => void | Promise<void>;\n\n/** {§http-host} One upgrade request on the daemon's listener, handed to the adapter that mounted its prefix. */\nexport type HttpUpgradeHandler = (req: IncomingMessage, socket: Duplex, head: Buffer) => void | Promise<void>;\n\n/**\n * {§http-host} The daemon's one HTTP listener, offered to exterior adapters. A daemon is one trust\n * domain on one address: core binds `PLURNK_HOST:PLURNK_PORT` before it admits durable state,\n * answers 503 until admission, then routes to the longest mounted prefix or answers 404.\n * Adapters mount at `start()`; none opens a socket of its own. This is the one place the\n * application port names a transport, by ruling (#641): the standards address by URL, never by\n * port, so every exterior interface shares the address.\n */\nexport interface HttpHost {\n registerHttpRoute(prefix: string, handler: HttpRouteHandler): void;\n registerHttpUpgrade(prefix: string, handler: HttpUpgradeHandler): void;\n httpAddress(): { readonly host: string; readonly port: number };\n}\n\n/** {§application-session-observation} The transport-neutral application contract consumed by exterior adapters. */\nexport interface ApplicationPort extends HttpHost {\n readonly credentials: CredentialAuthority;\n registerSessionOwner(workspaceId: number, owner: SessionOwner): Promise<void>;\n claimSessionOwner(args: { readonly workspaceId: number; readonly sessionId: number; readonly owner: string }): Promise<SessionOwner>;\n configurationNotices(workspaceId?: number): readonly Notice[];\n listClientDisplayCapabilities(): Promise<ClientDisplayCapabilities>;\n listModuleActions(): ApplicationActionDescriptor[];\n invokeModuleAction(\n name: string,\n params: Readonly<Record<string, unknown>>,\n context: ApplicationActionContext,\n ): Promise<unknown>;\n subscribeToEvents(handler: ApplicationEventHandler, filter?: NotificationFilter): () => void;\n pendingProposals(workspaceId: number): Promise<ProposalProjection[]>;\n resolveProposal(logEntryId: number, resolution: ProposalResolution, owner: ApplicationOwnerIdentity): Promise<void>;\n pendingClientInteractions(workspaceId: number): Promise<ClientInteractionProjection[]>;\n resolveClientInteraction(\n interactionId: number,\n resolution: ClientInteractionResolution,\n respondent: ApplicationOwnerIdentity,\n message?: { readonly body: string; readonly source: string; readonly envelope: Readonly<Record<string, unknown>> },\n ): Promise<void>;\n readMessages(args: { readonly workspaceId: number; readonly sessionId: number; readonly loopId?: number }): Promise<ApplicationMessage[]>;\n /** {§methods} The accepted messages the session has not yet observed at a turn boundary, in acceptance order, each with the lifecycle of the loop holding it. */\n readInbox(args: { readonly workspaceId: number; readonly sessionId: number }): Promise<ApplicationInboxMessage[]>;\n /** {§methods} The streams the session holds open, in opening order, each with its channels' states. */\n readStreams(args: { readonly workspaceId: number; readonly sessionId: number }): Promise<ApplicationStream[]>;\n /** {§methods} A client message's address is its idempotency key: `new` when nothing is accepted there,\n * `accepted` when the same body is; another body under an accepted address is refused, 422 `message-address-reused`. */\n messageAdmission(args: { readonly workspaceId: number; readonly address: string; readonly body: string }): Promise<\"new\" | \"accepted\">;\n ensureRuntimeSession(workspaceId: number): Promise<number>;\n runLoop(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly loopId?: number;\n readonly prompt: string;\n readonly source?: string;\n readonly messageAddress?: string;\n readonly attachments?: readonly MessageResource[];\n readonly envelope?: Readonly<Record<string, unknown>>;\n readonly maxTurns?: number;\n readonly openPaths?: string[];\n readonly selector?: string;\n readonly childSelector?: string | null;\n }): Promise<ApplicationLoopAdmission>;\n cancelDrain(sessionId: number, reason?: string): boolean;\n cancelSession(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly reason?: string;\n }): Promise<void>;\n // {§connection-lifecycle} — a person's client operation: one loop in the workspace's runtime session,\n // attributed to `actor`, its `log:///` addresses read in `contextSessionId`'s log\n // ({§connection-lifecycle}); `onLoop` hears that loop before any statement runs.\n dispatchClientAction(args: {\n readonly workspaceId: number;\n readonly actor: string;\n readonly contextSessionId?: number;\n readonly statements: PlurnkStatement[];\n readonly onLoop?: (loop: { readonly sessionId: number; readonly loopId: number }) => void;\n }): Promise<OperationResult[]>;\n // {§connection-lifecycle} — cancel exactly one client operation: its dispatch while it runs and every execution its\n // rows started that still runs; false when nothing of it was running.\n cancelLoop(args: { readonly workspaceId: number; readonly loopId: number; readonly reason?: string }): Promise<boolean>;\n // {§fence-pairing} — the workspace's available names also permit slotless invocation.\n executorTags(workspaceId: number): readonly string[];\n readLog(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly loopId?: number;\n readonly turnId?: number;\n readonly sinceId?: number;\n readonly beforeId?: number;\n readonly limit?: number;\n readonly loopSeq?: number;\n readonly turnSeq?: number;\n readonly sequence?: number;\n }): Promise<LogEntryWire[]>;\n /** {§acp-status-descendants} Each alias is the route a session seeded from it gets, its configured effort included. */\n listProviders(): { readonly aliases: Array<ApplicationProviderAlias> };\n listModels(query: ModelCatalogQuery): ModelCatalogPage;\n /** {§startup-admission} Explicitly refresh the Models.dev catalog cache when `PLURNK_SERVICE_UPDATEABLE=1`. */\n updateService?(): Promise<ApplicationServiceUpdateResult>;\n createWorkspace(args: {\n readonly name?: string;\n readonly projectRoot?: string | null;\n readonly settings?: string | object;\n }): Promise<ClientEnvelope>;\n /** {§methods-workspace-create} Read-only selection; folder defaults are derived by the daemon. */\n attachWorkspace(args:\n | { readonly workspaceId: number; readonly name?: never; readonly projectRoot?: never }\n | { readonly name: string; readonly workspaceId?: never; readonly projectRoot?: never }\n | { readonly projectRoot: string; readonly workspaceId?: never; readonly name?: never }\n ): Promise<ClientEnvelope>;\n /** {§session-external-reference} Opaque, adapter-namespaced identity; reading never allocates. */\n readSessionReference(args: { readonly namespace: string; readonly reference: string }): Promise<{ readonly workspaceId: number; readonly sessionId: number } | null>;\n /** {§session-external-reference} Atomically allocate a folderless workspace and model session when absent. */\n ensureSessionReference(args: { readonly namespace: string; readonly reference: string }): Promise<{ readonly workspaceId: number; readonly sessionId: number }>;\n /** {§session-external-reference} Inspect the adapter's retained references to this session. */\n listSessionReferences(args: { readonly workspaceId: number; readonly sessionId: number; readonly namespace: string }): Promise<string[]>;\n /** {§machine-processes} Omitted `archived` lists every workspace; true only archived ones, false only unarchived ones. */\n listWorkspaces(query?: { readonly archived?: boolean }): Promise<Array<{\n readonly id: number;\n readonly name: string;\n readonly project_root: string | null;\n /** {§execution-output-identity} */\n readonly project_label: string | null;\n readonly created_at: string;\n /** {§machine-processes} When the workspace was archived, or null while it is unarchived. */\n readonly archived_at: string | null;\n }>>;\n listSessions(\n workspaceId: number,\n query?: ApplicationSessionQuery,\n ): Promise<ApplicationSessionProjection[]>;\n readSession(args: {\n readonly workspaceId: number;\n readonly identity: ApplicationSessionIdentity;\n }): Promise<ApplicationSessionProjection | null>;\n listSessionLoops(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n }): Promise<ApplicationLoopProjection[]>;\n // {§methods-workspace-create} — the places of the daemon, or of one workspace, with what waits there.\n readSessionOverview(args: {\n readonly workspaceId?: number;\n readonly limit: number;\n readonly excerptChars: number;\n }): Promise<ApplicationSessionOverview>;\n // {§methods-workspace-create} — the spend of the session and its descendants since it began.\n sessionAccounting(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n }): Promise<ProviderAccounting>;\n // {§methods-workspace-create} — the client gauge the session's latest packet reported.\n sessionGauge(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n }): Promise<ApplicationGauge>;\n // {§methods-workspace-create} — an omitted sessionId lists every model session's client-addressed seeds.\n listPrompts(workspaceId: number, limit?: number, sessionId?: number): Promise<string[]>;\n // {§share} — the workspace's share, from a consistent copy of the daemon's database, into an absolute folder.\n shareWorkspace(args: { readonly workspaceId: number; readonly folder: string }): Promise<{ readonly folder: string }>;\n renameWorkspace(workspaceId: number, name: string): Promise<{ readonly id: number; readonly name: string }>;\n /** {§methods-workspace-create} Archive or unarchive a workspace; an archive is refused while it holds live work. */\n setWorkspaceArchived(args: { readonly workspaceId: number; readonly archived: boolean }): Promise<ApplicationWorkspaceArchiving>;\n /** {§methods-workspace-create} Archive or unarchive a session with every session beneath it; an archive is refused while they hold live work. */\n setSessionArchived(args: { readonly workspaceId: number; readonly sessionId: number; readonly archived: boolean }): Promise<ApplicationSessionArchiving>;\n /** {§methods-workspace-create} Permanently delete a session and its descendant subtree; refused while they hold live work. */\n deleteSession(args: { readonly workspaceId: number; readonly sessionId: number }): Promise<ApplicationSessionDeletion>;\n /** {§methods-workspace-create} Store a normalized human-readable title on a session. */\n setSessionTitle(args: { readonly workspaceId: number; readonly sessionId: number; readonly title: string }): Promise<ApplicationSessionTitling>;\n /** {§methods-workspace-create} Cancel a single live stream subscription owned by a session without cancelling the whole session. */\n cancelStream(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly entryId?: number;\n readonly target?: string;\n readonly coordinate?: string;\n }): Promise<boolean>;\n // {§log-wire-format} — reverse `sessionId`'s settled file mutations after its log coordinate `to`, latest\n // first, as one client operation of `actor` ({§connection-lifecycle}); stops at the first file that no\n // longer holds what its mutation wrote.\n rollback(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly actor: string;\n readonly to: string;\n }): Promise<RollbackReport>;\n /** {§methods-workspace-create} Activate a cold workspace's Functionality without a turn; resolves when it is active. */\n activateWorkspace(args: { readonly workspaceId: number }): Promise<void>;\n workspacePreparationStatus(workspaceId: number): readonly FunctionalityPreparationActivity[];\n workspaceDerivationStatus(workspaceId: number): {\n readonly phase: \"preparing\" | \"indexing\" | \"complete\" | \"failed\";\n readonly completed: number;\n readonly total: number;\n readonly percent: number;\n readonly message: string;\n // {§operation-results}: the producer's level rides unchanged — `warn` when a completed pass carries failed members.\n readonly level: \"info\" | \"warn\" | \"error\";\n } | null;\n readEntry(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly target: string;\n readonly channel?: string;\n readonly offset?: number;\n }): Promise<EntryReadResult>;\n // {§methods} — the channel `target` selects, its fragment's or else its scheme's default, complete.\n readEntryChannel(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly target: string;\n }): Promise<EntryReadResult>;\n forkSession(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly name?: string;\n }): Promise<{\n readonly sessionId: number;\n readonly sessionName: string | null;\n readonly parentSessionId: number;\n }>;\n createSession(args: ApplicationSessionCreation): Promise<{ readonly sessionId: number; readonly sessionName: string }>;\n readSessionModel(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n }): Promise<{ readonly model: ModelRoute | null; readonly spawnModel: ModelRoute | null }>;\n setSessionModel(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly selector: string;\n /** An effort chosen with the model; the daemon validates and persists the pair as one. */\n readonly effort?: unknown;\n }): Promise<ModelRoute>;\n setSessionSpawnModel(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly selector: string | null;\n }): Promise<ModelRoute | null>;\n readSessionEffort(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n }): Promise<{\n readonly effort: Effort | null;\n // {§session-model-selection} — `explicit` only after setSessionEffort.\n readonly source: \"default\" | \"explicit\";\n readonly supportedEfforts: readonly Effort[];\n }>;\n setSessionEffort(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly effort: unknown;\n }): Promise<{\n readonly effort: Effort;\n readonly source: \"explicit\";\n readonly supportedEfforts: readonly Effort[];\n }>;\n readWorkspaceCapabilities(args: {\n readonly workspaceId: number;\n }): Promise<CapabilityProjection>;\n setWorkspaceCapabilities(args: {\n readonly workspaceId: number;\n readonly policy: CapabilityPolicy;\n }): Promise<CapabilityProjection>;\n listPersonas?(args: { readonly workspaceId: number }): Promise<readonly ApplicationPersonaProjection[]>;\n}\n"]}
1
+ {"version":3,"file":"ApplicationPort.js","sourceRoot":"","sources":["../../src/ApplicationPort.ts"],"names":[],"mappings":"","sourcesContent":["import type { IncomingMessage, ServerResponse } from \"node:http\";\nimport type { Duplex } from \"node:stream\";\nimport type { FunctionalityPreparationActivity, ProviderAccounting, RollbackReport } from \"./types.generated.ts\";\nimport type { ApplicationInboxMessage, ApplicationMessage, MessageResource } from \"./MessageResource.ts\";\nimport type { ApplicationStream } from \"./ApplicationStream.ts\";\nimport type {\n CapabilityPolicy,\n CapabilityProjection,\n ClientDisplayCapabilities,\n ClientInteractionProjection,\n ClientInteractionResolution,\n EntryReadResult,\n ModelCatalogPage,\n ModelCatalogQuery,\n ModelRoute,\n OperationResult,\n PlurnkStatement,\n ProposalProjection,\n Notice,\n Effort,\n SessionOwner,\n} from \"./types.ts\";\nimport type {\n ApplicationOwnerIdentity,\n ProposalResolution,\n ApplicationActionContext,\n ApplicationActionDescriptor,\n ClientEnvelope,\n ApplicationSessionOverview,\n ApplicationSessionProjection,\n ApplicationSessionQuery,\n ApplicationSessionArchiving,\n ApplicationSessionDeletion,\n ApplicationSessionTitling,\n ApplicationWorkspaceArchiving,\n ApplicationSessionIdentity,\n ApplicationSessionCreation,\n ApplicationLoopAdmission,\n ApplicationLoopProjection,\n ApplicationGauge,\n ApplicationProviderAlias,\n ApplicationPersonaProjection,\n ApplicationServiceUpdateResult,\n LogEntryWire,\n ApplicationEventHandler,\n CredentialAuthority,\n} from \"./Application.ts\";\nimport type { NotificationFilter } from \"./ApplicationNotifications.ts\";\n\n/** {§http-host} One request on the daemon's listener, handed to the adapter that mounted its prefix. */\nexport type HttpRouteHandler = (req: IncomingMessage, res: ServerResponse) => void | Promise<void>;\n\n/** {§http-host} One upgrade request on the daemon's listener, handed to the adapter that mounted its prefix. */\nexport type HttpUpgradeHandler = (req: IncomingMessage, socket: Duplex, head: Buffer) => void | Promise<void>;\n\n/**\n * {§http-host} The daemon's one HTTP listener, offered to exterior adapters. A daemon is one trust\n * domain on one address: core binds `PLURNK_HOST:PLURNK_PORT` before it admits durable state,\n * answers 503 until admission, then routes to the longest mounted prefix or answers 404.\n * Adapters mount at `start()`; none opens a socket of its own. This is the one place the\n * application port names a transport, by ruling (#641): the standards address by URL, never by\n * port, so every exterior interface shares the address.\n */\nexport interface HttpHost {\n registerHttpRoute(prefix: string, handler: HttpRouteHandler): void;\n registerHttpUpgrade(prefix: string, handler: HttpUpgradeHandler): void;\n httpAddress(): { readonly host: string; readonly port: number };\n}\n\n/** {§application-session-observation} The transport-neutral application contract consumed by exterior adapters. */\nexport interface ApplicationPort extends HttpHost {\n readonly credentials: CredentialAuthority;\n registerSessionOwner(workspaceId: number, owner: SessionOwner): Promise<void>;\n claimSessionOwner(args: { readonly workspaceId: number; readonly sessionId: number; readonly owner: string }): Promise<SessionOwner>;\n configurationNotices(workspaceId?: number): readonly Notice[];\n listClientDisplayCapabilities(): Promise<ClientDisplayCapabilities>;\n listModuleActions(): ApplicationActionDescriptor[];\n invokeModuleAction(\n name: string,\n params: Readonly<Record<string, unknown>>,\n context: ApplicationActionContext,\n ): Promise<unknown>;\n subscribeToEvents(handler: ApplicationEventHandler, filter?: NotificationFilter): () => void;\n pendingProposals(workspaceId: number): Promise<ProposalProjection[]>;\n resolveProposal(logEntryId: number, resolution: ProposalResolution, owner: ApplicationOwnerIdentity): Promise<void>;\n pendingClientInteractions(workspaceId: number): Promise<ClientInteractionProjection[]>;\n resolveClientInteraction(\n interactionId: number,\n resolution: ClientInteractionResolution,\n respondent: ApplicationOwnerIdentity,\n message?: { readonly body: string; readonly source: string; readonly envelope: Readonly<Record<string, unknown>> },\n ): Promise<void>;\n readMessages(args: { readonly workspaceId: number; readonly sessionId: number; readonly loopId?: number }): Promise<ApplicationMessage[]>;\n /** {§methods} The accepted messages the session has not yet observed at a turn boundary, in acceptance order, each with the lifecycle of the loop holding it. */\n readInbox(args: { readonly workspaceId: number; readonly sessionId: number }): Promise<ApplicationInboxMessage[]>;\n /** {§methods} The accepted messages the session has not yet completed, in acceptance order, each with the lifecycle of the loop holding it. */\n readOpenMessages(args: { readonly workspaceId: number; readonly sessionId: number }): Promise<ApplicationInboxMessage[]>;\n /** {§methods} The streams the session holds open, in opening order, each with its channels' states. */\n readStreams(args: { readonly workspaceId: number; readonly sessionId: number }): Promise<ApplicationStream[]>;\n /** {§methods} A client message's address is its idempotency key: `new` when nothing is accepted there,\n * `accepted` when the same body is; another body under an accepted address is refused, 422 `message-address-reused`. */\n messageAdmission(args: { readonly workspaceId: number; readonly address: string; readonly body: string }): Promise<\"new\" | \"accepted\">;\n ensureRuntimeSession(workspaceId: number): Promise<number>;\n runLoop(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly loopId?: number;\n readonly prompt: string;\n readonly source?: string;\n readonly messageAddress?: string;\n readonly attachments?: readonly MessageResource[];\n readonly envelope?: Readonly<Record<string, unknown>>;\n readonly maxTurns?: number;\n readonly openPaths?: string[];\n readonly selector?: string;\n readonly childSelector?: string | null;\n }): Promise<ApplicationLoopAdmission>;\n cancelDrain(sessionId: number, reason?: string): boolean;\n cancelSession(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly reason?: string;\n }): Promise<void>;\n // {§connection-lifecycle} — a person's client operation: one loop in the workspace's runtime session,\n // attributed to `actor`, its `log:///` addresses read in `contextSessionId`'s log\n // ({§connection-lifecycle}); `onLoop` hears that loop before any statement runs.\n dispatchClientAction(args: {\n readonly workspaceId: number;\n readonly actor: string;\n readonly contextSessionId?: number;\n readonly statements: PlurnkStatement[];\n readonly onLoop?: (loop: { readonly sessionId: number; readonly loopId: number }) => void;\n }): Promise<OperationResult[]>;\n // {§connection-lifecycle} — cancel exactly one client operation: its dispatch while it runs and every execution its\n // rows started that still runs; false when nothing of it was running.\n cancelLoop(args: { readonly workspaceId: number; readonly loopId: number; readonly reason?: string }): Promise<boolean>;\n // {§fence-pairing} — the workspace's available names also permit slotless invocation.\n executorTags(workspaceId: number): readonly string[];\n readLog(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly loopId?: number;\n readonly turnId?: number;\n readonly sinceId?: number;\n readonly beforeId?: number;\n readonly limit?: number;\n readonly loopSeq?: number;\n readonly turnSeq?: number;\n readonly sequence?: number;\n }): Promise<LogEntryWire[]>;\n /** {§acp-status-descendants} Each alias is the route a session seeded from it gets, its configured effort included. */\n listProviders(): { readonly aliases: Array<ApplicationProviderAlias> };\n listModels(query: ModelCatalogQuery): ModelCatalogPage;\n /** {§startup-admission} Explicitly refresh the Models.dev catalog cache when `PLURNK_SERVICE_UPDATEABLE=1`. */\n updateService?(): Promise<ApplicationServiceUpdateResult>;\n createWorkspace(args: {\n readonly name?: string;\n readonly projectRoot?: string | null;\n readonly settings?: string | object;\n }): Promise<ClientEnvelope>;\n /** {§methods-workspace-create} Read-only selection; folder defaults are derived by the daemon. */\n attachWorkspace(args:\n | { readonly workspaceId: number; readonly name?: never; readonly projectRoot?: never }\n | { readonly name: string; readonly workspaceId?: never; readonly projectRoot?: never }\n | { readonly projectRoot: string; readonly workspaceId?: never; readonly name?: never }\n ): Promise<ClientEnvelope>;\n /** {§session-external-reference} Opaque, adapter-namespaced identity; reading never allocates. */\n readSessionReference(args: { readonly namespace: string; readonly reference: string }): Promise<{ readonly workspaceId: number; readonly sessionId: number } | null>;\n /** {§session-external-reference} Atomically allocate a folderless workspace and model session when absent. */\n ensureSessionReference(args: { readonly namespace: string; readonly reference: string }): Promise<{ readonly workspaceId: number; readonly sessionId: number }>;\n /** {§session-external-reference} Inspect the adapter's retained references to this session. */\n listSessionReferences(args: { readonly workspaceId: number; readonly sessionId: number; readonly namespace: string }): Promise<string[]>;\n /** {§machine-processes} Omitted `archived` lists every workspace; true only archived ones, false only unarchived ones. */\n listWorkspaces(query?: { readonly archived?: boolean }): Promise<Array<{\n readonly id: number;\n readonly name: string;\n readonly project_root: string | null;\n /** {§execution-output-identity} */\n readonly project_label: string | null;\n readonly created_at: string;\n /** {§machine-processes} When the workspace was archived, or null while it is unarchived. */\n readonly archived_at: string | null;\n }>>;\n listSessions(\n workspaceId: number,\n query?: ApplicationSessionQuery,\n ): Promise<ApplicationSessionProjection[]>;\n readSession(args: {\n readonly workspaceId: number;\n readonly identity: ApplicationSessionIdentity;\n }): Promise<ApplicationSessionProjection | null>;\n listSessionLoops(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n }): Promise<ApplicationLoopProjection[]>;\n // {§methods-workspace-create} — the places of the daemon, or of one workspace, with what waits there.\n readSessionOverview(args: {\n readonly workspaceId?: number;\n readonly limit: number;\n readonly excerptChars: number;\n }): Promise<ApplicationSessionOverview>;\n // {§methods-workspace-create} — the spend of the session and its descendants since it began.\n sessionAccounting(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n }): Promise<ProviderAccounting>;\n // {§methods-workspace-create} — the client gauge the session's latest packet reported.\n sessionGauge(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n }): Promise<ApplicationGauge>;\n // {§methods-workspace-create} — an omitted sessionId lists every model session's client-addressed seeds.\n listPrompts(workspaceId: number, limit?: number, sessionId?: number): Promise<string[]>;\n // {§share} — the workspace's share, from a consistent copy of the daemon's database, into an absolute folder.\n shareWorkspace(args: { readonly workspaceId: number; readonly folder: string }): Promise<{ readonly folder: string }>;\n renameWorkspace(workspaceId: number, name: string): Promise<{ readonly id: number; readonly name: string }>;\n /** {§methods-workspace-create} Archive or unarchive a workspace; an archive is refused while it holds live work. */\n setWorkspaceArchived(args: { readonly workspaceId: number; readonly archived: boolean }): Promise<ApplicationWorkspaceArchiving>;\n /** {§methods-workspace-create} Archive or unarchive a session with every session beneath it; an archive is refused while they hold live work. */\n setSessionArchived(args: { readonly workspaceId: number; readonly sessionId: number; readonly archived: boolean }): Promise<ApplicationSessionArchiving>;\n /** {§methods-workspace-create} Permanently delete a session and its descendant subtree; refused while they hold live work. */\n deleteSession(args: { readonly workspaceId: number; readonly sessionId: number }): Promise<ApplicationSessionDeletion>;\n /** {§methods-workspace-create} Store a normalized human-readable title on a session. */\n setSessionTitle(args: { readonly workspaceId: number; readonly sessionId: number; readonly title: string }): Promise<ApplicationSessionTitling>;\n /** {§methods-workspace-create} Cancel a single live stream subscription owned by a session without cancelling the whole session. */\n cancelStream(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly entryId?: number;\n readonly target?: string;\n readonly coordinate?: string;\n }): Promise<boolean>;\n // {§log-wire-format} — reverse `sessionId`'s settled file mutations after its log coordinate `to`, latest\n // first, as one client operation of `actor` ({§connection-lifecycle}); stops at the first file that no\n // longer holds what its mutation wrote.\n rollback(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly actor: string;\n readonly to: string;\n }): Promise<RollbackReport>;\n /** {§methods-workspace-create} Activate a cold workspace's Functionality without a turn; resolves when it is active. */\n activateWorkspace(args: { readonly workspaceId: number }): Promise<void>;\n workspacePreparationStatus(workspaceId: number): readonly FunctionalityPreparationActivity[];\n workspaceDerivationStatus(workspaceId: number): {\n readonly phase: \"preparing\" | \"indexing\" | \"complete\" | \"failed\";\n readonly completed: number;\n readonly total: number;\n readonly percent: number;\n readonly message: string;\n // {§operation-results}: the producer's level rides unchanged — `warn` when a completed pass carries failed members.\n readonly level: \"info\" | \"warn\" | \"error\";\n } | null;\n readEntry(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly target: string;\n readonly channel?: string;\n readonly offset?: number;\n }): Promise<EntryReadResult>;\n // {§methods} — the channel `target` selects, its fragment's or else its scheme's default, complete.\n readEntryChannel(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly target: string;\n }): Promise<EntryReadResult>;\n forkSession(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly name?: string;\n }): Promise<{\n readonly sessionId: number;\n readonly sessionName: string | null;\n readonly parentSessionId: number;\n }>;\n createSession(args: ApplicationSessionCreation): Promise<{ readonly sessionId: number; readonly sessionName: string }>;\n readSessionModel(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n }): Promise<{ readonly model: ModelRoute | null; readonly spawnModel: ModelRoute | null }>;\n setSessionModel(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly selector: string;\n /** An effort chosen with the model; the daemon validates and persists the pair as one. */\n readonly effort?: unknown;\n }): Promise<ModelRoute>;\n setSessionSpawnModel(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly selector: string | null;\n }): Promise<ModelRoute | null>;\n readSessionEffort(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n }): Promise<{\n readonly effort: Effort | null;\n // {§session-model-selection} — `explicit` only after setSessionEffort.\n readonly source: \"default\" | \"explicit\";\n readonly supportedEfforts: readonly Effort[];\n }>;\n setSessionEffort(args: {\n readonly workspaceId: number;\n readonly sessionId: number;\n readonly effort: unknown;\n }): Promise<{\n readonly effort: Effort;\n readonly source: \"explicit\";\n readonly supportedEfforts: readonly Effort[];\n }>;\n readWorkspaceCapabilities(args: {\n readonly workspaceId: number;\n }): Promise<CapabilityProjection>;\n setWorkspaceCapabilities(args: {\n readonly workspaceId: number;\n readonly policy: CapabilityPolicy;\n }): Promise<CapabilityProjection>;\n listPersonas?(args: { readonly workspaceId: number }): Promise<readonly ApplicationPersonaProjection[]>;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plurnk/plurnk-contracts",
3
- "version": "7.4.0",
3
+ "version": "7.5.0",
4
4
  "description": "Canonical PLURNK language contract, schemas, generated types, and runtime-neutral wire contracts",
5
5
  "keywords": [
6
6
  "plurnk",
@@ -68,5 +68,5 @@
68
68
  "devDependencies": {
69
69
  "json-schema-to-typescript": "^16.0.0"
70
70
  },
71
- "gitHead": "49f92d9351021ae0729d69e72ab9b1b95e3a974b"
71
+ "gitHead": "9206fac0bc773bc1bdb4cc0a541f8bd58f45f87b"
72
72
  }
package/plurnk.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Plurnk Session
2
2
 
3
- - YOU MUST ONLY submit unfenced tool calls: `<server>.<tool>({}) // aside`.
4
- - YOU SHOULD take at least one `plurnk.note` each turn to record facts, ideas, and plans.
3
+ plurnk.note({"text":<<<EOF
4
+ - YOU MUST ONLY submit a batch of tool calls for evaluation: `<server>.<tool>({}) // aside`.
5
+ - YOU SHOULD prefer `<<<EOF[a-zA-Z0-9]*` for complex and/or multi-line values.
5
6
  - YOU SHOULD prefer hash anchors or pattern replacement with `plurnk.edit` to avoid stale targets.
7
+ - YOU SHOULD take at least one `plurnk.note` each turn to record your facts, conclusions, and plans.
8
+
9
+ The loop will continue (or `plurnk.wait`) until all Open Work is settled or `plurnk.done({"text":"<final response>"})`.
10
+ EOF}) // fact