@mono-agent/web 0.20.11 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/README.md +397 -68
  2. package/dist/contracts.d.ts +437 -8
  3. package/dist/contracts.d.ts.map +1 -1
  4. package/dist/contracts.js +2 -0
  5. package/dist/contracts.js.map +1 -1
  6. package/dist/cron-reply-context.d.ts +27 -0
  7. package/dist/cron-reply-context.d.ts.map +1 -0
  8. package/dist/cron-reply-context.js +241 -0
  9. package/dist/cron-reply-context.js.map +1 -0
  10. package/dist/discovery.d.ts +1 -0
  11. package/dist/discovery.d.ts.map +1 -1
  12. package/dist/discovery.js +8 -6
  13. package/dist/discovery.js.map +1 -1
  14. package/dist/effort-ladder.d.ts +111 -0
  15. package/dist/effort-ladder.d.ts.map +1 -0
  16. package/dist/effort-ladder.js +155 -0
  17. package/dist/effort-ladder.js.map +1 -0
  18. package/dist/index.d.ts +3 -3
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +1 -1
  21. package/dist/index.js.map +1 -1
  22. package/dist/long-lived-fetch.d.ts +5 -0
  23. package/dist/long-lived-fetch.d.ts.map +1 -0
  24. package/dist/long-lived-fetch.js +22 -0
  25. package/dist/long-lived-fetch.js.map +1 -0
  26. package/dist/monitor-reply.d.ts +10 -0
  27. package/dist/monitor-reply.d.ts.map +1 -0
  28. package/dist/monitor-reply.js +67 -0
  29. package/dist/monitor-reply.js.map +1 -0
  30. package/dist/notification-client.d.ts +11 -2
  31. package/dist/notification-client.d.ts.map +1 -1
  32. package/dist/notification-client.js +5 -4
  33. package/dist/notification-client.js.map +1 -1
  34. package/dist/notification-ingress.d.ts +8 -1
  35. package/dist/notification-ingress.d.ts.map +1 -1
  36. package/dist/notification-ingress.js +28 -6
  37. package/dist/notification-ingress.js.map +1 -1
  38. package/dist/operator-client.d.ts +35 -2
  39. package/dist/operator-client.d.ts.map +1 -1
  40. package/dist/operator-client.js +276 -9
  41. package/dist/operator-client.js.map +1 -1
  42. package/dist/server.d.ts +42 -1
  43. package/dist/server.d.ts.map +1 -1
  44. package/dist/server.js +679 -52
  45. package/dist/server.js.map +1 -1
  46. package/dist/service.d.ts +299 -18
  47. package/dist/service.d.ts.map +1 -1
  48. package/dist/service.js +1915 -160
  49. package/dist/service.js.map +1 -1
  50. package/dist/store-migrations.d.ts +23 -0
  51. package/dist/store-migrations.d.ts.map +1 -0
  52. package/dist/store-migrations.js +212 -0
  53. package/dist/store-migrations.js.map +1 -0
  54. package/dist/store.d.ts +389 -21
  55. package/dist/store.d.ts.map +1 -1
  56. package/dist/store.js +2087 -245
  57. package/dist/store.js.map +1 -1
  58. package/package.json +9 -8
  59. package/webapp/dist/assets/{assistant-ui-BzN2E6n6.js → assistant-ui-pZmGxIp2.js} +16 -16
  60. package/webapp/dist/assets/index-6uQ7TVQe.css +1 -0
  61. package/webapp/dist/assets/index-CsSMjSgW.js +156 -0
  62. package/webapp/dist/assets/{markdown-Vq23xgh7.js → markdown-Du5t10ja.js} +1 -1
  63. package/webapp/dist/badge-96.png +0 -0
  64. package/webapp/dist/index.html +26 -6
  65. package/webapp/dist/manifest.webmanifest +1 -1
  66. package/webapp/dist/notification-sw.js +3 -1
  67. package/webapp/dist/sw.js +1 -1
  68. package/webapp/dist/{workbox-9c191d2f.js → workbox-2fbc6a65.js} +1 -1
  69. package/webapp/dist/assets/index-BT463dRM.css +0 -1
  70. package/webapp/dist/assets/index-Co-qDQPq.js +0 -155
