@stratusagent/core 0.11.0 → 0.11.2

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.d.ts CHANGED
@@ -110,12 +110,61 @@ export interface ToolCall {
110
110
  toolName: string;
111
111
  input: JsonObject;
112
112
  }
113
+ /**
114
+ * Where a piece of content came from — the one answer to "who wrote this",
115
+ * carried from the tool that produced it through the session that read it
116
+ * into the memory entry that restates it.
117
+ *
118
+ * Ordered from most to least trusted, and the ordering is the whole
119
+ * mechanism: a session's label only ever moves down it, a memory write
120
+ * carries the lowest label the session has seen, and a delegate reply
121
+ * carries its target's. `leastTrusted` is the one place the order is read.
122
+ *
123
+ * - `user` — an authorized principal: the operator at a local terminal, or
124
+ * a channel sender the operator has named. Earned, never inferred from
125
+ * the shape of a channel; a DM proves nothing about who is typing.
126
+ * - `agent` — the agent's own work: its tools' output, its own conclusions,
127
+ * in a session where everything in context was `user` or `agent`.
128
+ * - `unknown` — provenance that was never recorded: a transcript or a
129
+ * memory entry from before it was tracked, a sender nobody has vouched
130
+ * for. Not `agent`, because absence of provenance is not evidence of
131
+ * trust; not `external`, because claiming a stranger wrote it overstates
132
+ * what is known.
133
+ * - `external` — written by a party the operator has not authorized: a web
134
+ * page, a search snippet, an MCP server's response, a fetched document.
135
+ *
136
+ * This is a label, not a gate. Nothing here refuses on it; what a consumer
137
+ * does about the label is that consumer's business.
138
+ */
139
+ export type TrustLevel = 'user' | 'agent' | 'unknown' | 'external';
140
+ /** Every level, most trusted first. The order, stated once. */
141
+ export declare const TRUST_LEVELS: readonly TrustLevel[];
142
+ export declare const isTrustLevel: (value: unknown) => value is TrustLevel;
143
+ /**
144
+ * The lowest label among several — how trust combines everywhere: a
145
+ * session reading two things is as trusted as the less trusted of them.
146
+ * With no arguments, the top of the lattice.
147
+ */
148
+ export declare const leastTrusted: (...levels: readonly TrustLevel[]) => TrustLevel;
113
149
  export interface ToolResult {
114
150
  callId: string;
115
151
  toolName: string;
116
152
  ok: boolean;
117
153
  output: JsonValue;
118
154
  error?: string;
155
+ /**
156
+ * Where this result's content came from. Set by the executor from the
157
+ * two producer channels — the tool's `outputTrust` declaration and any
158
+ * per-call `ExecutionContext.markTrust` — and `agent` for a tool that
159
+ * used neither.
160
+ *
161
+ * Optional only because persisted results predate it. A stored result
162
+ * with no label was written before provenance was tracked, and the
163
+ * runner reads that absence as `unknown`: those transcripts are the one
164
+ * corpus guaranteed to exist on the day this shipped, and some of them
165
+ * already hold hostile page content. A new result always carries one.
166
+ */
167
+ trust?: TrustLevel;
119
168
  }
