@wowyuarm/dsh-agent-team 0.1.15 → 0.2.1
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/README.md +8 -4
- package/README.zh.md +8 -4
- package/cordis.patch.yml +26 -12
- package/package.json +52 -47
- package/packages/agent-team/lib/attachments.js +63 -4
- package/packages/agent-team/lib/compaction-engine.js +18 -0
- package/packages/agent-team/lib/context-continuity-host.js +198 -4
- package/packages/agent-team/lib/context-judge.js +150 -0
- package/packages/agent-team/lib/context-source.js +11 -6
- package/packages/agent-team/lib/environment-check.js +102 -0
- package/packages/agent-team/lib/human-profile.js +23 -37
- package/packages/agent-team/lib/index.js +510 -99
- package/packages/agent-team/lib/installed-manifest.js +32 -0
- package/packages/agent-team/lib/invariant.js +36 -12
- package/packages/agent-team/lib/ledger.js +37 -1
- package/packages/agent-team/lib/member-context.js +2 -4
- package/packages/agent-team/lib/member-runtime.js +2 -1
- package/packages/agent-team/lib/member-time-context.js +2 -4
- package/packages/agent-team/lib/recovery.js +53 -4
- package/packages/agent-team/lib/typert.host.js +225 -54
- package/packages/agent-team/lib/typert.remote-client.d.ts +5 -1
- package/packages/agent-team/lib/typert.remote-client.d.ts.map +1 -1
- package/packages/agent-team/lib/typert.remote-client.js +127 -39
- package/packages/agent-team/lib/types/attachments.d.ts +32 -2
- package/packages/agent-team/lib/types/attachments.d.ts.map +1 -1
- package/packages/agent-team/lib/types/compaction-engine.d.ts +19 -0
- package/packages/agent-team/lib/types/compaction-engine.d.ts.map +1 -0
- package/packages/agent-team/lib/types/context-continuity-host.d.ts +131 -4
- package/packages/agent-team/lib/types/context-continuity-host.d.ts.map +1 -1
- package/packages/agent-team/lib/types/context-judge.d.ts +82 -0
- package/packages/agent-team/lib/types/context-judge.d.ts.map +1 -0
- package/packages/agent-team/lib/types/context-source.d.ts +7 -4
- package/packages/agent-team/lib/types/context-source.d.ts.map +1 -1
- package/packages/agent-team/lib/types/environment-check.d.ts +66 -0
- package/packages/agent-team/lib/types/environment-check.d.ts.map +1 -0
- package/packages/agent-team/lib/types/human-profile.d.ts +21 -27
- package/packages/agent-team/lib/types/human-profile.d.ts.map +1 -1
- package/packages/agent-team/lib/types/index.d.ts +281 -18
- package/packages/agent-team/lib/types/index.d.ts.map +1 -1
- package/packages/agent-team/lib/types/installed-manifest.d.ts +16 -0
- package/packages/agent-team/lib/types/installed-manifest.d.ts.map +1 -0
- package/packages/agent-team/lib/types/invariant.d.ts +27 -5
- package/packages/agent-team/lib/types/invariant.d.ts.map +1 -1
- package/packages/agent-team/lib/types/ledger.d.ts +12 -0
- 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 +1 -1
- package/packages/agent-team/lib/types/member-runtime.d.ts.map +1 -1
- package/packages/agent-team/lib/types/member-time-context.d.ts.map +1 -1
- package/packages/agent-team/lib/types/recovery.d.ts +19 -6
- package/packages/agent-team/lib/types/recovery.d.ts.map +1 -1
- package/packages/agent-team/lib/types/types/entities.d.ts +1 -8
- package/packages/agent-team/lib/types/types/entities.d.ts.map +1 -1
- package/packages/agent-team/lib/types/types/requests-results.d.ts +94 -2
- package/packages/agent-team/lib/types/types/requests-results.d.ts.map +1 -1
- package/packages/agent-team/lib/types/types.d.ts +9 -0
- package/packages/agent-team/lib/types/types.d.ts.map +1 -1
- package/packages/client-agent-team/lib/client.js +1264 -383
- package/packages/client-agent-team/lib/client.js.map +1 -1
- package/packages/client-agent-team/lib/types/client/EnvironmentCheck.d.ts +18 -0
- package/packages/client-agent-team/lib/types/client/EnvironmentCheck.d.ts.map +1 -0
- package/packages/client-agent-team/lib/types/client/EnvironmentCheck.js +58 -0
- package/packages/client-agent-team/lib/types/client/TeamAgentsPanel.js +0 -5
- package/packages/client-agent-team/lib/types/client/TeamPresenceDot.d.ts +1 -1
- package/packages/client-agent-team/lib/types/client/TeamPresenceDot.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/TeamPresenceDot.js +2 -7
- package/packages/client-agent-team/lib/types/client/TeamSettingsSection.d.ts +26 -0
- package/packages/client-agent-team/lib/types/client/TeamSettingsSection.d.ts.map +1 -0
- package/packages/client-agent-team/lib/types/client/TeamSettingsSection.js +195 -0
- package/packages/client-agent-team/lib/types/client/attachment-preview.d.ts +7 -11
- package/packages/client-agent-team/lib/types/client/attachment-preview.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/attachment-preview.js +13 -3
- package/packages/client-agent-team/lib/types/client/context-judge.d.ts +64 -0
- package/packages/client-agent-team/lib/types/client/context-judge.d.ts.map +1 -0
- package/packages/client-agent-team/lib/types/client/context-judge.js +78 -0
- package/packages/client-agent-team/lib/types/client/environment-check.d.ts +65 -0
- package/packages/client-agent-team/lib/types/client/environment-check.d.ts.map +1 -0
- package/packages/client-agent-team/lib/types/client/environment-check.js +78 -0
- package/packages/client-agent-team/lib/types/client/index.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/index.js +84 -11
- package/packages/client-agent-team/lib/types/client/judge-form.d.ts +99 -0
- package/packages/client-agent-team/lib/types/client/judge-form.d.ts.map +1 -0
- package/packages/client-agent-team/lib/types/client/judge-form.js +208 -0
- package/packages/client-agent-team/lib/types/client/locales.d.ts +70 -14
- package/packages/client-agent-team/lib/types/client/locales.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/locales.js +76 -14
- package/packages/tool-agent-team/README.md +6 -3
- package/packages/tool-agent-team/README.zh.md +6 -3
- package/packages/tool-agent-team/lib/context-tools.js +148 -164
- package/packages/tool-agent-team/lib/index.js +17 -2
- package/packages/tool-agent-team/lib/types/context-tools.d.ts +32 -7
- package/packages/tool-agent-team/lib/types/context-tools.d.ts.map +1 -1
- package/packages/tool-agent-team/lib/types/index.d.ts.map +1 -1
- package/packages/agent-team/lib/pressure-policy.js +0 -230
- package/packages/agent-team/lib/types/pressure-policy.d.ts +0 -130
- package/packages/agent-team/lib/types/pressure-policy.d.ts.map +0 -1
- package/packages/client-agent-team/lib/types/client/HumanSettingsSection.d.ts +0 -15
- package/packages/client-agent-team/lib/types/client/HumanSettingsSection.d.ts.map +0 -1
- package/packages/client-agent-team/lib/types/client/HumanSettingsSection.js +0 -115
|
@@ -7,12 +7,14 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { Context, Service, type Volatile } from '@deepseek-ai/cordis';
|
|
9
9
|
import { type Agent } from '@deepseek-ai/dsh-agent';
|
|
10
|
+
import type { CompactionEngine } from '@deepseek-ai/dsh-compaction';
|
|
10
11
|
import { SessionId } from '@deepseek-ai/dsh-session';
|
|
12
|
+
import z from '@deepseek-ai/schemastery';
|
|
11
13
|
import { TypertRemoteService } from '@deepseek-ai/dsh-typert-protocol';
|
|
12
14
|
import type { WorkspaceId } from '@deepseek-ai/dsh-workspace';
|
|
13
15
|
import { type ContextProjectionConfig, type ContextTimelineSource } from '@wowyuarm/dsh-context-continuity';
|
|
14
16
|
import { type AgentTeamDurableMemberResult } from './ledger.ts';
|
|
15
|
-
import type { AgentTeamAddMemberRequest, AgentTeamAddMemberResult, AgentTeamAgentMember, AgentTeamAgentMemberStatus, AgentTeamArchiveChannelRequest, AgentTeamArchiveChannelResult, AgentTeamArchiveMemberRequest, AgentTeamArchiveMemberResult, AgentTeamChangesRequest, AgentTeamChangesResult, AgentTeamClaimList, AgentTeamClaimRequest, AgentTeamClaimResult, AgentTeamClientMemberStatus, AgentTeamContextCheckpointRef, AgentTeamCreateChannelRequest, AgentTeamCreateChannelResult, AgentTeamGetAttachmentRequest, AgentTeamGetAttachmentResult, AgentTeamGetHumanAvatarRequest, AgentTeamGetHumanAvatarResult, AgentTeamHumanProfileRequest, AgentTeamHumanProfileResult, AgentTeamPutHumanAvatarRequest, AgentTeamPutHumanAvatarResult, AgentTeamRemoveHumanAvatarRequest, AgentTeamRemoveHumanAvatarResult, AgentTeamInbox, AgentTeamInboxRequest, AgentTeamJoinChannelRequest, AgentTeamJoinChannelResult, AgentTeamJoinWorkspaceRequest, AgentTeamJoinWorkspaceResult, AgentTeamLeaveWorkspaceRequest, AgentTeamLeaveWorkspaceResult, AgentTeamMemberId, AgentTeamMemberResult, AgentTeamMembersRequest, AgentTeamResolveTaskRefsRequest, AgentTeamResolveTaskRefsResult, AgentTeamResolveThreadRefsRequest, AgentTeamResolveThreadRefsResult, AgentTeamOperationReceipt, AgentTeamPromoteThreadRequest, AgentTeamPromoteThreadResult, AgentTeamPutAttachmentRequest, AgentTeamPutAttachmentResult, AgentTeamRecoverMemberRequest, AgentTeamRecoverMemberResult, AgentTeamClearMemberContextRequest, AgentTeamClearMemberContextResult, AgentTeamRolloverSessionRequest, AgentTeamDmRequest, AgentTeamDmResult, AgentTeamRemoveChannelMemberRequest, AgentTeamRemoveChannelMemberResult, AgentTeamRemoveMemberRequest, AgentTeamRemoveMemberResult, AgentTeamReplyRequest, AgentTeamReplyResult, AgentTeamSendMessageRequest, AgentTeamSendMessageResult, AgentTeamSetHumanProfileRequest, AgentTeamSetHumanProfileResult, AgentTeamSetMemberStateRequest, AgentTeamStatus, AgentTeamTask, AgentTeamTaskRequest, AgentTeamTaskResult, AgentTeamThreadAttentionRequest, AgentTeamThreadAttentionResult, AgentTeamThreadAttentionStatus, AgentTeamThreadHistory, AgentTeamThreadHistoryRequest, AgentTeamThreadReadRequest, AgentTeamThreadReadResult, AgentTeamThreadObservations, AgentTeamThreadObservationsRequest, AgentTeamUpdateChannelRequest, AgentTeamUpdateChannelResult, AgentTeamUpdateMemberRequest, AgentTeamView, AgentTeamViewRequest } from './types.ts';
|
|
17
|
+
import type { AgentTeamAddMemberRequest, AgentTeamAddMemberResult, AgentTeamAgentMember, AgentTeamAgentMemberStatus, AgentTeamArchiveChannelRequest, AgentTeamArchiveChannelResult, AgentTeamArchiveMemberRequest, AgentTeamArchiveMemberResult, AgentTeamChangesRequest, AgentTeamChangesResult, AgentTeamClaimList, AgentTeamClaimRequest, AgentTeamClaimResult, AgentTeamClientMemberStatus, AgentTeamContextCheckpointRef, AgentTeamContextJudgeRequest, AgentTeamContextJudgeResult, AgentTeamCreateChannelRequest, AgentTeamCreateChannelResult, AgentTeamEnvironmentRequest, AgentTeamEnvironmentResult, AgentTeamGetAttachmentRequest, AgentTeamGetAttachmentResult, AgentTeamGetHumanAvatarRequest, AgentTeamGetHumanAvatarResult, AgentTeamHumanProfileRequest, AgentTeamHumanProfileResult, AgentTeamPutHumanAvatarRequest, AgentTeamPutHumanAvatarResult, AgentTeamRemoveHumanAvatarRequest, AgentTeamRemoveHumanAvatarResult, AgentTeamInbox, AgentTeamInboxRequest, AgentTeamJoinChannelRequest, AgentTeamJoinChannelResult, AgentTeamJoinWorkspaceRequest, AgentTeamJoinWorkspaceResult, AgentTeamLeaveWorkspaceRequest, AgentTeamLeaveWorkspaceResult, AgentTeamMemberId, AgentTeamMemberResult, AgentTeamMembersRequest, AgentTeamResolveTaskRefsRequest, AgentTeamResolveTaskRefsResult, AgentTeamResolveThreadRefsRequest, AgentTeamResolveThreadRefsResult, AgentTeamOperationReceipt, AgentTeamPromoteThreadRequest, AgentTeamPromoteThreadResult, AgentTeamPutAttachmentRequest, AgentTeamPutAttachmentResult, AgentTeamRecoverMemberRequest, AgentTeamRecoverMemberResult, AgentTeamClearMemberContextRequest, AgentTeamClearMemberContextResult, AgentTeamRolloverSessionRequest, AgentTeamDmRequest, AgentTeamDmResult, AgentTeamRemoveChannelMemberRequest, AgentTeamRemoveChannelMemberResult, AgentTeamRemoveMemberRequest, AgentTeamRemoveMemberResult, AgentTeamReplyRequest, AgentTeamReplyResult, AgentTeamSendMessageRequest, AgentTeamSendMessageResult, AgentTeamSetHumanProfileRequest, AgentTeamSetHumanProfileResult, AgentTeamSetMemberStateRequest, AgentTeamStatus, AgentTeamTask, AgentTeamTaskRequest, AgentTeamTaskResult, AgentTeamThreadAttentionRequest, AgentTeamThreadAttentionResult, AgentTeamThreadAttentionStatus, AgentTeamThreadHistory, AgentTeamThreadHistoryRequest, AgentTeamThreadReadRequest, AgentTeamThreadReadResult, AgentTeamThreadObservations, AgentTeamThreadObservationsRequest, AgentTeamUpdateChannelRequest, AgentTeamUpdateChannelResult, AgentTeamUpdateMemberRequest, AgentTeamView, AgentTeamViewRequest } from './types.ts';
|
|
16
18
|
export { agentTeamDomainSpec, agentTeamOperationSchema } from './spec.ts';
|
|
17
19
|
export type * from './types.ts';
|
|
18
20
|
export { AGENT_TEAM_HUMAN_HANDLE, AGENT_TEAM_HUMAN_MEMBER_ID, AGENT_TEAM_INITIALIZE_REQUEST_ID } from './ledger.ts';
|
|
@@ -21,6 +23,8 @@ export { humanAvatarsRoot } from './human-avatar.ts';
|
|
|
21
23
|
export { AGENT_TEAM_TOOL_NAMES } from './member-runtime.ts';
|
|
22
24
|
/** Process-stable marker carried by the final Team message tool definition. */
|
|
23
25
|
export declare const AGENT_TEAM_PRESET_MARKER: unique symbol;
|
|
26
|
+
/** The widest timeline window there is; the ref gate reads at this width so no printed ref is unreachable. */
|
|
27
|
+
export declare const MAX_TIMELINE_LIMIT = 24;
|
|
24
28
|
/** Mark the preset's `team_message` definition as an Agent Team consumer. */
|
|
25
29
|
export declare function markAgentTeamPreset<T extends object>(definition: T): T;
|
|
26
30
|
/**
|
|
@@ -67,7 +71,7 @@ declare module '@deepseek-ai/cordis' {
|
|
|
67
71
|
/** Tool-side request for one context rollover; the Host validates without side effects. */
|
|
68
72
|
export interface AgentTeamNewContextToolRequest {
|
|
69
73
|
readonly memberId: AgentTeamMemberId;
|
|
70
|
-
/** Selected checkpoint ref from `
|
|
74
|
+
/** Selected checkpoint ref from `context_status`; absent means fresh. */
|
|
71
75
|
readonly checkpointRef?: AgentTeamContextCheckpointRef;
|
|
72
76
|
readonly relatedFiles?: readonly {
|
|
73
77
|
readonly path: string;
|
|
@@ -137,25 +141,141 @@ export interface AgentTeamTimelineToolResult {
|
|
|
137
141
|
};
|
|
138
142
|
}
|
|
139
143
|
/**
|
|
140
|
-
* Config of the Team Host row: the Human profile (see human-profile.ts)
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
144
|
+
* Config of the Team Host row: the Human profile (see human-profile.ts), the
|
|
145
|
+
* long-gap gate's thresholds, and the judge those thresholds are applied to.
|
|
146
|
+
* The settings service derives every form from the owning plugin's Config, so
|
|
147
|
+
* the profile is this plugin's own config rather than a section of its own.
|
|
148
|
+
*
|
|
149
|
+
* Every field here is volatile, and one rule follows from that: the settings
|
|
150
|
+
* service offers a form only for volatile fields, so a non-volatile field would
|
|
151
|
+
* be invisible AND unwritable — it would exist only in a deployment's patch
|
|
152
|
+
* layer. The gate's thresholds were that kind of field until the deadline a
|
|
153
|
+
* judge can answer within turned out to be a property of the endpoint rather
|
|
154
|
+
* than of the bundle; they are volatile now, and the Host keeps one gate object
|
|
155
|
+
* whose fields it refreshes in place, because the engine reads them per step.
|
|
145
156
|
*/
|
|
146
157
|
export interface Config {
|
|
147
158
|
name: Volatile<string>;
|
|
148
159
|
avatarRef: Volatile<string | undefined>;
|
|
160
|
+
/** Long-gap gate thresholds; an omitted field keeps the engine's default. */
|
|
161
|
+
readonly gate: TeamGateSettings;
|
|
162
|
+
/** The relatedness judge's own settings; a key here is what mounts it. */
|
|
163
|
+
readonly jev: TeamJudgeSettings;
|
|
164
|
+
}
|
|
165
|
+
/** The Host row's `gate` fields, as the settings service reads and writes them. */
|
|
166
|
+
export interface TeamGateSettings {
|
|
167
|
+
/** At or above this context size the gate may hold a step. */
|
|
168
|
+
readonly tokens: Volatile<number | undefined>;
|
|
169
|
+
/** A generation idle for at least this long counts as a long gap. */
|
|
170
|
+
readonly idleMs: Volatile<number | undefined>;
|
|
171
|
+
/** How long one judgement may take before the step proceeds ungated. */
|
|
172
|
+
readonly judgeTimeoutMs: Volatile<number | undefined>;
|
|
173
|
+
}
|
|
174
|
+
/** The Host row's `jev` fields, as the settings service reads and writes them. */
|
|
175
|
+
export interface TeamJudgeSettings {
|
|
176
|
+
/** The API key itself; secret on read, and the switch that mounts the judge. */
|
|
177
|
+
apiKey: Volatile<string | undefined>;
|
|
178
|
+
/** The environment variable holding the key, when it is not stated here. */
|
|
179
|
+
apiKeyEnv: Volatile<string | undefined>;
|
|
180
|
+
/** The model id sent with every judgement. */
|
|
181
|
+
model: Volatile<string | undefined>;
|
|
182
|
+
/** The endpoint base the judgements go to. */
|
|
183
|
+
apiBase: Volatile<string | undefined>;
|
|
149
184
|
}
|
|
185
|
+
/**
|
|
186
|
+
* The Host row's whole schema: the profile fields verbatim, so their volatility
|
|
187
|
+
* and defaults stay owned by {@link HUMAN_PROFILE_SETTINGS_SCHEMA}, plus the
|
|
188
|
+
* gate and the judge. A patch layer that targets this row replaces its whole
|
|
189
|
+
* config, so the parts are declared together here and nowhere else.
|
|
190
|
+
*/
|
|
191
|
+
export declare const TEAM_HOST_ROW_SETTINGS_SCHEMA: z<Schemastery.ObjectS<NoInfer<{
|
|
192
|
+
gate: z<Schemastery.ObjectS<NoInfer<{
|
|
193
|
+
tokens: z<number, number, "volatile">;
|
|
194
|
+
idleMs: z<number, number, "volatile">;
|
|
195
|
+
judgeTimeoutMs: z<number, number, "volatile">;
|
|
196
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
197
|
+
tokens: z<number, number, "volatile">;
|
|
198
|
+
idleMs: z<number, number, "volatile">;
|
|
199
|
+
judgeTimeoutMs: z<number, number, "volatile">;
|
|
200
|
+
}>>, "plain">;
|
|
201
|
+
jev: z<Schemastery.ObjectS<NoInfer<{
|
|
202
|
+
apiKey: z<string, string, "volatile">;
|
|
203
|
+
apiKeyEnv: z<string, string, "volatile">;
|
|
204
|
+
model: z<string, string, "volatile">;
|
|
205
|
+
apiBase: z<string, string, "volatile">;
|
|
206
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
207
|
+
apiKey: z<string, string, "volatile">;
|
|
208
|
+
apiKeyEnv: z<string, string, "volatile">;
|
|
209
|
+
model: z<string, string, "volatile">;
|
|
210
|
+
apiBase: z<string, string, "volatile">;
|
|
211
|
+
}>>, "plain">;
|
|
212
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
213
|
+
gate: z<Schemastery.ObjectS<NoInfer<{
|
|
214
|
+
tokens: z<number, number, "volatile">;
|
|
215
|
+
idleMs: z<number, number, "volatile">;
|
|
216
|
+
judgeTimeoutMs: z<number, number, "volatile">;
|
|
217
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
218
|
+
tokens: z<number, number, "volatile">;
|
|
219
|
+
idleMs: z<number, number, "volatile">;
|
|
220
|
+
judgeTimeoutMs: z<number, number, "volatile">;
|
|
221
|
+
}>>, "plain">;
|
|
222
|
+
jev: z<Schemastery.ObjectS<NoInfer<{
|
|
223
|
+
apiKey: z<string, string, "volatile">;
|
|
224
|
+
apiKeyEnv: z<string, string, "volatile">;
|
|
225
|
+
model: z<string, string, "volatile">;
|
|
226
|
+
apiBase: z<string, string, "volatile">;
|
|
227
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
228
|
+
apiKey: z<string, string, "volatile">;
|
|
229
|
+
apiKeyEnv: z<string, string, "volatile">;
|
|
230
|
+
model: z<string, string, "volatile">;
|
|
231
|
+
apiBase: z<string, string, "volatile">;
|
|
232
|
+
}>>, "plain">;
|
|
233
|
+
}>>, "plain">;
|
|
150
234
|
/** Host owner of the single Agent Team in one dshHome. */
|
|
151
235
|
export default class AgentTeam extends TypertRemoteService {
|
|
152
236
|
config: Config;
|
|
153
|
-
static Config:
|
|
154
|
-
|
|
155
|
-
|
|
237
|
+
static Config: z<Schemastery.ObjectS<NoInfer<{
|
|
238
|
+
gate: z<Schemastery.ObjectS<NoInfer<{
|
|
239
|
+
tokens: z<number, number, "volatile">;
|
|
240
|
+
idleMs: z<number, number, "volatile">;
|
|
241
|
+
judgeTimeoutMs: z<number, number, "volatile">;
|
|
242
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
243
|
+
tokens: z<number, number, "volatile">;
|
|
244
|
+
idleMs: z<number, number, "volatile">;
|
|
245
|
+
judgeTimeoutMs: z<number, number, "volatile">;
|
|
246
|
+
}>>, "plain">;
|
|
247
|
+
jev: z<Schemastery.ObjectS<NoInfer<{
|
|
248
|
+
apiKey: z<string, string, "volatile">;
|
|
249
|
+
apiKeyEnv: z<string, string, "volatile">;
|
|
250
|
+
model: z<string, string, "volatile">;
|
|
251
|
+
apiBase: z<string, string, "volatile">;
|
|
252
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
253
|
+
apiKey: z<string, string, "volatile">;
|
|
254
|
+
apiKeyEnv: z<string, string, "volatile">;
|
|
255
|
+
model: z<string, string, "volatile">;
|
|
256
|
+
apiBase: z<string, string, "volatile">;
|
|
257
|
+
}>>, "plain">;
|
|
156
258
|
}>>, Schemastery.ObjectT<NoInfer<{
|
|
157
|
-
|
|
158
|
-
|
|
259
|
+
gate: z<Schemastery.ObjectS<NoInfer<{
|
|
260
|
+
tokens: z<number, number, "volatile">;
|
|
261
|
+
idleMs: z<number, number, "volatile">;
|
|
262
|
+
judgeTimeoutMs: z<number, number, "volatile">;
|
|
263
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
264
|
+
tokens: z<number, number, "volatile">;
|
|
265
|
+
idleMs: z<number, number, "volatile">;
|
|
266
|
+
judgeTimeoutMs: z<number, number, "volatile">;
|
|
267
|
+
}>>, "plain">;
|
|
268
|
+
jev: z<Schemastery.ObjectS<NoInfer<{
|
|
269
|
+
apiKey: z<string, string, "volatile">;
|
|
270
|
+
apiKeyEnv: z<string, string, "volatile">;
|
|
271
|
+
model: z<string, string, "volatile">;
|
|
272
|
+
apiBase: z<string, string, "volatile">;
|
|
273
|
+
}>>, Schemastery.ObjectT<NoInfer<{
|
|
274
|
+
apiKey: z<string, string, "volatile">;
|
|
275
|
+
apiKeyEnv: z<string, string, "volatile">;
|
|
276
|
+
model: z<string, string, "volatile">;
|
|
277
|
+
apiBase: z<string, string, "volatile">;
|
|
278
|
+
}>>, "plain">;
|
|
159
279
|
}>>, "plain">;
|
|
160
280
|
static inject: string[];
|
|
161
281
|
private domain?;
|
|
@@ -185,6 +305,16 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
185
305
|
*/
|
|
186
306
|
private readonly memberFailures;
|
|
187
307
|
private readonly pressurePolicy;
|
|
308
|
+
/**
|
|
309
|
+
* The gate thresholds the pressure policy reads, and the only copy of them:
|
|
310
|
+
* refreshed in place from the row's volatile config, never replaced, so the
|
|
311
|
+
* engine's per-step read sees a settings edit without a remount. It starts at
|
|
312
|
+
* Team's own judge budget and the constructor's refresh replaces that with the
|
|
313
|
+
* row's, so the budget is never absent at any point a step could read it.
|
|
314
|
+
*/
|
|
315
|
+
private readonly gate;
|
|
316
|
+
/** The long-gap gate's judge: this Host's own `jev` mount, reconciled with the row. */
|
|
317
|
+
private readonly contextJudge;
|
|
188
318
|
private readonly notifiedInbox;
|
|
189
319
|
private attachmentGcTimer?;
|
|
190
320
|
/**
|
|
@@ -223,6 +353,19 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
223
353
|
private presenceEpoch;
|
|
224
354
|
private readonly changeWaiters;
|
|
225
355
|
constructor(ctx: Context, config: Config);
|
|
356
|
+
/** The Host row's judge settings, as one plain config for the mount. */
|
|
357
|
+
private judgeConfig;
|
|
358
|
+
/**
|
|
359
|
+
* Copy the row's gate thresholds into the one gate object the pressure policy
|
|
360
|
+
* holds. Called once at construction and again on every volatile update, so
|
|
361
|
+
* the policy always reads the thresholds the settings document states.
|
|
362
|
+
*
|
|
363
|
+
* Two fields pass through as the row states them, and the engine answers an
|
|
364
|
+
* omitted one with its own default. The judge's budget does not: a judge is
|
|
365
|
+
* reached over a network, so Team answers for that number itself rather than
|
|
366
|
+
* making every deployment discover the engine's local-call default.
|
|
367
|
+
*/
|
|
368
|
+
private refreshGate;
|
|
226
369
|
/** Current human display name; the single source for team_view and @ matching. */
|
|
227
370
|
humanHandle(): string;
|
|
228
371
|
/** Current human profile reference held in this Host row's Config (name + avatarRef). */
|
|
@@ -236,7 +379,8 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
236
379
|
* The two judgements the Config schema cannot make about a Human name: the
|
|
237
380
|
* same non-empty floor as Member handles, plus global uniqueness against live
|
|
238
381
|
* Members. `setHumanProfile` runs it before the write, so a colliding rename
|
|
239
|
-
* rejects instead of persisting.
|
|
382
|
+
* rejects instead of persisting. It reads the one field it judges, so the
|
|
383
|
+
* caller passes the name alone rather than a whole profile shape.
|
|
240
384
|
*/
|
|
241
385
|
private validateHumanProfile;
|
|
242
386
|
/**
|
|
@@ -299,7 +443,7 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
299
443
|
archiveChannel(request: AgentTeamArchiveChannelRequest): Promise<AgentTeamArchiveChannelResult>;
|
|
300
444
|
/** Create a durable Member and atomically grant its declared initial Channels. */
|
|
301
445
|
addMember(request: AgentTeamAddMemberRequest): Promise<AgentTeamAddMemberResult>;
|
|
302
|
-
/** Commit suspended intent, then
|
|
446
|
+
/** Commit suspended intent, then run the suspended row of the effect table: the owned AgentHandle is disposed, the Session stays. */
|
|
303
447
|
suspendMember(request: AgentTeamSetMemberStateRequest): Promise<AgentTeamMemberResult>;
|
|
304
448
|
/** Commit enabled intent and restore the exact persisted Session. */
|
|
305
449
|
resumeMember(request: AgentTeamSetMemberStateRequest): Promise<AgentTeamMemberResult>;
|
|
@@ -308,7 +452,9 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
308
452
|
* continuation prompt into its live session, rebuild it after an orphaned
|
|
309
453
|
* preset composition, or re-run activation when no live session exists.
|
|
310
454
|
* Runtime-only — no ledger operation, no suspend. Taking over manually also
|
|
311
|
-
* cancels any pending automatic recovery episode.
|
|
455
|
+
* cancels any pending automatic recovery episode. A non-enabled Member
|
|
456
|
+
* still holding a live handle is an interrupted suspend/archive/remove,
|
|
457
|
+
* not a stalled one; recovery finishes that cleanup instead of nudging it.
|
|
312
458
|
*/
|
|
313
459
|
recoverMember(request: AgentTeamRecoverMemberRequest): Promise<AgentTeamRecoverMemberResult>;
|
|
314
460
|
/**
|
|
@@ -323,6 +469,50 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
323
469
|
* grayed session view.
|
|
324
470
|
*/
|
|
325
471
|
clearMemberContext(request: AgentTeamClearMemberContextRequest): Promise<AgentTeamClearMemberContextResult>;
|
|
472
|
+
/**
|
|
473
|
+
* Finish one Member's committed Session transition, whichever half a failure
|
|
474
|
+
* interrupted. The ledger already records the binding the Member should run
|
|
475
|
+
* and the Session it left, so only external effects remain and each is
|
|
476
|
+
* derived fresh: a generation still live on the old Session is retired, the
|
|
477
|
+
* retired Session is archived once the registry does not yet report it
|
|
478
|
+
* archived, and the target activates when no live generation runs it.
|
|
479
|
+
*
|
|
480
|
+
* A live handle alone never decides completion — disposal can succeed and
|
|
481
|
+
* leave the archive half owed — so the registry's own archive set is the
|
|
482
|
+
* evidence for that step.
|
|
483
|
+
*
|
|
484
|
+
* `forkedFrom` marks a PLANNED in-process activation (the caller just
|
|
485
|
+
* retired that Session in this same request): `activateMember` reads its
|
|
486
|
+
* absence as a recovered Session that may never have materialized and runs
|
|
487
|
+
* the handoff-reconstruction path. Startup, retry, and explicit recovery
|
|
488
|
+
* therefore leave it unset; only the request that committed the transition
|
|
489
|
+
* supplies it.
|
|
490
|
+
*
|
|
491
|
+
* Callers must already hold the lifecycle queue (or run before any other
|
|
492
|
+
* lifecycle work): this method does not re-enter it.
|
|
493
|
+
*/
|
|
494
|
+
private finishMemberTransition;
|
|
495
|
+
/**
|
|
496
|
+
* Converge one Member's external effects onto its durable lifecycle state
|
|
497
|
+
* — the single effect table every lifecycle operation runs right after its
|
|
498
|
+
* commit and startup re-runs for every non-enabled Member:
|
|
499
|
+
*
|
|
500
|
+
* - `suspended`: no live handle; the Session and private memory stay.
|
|
501
|
+
* - `archived`: no live handle; the Session is hidden from grouping
|
|
502
|
+
* surfaces while its log and private memory stay on disk.
|
|
503
|
+
* - `inactive`: no live handle; the Session is archived and the private
|
|
504
|
+
* memory deleted — removeMember's cleanup primitives.
|
|
505
|
+
*
|
|
506
|
+
* `enabled` has no entry here: its effects belong to the recorded Session
|
|
507
|
+
* transition and activation. Every step is derived from the durable state
|
|
508
|
+
* and safe to repeat — the registry's archive set decides whether the
|
|
509
|
+
* hide half is owed, disposal tolerates an absent handle, and removal
|
|
510
|
+
* cleanup force-tolerates an already-cleaned target — so a repeat after a
|
|
511
|
+
* crash or a failed call runs exactly the owed steps and never a second
|
|
512
|
+
* durable write. Callers must already hold the lifecycle queue (or run
|
|
513
|
+
* before any other lifecycle work, as startup does).
|
|
514
|
+
*/
|
|
515
|
+
private convergeMemberEffects;
|
|
326
516
|
/**
|
|
327
517
|
* Retire one Member's previous generation after its durable binding moved
|
|
328
518
|
* onto a new Session id: drop the old handle's transient state, dispose the
|
|
@@ -401,7 +591,9 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
401
591
|
/**
|
|
402
592
|
* Resolve uploaded ids and agent-supplied absolute paths into one attachment
|
|
403
593
|
* metadata list. Paths are all validated before anything is copied, so one
|
|
404
|
-
* rejection leaves the cache untouched and the message uncommitted.
|
|
594
|
+
* rejection leaves the cache untouched and the message uncommitted. Each copy
|
|
595
|
+
* takes the id its request derives, so a retry converges on the entry the
|
|
596
|
+
* first attempt prepared instead of writing an orphan.
|
|
405
597
|
*/
|
|
406
598
|
private resolveMessageAttachments;
|
|
407
599
|
/** Verify requested attachment ids against the cache. */
|
|
@@ -411,10 +603,32 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
411
603
|
* line per attachment appended to the member-facing text.
|
|
412
604
|
*/
|
|
413
605
|
private appendAttachmentLines;
|
|
414
|
-
/**
|
|
606
|
+
/**
|
|
607
|
+
* Upload one composer attachment into the cache; bytes are immutable once
|
|
608
|
+
* written. The requestId is the idempotency key: a retried upload derives
|
|
609
|
+
* the same cache id and replays the original result, while reusing that key
|
|
610
|
+
* for a different payload is refused as a request collision.
|
|
611
|
+
*/
|
|
415
612
|
putAttachment(request: AgentTeamPutAttachmentRequest): Promise<AgentTeamPutAttachmentResult>;
|
|
416
|
-
/**
|
|
613
|
+
/**
|
|
614
|
+
* Read one cached attachment back for client display. A gone entry is the
|
|
615
|
+
* one expected failure on this path, so it carries the stable
|
|
616
|
+
* `team/attachment-not-found` code the Client branches on; anything else
|
|
617
|
+
* (unreadable metadata, filesystem trouble) stays an unknown Host error.
|
|
618
|
+
*/
|
|
417
619
|
getAttachment(request: AgentTeamGetAttachmentRequest): Promise<AgentTeamGetAttachmentResult>;
|
|
620
|
+
/**
|
|
621
|
+
* The long-gap gate's judge, as the Team settings surface states it: whether
|
|
622
|
+
* a judge is reachable, why not when none is, and the thresholds in force.
|
|
623
|
+
* The judge's own fields (key presence, endpoint, model) ride the settings
|
|
624
|
+
* document this row already publishes, so nothing here restates them; the
|
|
625
|
+
* gate's thresholds are row configuration the settings document deliberately
|
|
626
|
+
* omits, which is why the Host resolves an omitted field here rather than
|
|
627
|
+
* letting a second copy of those numbers exist. Two of the three fall back to
|
|
628
|
+
* the engine's own default; the judge's budget falls back to Team's, because
|
|
629
|
+
* that is the number the gate itself is given.
|
|
630
|
+
*/
|
|
631
|
+
contextJudgeForClient(_request: AgentTeamContextJudgeRequest): AgentTeamContextJudgeResult;
|
|
418
632
|
/**
|
|
419
633
|
* Human profile read for the settings page and footnote: name + avatar
|
|
420
634
|
* reference from this Host row's live Config plus version facts. Human-scoped
|
|
@@ -423,6 +637,24 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
423
637
|
* `updateAvailable` is false until a background refresh actually observes a
|
|
424
638
|
* newer published release.
|
|
425
639
|
*/
|
|
640
|
+
/**
|
|
641
|
+
* Local environment check for the settings page: which DSH line this Host
|
|
642
|
+
* runs against, and whether that line is inside the range this bundle
|
|
643
|
+
* declares. Human-scoped and read-only — the Client renders the verdict and
|
|
644
|
+
* states the range in words, and nothing here is written back.
|
|
645
|
+
*
|
|
646
|
+
* Synchronous like `humanProfile`: both read the installed manifest once and
|
|
647
|
+
* settle immediately, and the verdict comes from the Harness's own
|
|
648
|
+
* compatibility evaluator rather than a second version comparison written
|
|
649
|
+
* here.
|
|
650
|
+
*
|
|
651
|
+
* The wire type and `EnvironmentReport` keep separate top-level field lists on
|
|
652
|
+
* purpose: the contract states every fact as optional because a Transport may
|
|
653
|
+
* withhold any of them, while the report is the stricter thing the checker
|
|
654
|
+
* guarantees. This assignment is where the compiler holds the two together,
|
|
655
|
+
* and a new required contract field fails it here.
|
|
656
|
+
*/
|
|
657
|
+
environmentForClient(_request: AgentTeamEnvironmentRequest): AgentTeamEnvironmentResult;
|
|
426
658
|
humanProfileForClient(_request: AgentTeamHumanProfileRequest): AgentTeamHumanProfileResult;
|
|
427
659
|
/**
|
|
428
660
|
* Upload one human avatar image into the persistent store. Human-only by
|
|
@@ -605,6 +837,14 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
605
837
|
* artifact, so no retry can ever read it).
|
|
606
838
|
*/
|
|
607
839
|
private replayCarriedInput;
|
|
840
|
+
/**
|
|
841
|
+
* The compaction capability in one Member Agent's preset scope, or undefined
|
|
842
|
+
* when its composition mounts none. Both the pressure policy (the hard limit)
|
|
843
|
+
* and the engine's `context_compact` tool ask through here, so which realm
|
|
844
|
+
* holds the engine is stated once: a preset revision publishes services
|
|
845
|
+
* behind its own isolate, which `agent.ctx.get` cannot see from outside.
|
|
846
|
+
*/
|
|
847
|
+
compactionForAgent(agent: Agent): CompactionEngine | undefined;
|
|
608
848
|
/**
|
|
609
849
|
* Agent-only checkpoint request validation: the tool calls this inside its
|
|
610
850
|
* own running turn. Like `context_rollover`, the tool performs no side effect —
|
|
@@ -703,6 +943,16 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
703
943
|
private sendMessageAs;
|
|
704
944
|
/** Shared existing-Thread reply commit: same upload resolution and outcome emission. */
|
|
705
945
|
private replyAs;
|
|
946
|
+
/**
|
|
947
|
+
* After a failed message or reply attempt, remove the cache entries this
|
|
948
|
+
* attempt could have prepared — the request-stable path copies — unless a
|
|
949
|
+
* committed Message references them. The ledger's own reference set is the
|
|
950
|
+
* guard, so a post-commit failure or a colliding retry can never delete bytes
|
|
951
|
+
* a stored Message still points at; uploads are untouched, because an
|
|
952
|
+
* unreferenced upload is a legitimate state the GC owns. Cleanup failures are
|
|
953
|
+
* logged and never mask the original error.
|
|
954
|
+
*/
|
|
955
|
+
private dropUnreferencedPrepared;
|
|
706
956
|
/** Fence one Human Remote call: accepting Host, known Workspace, Human actor. */
|
|
707
957
|
private humanCall;
|
|
708
958
|
/** Fence one Member call: accepting Host, live Member binding, matching Workspace participation. */
|
|
@@ -761,6 +1011,19 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
761
1011
|
private requireLedger;
|
|
762
1012
|
private requireAccepting;
|
|
763
1013
|
private emitCommitted;
|
|
1014
|
+
/**
|
|
1015
|
+
* Run one effect that follows the ledger append. The operation is durable by
|
|
1016
|
+
* the time this runs, so a delivery or listener failure degrades to a log
|
|
1017
|
+
* line: the Remote answer stays the committed result instead of a false
|
|
1018
|
+
* rollback, and an Inbox wake that failed clears its own signature, so the
|
|
1019
|
+
* next commit touching that Member rederives the same durable facts and
|
|
1020
|
+
* retries without appending a second operation.
|
|
1021
|
+
*
|
|
1022
|
+
* An invariant divergence is the deliberate exception — the invariant
|
|
1023
|
+
* companion re-raises it on the caller's frame precisely to stay loud, and
|
|
1024
|
+
* swallowing it would silence a failed integrity check.
|
|
1025
|
+
*/
|
|
1026
|
+
private afterCommit;
|
|
764
1027
|
/** Model-visible active-Claim labels for the pressure notice. */
|
|
765
1028
|
private activeClaimLabels;
|
|
766
1029
|
/** Model-visible running/stopping job labels for the pressure notice. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AACrE,OAAO,EAAyB,KAAK,KAAK,EAA4C,MAAM,wBAAw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AWG;IACH,OAAO,CAAC,WAAW;IASnB,iEAAiE;IACjE,OAAO,CAAC,iBAAiB;IAWzB,yEAAyE;IACzE,OAAO,CAAC,gBAAgB;IAUxB,OAAO,CAAC,yBAAyB;IAIjC;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAI3B,gHAAgH;IAChH,OAAO,CAAC,yBAAyB;IAIjC,4FAA4F;IAC5F,OAAO,CAAC,YAAY;IA8CpB,OAAO,CAAC,aAAa;IAMrB,OAAO,CAAC,gBAAgB;IAMxB,OAAO,CAAC,gBAAgB;IA8CxB,OAAO,CAAC,uBAAuB;IAK/B,OAAO,CAAC,oBAAoB;IAwC5B,6EAA6E;YAC/D,oBAAoB;IAalC,OAAO,CAAC,wBAAwB;IAMhC,OAAO,CAAC,4BAA4B;IAIpC;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,WAAW;IAYnB;;;;;;OAMG;IACH,OAAO,CAAC,eAAe;IAKvB,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,gBAAgB;CAMzB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** The installed bundle's own manifest, read once for both facts taken from it. */
|
|
2
|
+
/**
|
|
3
|
+
* Parsed manifest of the installed bundle, or `undefined` when it cannot be
|
|
4
|
+
* read.
|
|
5
|
+
*
|
|
6
|
+
* Three levels up: `packages/agent-team/{src,lib}` sits that deep in both a
|
|
7
|
+
* `link:` checkout and a registry tarball, so a development install and a
|
|
8
|
+
* published one each state their own truth. An unreadable or malformed manifest
|
|
9
|
+
* is a broken install, not a failure of whatever asked: every caller degrades to
|
|
10
|
+
* `'unknown'` or withholds the line it would have stated, so reading this can
|
|
11
|
+
* never fail the Host boot.
|
|
12
|
+
*/
|
|
13
|
+
export declare function readInstalledManifest(): Record<string, unknown> | undefined;
|
|
14
|
+
/** Version of the manifest this package installed from, or `'unknown'`. */
|
|
15
|
+
export declare function bundleVersionOf(manifest: Record<string, unknown> | undefined): string;
|
|
16
|
+
//# sourceMappingURL=installed-manifest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"installed-manifest.d.ts","sourceRoot":"","sources":["../../src/installed-manifest.ts"],"names":[],"mappings":"AAAA,mFAAmF;AAMnF;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAU3E;AAED,2EAA2E;AAC3E,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,MAAM,CAGrF"}
|
|
@@ -2,12 +2,34 @@
|
|
|
2
2
|
import type { Context } from '@deepseek-ai/cordis';
|
|
3
3
|
/** Cordis companion plugin name. */
|
|
4
4
|
export declare const name = "agent-team-invariant";
|
|
5
|
-
/**
|
|
5
|
+
/**
|
|
6
|
+
* Services required before the companion can validate Team state. The check
|
|
7
|
+
* is self-hosted in this plugin's own fiber — companions used to register
|
|
8
|
+
* into `@deepseek-ai/dsh-invariants`, which the Harness line after `rc.2`
|
|
9
|
+
* removes wholesale.
|
|
10
|
+
*/
|
|
6
11
|
export declare const inject: string[];
|
|
7
12
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
13
|
+
* A violated Team ledger invariant, raised on the frame that triggered the
|
|
14
|
+
* check: boot when the mount replay fails, the committing call while a
|
|
15
|
+
* divergence is latched. The Host's post-commit boundary recognizes this class
|
|
16
|
+
* and re-raises it instead of degrading it to a log line.
|
|
17
|
+
*/
|
|
18
|
+
export declare class AgentTeamInvariantError extends Error {
|
|
19
|
+
/** Stable failure code, carried over from the removed upstream error class. */
|
|
20
|
+
readonly code: "INVARIANT";
|
|
21
|
+
/** Full npm package name that owns the violated invariant. */
|
|
22
|
+
readonly packageName = "@wowyuarm/dsh-agent-team";
|
|
23
|
+
/**
|
|
24
|
+
* Construct a Team invariant failure.
|
|
25
|
+
* @param message - violated contract, without the standard error prefix.
|
|
26
|
+
*/
|
|
27
|
+
constructor(message: string);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Validate Team state at mount and keep validating it after every commit.
|
|
31
|
+
* @param ctx - Cordis context carrying the Agent Team service.
|
|
32
|
+
* @returns nothing; listeners and the pending check ride the plugin fiber.
|
|
11
33
|
*/
|
|
12
|
-
export declare const apply: (ctx: Context) =>
|
|
34
|
+
export declare const apply: (ctx: Context) => void;
|
|
13
35
|
//# sourceMappingURL=invariant.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invariant.d.ts","sourceRoot":"","sources":["../../src/invariant.ts"],"names":[],"mappings":"AAAA,wEAAwE;AAExE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"invariant.d.ts","sourceRoot":"","sources":["../../src/invariant.ts"],"names":[],"mappings":"AAAA,wEAAwE;AAExE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAIlD,oCAAoC;AACpC,eAAO,MAAM,IAAI,yBAAyB,CAAA;AAC1C;;;;;GAKG;AACH,eAAO,MAAM,MAAM,UAAgB,CAAA;AAEnC;;;;;GAKG;AACH,qBAAa,uBAAwB,SAAQ,KAAK;IAChD,+EAA+E;IAC/E,QAAQ,CAAC,IAAI,EAAG,WAAW,CAAS;IACpC,8DAA8D;IAC9D,QAAQ,CAAC,WAAW,8BAAe;IAEnC;;;OAGG;gBACS,OAAO,EAAE,MAAM;CAI5B;AAED;;;;GAIG;AACH,eAAO,MAAM,KAAK,GAAI,KAAK,OAAO,KAAG,IA2CpC,CAAA"}
|
|
@@ -614,6 +614,18 @@ export declare class AgentTeamLedger {
|
|
|
614
614
|
private claimsForTask;
|
|
615
615
|
private claimsForTaskFrom;
|
|
616
616
|
private claimsForVisibleTasks;
|
|
617
|
+
/**
|
|
618
|
+
* The team_view「活跃 task thread」radar for a Workspace: every visible Task
|
|
619
|
+
* still in flight — in_progress or in_review, the two states a live Claim
|
|
620
|
+
* keeps a Task in — newest activity first. Unlike `recentInboxItems`, this is
|
|
621
|
+
* not a participation slice: admission is the Task being active in a Channel
|
|
622
|
+
* the reader can see, whether or not the reader wrote in it, and a Thread
|
|
623
|
+
* still holding the reader's unread is not excluded. Rows carry the same
|
|
624
|
+
* `liveClaimOwners`口径 the Inbox and Channel feed already use, so 「谁在这个
|
|
625
|
+
* Task 上」 never gains a second definition. Archived Channels are already
|
|
626
|
+
* absent from `visibleTasks`, so their Tasks never reach here.
|
|
627
|
+
*/
|
|
628
|
+
private activeTaskThreads;
|
|
617
629
|
private tasksForClaims;
|
|
618
630
|
/** Resolve one Task's Thread for a workspace-authorized actor; Member actors must belong to the Task's Channel. */
|
|
619
631
|
private threadForActor;
|