package/dist/service.d.ts CHANGED
@@ -1,9 +1,16 @@
1
- import { type AgentReplyPart, type AgentMcpAppHostRequest, type AgentMcpAppResource, type ChannelAskAnswer, type ChannelAskSnapshot, type ChannelAskSubmissionResult, type ProcessJobProjection } from "@mono-agent/agent-contracts";
2
- import { type CreateWebUploadInput, type PatchWebAgentInput, type StartWebTurnInput, type WebAgentSummary, type WebAttachment, type WebBootstrap, type WebChannelConfigView, type WebCronMutationResult, type WebCronOverview, type WebCronRunSummary, type WebCronRunPage, type WebEvent, type WebLiveInputReceipt, type WebMessage, type WebMessagePart, type WebThreadNotificationTriggerKind, type WebSkillRegistry, type WebThread, type WebThreadDetail, type WebThreadPage, type WebThreadSearchPage, type SearchWebThreadsInput, type WebMessagePage, type WebPushSubscriptionStatus } from "./contracts.js";
1
+ import { type AgentReplyPart, type AgentMcpAppHostRequest, type AgentMcpAppResource, type ChannelAskAnswer, type ChannelAskSnapshot, type ChannelAskSubmissionResult, type MonitorProjection, type ProcessJobProjection, type ProviderAuthSessionInput, type ProviderAuthSessionSnapshot, type ProviderAuthSessionStartInput, type ProviderAuthStatusSnapshot, type ProviderAuthCheckSessionSnapshot, type ProviderAuthCheckStartInput } from "@mono-agent/agent-contracts";
2
+ import { type CreateWebUploadInput, type CreateWebCronReplyInput, type CreateWebThreadInput, type PatchWebAgentInput, type PatchWebThreadInput, type PutWebAgentRunSettingsInput, type StartWebTurnInput, type StartWebSubmissionInput, type WebAgentSummary, type WebAttachment, type WebBootstrap, type WebBootstrapScope, type WebChannelConfigView, type WebCronMutationResult, type WebCronOverview, type WebCronRunSummary, type WebCronRunPage, type WebCronReplyReceipt, type WebEvent, type WebLiveInputReceipt, type WebSubmissionReceipt, type WebMessage, type WebMessagePart, type WebThreadNotificationTriggerKind, type WebSkillRegistry, type WebThread, type WebThreadDetail, type WebThreadPage, type WebThreadSearchPage, type SearchWebThreadsInput, type WebMessagePage, type WebModelPage, type WebPushSubscriptionStatus } from "./contracts.js";
3
3
  import { type DiscoverOperatorAgentsOptions, type DiscoveredOperatorAgent } from "./discovery.js";
4
4
  import { type WebPushDnsResolver, type WebPushSend } from "./push.js";
5
5
  import { type WebStatePathOptions } from "./state-paths.js";
6
6
  import { WebStore, type StoredAttachment } from "./store.js";
