@wowyuarm/dsh-agent-team 0.1.7 → 0.1.9
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/package.json +2 -1
- package/packages/agent-team/README.md +5 -3
- package/packages/agent-team/README.zh.md +5 -3
- package/packages/agent-team/core-skills/member-skill-manager/SKILL.md +2 -0
- package/packages/agent-team/lib/attachments.js +14 -4
- package/packages/agent-team/lib/context-management.js +379 -0
- package/packages/agent-team/lib/context-projection.js +574 -0
- package/packages/agent-team/lib/context-source.js +72 -0
- package/packages/agent-team/lib/index.js +1258 -54
- package/packages/agent-team/lib/ledger.js +357 -26
- package/packages/agent-team/lib/member-context.js +7 -3
- package/packages/agent-team/lib/member-runtime.js +159 -4
- package/packages/agent-team/lib/pressure-policy.js +200 -0
- package/packages/agent-team/lib/progress-nudge.js +320 -0
- package/packages/agent-team/lib/spec.js +18 -0
- package/packages/agent-team/lib/typert.host.js +124 -42
- package/packages/agent-team/lib/typert.remote-client.d.ts.map +1 -1
- package/packages/agent-team/lib/typert.remote-client.js +39 -25
- package/packages/agent-team/lib/types/attachments.d.ts +1 -1
- package/packages/agent-team/lib/types/attachments.d.ts.map +1 -1
- package/packages/agent-team/lib/types/context-management.d.ts +142 -0
- package/packages/agent-team/lib/types/context-management.d.ts.map +1 -0
- package/packages/agent-team/lib/types/context-projection.d.ts +219 -0
- package/packages/agent-team/lib/types/context-projection.d.ts.map +1 -0
- package/packages/agent-team/lib/types/context-source.d.ts +83 -0
- package/packages/agent-team/lib/types/context-source.d.ts.map +1 -0
- package/packages/agent-team/lib/types/index.d.ts +283 -2
- package/packages/agent-team/lib/types/index.d.ts.map +1 -1
- package/packages/agent-team/lib/types/ledger.d.ts +120 -7
- package/packages/agent-team/lib/types/ledger.d.ts.map +1 -1
- package/packages/agent-team/lib/types/member-context.d.ts.map +1 -1
- package/packages/agent-team/lib/types/member-runtime.d.ts +30 -2
- package/packages/agent-team/lib/types/member-runtime.d.ts.map +1 -1
- package/packages/agent-team/lib/types/pressure-policy.d.ts +106 -0
- package/packages/agent-team/lib/types/pressure-policy.d.ts.map +1 -0
- package/packages/agent-team/lib/types/progress-nudge.d.ts +136 -0
- package/packages/agent-team/lib/types/progress-nudge.d.ts.map +1 -0
- package/packages/agent-team/lib/types/spec.d.ts.map +1 -1
- package/packages/agent-team/lib/types/types/entities.d.ts +32 -1
- package/packages/agent-team/lib/types/types/entities.d.ts.map +1 -1
- package/packages/agent-team/lib/types/types/operations.d.ts +38 -3
- package/packages/agent-team/lib/types/types/operations.d.ts.map +1 -1
- package/packages/agent-team/lib/types/types/requests-results.d.ts +54 -1
- package/packages/agent-team/lib/types/types/requests-results.d.ts.map +1 -1
- package/packages/agent-team/preset/team-member/agent.cordis.yml +10 -2
- package/packages/client-agent-team/lib/client.js +283 -398
- package/packages/client-agent-team/lib/client.js.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.d.ts +1 -2
- package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.js +61 -41
- package/packages/client-agent-team/lib/types/client/TeamChannelPage.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamChannelPage.js +3 -7
- package/packages/client-agent-team/lib/types/client/TeamComposer.d.ts +3 -1
- package/packages/client-agent-team/lib/types/client/TeamComposer.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamComposer.js +37 -27
- package/packages/client-agent-team/lib/types/client/TeamConversation.d.ts +1 -1
- package/packages/client-agent-team/lib/types/client/TeamConversation.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamConversation.js +2 -2
- package/packages/client-agent-team/lib/types/client/TeamMemberAvatar.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamMemberAvatar.js +3 -2
- package/packages/client-agent-team/lib/types/client/TeamMessage.js +5 -0
- package/packages/client-agent-team/lib/types/client/TeamPresenceDot.d.ts +2 -2
- package/packages/client-agent-team/lib/types/client/TeamPresenceDot.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamPresenceDot.js +4 -6
- package/packages/client-agent-team/lib/types/client/TeamStateDot.d.ts +14 -0
- package/packages/client-agent-team/lib/types/client/TeamStateDot.d.ts.map +1 -0
- package/packages/client-agent-team/lib/types/client/TeamStateDot.js +15 -0
- package/packages/client-agent-team/lib/types/client/TeamThreadPage.d.ts +1 -0
- package/packages/client-agent-team/lib/types/client/TeamThreadPage.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamThreadPage.js +41 -16
- package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.d.ts +1 -1
- package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamWorkspaceBrowser.js +2 -2
- package/packages/client-agent-team/lib/types/client/index.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/index.js +36 -78
- package/packages/client-agent-team/lib/types/client/locales.d.ts +0 -16
- package/packages/client-agent-team/lib/types/client/locales.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/locales.js +0 -16
- package/packages/client-agent-team/lib/types/client/sidebar-drag.d.ts +1 -2
- package/packages/client-agent-team/lib/types/client/sidebar-drag.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/slots.d.ts +8 -1
- package/packages/client-agent-team/lib/types/client/slots.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/task-refs.d.ts +7 -1
- package/packages/client-agent-team/lib/types/client/task-refs.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/task-refs.js +25 -3
- package/packages/client-agent-team/lib/types/client/team-formatters.d.ts +11 -10
- package/packages/client-agent-team/lib/types/client/team-formatters.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/team-formatters.js +14 -11
- package/packages/tool-agent-team/README.md +8 -5
- package/packages/tool-agent-team/README.zh.md +8 -5
- package/packages/tool-agent-team/lib/context-tools.js +179 -0
- package/packages/tool-agent-team/lib/index.js +144 -25
- package/packages/tool-agent-team/lib/types/context-tools.d.ts +16 -0
- package/packages/tool-agent-team/lib/types/context-tools.d.ts.map +1 -0
- package/packages/tool-agent-team/lib/types/index.d.ts.map +1 -1
- package/packages/agent-team/lib/auto-compaction.js +0 -201
- package/packages/agent-team/lib/types/auto-compaction.d.ts +0 -47
- package/packages/agent-team/lib/types/auto-compaction.d.ts.map +0 -1
- package/packages/client-agent-team/lib/types/client/TeamMemberDock.d.ts +0 -12
- package/packages/client-agent-team/lib/types/client/TeamMemberDock.d.ts.map +0 -1
- package/packages/client-agent-team/lib/types/client/TeamMemberDock.js +0 -13
- package/packages/client-agent-team/lib/types/client/member-session-input.d.ts +0 -20
- package/packages/client-agent-team/lib/types/client/member-session-input.d.ts.map +0 -1
- package/packages/client-agent-team/lib/types/client/member-session-input.js +0 -110
|
@@ -7,8 +7,10 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { Context, Service } from '@deepseek-ai/cordis';
|
|
9
9
|
import { type Agent } from '@deepseek-ai/dsh-agent';
|
|
10
|
+
import { SessionId } from '@deepseek-ai/dsh-session';
|
|
10
11
|
import { TypertRemoteService } from '@deepseek-ai/dsh-typert-protocol';
|
|
11
|
-
import
|
|
12
|
+
import { type AgentTeamDurableMemberResult } from './ledger.ts';
|
|
13
|
+
import type { AgentTeamAddMemberRequest, AgentTeamAgentMember, AgentTeamAgentMemberStatus, AgentTeamArchiveChannelRequest, AgentTeamArchiveChannelResult, AgentTeamArchiveMemberRequest, AgentTeamArchiveMemberResult, AgentTeamChangesRequest, AgentTeamChangesResult, AgentTeamClaimList, AgentTeamClaimRequest, AgentTeamClaimResult, AgentTeamClientMemberStatus, AgentTeamContextCheckpointRef, AgentTeamCreateChannelRequest, AgentTeamCreateChannelResult, AgentTeamGetAttachmentRequest, AgentTeamGetAttachmentResult, AgentTeamInbox, AgentTeamInboxRequest, AgentTeamJoinChannelRequest, AgentTeamJoinChannelResult, AgentTeamMemberId, AgentTeamMemberResult, AgentTeamMembersRequest, AgentTeamResolveTaskRefsRequest, AgentTeamResolveTaskRefsResult, AgentTeamOperationReceipt, AgentTeamPromoteThreadRequest, AgentTeamPromoteThreadResult, AgentTeamPutAttachmentRequest, AgentTeamPutAttachmentResult, AgentTeamRecoverMemberRequest, AgentTeamRecoverMemberResult, AgentTeamClearMemberContextRequest, AgentTeamClearMemberContextResult, AgentTeamRolloverSessionRequest, AgentTeamDmRequest, AgentTeamDmResult, AgentTeamRemoveChannelMemberRequest, AgentTeamRemoveChannelMemberResult, AgentTeamRemoveMemberRequest, AgentTeamRemoveMemberResult, AgentTeamReplyRequest, AgentTeamReplyResult, AgentTeamSendMessageRequest, AgentTeamSendMessageResult, AgentTeamSetMemberStateRequest, AgentTeamStatus, AgentTeamTask, AgentTeamTaskRequest, AgentTeamTaskResult, AgentTeamThreadAttentionRequest, AgentTeamThreadAttentionResult, AgentTeamThreadAttentionStatus, AgentTeamThreadHistory, AgentTeamThreadHistoryRequest, AgentTeamThreadReadRequest, AgentTeamThreadReadResult, AgentTeamThreadObservations, AgentTeamThreadObservationsRequest, AgentTeamUpdateChannelRequest, AgentTeamUpdateChannelResult, AgentTeamUpdateMemberRequest, AgentTeamView, AgentTeamViewRequest } from './types.ts';
|
|
12
14
|
export { agentTeamDomainSpec, agentTeamOperationSchema } from './spec.ts';
|
|
13
15
|
export type * from './types.ts';
|
|
14
16
|
export { AGENT_TEAM_HUMAN_MEMBER_ID, AGENT_TEAM_INITIALIZE_REQUEST_ID } from './ledger.ts';
|
|
@@ -40,12 +42,77 @@ declare module '@deepseek-ai/cordis' {
|
|
|
40
42
|
'agent-team/committed'(event: AgentTeamCommitted): void;
|
|
41
43
|
}
|
|
42
44
|
}
|
|
45
|
+
/** Tool-side request for one context rollover; the Host validates without side effects. */
|
|
46
|
+
export interface AgentTeamNewContextToolRequest {
|
|
47
|
+
readonly memberId: AgentTeamMemberId;
|
|
48
|
+
/** Selected checkpoint ref from `context_timeline`; absent means fresh. */
|
|
49
|
+
readonly checkpointRef?: AgentTeamContextCheckpointRef;
|
|
50
|
+
readonly relatedFiles?: readonly {
|
|
51
|
+
readonly path: string;
|
|
52
|
+
readonly reason: string;
|
|
53
|
+
}[];
|
|
54
|
+
}
|
|
55
|
+
/** Tool-side validation outcome: which rollover mode a successful call will take. */
|
|
56
|
+
export interface AgentTeamNewContextToolOutcome {
|
|
57
|
+
readonly mode: 'fresh' | 'from-checkpoint';
|
|
58
|
+
}
|
|
59
|
+
/** Tool-side request for one explicit checkpoint; the Host validates without side effects. */
|
|
60
|
+
export interface AgentTeamCheckpointToolRequest {
|
|
61
|
+
readonly memberId: AgentTeamMemberId;
|
|
62
|
+
/** Provider-issued call id of this tool call; the stable ref derives from it. */
|
|
63
|
+
readonly callId: string;
|
|
64
|
+
readonly name: string;
|
|
65
|
+
}
|
|
66
|
+
/** Tool-side checkpoint validation outcome: the deterministic ref the result will carry. */
|
|
67
|
+
export interface AgentTeamCheckpointToolOutcome {
|
|
68
|
+
readonly checkpointRef: AgentTeamContextCheckpointRef;
|
|
69
|
+
readonly name: string;
|
|
70
|
+
}
|
|
71
|
+
/** Tool-side request for the bounded structural context timeline. */
|
|
72
|
+
export interface AgentTeamTimelineToolRequest {
|
|
73
|
+
readonly memberId: AgentTeamMemberId;
|
|
74
|
+
readonly limit?: number;
|
|
75
|
+
}
|
|
76
|
+
/** One structural timeline item: a checkpoint or boundary candidate with pricing. */
|
|
77
|
+
export interface AgentTeamTimelineItem {
|
|
78
|
+
/** Opaque stable ref; the selection surface for `context_rollover.checkpointRef`. */
|
|
79
|
+
readonly checkpointRef: string;
|
|
80
|
+
/** Semantic label: the model-supplied checkpoint name or boundary label. */
|
|
81
|
+
readonly name: string;
|
|
82
|
+
/** Which structural source produced this item. */
|
|
83
|
+
readonly source: 'agent' | 'team-boundary' | 'handoff' | 'compaction' | 'head';
|
|
84
|
+
/** Approximate tokens a return would retain (the prefix through this anchor). */
|
|
85
|
+
readonly retainedTokens: number;
|
|
86
|
+
/** Approximate tokens a return would discard (the suffix after this anchor). */
|
|
87
|
+
readonly discardedTokens: number;
|
|
88
|
+
/**
|
|
89
|
+
* Threads whose facts entered this Session's model context by this anchor
|
|
90
|
+
* (delivered Team notices only — never unread ledger activity). Empty when
|
|
91
|
+
* nothing attributable was delivered.
|
|
92
|
+
*/
|
|
93
|
+
readonly affectedThreads: readonly string[];
|
|
94
|
+
/** Whether `context_rollover` accepts this ref as a seed target. */
|
|
95
|
+
readonly restorable: boolean;
|
|
96
|
+
/** When not restorable, the concise reason. */
|
|
97
|
+
readonly reason?: string;
|
|
98
|
+
/** Session the candidate anchors in; present for non-current-generation sources. */
|
|
99
|
+
readonly sourceSessionId?: SessionId;
|
|
100
|
+
}
|
|
101
|
+
/** Tool-side timeline outcome: usage plus the bounded structural candidate list. */
|
|
102
|
+
export interface AgentTeamTimelineToolResult {
|
|
103
|
+
readonly usageTokens: number;
|
|
104
|
+
readonly hardLimit: number;
|
|
105
|
+
readonly handoffAt: number;
|
|
106
|
+
readonly items: readonly AgentTeamTimelineItem[];
|
|
107
|
+
}
|
|
43
108
|
/** Host owner of the single Agent Team in one dshHome. */
|
|
44
109
|
export default class AgentTeam extends TypertRemoteService {
|
|
45
110
|
static inject: string[];
|
|
46
111
|
private domain?;
|
|
47
112
|
private ledger?;
|
|
48
113
|
private readonly handles;
|
|
114
|
+
/** Live Member per session id; drives the root session/event listener. */
|
|
115
|
+
private readonly memberBySessionId;
|
|
49
116
|
/** Live selection refs let model edits take effect without disposing the Session. */
|
|
50
117
|
private readonly modelSelections;
|
|
51
118
|
/** Agent ids with a turn in flight; restarts must wait for the boundary. */
|
|
@@ -60,10 +127,24 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
60
127
|
* stale keys.
|
|
61
128
|
*/
|
|
62
129
|
private readonly memberFailures;
|
|
63
|
-
private readonly
|
|
130
|
+
private readonly pressurePolicy;
|
|
64
131
|
private readonly notifiedInbox;
|
|
65
132
|
private attachmentGcTimer?;
|
|
66
133
|
private readonly recovery;
|
|
134
|
+
/**
|
|
135
|
+
* Advisory progress-visibility nudges. Purely in-process: the ledger owns
|
|
136
|
+
* eligibility, this coordinator owns counting and notices, and neither ever
|
|
137
|
+
* writes Team facts. See docs/team-collaboration.md for the regimes.
|
|
138
|
+
*/
|
|
139
|
+
private readonly progressNudge;
|
|
140
|
+
/**
|
|
141
|
+
* Context self-management: the one deep module that turns a Member's
|
|
142
|
+
* successful `context_rollover` tool result into its next private context
|
|
143
|
+
* generation. The ledger owns the binding audit, the Session projection
|
|
144
|
+
* owns intent, and this coordinator owns only reconstructible process
|
|
145
|
+
* state. See docs/architecture.md and docs/team-collaboration.md.
|
|
146
|
+
*/
|
|
147
|
+
private readonly contextManagement;
|
|
67
148
|
private lifecycleTail;
|
|
68
149
|
private accepting;
|
|
69
150
|
private changeVersion;
|
|
@@ -71,6 +152,15 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
71
152
|
constructor(ctx: Context);
|
|
72
153
|
/** Open the durable ledger and restore every enabled Member independently. */
|
|
73
154
|
protected [Service.init](): Promise<void>;
|
|
155
|
+
/**
|
|
156
|
+
* Whether one Member Session has durable persisted content, decided through
|
|
157
|
+
* {@link SessionPersistenceService.inspect} rather than a bare metadata
|
|
158
|
+
* listing: inspection first awaits any in-flight retirement drain for the
|
|
159
|
+
* id, so a resume racing a suspend's fire-and-forget final flush cannot
|
|
160
|
+
* mistake a still-draining persisted Session for an unpersisted one and
|
|
161
|
+
* fork a fresh generation over it.
|
|
162
|
+
*/
|
|
163
|
+
private sessionPersisted;
|
|
74
164
|
/** Resolve one exact live Agent to its durable Team Member; forks do not inherit identity. */
|
|
75
165
|
memberForAgent(agent: Agent): AgentTeamAgentMember | undefined;
|
|
76
166
|
/** Return every durable Member with current process availability. */
|
|
@@ -119,6 +209,22 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
119
209
|
* grayed session view.
|
|
120
210
|
*/
|
|
121
211
|
clearMemberContext(request: AgentTeamClearMemberContextRequest): Promise<AgentTeamClearMemberContextResult>;
|
|
212
|
+
/**
|
|
213
|
+
* Retire one Member's previous generation after its durable binding moved
|
|
214
|
+
* onto a new Session id: drop the old handle's transient state, dispose the
|
|
215
|
+
* Agent, and archive the old Session log (which stays on disk for history).
|
|
216
|
+
* Shared by the Human clear path and the model-initiated rollover.
|
|
217
|
+
*/
|
|
218
|
+
private retireMemberGeneration;
|
|
219
|
+
/**
|
|
220
|
+
* Execute one prepared context rollover at a true idle boundary: commit the
|
|
221
|
+
* idempotent Member-actor operation, retire the previous generation, and
|
|
222
|
+
* activate the fresh Session whose first model-facing context is the
|
|
223
|
+
* Member's own handoff. Later non-Team input captured during the transition
|
|
224
|
+
* is delivered after the handoff; the Team Inbox is rederived from the
|
|
225
|
+
* ledger, never copied.
|
|
226
|
+
*/
|
|
227
|
+
private executeMemberTransition;
|
|
122
228
|
/** Ledger handle for log lines; falls back to the raw id when unknown. */
|
|
123
229
|
private memberLabel;
|
|
124
230
|
/**
|
|
@@ -224,6 +330,16 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
224
330
|
}): AgentTeamClaimList;
|
|
225
331
|
inboxForAgent(agent: Agent, request: AgentTeamInboxRequest): AgentTeamInbox;
|
|
226
332
|
readThreadForAgent(agent: Agent, request: AgentTeamThreadReadRequest): Promise<AgentTeamThreadReadResult>;
|
|
333
|
+
/**
|
|
334
|
+
* Context advice for one acceptance acknowledged by this read: only when
|
|
335
|
+
* the read carried an unread accept activity AND the Task is still done.
|
|
336
|
+
* Repeat reads (nothing unread), history-style reads, and reopened Tasks
|
|
337
|
+
* carry no advice — the acceptance no longer stands.
|
|
338
|
+
*/
|
|
339
|
+
private acceptanceContextAdvice;
|
|
340
|
+
/** Price the reading Member's context against its current route's budgets. */
|
|
341
|
+
private contextAdviceFor;
|
|
342
|
+
private unavailableAdvice;
|
|
227
343
|
/**
|
|
228
344
|
* Agent-only direct message: append the audit-only dm-sent operation, then
|
|
229
345
|
* inject the body into the recipient's live session. The ledger commit is
|
|
@@ -239,6 +355,157 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
239
355
|
viewForAgent(agent: Agent, request: AgentTeamViewRequest): AgentTeamView;
|
|
240
356
|
/** Validate the durable ledger against an independently replayed projection. */
|
|
241
357
|
validateLedger(): void;
|
|
358
|
+
/**
|
|
359
|
+
* Effective context-pressure budget for one Member's current route:
|
|
360
|
+
* `hardLimit = min(256K, routeWindow - outputReserve)` and
|
|
361
|
+
* `handoffAt = min(200K, hardLimit - handoffReserve)`.
|
|
362
|
+
*/
|
|
363
|
+
private contextLimits;
|
|
364
|
+
/**
|
|
365
|
+
* Budget + measurement for one Member's CURRENT routed selection — the
|
|
366
|
+
* member-pinned model or the default selection, resolved through the LLM
|
|
367
|
+
* service so a route change is honored at the next pre-step. The last
|
|
368
|
+
* persisted `request/context` event wins when it matches the current
|
|
369
|
+
* selection (no directory round-trip for an unchanged route). A selection
|
|
370
|
+
* whose capacity cannot be resolved returns `undefined` and the pressure
|
|
371
|
+
* policy fails closed instead of assuming an unbounded route.
|
|
372
|
+
*/
|
|
373
|
+
private routeLimitsForAgent;
|
|
374
|
+
/** Cache of resolved context windows per provider/model; unknown stays unknown. */
|
|
375
|
+
private readonly routeWindows;
|
|
376
|
+
/**
|
|
377
|
+
* Resolve one selection's provider-owned context capacity, cached per
|
|
378
|
+
* route. The LLM service is resolved lazily (not a hard inject): the Host
|
|
379
|
+
* mounts it in every production shape, while ledger-level fixtures provide
|
|
380
|
+
* only the services the Team service itself owns. A missing or throwing
|
|
381
|
+
* resolution is an unknown route — the pressure policy fails closed on it.
|
|
382
|
+
*/
|
|
383
|
+
private resolvedContextWindow;
|
|
384
|
+
/**
|
|
385
|
+
* Resolve one checkpoint ref to its exact seed prefix before any rollover
|
|
386
|
+
* commit. The walk covers the current generation (own events) and archived
|
|
387
|
+
* ancestors through `sessionPersistence`; the same projection definition
|
|
388
|
+
* folds every source. Guards fail closed: unresolved, foreign-lineage,
|
|
389
|
+
* open-turn, or nonshrinking targets reject without any lifecycle effect.
|
|
390
|
+
*/
|
|
391
|
+
private resolveCheckpointSeed;
|
|
392
|
+
/**
|
|
393
|
+
* Rebuild the handoff for a Member whose rollover committed but whose new
|
|
394
|
+
* Session activated without the handoff delivery (a crash between the
|
|
395
|
+
* ledger commit and the swap's delivery step). The previous Session —
|
|
396
|
+
* recorded in the operation, mirrored by the lineage parent, and available
|
|
397
|
+
* from the ledger even when the new Session's own header never carried it —
|
|
398
|
+
* holds the durable intent; fold it cold and deliver the same handoff
|
|
399
|
+
* envelope first. Idempotent: once any handoff exists in the new Session's
|
|
400
|
+
* own log this never runs.
|
|
401
|
+
*/
|
|
402
|
+
private reconstructMissingHandoff;
|
|
403
|
+
/**
|
|
404
|
+
* Resolve the exact recorded seed prefix of one committed checkpoint
|
|
405
|
+
* return for crash recovery: cold-read the recorded source Session, take
|
|
406
|
+
* the contiguous prefix of the recorded exclusive length, and verify the
|
|
407
|
+
* source's own fold still resolves the recorded anchor there — an explicit
|
|
408
|
+
* checkpoint through `checkpointByRef`, or a default Team boundary whose
|
|
409
|
+
* recorded ref appears among the source's own boundary keys.
|
|
410
|
+
* Fail-closed by contract: an unreadable source or an unprovable anchor
|
|
411
|
+
* REJECTS the activation — a committed checkpoint return may never
|
|
412
|
+
* downgrade to a blank child.
|
|
413
|
+
*/
|
|
414
|
+
private recordedCheckpointPrefix;
|
|
415
|
+
/**
|
|
416
|
+
* Redeliver the old generation's unconsumed post-intent input to a
|
|
417
|
+
* generation whose durable rollover committed but whose delivery did not
|
|
418
|
+
* finish. Bound to the ledger's recorded transition target — the CURRENT
|
|
419
|
+
* Session being that target — never to whether the handoff itself landed,
|
|
420
|
+
* so a crash after the handoff but before the carried enqueue still
|
|
421
|
+
* replays. The fold is the same durable truth the live transition uses
|
|
422
|
+
* (unconsumed, non-Team, order preserved). Idempotency keys on what is
|
|
423
|
+
* CURRENTLY present: delivered `user/message` ids plus the live inbox's
|
|
424
|
+
* pending next-step/next-turn ids — a historical insert that was already
|
|
425
|
+
* claimed (and removed) but never surfaced is NOT known and must replay.
|
|
426
|
+
* Fail-closed: an unreadable previous Session rejects the activation
|
|
427
|
+
* rather than silently dropping the Member's input.
|
|
428
|
+
*/
|
|
429
|
+
private replayCarriedInput;
|
|
430
|
+
/**
|
|
431
|
+
* Agent-only checkpoint request validation: the tool calls this inside its
|
|
432
|
+
* own running turn. Like `context_rollover`, the tool performs no side effect —
|
|
433
|
+
* the durable checkpoint is the successful `tool/call`+`tool/result` pair
|
|
434
|
+
* the Session projection folds; the ref returned here is deterministic
|
|
435
|
+
* from this Member Session's identity plus the tool call id, so the model
|
|
436
|
+
* can cite it before the result exists and a repeated provider call id in
|
|
437
|
+
* another generation never collides with this one.
|
|
438
|
+
*/
|
|
439
|
+
recordCheckpointForAgent(agent: Agent, request: AgentTeamCheckpointToolRequest): AgentTeamCheckpointToolOutcome;
|
|
440
|
+
/**
|
|
441
|
+
* Agent-only bounded structural timeline: resolved checkpoints plus Team
|
|
442
|
+
* delivery, handoff, and compaction boundaries across the current
|
|
443
|
+
* generation and its archived ancestor lineage. Structural only — no
|
|
444
|
+
* transcript content. The meter prices retained/discarded tokens; entries
|
|
445
|
+
* the Host cannot prove restorable carry a rejection reason instead of
|
|
446
|
+
* silently disappearing.
|
|
447
|
+
*/
|
|
448
|
+
contextTimelineForAgent(agent: Agent, request: AgentTeamTimelineToolRequest): Promise<AgentTeamTimelineToolResult>;
|
|
449
|
+
/**
|
|
450
|
+
* Replayed measurement of one lineage source: the live current Session
|
|
451
|
+
* measures directly; an archived ancestor measures through a borrowed
|
|
452
|
+
* prepared Session, so a seed's retained cost is priced in the SOURCE's
|
|
453
|
+
* own tokens — never the current generation's. Returns undefined when no
|
|
454
|
+
* meter is available or the source cannot be borrowed; callers fail
|
|
455
|
+
* closed on the unknown.
|
|
456
|
+
*/
|
|
457
|
+
private sourceUsageTokens;
|
|
458
|
+
/**
|
|
459
|
+
* Monotonic anchor-share estimate of a seed's retained cost, priced in the
|
|
460
|
+
* SOURCE Session's own measurement: the fraction of the source log the
|
|
461
|
+
* seed prefix covers, scaled to the source's replayed token count. The
|
|
462
|
+
* anchor position is exact and the share grows monotonically toward the
|
|
463
|
+
* source's head (100%). A large ancestor's anchor therefore prices at the
|
|
464
|
+
* ancestor's real size even inside a small current generation — the
|
|
465
|
+
* timeline display and the return guard share this one estimate.
|
|
466
|
+
*/
|
|
467
|
+
private retainedEstimate;
|
|
468
|
+
/**
|
|
469
|
+
* Threads whose facts entered this Session's model context by the given
|
|
470
|
+
* seq: delivered Team notices (their bodies quote `Thread: <ref>`
|
|
471
|
+
* structurally) and successful Team-claim mutations (their task overlays
|
|
472
|
+
* resolve to Threads through the ledger). Never from unread ledger
|
|
473
|
+
* activity — a Thread the Member never saw did not enter its context.
|
|
474
|
+
* Order-stable, deduplicated.
|
|
475
|
+
*/
|
|
476
|
+
private threadsEnteringContext;
|
|
477
|
+
/**
|
|
478
|
+
* Price and annotate one timeline candidate without mutating anything.
|
|
479
|
+
* Retained prices in the SOURCE Session's own replayed measurement (the
|
|
480
|
+
* monotonic anchor-share of the source log); discarded is what a return
|
|
481
|
+
* replaces — for a current-generation anchor, the measured usage beyond
|
|
482
|
+
* the anchor; for an ancestor anchor, the current generation's whole
|
|
483
|
+
* usage (an approximation: the ancestor's own suffix is not part of this
|
|
484
|
+
* generation). A small current child therefore discards little but may
|
|
485
|
+
* still retain a large ancestor seed, and both numbers say so honestly.
|
|
486
|
+
*/
|
|
487
|
+
private timelineItemFor;
|
|
488
|
+
/**
|
|
489
|
+
* Agent-only rollover request validation: the tool calls this to check its
|
|
490
|
+
* Member binding, exclusivity, and checkpoint ownership. It performs no
|
|
491
|
+
* lifecycle effect — the actual transition reacts to the successful tool
|
|
492
|
+
* result through the context-management coordinator.
|
|
493
|
+
*/
|
|
494
|
+
requestNewContext(agent: Agent, request: AgentTeamNewContextToolRequest): Promise<AgentTeamNewContextToolOutcome>;
|
|
495
|
+
/**
|
|
496
|
+
* Jobs this Agent owns that cannot survive a generation swap: any
|
|
497
|
+
* running/stopping job, and any settled job whose terminal output was
|
|
498
|
+
* never reported (disposal would silently discard it). In-place hard
|
|
499
|
+
* compaction is exempt — it never cancels the owner.
|
|
500
|
+
*/
|
|
501
|
+
private ownedJobsBlockingRollover;
|
|
502
|
+
/**
|
|
503
|
+
* Agent-only session rollover commit: the Member actor must be the target
|
|
504
|
+
* Member on its currently bound live Session. The Host performs the actual
|
|
505
|
+
* generation swap around this write; the ledger records only the durable
|
|
506
|
+
* binding transition and rollover audit envelope.
|
|
507
|
+
*/
|
|
508
|
+
rolloverSessionForAgent(agent: Agent, request: AgentTeamRolloverSessionRequest): Promise<AgentTeamDurableMemberResult>;
|
|
242
509
|
private emitCommittedOutcome;
|
|
243
510
|
private assertChannelMembersAvailable;
|
|
244
511
|
/** Shared Task-creation commit: resolve uploads into metadata lines and append through the ledger. */
|
|
@@ -257,6 +524,16 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
257
524
|
* LLM layer's runtime check at call time.
|
|
258
525
|
*/
|
|
259
526
|
private assertModelRoute;
|
|
527
|
+
/**
|
|
528
|
+
* Session headers currently durable in the persistence backend.
|
|
529
|
+
*
|
|
530
|
+
* The Host retires a disposed Session's log without awaiting it, so a
|
|
531
|
+
* concurrent activation can observe the JSONL backend's transient win32
|
|
532
|
+
* staging directories (.dsh-mkdir-*) as ENOENT while they rename into
|
|
533
|
+
* place. The read is idempotent; back off briefly instead of failing the
|
|
534
|
+
* activation on a race the publisher resolves within milliseconds.
|
|
535
|
+
*/
|
|
536
|
+
private persistedSessionHeaders;
|
|
260
537
|
private activateMember;
|
|
261
538
|
/**
|
|
262
539
|
* Rebuild one enabled Member in place from its persisted Session.
|
|
@@ -283,6 +560,10 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
283
560
|
private requireLedger;
|
|
284
561
|
private requireAccepting;
|
|
285
562
|
private emitCommitted;
|
|
563
|
+
/** Model-visible active-Claim labels for the pressure notice. */
|
|
564
|
+
private activeClaimLabels;
|
|
565
|
+
/** Model-visible running/stopping job labels for the pressure notice. */
|
|
566
|
+
private runningJobLabels;
|
|
286
567
|
private emitAutoCompactionChanged;
|
|
287
568
|
/** Wake from durable unread state with bounded facts for direct and state-changing work. */
|
|
288
569
|
private notifyMember;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAyB,KAAK,KAAK,EAA4C,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAyB,KAAK,KAAK,EAA4C,MAAM,wBAAwB,CAAA;AAMpH,OAAO,EAAE,SAAS,EAAuC,MAAM,0BAA0B,CAAA;AAGzF,OAAO,EAAU,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAQ9E,OAAO,EAAoE,KAAK,4BAA4B,EAAE,MAAM,aAAa,CAAA;AAMjI,OAAO,KAAK,EACV,yBAAyB,EACzB,oBAAoB,EACpB,0BAA0B,EAC1B,8BAA8B,EAC9B,6BAA6B,EAC7B,6BAA6B,EAC7B,4BAA4B,EAE5B,uBAAuB,EACvB,sBAAsB,EAEtB,kBAAkB,EAClB,qBAAqB,EACrB,oBAAoB,EACpB,2BAA2B,EAC3B,6BAA6B,EAG7B,6BAA6B,EAC7B,4BAA4B,EAC5B,6BAA6B,EAC7B,4BAA4B,EAC5B,cAAc,EACd,qBAAqB,EACrB,2BAA2B,EAC3B,0BAA0B,EAI1B,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,+BAA+B,EAC/B,8BAA8B,EAG9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ogOffset, SessionSeq } from '@deepseek-ai/dsh-session';
|
|
3
3
|
import type { WorkspaceId } from '@deepseek-ai/dsh-workspace';
|
|
4
|
-
import type { AgentTeamAddMemberRequest, AgentTeamAttachmentId, AgentTeamAgentMember, AgentTeamArchiveChannelRequest, AgentTeamArchiveChannelResult, AgentTeamArchiveMemberRequest, AgentTeamArchiveMemberResult, AgentTeamChangeScope, AgentTeamClaim, AgentTeamClaimList, AgentTeamClaimRequest, AgentTeamClaimResult, AgentTeamClaimRef, AgentTeamCreateChannelRequest, AgentTeamCreateChannelResult, AgentTeamDmRequest, AgentTeamDmResult, AgentTeamHumanActor, AgentTeamInbox, AgentTeamInboxRequest, AgentTeamInboxItem, AgentTeamJoinChannelRequest, AgentTeamJoinChannelResult, AgentTeamMemberActor, AgentTeamMemberId, AgentTeamOperation, AgentTeamOperationId, AgentTeamOperationReceipt, AgentTeamRemoveChannelMemberRequest, AgentTeamRemoveChannelMemberResult, AgentTeamRemoveMemberRequest, AgentTeamRemoveMemberResult, AgentTeamReplyRequest, AgentTeamReplyResult, AgentTeamRequestId, AgentTeamResolvedTaskRef, AgentTeamMessageAttachment, AgentTeamSendMessageRequest, AgentTeamSendMessageResult, AgentTeamSetMemberStateRequest, AgentTeamStatus, AgentTeamTask, AgentTeamTaskRequest, AgentTeamTaskResult, AgentTeamTaskRef, AgentTeamThreadAttentionRequest, AgentTeamThreadAttentionResult, AgentTeamThreadAttentionStatus, AgentTeamThreadHistory, AgentTeamThreadHistoryRequest, AgentTeamThreadReadFact, AgentTeamThreadReadRequest, AgentTeamThreadReadResult, AgentTeamThreadObservations, AgentTeamThreadObservationsRequest, AgentTeamThreadRef, AgentTeamPromoteThreadRequest, AgentTeamPromoteThreadResult, AgentTeamUpdateChannelRequest, AgentTeamUpdateChannelResult, AgentTeamUpdateMemberRequest, AgentTeamView, AgentTeamViewRequest } from './types.ts';
|
|
4
|
+
import type { AgentTeamAddMemberRequest, AgentTeamAttachmentId, AgentTeamAgentMember, AgentTeamArchiveChannelRequest, AgentTeamArchiveChannelResult, AgentTeamArchiveMemberRequest, AgentTeamArchiveMemberResult, AgentTeamChangeScope, AgentTeamContextCheckpointRef, AgentTeamClaim, AgentTeamClaimList, AgentTeamClaimRequest, AgentTeamClaimResult, AgentTeamClaimRef, AgentTeamCreateChannelRequest, AgentTeamCreateChannelResult, AgentTeamDmRequest, AgentTeamDmResult, AgentTeamHumanActor, AgentTeamInbox, AgentTeamInboxRequest, AgentTeamInboxItem, AgentTeamJoinChannelRequest, AgentTeamJoinChannelResult, AgentTeamMemberActor, AgentTeamMemberId, AgentTeamOperation, AgentTeamOperationId, AgentTeamOperationReceipt, AgentTeamRemoveChannelMemberRequest, AgentTeamRemoveChannelMemberResult, AgentTeamRemoveMemberRequest, AgentTeamRemoveMemberResult, AgentTeamReplyRequest, AgentTeamReplyResult, AgentTeamRequestId, AgentTeamResolvedTaskRef, AgentTeamMessageAttachment, AgentTeamSendMessageRequest, AgentTeamSendMessageResult, AgentTeamSetMemberStateRequest, AgentTeamStatus, AgentTeamTask, AgentTeamTaskRequest, AgentTeamTaskResult, AgentTeamTaskRef, AgentTeamThreadAttentionRequest, AgentTeamThreadAttentionResult, AgentTeamThreadAttentionStatus, AgentTeamThreadHistory, AgentTeamThreadHistoryRequest, AgentTeamThreadReadFact, AgentTeamThreadReadRequest, AgentTeamThreadReadResult, AgentTeamThreadObservations, AgentTeamThreadObservationsRequest, AgentTeamThreadRef, AgentTeamPromoteThreadRequest, AgentTeamPromoteThreadResult, AgentTeamProgressNudgeTargets, AgentTeamUpdateChannelRequest, AgentTeamUpdateChannelResult, AgentTeamUpdateMemberRequest, AgentTeamView, AgentTeamViewRequest } from './types.ts';
|
|
5
5
|
/** Stable Human Member identity shared by every replay of one dshHome Team. */
|
|
6
6
|
export declare const AGENT_TEAM_HUMAN_MEMBER_ID: AgentTeamMemberId;
|
|
7
7
|
/** Idempotency identity of the one Host bootstrap operation. */
|
|
@@ -33,6 +33,32 @@ export interface AgentTeamAuthorizedRenewMemberSessionRequest {
|
|
|
33
33
|
readonly sessionId: SessionId;
|
|
34
34
|
readonly actor: AgentTeamHumanActor;
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* Member-authored intent to continue in its next private context generation.
|
|
38
|
+
* The requestId and new Session id derive stably from the successful
|
|
39
|
+
* `context_rollover` tool call so crash replay converges on one operation.
|
|
40
|
+
*/
|
|
41
|
+
export interface AgentTeamAuthorizedRolloverMemberSessionRequest {
|
|
42
|
+
readonly requestId: AgentTeamRequestId;
|
|
43
|
+
readonly workspaceId: WorkspaceId;
|
|
44
|
+
readonly memberId: AgentTeamMemberId;
|
|
45
|
+
/** The calling Member; must be the target Member itself. */
|
|
46
|
+
readonly actor: AgentTeamMemberActor;
|
|
47
|
+
/** The Session the Member must still be bound to at commit time. */
|
|
48
|
+
readonly previousSessionId: SessionId;
|
|
49
|
+
/** The next generation Session, derived from the successful tool call. */
|
|
50
|
+
readonly newSessionId: SessionId;
|
|
51
|
+
/** Seq of the successful `context_rollover` tool result in the previous Session log. */
|
|
52
|
+
readonly handoffEventSeq: SessionSeq;
|
|
53
|
+
/** Why the rollover happened: the model asked, or honored a pressure notice. */
|
|
54
|
+
readonly trigger: 'model' | 'pressure';
|
|
55
|
+
/** Seed source Session for a checkpoint return; absent on a fresh rollover. */
|
|
56
|
+
readonly sourceSessionId?: SessionId;
|
|
57
|
+
/** Exclusive end of the seeded source prefix (its exact length in the source log). */
|
|
58
|
+
readonly sourceThroughSeq?: SessionLogOffset;
|
|
59
|
+
/** The checkpoint a return was addressed to; absent on a fresh rollover. */
|
|
60
|
+
readonly checkpointRef?: AgentTeamContextCheckpointRef;
|
|
61
|
+
}
|
|
36
62
|
export interface AgentTeamAuthorizedJoinChannelRequest extends AgentTeamJoinChannelRequest {
|
|
37
63
|
readonly actor: AgentTeamHumanActor;
|
|
38
64
|
}
|
|
@@ -97,6 +123,7 @@ interface AgentTeamDurableMemberResult {
|
|
|
97
123
|
readonly receipt: AgentTeamOperationReceipt;
|
|
98
124
|
readonly member: AgentTeamAgentMember;
|
|
99
125
|
}
|
|
126
|
+
export type { AgentTeamDurableMemberResult };
|
|
100
127
|
/** Replay and append logic behind the Agent Team service interface. */
|
|
101
128
|
export declare class AgentTeamLedger {
|
|
102
129
|
private readonly table;
|
|
@@ -124,7 +151,78 @@ export declare class AgentTeamLedger {
|
|
|
124
151
|
* Session log around this write, so the next turn starts empty.
|
|
125
152
|
*/
|
|
126
153
|
renewMemberSession(request: AgentTeamAuthorizedRenewMemberSessionRequest): Promise<AgentTeamLedgerResult<AgentTeamDurableMemberResult>>;
|
|
154
|
+
/**
|
|
155
|
+
* Move one enabled Member onto its next context generation as itself. The
|
|
156
|
+
* actor is the calling Member — the Host executes the transition but is
|
|
157
|
+
* never the business actor — and the durable data records only the
|
|
158
|
+
* verifiable envelope (previous/new Session anchors, the successful handoff
|
|
159
|
+
* tool-result seq, checkpoint seed lineage, trigger). The private handoff
|
|
160
|
+
* prose stays in the Member's own Session log. An exact retry resolves to
|
|
161
|
+
* the recorded outcome; the same requestId with different data collides.
|
|
162
|
+
*/
|
|
163
|
+
rolloverMemberSession(request: AgentTeamAuthorizedRolloverMemberSessionRequest): Promise<AgentTeamLedgerResult<AgentTeamDurableMemberResult>>;
|
|
127
164
|
getMember(memberId: AgentTeamMemberId): AgentTeamAgentMember | undefined;
|
|
165
|
+
/**
|
|
166
|
+
* The retired Session this Member most recently left through a renewal or
|
|
167
|
+
* rollover — the lineage parent a crash between the durable binding commit
|
|
168
|
+
* and the new Session's activation must reconstruct a handoff from. Read
|
|
169
|
+
* from the audit projection; the Member record itself only names the
|
|
170
|
+
* current Session.
|
|
171
|
+
*/
|
|
172
|
+
previousSessionForMember(memberId: AgentTeamMemberId): SessionId | undefined;
|
|
173
|
+
/**
|
|
174
|
+
* The latest session transition this Member committed: the retired Session
|
|
175
|
+
* and the target it moved onto, through either a renewal or a rollover.
|
|
176
|
+
* Crash recovery binds carried-input redelivery to the recorded target —
|
|
177
|
+
* the CURRENT Session being that target proves the old generation's
|
|
178
|
+
* unconsumed input still belongs here, regardless of whether the handoff
|
|
179
|
+
* itself already landed.
|
|
180
|
+
*/
|
|
181
|
+
lastTransitionForMember(memberId: AgentTeamMemberId): {
|
|
182
|
+
readonly previousSessionId: SessionId;
|
|
183
|
+
readonly targetSessionId: SessionId;
|
|
184
|
+
} | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* The Thread a Task overlay lives on, or undefined for an unknown or
|
|
187
|
+
* archived-Channel Task. Read-only input for attributing claim-mutation
|
|
188
|
+
* boundaries to the Thread whose context they entered.
|
|
189
|
+
*/
|
|
190
|
+
threadForTask(taskRef: AgentTeamTaskRef): AgentTeamThreadRef | undefined;
|
|
191
|
+
/**
|
|
192
|
+
* The seed envelope of this Member's most recent rollover, when that
|
|
193
|
+
* rollover was a checkpoint return: the recorded source Session, the
|
|
194
|
+
* exclusive end of its seeded prefix, and the checkpoint ref. A fresh
|
|
195
|
+
* rollover clears the envelope. Crash recovery reads this to rebuild the
|
|
196
|
+
* child generation from the recorded seed instead of an empty context.
|
|
197
|
+
*/
|
|
198
|
+
rolloverSeedForMember(memberId: AgentTeamMemberId, targetSessionId: SessionId): {
|
|
199
|
+
readonly sourceSessionId: SessionId;
|
|
200
|
+
readonly sourceThroughSeq: SessionLogOffset;
|
|
201
|
+
readonly checkpointRef: AgentTeamContextCheckpointRef;
|
|
202
|
+
} | undefined;
|
|
203
|
+
/**
|
|
204
|
+
* Count one Member's active Claims on open Tasks in active Channels — the
|
|
205
|
+
* read-only input to the checkpoint single-Thread coverage guard: with
|
|
206
|
+
* more than one, a rewind cannot be proven to stay inside one Thread.
|
|
207
|
+
*/
|
|
208
|
+
activeClaimCountForMember(memberId: AgentTeamMemberId): number;
|
|
209
|
+
/**
|
|
210
|
+
* One Member's active Claims on open Tasks in active Channels, oldest
|
|
211
|
+
* first — the read-only input for the pressure notice's Claim labels.
|
|
212
|
+
*/
|
|
213
|
+
activeClaimsForMember(memberId: AgentTeamMemberId): readonly AgentTeamClaim[];
|
|
214
|
+
/**
|
|
215
|
+
* Current progress-nudge candidacy for one Member: threads whose Thread
|
|
216
|
+
* progress reminder applies (active Claim, or following a taskless Thread)
|
|
217
|
+
* and tasks where the Claim reminder applies (following a still-`todo` Task
|
|
218
|
+
* with no Claim history for this Member). A deep read-only projection — the
|
|
219
|
+
* caller never re-derives attention, claim, task-resolution, or channel
|
|
220
|
+
* archive state. Archived channels and resolved tasks produce no candidacy;
|
|
221
|
+
* results are ordered by Thread revision descending, then threadRef.
|
|
222
|
+
*/
|
|
223
|
+
progressNudgeTargets(memberId: AgentTeamMemberId): AgentTeamProgressNudgeTargets;
|
|
224
|
+
/** Whether this Member has ever held a Claim on the Task, in any state. */
|
|
225
|
+
private hasLifetimeClaimOnTask;
|
|
128
226
|
listMembers(): readonly AgentTeamAgentMember[];
|
|
129
227
|
joinChannel(request: AgentTeamAuthorizedJoinChannelRequest): Promise<AgentTeamLedgerResult<AgentTeamJoinChannelResult>>;
|
|
130
228
|
removeChannelMember(request: AgentTeamAuthorizedRemoveChannelMemberRequest): Promise<AgentTeamLedgerResult<AgentTeamRemoveChannelMemberResult>>;
|
|
@@ -232,9 +330,11 @@ export declare class AgentTeamLedger {
|
|
|
232
330
|
private closeThreadInbox;
|
|
233
331
|
private closeThreadInboxFrom;
|
|
234
332
|
/**
|
|
235
|
-
*
|
|
236
|
-
*
|
|
237
|
-
*
|
|
333
|
+
* Acceptance notifies every done Claim owner — pre-finished (the normal
|
|
334
|
+
* flow) and atomically completed (early acceptance) alike — through
|
|
335
|
+
* activity markers regardless of whether they still follow the Thread.
|
|
336
|
+
* The actor never notifies itself. Legacy records without the acceptance
|
|
337
|
+
* discriminator keep the old completed-only wake semantics on replay.
|
|
238
338
|
*/
|
|
239
339
|
private acceptThreadInbox;
|
|
240
340
|
private acceptThreadInboxFrom;
|
|
@@ -294,7 +394,20 @@ export declare class AgentTeamLedger {
|
|
|
294
394
|
private assertActorForWorkspace;
|
|
295
395
|
private assertHumanActor;
|
|
296
396
|
private assertMemberActor;
|
|
297
|
-
/**
|
|
397
|
+
/** Shortest accepted UUID abbreviation after the branded prefix. */
|
|
398
|
+
private static readonly MIN_REF_UUID_PREFIX;
|
|
399
|
+
private isRefAbbreviationTail;
|
|
400
|
+
/**
|
|
401
|
+
* Full map key for one branded ref, tolerating a unique UUID abbreviation.
|
|
402
|
+
* Exact refs win; an abbreviated ref (prefix plus at least 6 hex chars,
|
|
403
|
+
* hyphens ignored) resolves only when it matches exactly one key. Returns
|
|
404
|
+
* undefined for unknown or ambiguous refs so lenient callers can degrade
|
|
405
|
+
* without throwing.
|
|
406
|
+
*/
|
|
407
|
+
private uniqueRefKey;
|
|
408
|
+
/** uniqueRefKey with the established unknown/ambiguous error contract and hints. */
|
|
409
|
+
private requireRefKey;
|
|
410
|
+
/** Agents strip the branded prefix or abbreviate UUIDs when echoing refs; point at the fix instead of a bare lookup failure. */
|
|
298
411
|
private unknownRefHint;
|
|
299
412
|
private requireTask;
|
|
300
413
|
private requireThread;
|
|
@@ -333,6 +446,7 @@ export declare class AgentTeamLedger {
|
|
|
333
446
|
private assertSameMemberAdd;
|
|
334
447
|
private assertSameMemberState;
|
|
335
448
|
private assertSameMemberSessionRenewed;
|
|
449
|
+
private assertSameMemberSessionRolledOver;
|
|
336
450
|
private assertSameChannelUpdate;
|
|
337
451
|
private assertSameMemberUpdate;
|
|
338
452
|
private assertSameChannelJoin;
|
|
@@ -391,5 +505,4 @@ export declare class AgentTeamLedger {
|
|
|
391
505
|
private normalizeOperation;
|
|
392
506
|
private enqueue;
|
|
393
507
|
}
|
|
394
|
-
export {};
|
|
395
508
|
//# sourceMappingURL=ledger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ledger.d.ts","sourceRoot":"","sources":["../../src/ledger.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAA;AAC9D,OAAO,KAAK,EA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