120
169
  export type ProviderPart = {
121
170
  type: 'text';
@@ -305,6 +354,96 @@ export interface SkillRequirementFinding {
305
354
  * test exists to prevent. Advisory by design — a skill is prose and can
306
355
  * degrade, so callers warn and continue, never refuse.
307
356
  */
357
+ /**
358
+ * What an agent's `tools:` allowlist asks for that nothing registered
359
+ * provides.
360
+ *
361
+ * `unmatched` are the entries selecting no tool at all — a `fs.*` whose
362
+ * plugin was never installed, a name with a typo in it. `none` says every
363
+ * entry was such an entry, which is the case worth shouting about: the
364
+ * agent's allowlist grants it nothing, so none of the tools its persona
365
+ * talks about are there to call, and a model told to use a tool it has not
366
+ * been given tends to write the call out as prose instead — with a
367
+ * plausible result attached, which reads to everyone as the thing having
368
+ * happened.
369
+ *
370
+ * `none` is a statement about the ALLOWLIST, not about everything the
371
+ * provider will be shown. `skill.read` rides on the `skills:` gate rather
372
+ * than this one, so an agent with a skill enabled still has that much; it
373
+ * is not one of the tools the soul was written around, which is why the
374
+ * finding is still worth reporting in full.
375
+ *
376
+ * That exemption is also why the reader gets its own bucket. It is
377
+ * registered, so an entry naming it *looks* live while granting nothing —
378
+ * and `tools: [skill.read]` is then an allowlist that grants nothing while
379
+ * reporting clean, which is the one case this check exists for.
380
+ *
381
+ * Advisory rather than fatal, like `missingSkillRequirements`: an
382
+ * allowlist naming a tool the operator has not installed yet is a normal
383
+ * intermediate state, and refusing to serve the agent would be a worse
384
+ * answer than telling them.
385
+ */
386
+ export interface ToolAllowlistFinding {
387
+ /** Allowlist entries that select no registered tool. */
388
+ unmatched: string[];
389
+ /**
390
+ * Entries whose only match is `skill.read` — registered, but granted by
391
+ * the `skills:` key rather than this one, so the entry grants nothing.
392
+ * Separate from `unmatched` because the fix is different: there is no
393
+ * plugin to install and no name to correct.
394
+ */
395
+ inert: string[];
396
+ /**
397
+ * Entries selecting only tools another host registers — real names that
398
+ * this process does not have. Left to the caller to word, since only the
399
+ * caller knows which host it is not.
400
+ */
401
+ elsewhere: string[];
402
+ /** Every entry is one of those, so the allowlist grants nothing here. */
403
+ none: boolean;
404
+ }
405
+ /** What excuses an entry from being read as a name that does not exist. */
406
+ export interface ToolAllowlistOptions {
407
+ /**
408
+ * Namespaces a loaded plugin is allowed to fill later — an MCP bridge
409
+ * still connecting registers nothing yet, so an entry aimed at one names
410
+ * a tool that has not arrived rather than one that will never exist.
411
+ */
412
+ mayRegister?: readonly string[];
413
+ /**
414
+ * Tools a different host registers. `stratus run` has no dispatcher,
415
+ * store, or channels, so the daemon's `schedule.*`, `message.send`, and
416
+ * `agent.delegate` are absent from it while the soul naming them is
417
+ * correct — a distinction the caller states, because "elsewhere" has no
418
+ * meaning the kernel can name.
419
+ */
420
+ elsewhere?: readonly string[];
421
+ }
422
+ /**
423
+ * Undefined when there is nothing to say: an agent with no `tools:` key is
424
+ * allowed every registered tool and cannot name one that does not exist.
425
+ *
426
+ * An *empty* list is not that agent. Omitting the key grants everything
427
+ * while `tools: []` grants nothing, and the parser keeps them apart — a
428
+ * bare `tools:` with nothing under it lands here too, which is the shape
429
+ * someone gets by writing the key and not filling it, or by deleting the
430
+ * last entry. There are no entries to name, so the finding carries none.
431
+ */
432
+ export declare const unmatchedToolAllowlist: (agent: Pick<AgentDefinition, "tools">, registered: readonly string[], options?: ToolAllowlistOptions) => ToolAllowlistFinding | undefined;
433
+ /**
434
+ * The advisory lines for a finding — one per kind, because the fixes
435
+ * differ, plus the summary when the allowlist grants nothing at all.
436
+ *
437
+ * Shared so the daemon and a local `stratus run` say the same thing about
438
+ * one configuration rather than each writing its own reading of it; the
439
+ * hosts differ only in where the lines go and what they prefix.
440
+ *
441
+ * `elsewhere` gets no line here on purpose: naming the host that does have
442
+ * those tools is the caller's to do, and the kernel cannot. The summary
443
+ * still counts it, because an entry answered by another process is still
444
+ * an entry this one grants nothing for.
445
+ */
446
+ export declare const describeToolAllowlistFinding: (agentId: string, finding: ToolAllowlistFinding) => string[];
308
447
  export declare const missingSkillRequirements: (agent: Pick<AgentDefinition, "skills" | "tools">, skills: SkillRegistry) => SkillRequirementFinding[];
309
448
  export interface ToolDescriptor {
310
449
  name: string;
@@ -323,7 +462,45 @@ export interface MemoryEntry {
323
462
  content: string;
324
463
  createdAt: string;
325
464
  metadata?: JsonObject;
465
+ /**
466
+ * Where the fact came from — the least trusted thing the writing session
467
+ * had in context. Absent on an entry recorded before provenance was
468
+ * tracked and on a hand-added line; `memoryEntryTrust` reads that
469
+ * absence as `unknown`, and so does every consumer, because defaulting it
470
+ * to `agent` would carry the laundering path forward across every
471
+ * upgrade, on the only corpus anyone has. `trust` is the control;
472
+ * `origin` below is description.
473
+ */
474
+ trust?: TrustLevel;
475
+ /**
476
+ * Descriptive, and complete as stated: the session the entry was written
477
+ * in, and what tainted that session when something did. Nothing decides
478
+ * anything from it — it answers "where did this come from" for a person
479
+ * reading the store, and travels with the entry as ordinary data.
480
+ */
481
+ origin?: MemoryOrigin;
482
+ }
483
+ export interface MemoryOrigin {
484
+ sessionId?: string;
485
+ /**
486
+ * The tool whose result lowered the writing session's trust — or
487
+ * `memory`, `sender`, or `legacy` when it was an injected entry, the
488
+ * turn's sender, or a transcript from before provenance was tracked.
489
+ * Absent when nothing did.
490
+ */
491
+ taintedBy?: string;
326
492
  }
493
+ /** What a writer says about a fact's provenance — the label, and where it was written. */
494
+ export interface MemoryProvenance {
495
+ trust: TrustLevel;
496
+ origin?: MemoryOrigin;
497
+ }
498
+ /**
499
+ * An entry's label as every consumer reads it: the recorded one, or
500
+ * `unknown` when none was recorded. Never `agent` by default — see
501
+ * `MemoryEntry.trust`.
502
+ */
503
+ export declare const memoryEntryTrust: (entry: Pick<MemoryEntry, "trust">) => TrustLevel;
327
504
  /**
328
505
  * A memory entry as the operator's audit read returns it: tombstoned entries
329
506
  * stay visible there, marked with when the agent dropped them. The paths that
@@ -428,8 +605,13 @@ export declare const boundMemoryList: (candidates: readonly MemoryEntry[], limit
428
605
  * visible to an operator.
429
606
  */
430
607
  export interface AgentMemoryStore {
431
- /** Refuses content over `MEMORY_ENTRY_MAX_BYTES` rather than truncating it. */
432
- append(agentId: string, content: string, metadata?: JsonObject): Promise<MemoryEntry>;
608
+ /**
609
+ * Refuses content over `MEMORY_ENTRY_MAX_BYTES` rather than truncating it.
610
+ * `provenance` is what the writer knows about where the fact came from;
611
+ * an append without one stores an entry that reads as `unknown`, which
612
+ * is the honest label for a writer that did not say.
613
+ */
614
+ append(agentId: string, content: string, metadata?: JsonObject, provenance?: MemoryProvenance): Promise<MemoryEntry>;
433
615
  /** Live entries, oldest first. See `MemoryListOptions` for the bounded form. */
434
616
  list(agentId: string, options?: MemoryListOptions): Promise<MemoryReadResult>;
435
617
  /** Live entries matching the literal query, newest first, bounded. */
@@ -438,6 +620,18 @@ export interface AgentMemoryStore {
438
620
  forget(agentId: string, entryId: string): Promise<boolean>;
439
621
  /** The operator's audit read: every entry, tombstoned included, oldest first. */
440
622
  audit(agentId: string): Promise<MemoryAuditEntry[]>;
623
+ /**
624
+ * Re-label a live entry's trust — the one way a label ever rises, and it
625
+ * is a person's to use: an upgraded install's whole corpus is `unknown`
626
+ * and would stay so forever otherwise, since new writes carry the field
627
+ * and nothing else does. No tool exposes this; an agent re-labelling its
628
+ * own memory as trusted is the attack writing its own permission slip.
629
+ * False when no live entry of this agent has that id.
630
+ *
631
+ * Optional: a store that omits it cannot be re-asserted, and its
632
+ * operator has no way out of `unknown` but rewriting the record.
633
+ */
634
+ reassertTrust?(agentId: string, entryId: string, trust: TrustLevel): Promise<boolean>;
441
635
  }
442
636
  export declare class InMemoryAgentMemoryStore implements AgentMemoryStore {
443
637
  private entries;
@@ -446,12 +640,13 @@ export declare class InMemoryAgentMemoryStore implements AgentMemoryStore {
446
640
  constructor(options?: {
447
641
  now?: () => Date;
448
642
  });
449
- append(agentId: string, content: string, metadata?: JsonObject): Promise<MemoryEntry>;
643
+ append(agentId: string, content: string, metadata?: JsonObject, provenance?: MemoryProvenance): Promise<MemoryEntry>;
450
644
  private live;
451
645
  list(agentId: string, options?: MemoryListOptions): Promise<MemoryReadResult>;
452
646
  search(agentId: string, query: string, limit?: number): Promise<MemoryReadResult>;
453
647
  forget(agentId: string, entryId: string): Promise<boolean>;
454
648
  audit(agentId: string): Promise<MemoryAuditEntry[]>;
649
+ reassertTrust(agentId: string, entryId: string, trust: TrustLevel): Promise<boolean>;
455
650
  }
456
651
  /**
457
652
  * Resolves named credentials for an agent. Implementations must enforce the
@@ -660,6 +855,18 @@ export declare const DEFAULT_SUBPROCESS_PASS_ENV: readonly string[];
660
855
  */
661
856
  export interface ExecutionContext {
662
857
  signal?: AbortSignal;
858
+ /**
859
+ * Label this one call's output — the per-call half of the producer
860
+ * channel, for a tool whose output is only sometimes external: an
861
+ * `fs.read` of a file the agent downloaded, an MCP tool with mixed
862
+ * responses, a `memory.recall` that surfaced an `external` entry. The
863
+ * tool-wide half is `Tool.outputTrust`. Rides here as a sink, the way
864
+ * `onUsage` does on a provider request, so `execute`'s return type does
865
+ * not change. Several marks combine to the least trusted; the executor
866
+ * promotes the result into `ToolResult.trust`. A host that hands a tool
867
+ * no sink gets whatever `outputTrust` declares.
868
+ */
869
+ markTrust?: (trust: TrustLevel) => void;
663
870
  }
664
871
  export interface Tool {
665
872
  name: string;
@@ -668,6 +875,19 @@ export interface Tool {
668
875
  parameters?: JsonObject;
669
876
  /** See ToolRisk. Omitted means `gated`, never `safe`. */
670
877
  risk?: ToolRisk;
878
+ /**
879
+ * Where this tool's output comes from, declared once for every call —
880
+ * `risk`'s twin for provenance. `browser.read` returns a page's text and
881
+ * `web.fetch` a document's, so both declare `external` statically; a
882
+ * tool whose output is only sometimes from outside marks the call
883
+ * instead, through `ExecutionContext.markTrust`. Omitted means `agent`:
884
+ * the tool's output is the agent's own work. The rule for declaring is a
885
+ * rule, not a list — output written by a party the operator has not
886
+ * authorized is `external` — and it is the tool's to apply, because an
887
+ * executor inferring it from a name or an output shape is the list this
888
+ * exists to retire, rebuilt one layer down.
889
+ */
890
+ outputTrust?: TrustLevel;
671
891
  /**
672
892
  * The shell command this invocation would run, for a tool whose danger
673
893
  * lives in its arguments rather than in its identity.
@@ -951,6 +1171,19 @@ export type StratusEvent = {
951
1171
  type: 'session.failed';
952
1172
  sessionId: string;
953
1173
  error: string;
1174
+ }
1175
+ /**
1176
+ * The session's trust label went down. `source` names what lowered it —
1177
+ * a tool, by name, or `memory` (an injected or recalled entry), `sender`
1178
+ * (the turn's principal), `legacy` (a transcript from before provenance
1179
+ * was tracked). Never the content: this is what the daemon log records,
1180
+ * and the log is a trace, not a transcript.
1181
+ */
1182
+ | {
1183
+ type: 'session.tainted';
1184
+ sessionId: string;
1185
+ trust: TrustLevel;
1186
+ source: string;
954
1187
  };
955
1188
  export type EventHandler = (event: StratusEvent) => void | Promise<void>;
956
1189
  export interface EventBusOptions {
@@ -1217,6 +1450,34 @@ export declare const createSkillReadTool: (skills: SkillRegistry, options?: Skil
1217
1450
  export declare const renderPersonaSection: (agent: Pick<AgentDefinition, "name" | "instructions">, options?: {
1218
1451
  fallback?: boolean;
1219
1452
  }) => string | undefined;
1453
+ /**
1454
+ * How each trust label introduces its region of the memory block. The
1455
+ * `agent` line is the one memory has always rendered under; the others say
1456
+ * what the label means, because the point of a region is that the model
1457
+ * reads a stranger's sentence as a stranger's.
1458
+ */
1459
+ export declare const memoryRegionHeading: (trust: TrustLevel) => string;
1460
+ /**
1461
+ * The memory block, one region per trust label present, most trusted
1462
+ * first, entries in the order given within each.
1463
+ *
1464
+ * The invariant this enforces: nothing in the prompt derived from an entry
1465
+ * renders under a higher label than that entry carries. Stated over the
1466
+ * whole ordering rather than over `external` alone, because `unknown`
1467
+ * stopped being only a legacy artifact the moment an unauthorized sender's
1468
+ * message started producing it. An entry with no label renders in the
1469
+ * `unknown` region — never as the agent's own conclusion.
1470
+ */
1471
+ /**
1472
+ * `text` on one line, every control character spelled out the way JSON
1473
+ * does (`\n`, `\u001b`), C1 controls and the Unicode line separators
1474
+ * included. The memory block and `stratus memory list` both frame an entry
1475
+ * by its line — `- ` under a region heading, an indent under an id — and a
1476
+ * fact holding a newline could otherwise start a line of its own that reads
1477
+ * as a heading, the trusted region's heading among them. Escaped rather
1478
+ * than dropped, so what is shown is still what is stored.
1479
+ */
1480
+ export declare const escapeControlCharacters: (text: string) => string;
1220
1481
  export declare const renderMemorySection: (memory: readonly MemoryEntry[] | undefined) => string | undefined;
1221
1482
  /**
1222
1483
  * The skills block: one line per enabled skill — id, name, and the
@@ -1264,9 +1525,93 @@ export declare const renderSystemPromptParts: (request: Pick<ProviderRequest, "s
1264
1525
  export declare const renderSystemPromptSections: (request: Pick<ProviderRequest, "session" | "memory" | "skills">, options?: SystemPromptOptions) => string[];
1265
1526
  /** The sections joined the way single-string providers send them. */
1266
1527
  export declare const renderSystemPrompt: (request: Pick<ProviderRequest, "session" | "memory" | "skills">, options?: SystemPromptOptions) => string | undefined;
1528
+ /**
1529
+ * The two producer channels, collected for one call: the tool's standing
1530
+ * `outputTrust` declaration and whatever the tool marks through the
1531
+ * `markTrust` sink during the call. `resolve()` is the label the executor
1532
+ * promotes into the result — the least trusted of everything that fired,
1533
+ * `agent` when nothing did.
1534
+ */
1535
+ export interface TrustMarking {
1536
+ /** The context to hand the tool: the caller's, with the sink attached. */
1537
+ context: ExecutionContext;
1538
+ resolve(): TrustLevel;
1539
+ }
1540
+ /**
1541
+ * Exported for every executor — `DefaultExecutor` here, `DirectExecutor`
1542
+ * and `LocalCommandExecutor` in their packages — so the promotion rule is
1543
+ * written once. An executor that inferred the label from a tool's name or
1544
+ * its output shape would be the enumerated list this replaces, rebuilt one
1545
+ * layer down; this one only reads what the tool said.
1546
+ */
1547
+ export declare const createTrustMarking: (tool: Pick<Tool, "outputTrust">, context?: ExecutionContext) => TrustMarking;
1267
1548
  export declare class DefaultExecutor implements Executor {
1268
1549
  execute(call: ToolCall, tool: Tool, session: Session, context?: ExecutionContext): Promise<ToolResult>;
1269
1550
  }
1551
+ /**
1552
+ * Where a session's trust label lives in `session.metadata`, so it survives
1553
+ * what the session survives: the gateway's store is SQLite and a thread
1554
+ * resumes across daemon restarts, and an in-memory flag would launder
1555
+ * every fact written after a restart mid-thread.
1556
+ */
1557
+ export declare const SESSION_TRUST_METADATA_KEY = "sessionTrust";
1558
+ /** What last lowered the label — a tool name, or `memory` / `sender` / `legacy`. Description, not control. */
1559
+ export declare const SESSION_TAINTED_BY_METADATA_KEY = "sessionTaintedBy";
1560
+ /**
1561
+ * A turn's principal, as the dispatching surface evaluated it — carried on
1562
+ * the *turn's* metadata (`RunInput.metadata`, `ResumeInput.metadata`) and
1563
+ * never persisted: a Slack thread keys one session for every turn in it,
1564
+ * so an authorized member can open a thread and a stranger can mention the
1565
+ * agent inside it afterwards. Read off the session, the first sender's
1566
+ * trust would cover the stranger's message forever. Absent means `user`,
1567
+ * which is what every path without a channel already assumes: the
1568
+ * machine's owner is the operator.
1569
+ */
1570
+ export declare const SENDER_TRUST_METADATA_KEY = "senderTrust";
1571
+ /**
1572
+ * A session's current label. `unknown` when none is recorded — a session
1573
+ * from before provenance was tracked — which is the reading every consumer
1574
+ * must share: absence of provenance is not evidence of trust.
1575
+ */
1576
+ export declare const sessionTrustOf: (session: Pick<Session, "metadata">) => TrustLevel;
1577
+ /** What last lowered a session's label, when something did. */
1578
+ export declare const sessionTaintedBy: (session: Pick<Session, "metadata">) => string | undefined;
1579
+ /**
1580
+ * The trust a turn's sender earns, from the turn's metadata. See
1581
+ * `SENDER_TRUST_METADATA_KEY`. No key at all is the operator's own call —
1582
+ * the CLI, a control API client holding the token. A key holding anything
1583
+ * but a label is a channel that meant to say something and misspelled it,
1584
+ * and a misspelled authorization is not one: it reads `unknown`, the label
1585
+ * for provenance nobody can vouch for, never `user`.
1586
+ */
1587
+ export declare const senderTrustOf: (metadata: JsonObject | undefined) => TrustLevel;
1588
+ /**
1589
+ * Whether a label is a taint — content from outside the boundary, or
1590
+ * content nobody can vouch for. `user` and `agent` are both inside it: an
1591
+ * agent's own work in its operator's conversation is the ordinary case, not
1592
+ * a lowering worth announcing.
1593
+ */
1594
+ export declare const isTaintedTrust: (trust: TrustLevel) => boolean;
1595
+ /**
1596
+ * The label content the agent itself produces in this session carries — a
1597
+ * remembered fact, a prompt it delegates, a schedule it sets. At most
1598
+ * `agent`, whatever the session's own label: a restatement is the agent's
1599
+ * even when everything it restated was the operator's, which is what keeps
1600
+ * `user` meaning "a person said this" rather than "an agent said this to a
1601
+ * person". Below that, the session's label wins, so a session that has
1602
+ * seen `unknown` or `external` content writes that.
1603
+ */
1604
+ export declare const sessionWriteTrust: (session: Pick<Session, "metadata">) => TrustLevel;
1605
+ /**
1606
+ * Lower a session's label to `trust` if that is lower than what it has,
1607
+ * recording `source` as the reason when the result is a taint. Monotonic: a
1608
+ * label never rises within a session, because raising it would need a
1609
+ * claim about what left the context, which nothing can make honestly.
1610
+ * Writes the key even when nothing lowers, so a session the runner has
1611
+ * evaluated is distinguishable from one it never saw. Returns whether the
1612
+ * label moved.
1613
+ */
1614
+ export declare const lowerSessionTrust: (session: Session, trust: TrustLevel, source: string) => boolean;
1270
1615
  export declare class AllowAllApprovalPolicy implements ApprovalPolicy {
1271
1616
  approve(): Promise<boolean>;
1272
1617
  }
@@ -1282,6 +1627,14 @@ export interface RunInput {
1282
1627
  export interface ResumeInput {
1283
1628
  sessionId: string;
1284
1629
  userMessage: string;
1630
+ /**
1631
+ * This turn's metadata — read for the sender's trust
1632
+ * (`SENDER_TRUST_METADATA_KEY`) and not merged into the session's. The
1633
+ * principal is a property of the turn, and a resumed turn that could not
1634
+ * say who sent it would hand a stranger's message the first sender's
1635
+ * trust.
1636
+ */
1637
+ metadata?: JsonObject;
1285
1638
  /** Aborting fails the turn cleanly; see RunAbortedError. */
1286
1639
  signal?: AbortSignal;
1287
1640
  }
@@ -1356,6 +1709,22 @@ export declare class AgentRunner {
1356
1709
  constructor(options: AgentRunnerOptions);
1357
1710
  initialize(): Promise<void>;
1358
1711
  run(input: RunInput): Promise<Session>;
1712
+ /**
1713
+ * Lower the session's label and say so on the bus when it moved. The one
1714
+ * place the label is written during a turn, so every reason for a drop
1715
+ * — a tool's result, an injected entry, a sender, a legacy transcript —
1716
+ * is announced the same way and by name only.
1717
+ */
1718
+ private taint;
1719
+ /**
1720
+ * A session with no label was written before provenance was tracked. It
1721
+ * reads `unknown` from here on, and the transcript it carries — which may
1722
+ * already hold hostile page content — is the reason: treating that
1723
+ * absence as untainted keeps the laundering path open for every
1724
+ * pre-upgrade conversation, the one corpus guaranteed to exist on the day
1725
+ * this shipped. Marking it `external` would be the other overcorrection.
1726
+ */
1727
+ private labelLegacySession;
1359
1728
  resume(input: ResumeInput): Promise<Session>;
1360
1729
  /**
1361
1730
  * Appends a synthetic failed result directly after every tool call that
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,UAAU,GAAG,SAAS,EAAE,CAAC;AACpF,MAAM,MAAM,UAAU,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC;AAEtD;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,SAAS,GAAG,kBAAkB,GAAG,WAAW,GAAG,QAAQ,CAAC;AAC7F,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,CAAC;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