7
+ /**
8
+ * `?full=1`: serve the transcript exactly as recorded. The escape hatch for an
9
+ * operator (or a support read) who needs the payloads the console elides.
10
+ */
11
+ export interface WebTranscriptShape {
12
+ readonly full?: boolean;
13
+ }
7
14
  export interface WebServiceLogger {
8
15
  debug?(message: string, metadata?: Readonly<Record<string, unknown>>): void;
9
16
  info?(message: string, metadata?: Readonly<Record<string, unknown>>): void;
@@ -51,7 +58,15 @@ export interface DeliverWebProcessJobNotificationInput {
51
58
  readonly text?: string;
52
59
  readonly parts?: readonly AgentReplyPart[];
53
60
  }
54
- export type DeliverWebNotificationInput = DeliverWebThreadNotificationInput | DeliverWebProcessJobNotificationInput;
61
+ export interface DeliverWebMonitorNotificationInput {
62
+ readonly sourceId: string;
63
+ readonly triggerKind: "monitor";
64
+ readonly deliveryKey: string;
65
+ readonly threadId: string;
66
+ readonly monitor: MonitorProjection;
67
+ readonly wakePrompt: string;
68
+ }
69
+ export type DeliverWebNotificationInput = DeliverWebThreadNotificationInput | DeliverWebProcessJobNotificationInput | DeliverWebMonitorNotificationInput;
55
70
  export interface DeliverWebNotificationResult {
56
71
  readonly thread?: WebThread;
57
72
  readonly duplicate: boolean;
@@ -79,9 +94,11 @@ export declare class WebService {
79
94
  private readonly drainingLiveInputThreads;
80
95
  private readonly activeUploads;
81
96
  private readonly activeNotifications;
82
- private readonly processJobWakeTails;
83
- private readonly processJobWakeReservations;
84
- private readonly activeProcessJobWakes;
97
+ private readonly activeCronReplies;
98
+ /** One serialization lane shared by queued user input and every host wake kind. */
99
+ private readonly hostWakeTails;
100
+ private readonly hostWakeReservations;
101
+ private readonly activeHostWakes;
85
102
  private readonly allowlist;
86
103
  private readonly attachmentTurnBudget;
87
104
  private readonly pushIdentity;
@@ -90,6 +107,20 @@ export declare class WebService {
90
107
  private readonly replyAccessKey;
91
108
  private readonly askWatches;
92
109
  private connections;
110
+ /**
111
+ * Source id -> the capability signature projected for it on the last
112
+ * discovery pass. No projected capability is on the summary or in the store,
113
+ * so this is the only record of them that survives a poll -- and the only way
114
+ * `refreshAgentsOnce` can tell that provider authentication itself moved.
115
+ */
116
+ private projectedCapabilities;
117
+ /** Bounded catalog-admitted model refs per agent, seeded from `modelOptions`
118
+ * and appended to by every proxied `/v1/models` page. Admission is `has`,
119
+ * metadata is `get`. Map preserves insertion order, so evicting the oldest
120
+ * entry is deleting the head. Scoped to the agent GENERATION that filled it
121
+ * (see `reconcileModelCatalogCache`), because a source id outlives the
122
+ * process behind it. */
123
+ private readonly modelCatalogCache;
93
124
  /** Parts whose durable copy is being fetched, so concurrent reads fetch once. */
94
125
  private persistingReplyImages;
95
126
  private discoveryTimer;
@@ -101,9 +132,41 @@ export declare class WebService {
101
132
  private stopped;
102
133
  private constructor();
103
134
  static create(options?: CreateWebServiceOptions): Promise<WebService>;
104
- bootstrap(): Promise<Omit<WebBootstrap, "console">>;
105
- createThread(sourceId: string): WebThread;
106
- thread(id: string): WebThreadDetail;
135
+ bootstrap(scope?: WebBootstrapScope): Promise<Omit<WebBootstrap, "console">>;
136
+ /**
137
+ * The one bucket a bootstrap answers with.
138
+ *
139
+ * An absent or unknown `sourceId` is the ordinary case, not an error: the
140
+ * first request a fresh console makes has no selection to name, and a
141
+ * console whose stored agent has since gone away must still get a console.
142
+ * The chain is the one the browser resolves its own selection with -- the
143
+ * agent of the conversation the console was last in, else the first agent
144
+ * that can answer, else the first agent at all.
145
+ */
146
+ private bootstrapSourceId;
147
+ /**
148
+ * The only place provider authentication is projected onto an agent summary.
149
+ *
150
+ * It is derived from the live operator connection's `/v1/info` response.
151
+ * `supportsProviderAuth` has an `agents` column, but the stored presentation
152
+ * bit is never authorization to call an agent. Keeping the field off discovery
153
+ * summaries prevents every heartbeat from looking like a fleet change.
154
+ *
155
+ * Provider authentication also requires a live connection deliberately:
156
+ * `requireProviderAuthConnection` refuses without one, so advertising it to a
157
+ * browser that cannot use it would expose a button whose route only 409s.
158
+ *
159
+ * `refreshAgentsOnce` tracks this projection explicitly so real transitions
160
+ * still emit `agents.changed` without treating heartbeats as changes.
161
+ */
162
+ private decorateProjectedCapabilities;
163
+ /**
164
+ * Compared pass to pass, this says provider authentication moved when
165
+ * nothing on the stored summary did.
166
+ */
167
+ private projectedCapabilitySignature;
168
+ createThread(sourceId: string, input?: Omit<CreateWebThreadInput, "sourceId">): WebThread;
169
+ thread(id: string, options?: WebTranscriptShape): WebThreadDetail;
107
170
  threadsPage(input: {
108
171
  readonly sourceId: string;
109
172
  readonly archived: boolean;
@@ -118,7 +181,26 @@ export declare class WebService {
118
181
  messagePage(threadId: string, input: {
119
182
  readonly limit?: number;
120
183
  readonly before?: string;
121
- }): WebMessagePage;
184
+ } & WebTranscriptShape): WebMessagePage;
185
+ /**
186
+ * ONE message, at the version it currently holds.
187
+ *
188
+ * The recovery a streamed transcript needs: a console whose delta no longer
189
+ * chains onto the `seq` it is holding re-reads the one message rather than
190
+ * the conversation around it. Addressed by (conversation, message) for the
191
+ * same reason the tool-call read is -- a message id is not a capability, and
192
+ * a lookup that took it alone would serve any caller any conversation.
193
+ */
194
+ message(threadId: string, messageId: string, options?: WebTranscriptShape): WebMessage;
195
+ /**
196
+ * The untruncated payloads of ONE tool call, for a transcript that was served
197
+ * a preview of it.
198
+ *
199
+ * Addressed by (conversation, message, tool call) rather than by tool-call id
200
+ * alone: the id is not a capability, and a lookup that took it on its own
201
+ * would hand any caller any conversation's transcript.
202
+ */
203
+ toolCallPart(threadId: string, messageId: string, toolCallId: string): WebMessagePart;
122
204
  /**
123
205
  * Re-mint a browser capability from the authoritative durable message. The
124
206
  * HTTP route supplies exact-origin console authority; stale access tokens are
@@ -130,6 +212,8 @@ export declare class WebService {
130
212
  type: "attachment";
131
213
  }>;
132
214
  readonly response: Response;
215
+ /** See {@link WebService.authorizeReplyPart}; the route's `max-age`. */
216
+ readonly remainingSeconds: number;
133
217
  }>;
134
218
  mcpAppResource(threadId: string, messageId: string, partId: string, expires: string, token: string, signal?: AbortSignal): Promise<AgentMcpAppResource>;
135
219
  mcpAppRequest(threadId: string, messageId: string, partId: string, expires: string, token: string, input: Pick<AgentMcpAppHostRequest, "method" | "params" | "confirmed">, signal?: AbortSignal): Promise<unknown>;
@@ -150,12 +234,13 @@ export declare class WebService {
150
234
  pendingAsk(threadId: string): Promise<ChannelAskSnapshot | undefined>;
151
235
  ask(threadId: string, interactionId: string): Promise<ChannelAskSnapshot | undefined>;
152
236
  submitAsk(threadId: string, interactionId: string, answers: readonly ChannelAskAnswer[]): Promise<ChannelAskSubmissionResult>;
153
- patchThread(id: string, patch: {
154
- readonly title?: string;
155
- readonly archived?: boolean;
156
- }): WebThread;
157
- deleteThread(id: string): Promise<void>;
237
+ patchThread(id: string, patch: PatchWebThreadInput): WebThread;
238
+ deleteThread(id: string, options?: {
239
+ readonly emptyOnly?: boolean;
240
+ }): Promise<void>;
158
241
  patchAgent(sourceId: string, patch: PatchWebAgentInput): WebAgentSummary;
242
+ setAgentRunDefaults(sourceId: string, input: PutWebAgentRunSettingsInput): WebAgentSummary;
243
+ clearAgentRunDefaults(sourceId: string): WebAgentSummary;
159
244
  agentSkills(sourceId: string): WebSkillRegistry;
160
245
  cronOverview(sourceId: string): Promise<WebCronOverview>;
161
246
  cronRuns(sourceId: string, jobId: string, input: {
@@ -163,6 +248,24 @@ export declare class WebService {
163
248
  readonly before?: string;
164
249
  }): Promise<WebCronRunPage>;
165
250
  cronRun(sourceId: string, jobId: string, runId: string): Promise<WebMessage>;
251
+ createCronReplyThread(sourceId: string, jobId: string, runId: string, input: CreateWebCronReplyInput): Promise<WebCronReplyReceipt>;
252
+ private createCronReplyThreadOnce;
253
+ private assertCronReplyStateIdentity;
254
+ private cronReplyTerminalResult;
255
+ agentModels(sourceId: string, input: {
256
+ readonly provider?: string;
257
+ readonly q?: string;
258
+ readonly cursor?: string;
259
+ readonly limit: number;
260
+ }): Promise<WebModelPage>;
261
+ providerAuthStatus(sourceId: string): Promise<ProviderAuthStatusSnapshot>;
262
+ startProviderAuth(sourceId: string, input: ProviderAuthSessionStartInput): Promise<ProviderAuthSessionSnapshot>;
263
+ providerAuthSession(sourceId: string, sessionId: string): Promise<ProviderAuthSessionSnapshot>;
264
+ submitProviderAuth(sourceId: string, sessionId: string, input: ProviderAuthSessionInput): Promise<ProviderAuthSessionSnapshot>;
265
+ cancelProviderAuth(sourceId: string, sessionId: string): Promise<void>;
266
+ startProviderAuthCheck(sourceId: string, input: ProviderAuthCheckStartInput): Promise<ProviderAuthCheckSessionSnapshot>;
267
+ providerAuthCheck(sourceId: string, checkId: string): Promise<ProviderAuthCheckSessionSnapshot>;
268
+ cancelProviderAuthCheck(sourceId: string, checkId: string): Promise<void>;
166
269
  cronConfigView(sourceId: string): Promise<WebChannelConfigView>;
167
270
  cronRunNow(sourceId: string, jobId: string, input: {
168
271
  readonly idempotencyKey: string;
@@ -183,6 +286,8 @@ export declare class WebService {
183
286
  readonly thread: WebThread;
184
287
  readonly turn: WebThread["runState"];
185
288
  }>;
289
+ submit(threadId: string, input: StartWebSubmissionInput): WebSubmissionReceipt;
290
+ submission(threadId: string, submissionId: string): WebSubmissionReceipt;
186
291
  submitLiveInput(threadId: string, text: string): WebLiveInputReceipt;
187
292
  cancelTurn(threadId: string): Promise<WebThread>;
188
293
  createUpload(input: CreateWebUploadInput): WebAttachment;
@@ -192,21 +297,87 @@ export declare class WebService {
192
297
  removeUpload(id: string): Promise<void>;
193
298
  subscribe(callback: (event: WebEvent) => boolean | void): () => void;
194
299
  readyEvent(): WebEvent;
300
+ /**
301
+ * The id a conversation is known by NOW, following whatever superseded it.
302
+ *
303
+ * Every read resolves redirects on its way through the store; the event
304
+ * stream matches its subscription by string equality against the id events
305
+ * carry, so it has to ask for the same resolution explicitly. An id nothing
306
+ * superseded resolves to itself, so this is safe for any string.
307
+ */
308
+ resolveThreadId(id: string): string;
195
309
  refreshAgents(): Promise<void>;
196
310
  stop(): Promise<void>;
197
311
  private runTurn;
198
312
  private launchTurn;
313
+ private submissionReceipt;
314
+ private dispatchTargetedSubmission;
199
315
  private deliverLiveInput;
200
316
  private drainQueuedLiveInputs;
201
317
  private deliverProcessJobWake;
202
- private retainProcessJobWakeReservation;
203
- private releaseProcessJobWakeReservation;
318
+ private deliverMonitorWake;
319
+ private retainHostWakeReservation;
320
+ private releaseHostWakeReservation;
204
321
  private deliverNotificationOnce;
205
322
  private toAgentAttachment;
206
323
  private refreshAgentsOnce;
324
+ private requireProviderAuthConnection;
325
+ private providerAuthCall;
326
+ private providerAuthCheckCall;
207
327
  private startTimers;
208
328
  private purgeOrphans;
209
329
  private purgeOrphansOnce;
330
+ /**
331
+ * A listing event that names a conversation AND describes it.
332
+ *
333
+ * The id comes off the payload, so the two can never disagree: an event that
334
+ * named one conversation while carrying another would have every console
335
+ * apply the wrong row.
336
+ */
337
+ private emitThread;
338
+ /**
339
+ * Name every row a cron reconciliation actually wrote.
340
+ *
341
+ * A reconciliation moves a transcript and has no delta to describe it, so
342
+ * each written row reaches a console as the invalidation it answers with one
343
+ * message read. Rows the poll left alone are not announced: an unchanged page
344
+ * must cost a console nothing.
345
+ */
346
+ private announceReconciledMessages;
347
+ /**
348
+ * The same as {@link emitThread}, for a write whose caller kept no snapshot of
349
+ * what it produced -- a cron reconcile, a live-input hand-off -- so the store
350
+ * is the only place the fresh summary can come from.
351
+ *
352
+ * A conversation that is no longer there leaves nothing to describe, and the
353
+ * bulk form is the only honest scope left for a listing that did change.
354
+ */
355
+ private emitStoredThread;
356
+ /**
357
+ * Put one persisted assistant-message write on the wire as content.
358
+ *
359
+ * A streaming answer is rewritten every {@link STREAM_FLUSH_INTERVAL_MS}
360
+ * milliseconds. Announcing each one as an invalidation made every connected
361
+ * console re-read the whole conversation to find the few characters that had
362
+ * arrived, so these two paths -- the stream coalescer and the write that
363
+ * settles a turn -- say what changed instead.
364
+ *
365
+ * Three rules keep that honest:
366
+ * - A write that did not happen says nothing. `applyStreamFrames` and the
367
+ * finish both answer a settled turn with no delta at all, and a version
368
+ * nobody wrote is not a version to announce.
369
+ * - An empty `ops` list is still announced. A status-only finish moves the
370
+ * sequence number without changing a part, and a console that never heard
371
+ * about it would reject the next delta as a gap.
372
+ * - The parts inside a `set` are shaped exactly as a read would serve them,
373
+ * and a delta that would cost more than re-reading the message declines to
374
+ * the invalidation hint every other writer emits. A splice-driven finish
375
+ * re-sets every part it shifted, which is bigger than the message itself.
376
+ * That hint carries no sequence number, so the NEXT delta will not chain
377
+ * onto the last one a console applied -- which is exactly the mismatch that
378
+ * sends it to the message read.
379
+ */
380
+ private emitMessageWrite;
210
381
  private emit;
211
382
  private createEvent;
212
383
  private observeAskUserFrame;
@@ -215,11 +386,88 @@ export declare class WebService {
215
386
  private enqueueAskPush;
216
387
  private pushEventStillRelevant;
217
388
  private requireCronConnection;
389
+ /**
390
+ * Tier-2 admission: the catalog cache, seeded from `modelOptions` keys and
391
+ * appended to by every proxied `/v1/models` page.
392
+ *
393
+ * Both feeds cross an await between deciding what to admit and admitting it,
394
+ * so both name the generation they read. A write whose generation is no
395
+ * longer the one on file is dropped outright rather than filed under the
396
+ * successor: it describes a process that has been replaced, and admitting it
397
+ * is exactly the cross-generation contamination `reconcileModelCatalogCache`
398
+ * exists to prevent. Nothing is created here either -- an entry exists for
399
+ * every discovered source from the moment a refresh reconciles it, and a
400
+ * source with no entry is one discovery has dropped.
401
+ *
402
+ * @returns whether the refs were admitted.
403
+ */
404
+ private admitCatalogRefs;
405
+ /**
406
+ * Bind the cache to the agent process that filled it, and to nothing else.
407
+ * A source id outlives the process behind it: reconfigure an agent and
408
+ * restart it and the next generation advertises a different catalog under
409
+ * the same id. Keyed by id alone, generation 1's ladder judged generation
410
+ * 2's turns and rejected grades the running agent accepts, with no way to
411
+ * clear it short of restarting the console.
412
+ *
413
+ * The single place the cache is scoped, so there is one answer to "whose
414
+ * catalog is this". Runs before the per-agent probes of a refresh, so a seed
415
+ * or a proxied page during that refresh files under the current generation.
416
+ * Sources discovery no longer reports are dropped outright, or a retired
417
+ * agent's refs would accumulate for the life of the process.
418
+ */
419
+ private reconcileModelCatalogCache;
420
+ private seedModelCatalogFromOptions;
421
+ /**
422
+ * A catalog-only web default outlives this process, while the admission cache
423
+ * deliberately does not. Revalidate that one persisted ref against the live
424
+ * generation during discovery so first-use thread creation never depends on
425
+ * a browser having opened the model picker. An exact match is mandatory: a
426
+ * retired ref remains unadmitted even if the search returns close names.
427
+ */
428
+ private restorePersistedModelAdmission;
429
+ private restorePersistedModelFromProvider;
430
+ private admitModelPage;
431
+ private admitModelRef;
432
+ /** Resolve dispatch and durable attribution from the same fresh thread snapshot. */
433
+ private resolveTurnSelection;
434
+ private validateModelAndEffort;
435
+ private modelAdmitted;
436
+ private modelStrictlyAdmitted;
218
437
  private authorizeReplyPart;
219
438
  private requireReplyPart;
220
439
  private assertReplyPartRetained;
221
440
  private decorateThreadDetail;
222
- private decorateMessage;
441
+ /**
442
+ * Fold the host's provenance row into the imported-context card.
443
+ *
444
+ * The exact host-owned string is enough to identify this row: no model turn
445
+ * can own it, and the store writes it only for canonical context imports.
446
+ * Filtering independently of its neighbour is intentional, because the two
447
+ * stored rows can straddle a message-page boundary. `?full=1` remains the raw
448
+ * transcript escape hatch and therefore returns both stored rows unchanged.
449
+ */
450
+ private shapeMessages;
451
+ private isCronReplyProvenanceMessage;
452
+ /**
453
+ * The one boundary every browser-facing message crosses: it mints the
454
+ * short-lived reply capabilities, and it puts the transcript on a diet.
455
+ *
456
+ * Shaping lives HERE and never in the store. The store's parts feed the
457
+ * sidebar preview, the streamed-text split, and the transcript deltas that
458
+ * follow this change, all of which need the payloads whole and the indexes
459
+ * exactly as recorded.
460
+ */
461
+ private shapeMessage;
462
+ /**
463
+ * One part, shaped exactly as a read of its message would serve it.
464
+ *
465
+ * A streamed delta puts individual parts on the wire, and they cross the same
466
+ * boundary the transcript does. Reading the rules from one place is what keeps
467
+ * a `set` op and a re-read of the same message from disagreeing about what a
468
+ * tool result contains.
469
+ */
470
+ private shapePart;
223
471
  /**
224
472
  * Keeps the console's own copy of an image the agent published.
225
473
  *
@@ -256,5 +504,38 @@ export declare class WeightedTurnBudget {
256
504
  private grant;
257
505
  private drain;
258
506
  }
507
+ /**
508
+ * The identity of the agent PROCESS behind a source id. `sourceId` is stable
509
+ * across restarts by design, so it cannot scope anything the running process
510
+ * told us: a reconfigured agent restarts at a new endpoint, with a new pid and
511
+ * a new `startedAt`, and advertises a different catalog under the same id.
512
+ * Deliberately excludes `updatedAt`, which every heartbeat moves.
513
+ *
514
+ * This is what the model catalog cache is scoped to -- and, since the browser
515
+ * caches the same `/v1/models` pages and had nothing generation-shaped to
516
+ * watch, what `WebAgentSummary.generation` carries to it.
517
+ *
518
+ * Hashed because it now goes on the wire: the raw form names the agent's
519
+ * operator endpoint and pid, and the console has no reason to hand those to a
520
+ * page. The token only has to be stable while one process lives and different
521
+ * once it is replaced, which a digest of those three fields is.
522
+ *
523
+ * Length-prefixed rather than `|`-joined. A separator that can occur inside a
524
+ * field is not a separator: two different accepted tuples whose parts happen to
525
+ * contain the delimiter flatten to the same string and hash to the same token,
526
+ * and two distinct processes sharing a generation is precisely the state the
527
+ * token exists to make impossible. Nothing first-party produces such a tuple
528
+ * today, which is why this is robustness rather than a live defect --- but a
529
+ * digest whose only defence is what its inputs happen to look like is one
530
+ * unrelated change away from being wrong.
531
+ *
532
+ * Hashed as UTF-16 code units for the same reason the prefix replaced the
533
+ * delimiter. UTF-8 has no encoding for an unpaired surrogate, so a lone high
534
+ * surrogate and a lone low surrogate both became the replacement character and
535
+ * two different one-character fields -- identically length-prefixed -- hashed
536
+ * alike. `utf16le` is a lossless transcription of exactly the code units the
537
+ * length prefix counts, so what is hashed is what was measured.
538
+ */
539
+ export declare function agentGeneration(agent: DiscoveredOperatorAgent): string;
259
540
  export {};
260
541
  //# sourceMappingURL=service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AAGA,OAAO,EAGL,KAAK,cAAc,EAKnB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EAGxB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EAC1B,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EAWL,KAAK,oBAAoB,EACz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