@wowyuarm/dsh-agent-team 0.2.0 → 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 +5 -5
- package/README.zh.md +5 -5
- package/cordis.patch.yml +26 -12
- package/package.json +50 -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/index.js +482 -97
- package/packages/agent-team/lib/invariant.js +36 -12
- package/packages/agent-team/lib/ledger.js +2 -1
- package/packages/agent-team/lib/member-runtime.js +2 -1
- package/packages/agent-team/lib/recovery.js +53 -4
- package/packages/agent-team/lib/typert.host.js +138 -44
- package/packages/agent-team/lib/typert.remote-client.d.ts +3 -1
- package/packages/agent-team/lib/typert.remote-client.d.ts.map +1 -1
- package/packages/agent-team/lib/typert.remote-client.js +75 -35
- 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/index.d.ts +259 -17
- package/packages/agent-team/lib/types/index.d.ts.map +1 -1
- 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.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/recovery.d.ts +19 -6
- package/packages/agent-team/lib/types/recovery.d.ts.map +1 -1
- package/packages/agent-team/lib/types/types/requests-results.d.ts +28 -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 +1006 -374
- package/packages/client-agent-team/lib/client.js.map +1 -1
- package/packages/client-agent-team/lib/types/client/{HumanSettingsSection.d.ts → TeamSettingsSection.d.ts} +12 -4
- 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/index.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/index.js +75 -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 +52 -6
- package/packages/client-agent-team/lib/types/client/locales.d.ts.map +1 -1
- package/packages/client-agent-team/lib/types/client/locales.js +55 -6
- 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 +84 -112
- package/packages/tool-agent-team/lib/types/context-tools.d.ts +29 -13
- package/packages/tool-agent-team/lib/types/context-tools.d.ts.map +1 -1
- package/packages/agent-team/lib/pressure-policy.js +0 -235
- package/packages/agent-team/lib/types/pressure-policy.d.ts +0 -134
- package/packages/agent-team/lib/types/pressure-policy.d.ts.map +0 -1
- 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 -118
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Team's relatedness judge: the long-gap gate's `jev` service, mounted by this
|
|
3
|
+
* bundle when a key resolves and left unmounted when none does.
|
|
4
|
+
*
|
|
5
|
+
* The key is the switch, so nothing here decides policy: a key in the Host
|
|
6
|
+
* row's `jev` config — or in the environment variable that config names —
|
|
7
|
+
* mounts the service, clearing it unmounts the service, and the gate asks
|
|
8
|
+
* whatever is mounted. A deployment that mounts its own `jev` row keeps
|
|
9
|
+
* working, because the judge is read as a service rather than as this mount.
|
|
10
|
+
*
|
|
11
|
+
* The mount also carries the one setting the two sides must agree on: jev's own
|
|
12
|
+
* call budget is derived from the gate's deadline, so a judge can never be
|
|
13
|
+
* configured to outlive the time the gate gives it — the mismatch that would
|
|
14
|
+
* otherwise leave every long-gap step ungated without a word.
|
|
15
|
+
* @module @wowyuarm/dsh-agent-team/context-judge
|
|
16
|
+
*/
|
|
17
|
+
import type { Context } from '@deepseek-ai/cordis';
|
|
18
|
+
import { type JevPluginConfig } from '@wowyuarm/dsh-jev';
|
|
19
|
+
import type { PressureJudgement } from '@wowyuarm/dsh-context-continuity';
|
|
20
|
+
/** The Host row's `jev` config: where the judge's key, endpoint and model come from. */
|
|
21
|
+
export interface TeamContextJudgeConfig {
|
|
22
|
+
readonly apiKey?: string | undefined;
|
|
23
|
+
readonly apiKeyEnv?: string | undefined;
|
|
24
|
+
readonly model?: string | undefined;
|
|
25
|
+
readonly apiBase?: string | undefined;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The config one mount runs with. Exported because it is the whole contract
|
|
29
|
+
* between the gate's deadline and the judge's own budget, and a pure function
|
|
30
|
+
* is what a test can hold still.
|
|
31
|
+
*/
|
|
32
|
+
export declare function judgeMountConfig(config: TeamContextJudgeConfig | undefined, key: string, envName: string, deadlineMs: number): JevPluginConfig;
|
|
33
|
+
/** The judge's status as the Team settings surface reads it. */
|
|
34
|
+
export interface TeamContextJudgeStatus {
|
|
35
|
+
/** Whether a judge is reachable for the next step. */
|
|
36
|
+
readonly enabled: boolean;
|
|
37
|
+
/** Why no judge is reachable; absent when one is. */
|
|
38
|
+
readonly reason?: 'no-key' | 'unavailable' | undefined;
|
|
39
|
+
/** Host-side diagnostic behind `unavailable`; never rendered as user copy. */
|
|
40
|
+
readonly detail?: string | undefined;
|
|
41
|
+
/** The environment variable this deployment reads the key from. */
|
|
42
|
+
readonly keyEnv: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* One Host's judge: the service it mounted, the failure that kept one from
|
|
46
|
+
* mounting, and the reconciliation that keeps the two in step with the row.
|
|
47
|
+
*/
|
|
48
|
+
export declare class TeamContextJudge {
|
|
49
|
+
private readonly ctx;
|
|
50
|
+
private readonly options;
|
|
51
|
+
private fiber;
|
|
52
|
+
private failure;
|
|
53
|
+
/** The mount the live fiber runs with, so an unchanged row does not restart it. */
|
|
54
|
+
private mounted;
|
|
55
|
+
constructor(ctx: Context, options: {
|
|
56
|
+
/** The Host row's live `jev` config. */
|
|
57
|
+
readonly config: () => TeamContextJudgeConfig | undefined;
|
|
58
|
+
/** The gate's effective judgement deadline, in milliseconds. */
|
|
59
|
+
readonly deadlineMs: () => number;
|
|
60
|
+
});
|
|
61
|
+
/**
|
|
62
|
+
* The judge a step may ask, or undefined when the deployment has none: this
|
|
63
|
+
* bundle's own mount first, then a service another row mounted.
|
|
64
|
+
*/
|
|
65
|
+
judge(): PressureJudgement | undefined;
|
|
66
|
+
/** The environment variable this deployment reads the key from. */
|
|
67
|
+
keyEnv(): string;
|
|
68
|
+
/** Whether a key is resolvable right now, from the row or from its environment. */
|
|
69
|
+
private key;
|
|
70
|
+
/**
|
|
71
|
+
* Make the mount match the row: mount when a key resolves and none is
|
|
72
|
+
* mounted, re-configure a live mount whose settings changed, unmount when the
|
|
73
|
+
* key is gone. Called at init and on every volatile update of the row, so a
|
|
74
|
+
* key written in the Team settings surface takes effect without a restart.
|
|
75
|
+
*/
|
|
76
|
+
sync(): Promise<void>;
|
|
77
|
+
/** Drop this bundle's mount, if it has one. */
|
|
78
|
+
private unmount;
|
|
79
|
+
/** What the Team settings surface states about the judge. */
|
|
80
|
+
status(): TeamContextJudgeStatus;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=context-judge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context-judge.d.ts","sourceRoot":"","sources":["../../src/context-judge.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAS,MAAM,qBAAqB,CAAA;AACzD,OAAO,EAA4B,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAClF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AAEzE,wFAAwF;AACxF,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACpC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACvC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACnC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACtC;AAyBD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,sBAAsB,GAAG,SAAS,EAC1C,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GACjB,eAAe,CAejB;AAED,gEAAgE;AAChE,MAAM,WAAW,sBAAsB;IACrC,sDAAsD;IACtD,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;IACzB,qDAAqD;IACrD,QAAQ,CAAC,MAAM,CAAC,EAAE,QAAQ,GAAG,aAAa,GAAG,SAAS,CAAA;IACtD,8EAA8E;IAC9E,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACpC,mEAAmE;IACnE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CACxB;AAED;;;GAGG;AACH,qBAAa,gBAAgB;IAOzB,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,OAAO;IAP1B,OAAO,CAAC,KAAK,CAAmB;IAChC,OAAO,CAAC,OAAO,CAAoB;IACnC,mFAAmF;IACnF,OAAO,CAAC,OAAO,CAAoB;gBAGhB,GAAG,EAAE,OAAO,EACZ,OAAO,EAAE;QACxB,wCAAwC;QACxC,QAAQ,CAAC,MAAM,EAAE,MAAM,sBAAsB,GAAG,SAAS,CAAA;QACzD,gEAAgE;QAChE,QAAQ,CAAC,UAAU,EAAE,MAAM,MAAM,CAAA;KAClC;IAGH;;;OAGG;IACH,KAAK,IAAI,iBAAiB,GAAG,SAAS;IAItC,mEAAmE;IACnE,MAAM,IAAI,MAAM;IAKhB,mFAAmF;IACnF,OAAO,CAAC,GAAG;IAIX;;;;;OAKG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IA+B3B,+CAA+C;YACjC,OAAO;IAOrB,6DAA6D;IAC7D,MAAM,IAAI,sBAAsB;CAUjC"}
|
|
@@ -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, 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';
|
|
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';
|
|
@@ -69,7 +71,7 @@ declare module '@deepseek-ai/cordis' {
|
|
|
69
71
|
/** Tool-side request for one context rollover; the Host validates without side effects. */
|
|
70
72
|
export interface AgentTeamNewContextToolRequest {
|
|
71
73
|
readonly memberId: AgentTeamMemberId;
|
|
72
|
-
/** Selected checkpoint ref from `
|
|
74
|
+
/** Selected checkpoint ref from `context_status`; absent means fresh. */
|
|
73
75
|
readonly checkpointRef?: AgentTeamContextCheckpointRef;
|
|
74
76
|
readonly relatedFiles?: readonly {
|
|
75
77
|
readonly path: string;
|
|
@@ -139,25 +141,141 @@ export interface AgentTeamTimelineToolResult {
|
|
|
139
141
|
};
|
|
140
142
|
}
|
|
141
143
|
/**
|
|
142
|
-
* Config of the Team Host row: the Human profile (see human-profile.ts)
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
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.
|
|
147
156
|
*/
|
|
148
157
|
export interface Config {
|
|
149
158
|
name: Volatile<string>;
|
|
150
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>;
|
|
151
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">;
|
|
152
234
|
/** Host owner of the single Agent Team in one dshHome. */
|
|
153
235
|
export default class AgentTeam extends TypertRemoteService {
|
|
154
236
|
config: Config;
|
|
155
|
-
static Config:
|
|
156
|
-
|
|
157
|
-
|
|
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">;
|
|
158
258
|
}>>, Schemastery.ObjectT<NoInfer<{
|
|
159
|
-
|
|
160
|
-
|
|
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">;
|
|
161
279
|
}>>, "plain">;
|
|
162
280
|
static inject: string[];
|
|
163
281
|
private domain?;
|
|
@@ -187,6 +305,16 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
187
305
|
*/
|
|
188
306
|
private readonly memberFailures;
|
|
189
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;
|
|
190
318
|
private readonly notifiedInbox;
|
|
191
319
|
private attachmentGcTimer?;
|
|
192
320
|
/**
|
|
@@ -225,6 +353,19 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
225
353
|
private presenceEpoch;
|
|
226
354
|
private readonly changeWaiters;
|
|
227
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;
|
|
228
369
|
/** Current human display name; the single source for team_view and @ matching. */
|
|
229
370
|
humanHandle(): string;
|
|
230
371
|
/** Current human profile reference held in this Host row's Config (name + avatarRef). */
|
|
@@ -302,7 +443,7 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
302
443
|
archiveChannel(request: AgentTeamArchiveChannelRequest): Promise<AgentTeamArchiveChannelResult>;
|
|
303
444
|
/** Create a durable Member and atomically grant its declared initial Channels. */
|
|
304
445
|
addMember(request: AgentTeamAddMemberRequest): Promise<AgentTeamAddMemberResult>;
|
|
305
|
-
/** 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. */
|
|
306
447
|
suspendMember(request: AgentTeamSetMemberStateRequest): Promise<AgentTeamMemberResult>;
|
|
307
448
|
/** Commit enabled intent and restore the exact persisted Session. */
|
|
308
449
|
resumeMember(request: AgentTeamSetMemberStateRequest): Promise<AgentTeamMemberResult>;
|
|
@@ -311,7 +452,9 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
311
452
|
* continuation prompt into its live session, rebuild it after an orphaned
|
|
312
453
|
* preset composition, or re-run activation when no live session exists.
|
|
313
454
|
* Runtime-only — no ledger operation, no suspend. Taking over manually also
|
|
314
|
-
* 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.
|
|
315
458
|
*/
|
|
316
459
|
recoverMember(request: AgentTeamRecoverMemberRequest): Promise<AgentTeamRecoverMemberResult>;
|
|
317
460
|
/**
|
|
@@ -326,6 +469,50 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
326
469
|
* grayed session view.
|
|
327
470
|
*/
|
|
328
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;
|
|
329
516
|
/**
|
|
330
517
|
* Retire one Member's previous generation after its durable binding moved
|
|
331
518
|
* onto a new Session id: drop the old handle's transient state, dispose the
|
|
@@ -404,7 +591,9 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
404
591
|
/**
|
|
405
592
|
* Resolve uploaded ids and agent-supplied absolute paths into one attachment
|
|
406
593
|
* metadata list. Paths are all validated before anything is copied, so one
|
|
407
|
-
* 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.
|
|
408
597
|
*/
|
|
409
598
|
private resolveMessageAttachments;
|
|
410
599
|
/** Verify requested attachment ids against the cache. */
|
|
@@ -414,10 +603,32 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
414
603
|
* line per attachment appended to the member-facing text.
|
|
415
604
|
*/
|
|
416
605
|
private appendAttachmentLines;
|
|
417
|
-
/**
|
|
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
|
+
*/
|
|
418
612
|
putAttachment(request: AgentTeamPutAttachmentRequest): Promise<AgentTeamPutAttachmentResult>;
|
|
419
|
-
/**
|
|
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
|
+
*/
|
|
420
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;
|
|
421
632
|
/**
|
|
422
633
|
* Human profile read for the settings page and footnote: name + avatar
|
|
423
634
|
* reference from this Host row's live Config plus version facts. Human-scoped
|
|
@@ -626,6 +837,14 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
626
837
|
* artifact, so no retry can ever read it).
|
|
627
838
|
*/
|
|
628
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;
|
|
629
848
|
/**
|
|
630
849
|
* Agent-only checkpoint request validation: the tool calls this inside its
|
|
631
850
|
* own running turn. Like `context_rollover`, the tool performs no side effect —
|
|
@@ -724,6 +943,16 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
724
943
|
private sendMessageAs;
|
|
725
944
|
/** Shared existing-Thread reply commit: same upload resolution and outcome emission. */
|
|
726
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;
|
|
727
956
|
/** Fence one Human Remote call: accepting Host, known Workspace, Human actor. */
|
|
728
957
|
private humanCall;
|
|
729
958
|
/** Fence one Member call: accepting Host, live Member binding, matching Workspace participation. */
|
|
@@ -782,6 +1011,19 @@ export default class AgentTeam extends TypertRemoteService {
|
|
|
782
1011
|
private requireLedger;
|
|
783
1012
|
private requireAccepting;
|
|
784
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;
|
|
785
1027
|
/** Model-visible active-Claim labels for the pressure notice. */
|
|
786
1028
|
private activeClaimLabels;
|
|
787
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,wBAAwB,CAAA;AAOpH,OAAO,EAAW,SAAS,EAAuC,MAAM,0BAA0B,CAAA;AAGlG,OAAO,EAAU,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAI9E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAO7D,OAAO,EAA0D,KAAK,uBAAuB,EAA4B,KAAK,qBAAqB,EAAuB,MAAM,kCAAkC,CAAA;AAIlN,OAAO,EAAoE,KAAK,4BAA4B,EAAE,MAAM,aAAa,CAAA;AAOjI,OAAO,KAAK,EACV,yBAAyB,EACzB,wBAAwB,EACxB,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,2BAA2B,EAC3B,0BAA0B,EAC1B,6BAA6B,EAC7B,4BAA4B,EAC5B,8BAA8B,EAC9B,6BAA6B,EAC7B,4BAA4B,EAC5B,2BAA2B,EAC3B,8BAA8B,EAC9B,6BAA6B,EAC7B,iCAAiC,EACjC,gCAAgC,EAChC,cAAc,EACd,qBAAqB,EACrB,2BAA2B,EAC3B,0BAA0B,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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"}
|