@namzu/sdk 28.0.0 → 29.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +93 -0
- package/dist/agents/ReactiveAgent.d.ts.map +1 -1
- package/dist/agents/ReactiveAgent.js +0 -1
- package/dist/agents/ReactiveAgent.js.map +1 -1
- package/dist/agents/SupervisorAgent.d.ts.map +1 -1
- package/dist/agents/SupervisorAgent.js +2 -4
- package/dist/agents/SupervisorAgent.js.map +1 -1
- package/dist/config/runtime.d.ts +8 -8
- package/dist/contracts/a2a.d.ts +10 -10
- package/dist/contracts/schemas.d.ts +12 -12
- package/dist/manager/index.d.ts +2 -2
- package/dist/manager/index.d.ts.map +1 -1
- package/dist/manager/index.js +2 -2
- package/dist/manager/index.js.map +1 -1
- package/dist/public-runtime.d.ts +7 -8
- package/dist/public-runtime.d.ts.map +1 -1
- package/dist/public-runtime.js +7 -8
- package/dist/public-runtime.js.map +1 -1
- package/dist/runtime/query/index.d.ts +0 -16
- package/dist/runtime/query/index.d.ts.map +1 -1
- package/dist/runtime/query/index.js +3 -10
- package/dist/runtime/query/index.js.map +1 -1
- package/dist/session/handoff/broadcast.d.ts +6 -2
- package/dist/session/handoff/broadcast.d.ts.map +1 -1
- package/dist/session/handoff/broadcast.js +1 -2
- package/dist/session/handoff/broadcast.js.map +1 -1
- package/dist/session/handoff/index.d.ts +1 -1
- package/dist/session/handoff/index.d.ts.map +1 -1
- package/dist/session/handoff/index.js +1 -1
- package/dist/session/handoff/index.js.map +1 -1
- package/dist/session/handoff/single.d.ts +7 -3
- package/dist/session/handoff/single.d.ts.map +1 -1
- package/dist/session/handoff/single.js +1 -7
- package/dist/session/handoff/single.js.map +1 -1
- package/dist/session/migration/id-prefix.d.ts +0 -11
- package/dist/session/migration/id-prefix.d.ts.map +1 -1
- package/dist/session/migration/id-prefix.js +0 -11
- package/dist/session/migration/id-prefix.js.map +1 -1
- package/dist/session/migration/index.d.ts +2 -2
- package/dist/session/migration/index.d.ts.map +1 -1
- package/dist/session/migration/index.js +2 -2
- package/dist/session/migration/index.js.map +1 -1
- package/dist/session/retention/archive.d.ts.map +1 -1
- package/dist/session/retention/archive.js +4 -16
- package/dist/session/retention/archive.js.map +1 -1
- package/dist/store/topic/memory.d.ts +4 -4
- package/dist/store/topic/memory.js +4 -4
- package/dist/tools/builtins/computer-use.d.ts +8 -8
- package/dist/types/agent/reactive.d.ts +0 -5
- package/dist/types/agent/reactive.d.ts.map +1 -1
- package/dist/types/agent/scheduler.d.ts +0 -10
- package/dist/types/agent/scheduler.d.ts.map +1 -1
- package/dist/types/agent/supervisor.d.ts +0 -10
- package/dist/types/agent/supervisor.d.ts.map +1 -1
- package/dist/types/authorization/index.d.ts +24 -285
- package/dist/types/authorization/index.d.ts.map +1 -1
- package/dist/types/authorization/index.js +0 -4
- package/dist/types/authorization/index.js.map +1 -1
- package/dist/types/common/index.d.ts +0 -8
- package/dist/types/common/index.d.ts.map +1 -1
- package/dist/types/common/index.js.map +1 -1
- package/dist/types/ids/index.d.ts +0 -15
- package/dist/types/ids/index.d.ts.map +1 -1
- package/dist/types/ids/index.js.map +1 -1
- package/dist/types/plugin/index.d.ts +6 -6
- package/dist/types/run/checkpoint-store.d.ts +0 -6
- package/dist/types/run/checkpoint-store.d.ts.map +1 -1
- package/dist/types/session/ids.d.ts +1 -3
- package/dist/types/session/ids.d.ts.map +1 -1
- package/dist/types/session/index.d.ts +1 -3
- package/dist/types/session/index.d.ts.map +1 -1
- package/dist/types/session/sub-session.d.ts +11 -22
- package/dist/types/session/sub-session.d.ts.map +1 -1
- package/dist/utils/id.d.ts +0 -8
- package/dist/utils/id.d.ts.map +1 -1
- package/dist/utils/id.js +0 -8
- package/dist/utils/id.js.map +1 -1
- package/package.json +1 -1
- package/src/agents/ReactiveAgent.ts +0 -1
- package/src/agents/SupervisorAgent.ts +2 -9
- package/src/manager/index.ts +0 -1
- package/src/public-runtime.ts +0 -6
- package/src/runtime/query/index.ts +4 -44
- package/src/session/handoff/broadcast.ts +7 -3
- package/src/session/handoff/index.ts +1 -1
- package/src/session/handoff/single.ts +8 -9
- package/src/session/migration/id-prefix.ts +0 -13
- package/src/session/migration/index.ts +0 -2
- package/src/session/retention/archive.ts +4 -17
- package/src/store/topic/memory.ts +4 -4
- package/src/types/agent/reactive.ts +0 -5
- package/src/types/agent/scheduler.ts +0 -11
- package/src/types/agent/supervisor.ts +0 -11
- package/src/types/authorization/index.ts +0 -10
- package/src/types/common/index.ts +0 -9
- package/src/types/ids/index.ts +0 -15
- package/src/types/run/checkpoint-store.ts +0 -7
- package/src/types/session/ids.ts +0 -2
- package/src/types/session/index.ts +0 -2
- package/src/types/session/sub-session.ts +11 -23
- package/src/utils/id.ts +0 -9
- package/dist/deprecated-aliases.d.ts +0 -80
- package/dist/deprecated-aliases.d.ts.map +0 -1
- package/dist/deprecated-aliases.js +0 -60
- package/dist/deprecated-aliases.js.map +0 -1
- package/src/deprecated-aliases.ts +0 -86
|
@@ -24,34 +24,23 @@ import type { SubSessionId, SummaryId, WorkspaceId } from './ids.js';
|
|
|
24
24
|
*/
|
|
25
25
|
export type SubSessionDelegationStatus = 'pending' | 'active' | 'idle' | 'failed' | 'archived';
|
|
26
26
|
/**
|
|
27
|
-
* @deprecated Use {@link SubSessionDelegationStatus}.
|
|
28
|
-
*
|
|
27
|
+
* @deprecated Use {@link SubSessionDelegationStatus}. This is now an alias of
|
|
28
|
+
* it and carries no members of its own; the name goes in a later major.
|
|
29
29
|
*
|
|
30
30
|
* The merge half of this union was declared and never driven. Grepping
|
|
31
31
|
* `packages/sdk` and `packages/cli` for each of `awaiting_merge`,
|
|
32
32
|
* `pending_merge`, `merging`, `merged`, `merge_conflict` and
|
|
33
|
-
* `merge_rejected` AS A SUB-SESSION STATUS
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
33
|
+
* `merge_rejected` AS A SUB-SESSION STATUS found no writer at all — the many
|
|
34
|
+
* hits on `awaiting_merge` are `SessionStatus`, which is the shadowing this
|
|
35
|
+
* type's replacement exists to end. Two of them (`merged`, `merge_rejected`)
|
|
36
|
+
* had a READER: they sat in `ARCHIVABLE_STATUSES`, a set that could never
|
|
37
|
+
* match on them.
|
|
38
38
|
*
|
|
39
|
-
* The union
|
|
40
|
-
*
|
|
39
|
+
* The union stayed wide for one release so a host that had persisted one of
|
|
40
|
+
* those values still typechecked while it migrated. 28.0.0 carried that
|
|
41
|
+
* window to the registry and NZ-RUNREC-14 closed it.
|
|
41
42
|
*/
|
|
42
|
-
export type SubSessionStatus = SubSessionDelegationStatus
|
|
43
|
-
/** @deprecated no producer since ratification */
|
|
44
|
-
| 'awaiting_merge'
|
|
45
|
-
/** @deprecated no producer since ratification */
|
|
46
|
-
| 'pending_merge'
|
|
47
|
-
/** @deprecated no producer since ratification */
|
|
48
|
-
| 'merging'
|
|
49
|
-
/** @deprecated no producer since ratification */
|
|
50
|
-
| 'merged'
|
|
51
|
-
/** @deprecated no producer since ratification */
|
|
52
|
-
| 'merge_conflict'
|
|
53
|
-
/** @deprecated no producer since ratification */
|
|
54
|
-
| 'merge_rejected';
|
|
43
|
+
export type SubSessionStatus = SubSessionDelegationStatus;
|
|
55
44
|
/**
|
|
56
45
|
* Discriminator for how a sub-session was created. Pattern doc §4.4
|
|
57
46
|
* enumerates four variants; the three kept here collapse `user_handoff`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sub-session.d.ts","sourceRoot":"","sources":["../../../src/types/session/sub-session.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAA;AACrF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAA;AACxE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAC1C,OAAO,KAAK,EAAE,YAAY,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;;;;OAOG;IACH,MAAM,EAAE,gBAAgB,CAAA;IACxB,SAAS,EAAE,QAAQ,CAAA;IACnB,SAAS,EAAE,IAAI,CAAA;IACf,WAAW,EAAE,WAAW,CAAA;IACxB,cAAc,EAAE,cAAc,CAAA;IAC9B,WAAW,EAAE,WAAW,GAAG,IAAI,CAAA;IAC/B;;;OAGG;IACH,eAAe,CAAC,EAAE,cAAc,CAAA;IAChC,iDAAiD;IACjD,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,+EAA+E;IAC/E,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAC9B,UAAU,CAAC,EAAE,IAAI,CAAA;IACjB,SAAS,EAAE,IAAI,CAAA;CACf"}
|
package/dist/utils/id.d.ts
CHANGED
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
import type { ActivityId, AdvisoryCallId, AdvisoryId, AgentId, AuditEventId, CheckpointId, ChunkId, ConnectorId, ConnectorInstanceId, CredentialId, DeliverableId, DocumentId, EmergencySaveId, EnvironmentId, ExecutionContextId, HandoffId, KnowledgeBaseId, KnowledgeBaseRef, LockId, MCPClientId, MCPServerId, MCPSessionId, MemoryId, MemoryStoreRef, MessageId, PlanId, PluginId, ProjectId, RunId, SandboxId, SessionId, SubSessionId, SummaryId, TaskId, TenantId, ToolCallId, TopicId, UserId, VaultRef, WorkspaceId } from '../types/ids/index.js';
|
|
2
2
|
export declare function generateProjectId(): ProjectId;
|
|
3
3
|
export declare function generateTopicId(): TopicId;
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated Use {@link generateTopicId}. Removal is NZ-TOPIC-05.
|
|
6
|
-
*
|
|
7
|
-
* Mints `top_` from NZ-TOPIC-04 on — an alias that kept minting `thd_`
|
|
8
|
-
* would hand two different id spaces to one program depending on which
|
|
9
|
-
* name the caller happened to import.
|
|
10
|
-
*/
|
|
11
|
-
export declare const generateThreadId: typeof generateTopicId;
|
|
12
4
|
export declare function generateRunId(): RunId;
|
|
13
5
|
export declare function generateMessageId(): MessageId;
|
|
14
6
|
export declare function generateSessionId(): SessionId;
|
package/dist/utils/id.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../src/utils/id.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACX,UAAU,EACV,cAAc,EACd,UAAU,EACV,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,WAAW,EACX,mBAAmB,EACnB,YAAY,EACZ,aAAa,EACb,UAAU,EACV,eAAe,EACf,aAAa,EACb,kBAAkB,EAClB,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,MAAM,EACN,WAAW,EACX,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,cAAc,EACd,SAAS,EACT,MAAM,EACN,QAAQ,EACR,SAAS,EACT,KAAK,EACL,SAAS,EACT,SAAS,EACT,YAAY,EACZ,SAAS,EACT,MAAM,EACN,QAAQ,EACR,UAAU,EACV,OAAO,EACP,MAAM,EACN,QAAQ,EACR,WAAW,EACX,MAAM,uBAAuB,CAAA;AAwC9B,wBAAgB,iBAAiB,IAAI,SAAS,CAE7C;AAED,wBAAgB,eAAe,IAAI,OAAO,CAEzC;AAED
|
|
1
|
+
{"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../src/utils/id.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACX,UAAU,EACV,cAAc,EACd,UAAU,EACV,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,WAAW,EACX,mBAAmB,EACnB,YAAY,EACZ,aAAa,EACb,UAAU,EACV,eAAe,EACf,aAAa,EACb,kBAAkB,EAClB,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,MAAM,EACN,WAAW,EACX,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,cAAc,EACd,SAAS,EACT,MAAM,EACN,QAAQ,EACR,SAAS,EACT,KAAK,EAC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CAAA;AAClF,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAAwB,CAAA;AAClE,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAAwB,CAAA;AAClE,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,SAAS,CAAwB,CAAA;AACpE,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,YAAY,CAAwB,CAAA;AAC1E,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAwB,CAAA;AAC9D;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAC,OAAO,CAAwB,CAAA;AAChE,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAwB,CAAA;AAC9E,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAAwB,CAAA;AAClE,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,gBAAgB,CAAwB,CAAA;AAClF,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,SAAS,CAAwB,CAAA;AACpE,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAC,OAAO,CAAwB,CAAA;AAChE,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,YAAY,CAAwB,CAAA;AAC1E,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,SAAS,CAAwB,CAAA;AACpE,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,WAAW,CAAwB,CAAA;AACxE,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,SAAS,CAAwB,CAAA;AACpE,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,aAAa,CAAwB,CAAA"}
|
package/dist/utils/id.js
CHANGED
|
@@ -40,14 +40,6 @@ export function generateProjectId() {
|
|
|
40
40
|
export function generateTopicId() {
|
|
41
41
|
return generateId('top_');
|
|
42
42
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @deprecated Use {@link generateTopicId}. Removal is NZ-TOPIC-05.
|
|
45
|
-
*
|
|
46
|
-
* Mints `top_` from NZ-TOPIC-04 on — an alias that kept minting `thd_`
|
|
47
|
-
* would hand two different id spaces to one program depending on which
|
|
48
|
-
* name the caller happened to import.
|
|
49
|
-
*/
|
|
50
|
-
export const generateThreadId = generateTopicId;
|
|
51
43
|
export function generateRunId() {
|
|
52
44
|
return generateId('run_');
|
|
53
45
|
}
|
package/dist/utils/id.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"id.js","sourceRoot":"","sources":["../../src/utils/id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AA4ChD,MAAM,QAAQ,GAAG,sCAAsC,CAAA;AACvD,MAAM,YAAY,GAAG,QAAQ,CAAC,MAAM,CAAA;AACpC,MAAM,gBAAgB,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,GAAG,YAAY,CAAC,GAAG,YAAY,CAAA;AAEtE;;;;;;;;;;;;;;GAcG;AACH,SAAS,UAAU,CAClB,MAAS,EACT,MAAM,GAAG,EAAE;IAEX,IAAI,MAAM,GAAG,EAAE,CAAA;IACf,IAAI,SAAS,GAAG,MAAM,CAAA;IACtB,OAAO,SAAS,GAAG,CAAC,EAAE,CAAC;QACtB,MAAM,KAAK,GAAG,WAAW,CAAC,SAAS,GAAG,CAAC,CAAC,CAAA;QACxC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YAC1B,IAAI,SAAS,IAAI,CAAC;gBAAE,MAAK;YACzB,IAAI,IAAI,GAAG,gBAAgB,EAAE,CAAC;gBAC7B,MAAM,IAAI,QAAQ,CAAC,IAAI,GAAG,YAAY,CAAC,CAAA;gBACvC,SAAS,EAAE,CAAA;YACZ,CAAC;QACF,CAAC;IACF,CAAC;IACD,OAAO,QAAQ,CAAI,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;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AAA;AAC1E,MAAM,CAAC,MAAM,QAAQ,GAAqB,YAAY,CAAC,MAAM,CAAC,CAAA;AAC9D;;;;GAIG;AACH,MAAM,CAAC,MAAM,SAAS,GAAsB,YAAY,CAAC,MAAM,CAAC,CAAA;AAChE,MAAM,CAAC,MAAM,gBAAgB,GAA6B,YAAY,CAAC,MAAM,CAAC,CAAA;AAC9E,MAAM,CAAC,MAAM,UAAU,GAAuB,YAAY,CAAC,MAAM,CAAC,CAAA;AAClE,MAAM,CAAC,MAAM,kBAAkB,GAA+B,YAAY,CAAC,MAAM,CAAC,CAAA;AAClF,MAAM,CAAC,MAAM,WAAW,GAAwB,YAAY,CAAC,MAAM,CAAC,CAAA;AACpE,MAAM,CAAC,MAAM,SAAS,GAAsB,YAAY,CAAC,MAAM,CAAC,CAAA;AAChE,MAAM,CAAC,MAAM,cAAc,GAA2B,YAAY,CAAC,MAAM,CAAC,CAAA;AAC1E,MAAM,CAAC,MAAM,WAAW,GAAwB,YAAY,CAAC,MAAM,CAAC,CAAA;AACpE,MAAM,CAAC,MAAM,aAAa,GAA0B,YAAY,CAAC,MAAM,CAAC,CAAA;AACxE,MAAM,CAAC,MAAM,WAAW,GAAwB,YAAY,CAAC,MAAM,CAAC,CAAA;AACpE,MAAM,CAAC,MAAM,eAAe,GAA4B,YAAY,CAAC,MAAM,CAAC,CAAA;AAE5E,0EAA0E;AAC1E,4EAA4E;AAC5E,0EAA0E;AAC1E,2DAA2D;AAE3D,2EAA2E;AAC3E,6EAA6E;AAC7E,+BAA+B"}
|
package/package.json
CHANGED
|
@@ -71,7 +71,6 @@ export class ReactiveAgent extends AbstractAgent<ReactiveAgentConfig, ReactiveAg
|
|
|
71
71
|
basePrompt: config.basePrompt,
|
|
72
72
|
provider: config.provider,
|
|
73
73
|
tools: config.tools,
|
|
74
|
-
...(config.verificationGate ? { verificationGate: config.verificationGate } : {}),
|
|
75
74
|
...(config.authorizationGate ? { authorizationGate: config.authorizationGate } : {}),
|
|
76
75
|
...(config.sandboxProvider ? { sandboxProvider: config.sandboxProvider } : {}),
|
|
77
76
|
// Working-memory / compaction seam (optional; absent => unchanged run path).
|
|
@@ -20,7 +20,6 @@ import type { RunEventListener } from '../types/run/index.js'
|
|
|
20
20
|
import type { ActorRef } from '../types/session/actor.js'
|
|
21
21
|
import { ZERO_COST } from '../utils/cost.js'
|
|
22
22
|
import type { Logger } from '../utils/logger.js'
|
|
23
|
-
import { pickRenamed } from '../utils/renamed-field.js'
|
|
24
23
|
import { AbstractAgent } from './AbstractAgent.js'
|
|
25
24
|
|
|
26
25
|
/**
|
|
@@ -131,12 +130,7 @@ export class SupervisorAgent extends AbstractAgent<SupervisorAgentConfig, Superv
|
|
|
131
130
|
// instead, a host that set only `scheduler` would get a working one
|
|
132
131
|
// on one path and `undefined` on another — a half-migration that
|
|
133
132
|
// fails silently, which is worse than not renaming the field.
|
|
134
|
-
const configuredScheduler =
|
|
135
|
-
'gateway',
|
|
136
|
-
config.gateway,
|
|
137
|
-
'scheduler',
|
|
138
|
-
config.scheduler,
|
|
139
|
-
)
|
|
133
|
+
const configuredScheduler = config.scheduler
|
|
140
134
|
|
|
141
135
|
let gateway: TaskScheduler
|
|
142
136
|
if (configuredScheduler) {
|
|
@@ -349,7 +343,7 @@ export class SupervisorAgent extends AbstractAgent<SupervisorAgentConfig, Superv
|
|
|
349
343
|
taskStore: input.taskStore,
|
|
350
344
|
runtimeToolOverrides: input.runtimeToolOverrides,
|
|
351
345
|
runtimeContext: input.runtimeContext,
|
|
352
|
-
|
|
346
|
+
taskScheduler: gateway,
|
|
353
347
|
completionInbox,
|
|
354
348
|
advisory: config.advisory,
|
|
355
349
|
invocationState: childInvocationState,
|
|
@@ -365,7 +359,6 @@ export class SupervisorAgent extends AbstractAgent<SupervisorAgentConfig, Superv
|
|
|
365
359
|
// corrected for twice.
|
|
366
360
|
...(config.steering ? { steering: config.steering } : {}),
|
|
367
361
|
...(config.inboundMessages ? { inboundMessages: config.inboundMessages } : {}),
|
|
368
|
-
...(config.verificationGate ? { verificationGate: config.verificationGate } : {}),
|
|
369
362
|
...(config.authorizationGate ? { authorizationGate: config.authorizationGate } : {}),
|
|
370
363
|
// The one hop between the config and the tool. `drainQuery`
|
|
371
364
|
// registers `structured_output` from this and the loop
|
package/src/manager/index.ts
CHANGED
|
@@ -19,7 +19,6 @@ export type { PlanEvent, PlanEventListener, PlanApprovalHandler } from './plan/l
|
|
|
19
19
|
export {
|
|
20
20
|
TopicManager,
|
|
21
21
|
/** @deprecated Use {@link TopicManager}. Literal identity re-export -- instanceof/=== still hold. Removal is NZ-TOPIC-05. */
|
|
22
|
-
TopicManager as ThreadManager,
|
|
23
22
|
} from './topic/lifecycle.js'
|
|
24
23
|
export type { TopicManagerDeps } from './topic/lifecycle.js'
|
|
25
24
|
|
package/src/public-runtime.ts
CHANGED
|
@@ -458,13 +458,11 @@ export {
|
|
|
458
458
|
* that release never reached npm, so this major is the first one a consumer
|
|
459
459
|
* can actually see the warning in.
|
|
460
460
|
*/
|
|
461
|
-
ThreadManager,
|
|
462
461
|
} from './manager/index.js'
|
|
463
462
|
|
|
464
463
|
export {
|
|
465
464
|
InMemoryTopicStore,
|
|
466
465
|
/** @deprecated Use {@link InMemoryTopicStore}. Removal is NZ-TOPIC-05. */
|
|
467
|
-
InMemoryTopicStore as InMemoryThreadStore,
|
|
468
466
|
} from './store/topic/memory.js'
|
|
469
467
|
|
|
470
468
|
export { LocalTaskScheduler } from './scheduler/local.js'
|
|
@@ -766,7 +764,6 @@ export { collectChatCompletion } from './provider/collect-chat-completion.js'
|
|
|
766
764
|
// The file explains why each is a `const`+`type` pair rather than a
|
|
767
765
|
// re-export alias; the short version is that a re-export cannot carry the
|
|
768
766
|
// `@deprecated` tag, and the tag is what the public-surface gate reads.
|
|
769
|
-
export * from './deprecated-aliases.js'
|
|
770
767
|
|
|
771
768
|
export {
|
|
772
769
|
wrapCredentialProviderWithProbes,
|
|
@@ -800,7 +797,6 @@ export {
|
|
|
800
797
|
HandoffLockRejected,
|
|
801
798
|
HandoffVersionConflict,
|
|
802
799
|
NOOP_HANDOFF_SINK,
|
|
803
|
-
NOOP_RUN_STATUS_RESOLVER,
|
|
804
800
|
} from './session/handoff/index.js'
|
|
805
801
|
|
|
806
802
|
export {
|
|
@@ -819,7 +815,6 @@ export {
|
|
|
819
815
|
export {
|
|
820
816
|
acceptLegacyContainerId,
|
|
821
817
|
/** @deprecated Use {@link acceptLegacyContainerId}. Removal is NZ-TOPIC-05. */
|
|
822
|
-
acceptLegacyThreadId,
|
|
823
818
|
acquireMigrationLock,
|
|
824
819
|
DefaultFilesystemMigrator,
|
|
825
820
|
FilesystemMigrationError,
|
|
@@ -834,7 +829,6 @@ export {
|
|
|
834
829
|
readMarker,
|
|
835
830
|
rejectLegacyContainerPrefix,
|
|
836
831
|
/** @deprecated Use {@link rejectLegacyContainerPrefix}. Removal is NZ-TOPIC-05. */
|
|
837
|
-
rejectLegacyPrefix,
|
|
838
832
|
releaseMigrationLock,
|
|
839
833
|
StalePrefixError,
|
|
840
834
|
WINDOW_OPEN,
|
|
@@ -96,7 +96,6 @@ import { generateRunId } from '../../utils/id.js'
|
|
|
96
96
|
import { errorAttributes } from '../../utils/log/exception.js'
|
|
97
97
|
import { EVENT_NAME_ATTRIBUTE } from '../../utils/log/types.js'
|
|
98
98
|
import type { Logger } from '../../utils/logger.js'
|
|
99
|
-
import { pickRenamed } from '../../utils/renamed-field.js'
|
|
100
99
|
import type { BackgroundJobRegistry } from '../jobs/registry.js'
|
|
101
100
|
import { AUTO_APPROVE_POLICY_NAME, createRunApprovalPolicy } from './approval-policy.js'
|
|
102
101
|
import { CheckpointManager } from './checkpoint.js'
|
|
@@ -593,13 +592,6 @@ export interface QueryParams {
|
|
|
593
592
|
|
|
594
593
|
depth?: number
|
|
595
594
|
|
|
596
|
-
/**
|
|
597
|
-
* @deprecated Renamed to {@link QueryParams.promptCache}. Removed in the
|
|
598
|
-
* next major. Setting both to different instances throws rather than
|
|
599
|
-
* picking one.
|
|
600
|
-
*/
|
|
601
|
-
contextCache?: PromptCache
|
|
602
|
-
|
|
603
595
|
promptCache?: PromptCache
|
|
604
596
|
|
|
605
597
|
contextLevel?: AgentContextLevel
|
|
@@ -612,12 +604,6 @@ export interface QueryParams {
|
|
|
612
604
|
|
|
613
605
|
runtimeContext?: AgentRuntimeContext
|
|
614
606
|
|
|
615
|
-
/**
|
|
616
|
-
* @deprecated Renamed to {@link QueryParams.taskScheduler}. Removed in
|
|
617
|
-
* the next major. Setting both to different instances throws.
|
|
618
|
-
*/
|
|
619
|
-
taskGateway?: import('../../types/agent/scheduler.js').TaskScheduler
|
|
620
|
-
|
|
621
607
|
taskScheduler?: import('../../types/agent/scheduler.js').TaskScheduler
|
|
622
608
|
|
|
623
609
|
/**
|
|
@@ -708,12 +694,6 @@ export interface QueryParams {
|
|
|
708
694
|
|
|
709
695
|
agentBus?: import('../../bus/index.js').AgentBus
|
|
710
696
|
|
|
711
|
-
/**
|
|
712
|
-
* @deprecated Renamed to `authorizationGate`. Removed in the next major.
|
|
713
|
-
* Setting both to different configs throws.
|
|
714
|
-
*/
|
|
715
|
-
verificationGate?: AuthorizationGateConfig
|
|
716
|
-
|
|
717
697
|
authorizationGate?: AuthorizationGateConfig
|
|
718
698
|
|
|
719
699
|
pluginManager?: import('../../plugin/lifecycle.js').PluginLifecycleManager
|
|
@@ -851,18 +831,8 @@ export async function* query(params: QueryParams): AsyncGenerator<RunEvent, Run>
|
|
|
851
831
|
// and refusing it here costs them nothing; refusing it at the read site
|
|
852
832
|
// deep in the loop turns the same bug into a mid-run failure, after a
|
|
853
833
|
// provider call has been paid for and a partial transcript written.
|
|
854
|
-
const promptCache =
|
|
855
|
-
|
|
856
|
-
params.contextCache,
|
|
857
|
-
'promptCache',
|
|
858
|
-
params.promptCache,
|
|
859
|
-
)
|
|
860
|
-
const taskScheduler = pickRenamed(
|
|
861
|
-
'taskGateway',
|
|
862
|
-
params.taskGateway,
|
|
863
|
-
'taskScheduler',
|
|
864
|
-
params.taskScheduler,
|
|
865
|
-
)
|
|
834
|
+
const promptCache = params.promptCache
|
|
835
|
+
const taskScheduler = params.taskScheduler
|
|
866
836
|
|
|
867
837
|
// The run's one correlated logger, built before anything below needs
|
|
868
838
|
// one — the migration check, the retry/fallback wrappers and `ctx`
|
|
@@ -1443,18 +1413,8 @@ export async function* query(params: QueryParams): AsyncGenerator<RunEvent, Run>
|
|
|
1443
1413
|
}
|
|
1444
1414
|
}
|
|
1445
1415
|
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
// new name would get a gate on one path and none on another — which for
|
|
1449
|
-
// an AUTHORIZATION gate means a tool call permitted somewhere it should
|
|
1450
|
-
// have been refused. That is the failure this field's window has to not
|
|
1451
|
-
// have.
|
|
1452
|
-
const gateConfig = pickRenamed(
|
|
1453
|
-
'verificationGate',
|
|
1454
|
-
params.verificationGate,
|
|
1455
|
-
'authorizationGate',
|
|
1456
|
-
params.authorizationGate,
|
|
1457
|
-
)
|
|
1416
|
+
const gateConfig = params.authorizationGate
|
|
1417
|
+
|
|
1458
1418
|
const verificationGate = gateConfig?.enabled
|
|
1459
1419
|
? new AuthorizationGate(gateConfig, ctx.log)
|
|
1460
1420
|
: undefined
|
|
@@ -34,7 +34,7 @@ import type { WorkspaceBackendRegistry } from '../workspace/registry.js'
|
|
|
34
34
|
import type { HandoffAssignment, HandoffOutcome } from './assignment.js'
|
|
35
35
|
import type { CapacityValidator } from './capacity.js'
|
|
36
36
|
import type { HandoffEventSink } from './events.js'
|
|
37
|
-
import {
|
|
37
|
+
import type { RunStatusResolver } from './single.js'
|
|
38
38
|
import { HandoffLockRejected, HandoffVersionConflict } from './version.js'
|
|
39
39
|
|
|
40
40
|
export interface BroadcastHandoffDeps {
|
|
@@ -42,7 +42,11 @@ export interface BroadcastHandoffDeps {
|
|
|
42
42
|
workspaceRegistry: WorkspaceBackendRegistry
|
|
43
43
|
capacity: CapacityValidator
|
|
44
44
|
events: HandoffEventSink
|
|
45
|
-
|
|
45
|
+
/**
|
|
46
|
+
* Required, for the reason `SingleHandoffDeps.runStatus` is: the default
|
|
47
|
+
* that used to stand in here reported every session unblocked.
|
|
48
|
+
*/
|
|
49
|
+
runStatus: RunStatusResolver
|
|
46
50
|
/**
|
|
47
51
|
* Gate every recipient-session creation on the Thread being `'open'`.
|
|
48
52
|
* Added in Phase 2.6; checked once per broadcast (all recipients share
|
|
@@ -183,7 +187,7 @@ export async function executeBroadcastHandoff(
|
|
|
183
187
|
}
|
|
184
188
|
|
|
185
189
|
// 5. Non-terminal Run fan-in (§5.1).
|
|
186
|
-
const runResolver = deps.runStatus
|
|
190
|
+
const runResolver = deps.runStatus
|
|
187
191
|
const blocking = await runResolver.blockingRun(source.id, tenantId)
|
|
188
192
|
if (blocking) {
|
|
189
193
|
throw new HandoffLockRejected({ sessionId: source.id, reason: blocking.reason })
|
|
@@ -22,7 +22,7 @@ export type {
|
|
|
22
22
|
HandoffUnlockedEvent,
|
|
23
23
|
} from './events.js'
|
|
24
24
|
|
|
25
|
-
export { executeSingleHandoff
|
|
25
|
+
export { executeSingleHandoff } from './single.js'
|
|
26
26
|
export type { RunStatusResolver, SingleHandoffDeps } from './single.js'
|
|
27
27
|
|
|
28
28
|
export { executeBroadcastHandoff } from './broadcast.js'
|
|
@@ -53,19 +53,18 @@ export interface RunStatusResolver {
|
|
|
53
53
|
): Promise<{ reason: 'active_run' | 'pending_hitl' | 'pending_subsession' } | null>
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
/** Null resolver — treats every session as unblocked. Used by tests that do not exercise Run fan-in. */
|
|
57
|
-
export const NOOP_RUN_STATUS_RESOLVER: RunStatusResolver = {
|
|
58
|
-
async blockingRun(): Promise<null> {
|
|
59
|
-
return null
|
|
60
|
-
},
|
|
61
|
-
}
|
|
62
|
-
|
|
63
56
|
export interface SingleHandoffDeps {
|
|
64
57
|
store: SessionStore
|
|
65
58
|
workspaceRegistry: WorkspaceBackendRegistry
|
|
66
59
|
capacity: CapacityValidator
|
|
67
60
|
events: HandoffEventSink
|
|
68
|
-
|
|
61
|
+
/**
|
|
62
|
+
* Required. A caller that genuinely wants no fan-in check supplies their
|
|
63
|
+
* own always-null resolver, deliberately — the default that used to sit
|
|
64
|
+
* here answered `null` for every session, which is a check that cannot
|
|
65
|
+
* fail dressed as a check that ran.
|
|
66
|
+
*/
|
|
67
|
+
runStatus: RunStatusResolver
|
|
69
68
|
/**
|
|
70
69
|
* Gate the recipient-session creation on the Topic being `'open'`.
|
|
71
70
|
* Added in Phase 2.6 to mirror spawn — a handoff into an archived
|
|
@@ -131,7 +130,7 @@ export async function executeSingleHandoff(
|
|
|
131
130
|
}
|
|
132
131
|
|
|
133
132
|
// 3. Non-terminal Run fan-in (§5.1).
|
|
134
|
-
const runResolver = deps.runStatus
|
|
133
|
+
const runResolver = deps.runStatus
|
|
135
134
|
const blocking = await runResolver.blockingRun(source.id, tenantId)
|
|
136
135
|
if (blocking) {
|
|
137
136
|
throw new HandoffLockRejected({
|
|
@@ -161,19 +161,6 @@ export function rejectLegacyContainerPrefix(id: string): void {
|
|
|
161
161
|
* must never call this — the whole point is one warning per distinct
|
|
162
162
|
* legacy id per process.
|
|
163
163
|
*/
|
|
164
|
-
/**
|
|
165
|
-
* @deprecated Use {@link acceptLegacyContainerId}. Removal is NZ-TOPIC-05.
|
|
166
|
-
*
|
|
167
|
-
* The rename is the whole point of NZ-TOPIC-04 — `thd_` meant both the
|
|
168
|
-
* pre-0.2.0 top-level container this coerces and the live Topic layer, and
|
|
169
|
-
* only this function's NAME said which. The alias exists so the rename
|
|
170
|
-
* reaches a consumer as a warning first.
|
|
171
|
-
*/
|
|
172
|
-
export const acceptLegacyThreadId = acceptLegacyContainerId
|
|
173
|
-
|
|
174
|
-
/** @deprecated Use {@link rejectLegacyContainerPrefix}. Removal is NZ-TOPIC-05. */
|
|
175
|
-
export const rejectLegacyPrefix = rejectLegacyContainerPrefix
|
|
176
|
-
|
|
177
164
|
export function __resetSeenLegacyForTests(): void {
|
|
178
165
|
seenLegacy.clear()
|
|
179
166
|
}
|
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
export {
|
|
6
6
|
acceptLegacyContainerId,
|
|
7
7
|
/** @deprecated Use `acceptLegacyContainerId`. */
|
|
8
|
-
acceptLegacyThreadId,
|
|
9
8
|
rejectLegacyContainerPrefix,
|
|
10
9
|
/** @deprecated Use `rejectLegacyContainerPrefix`. */
|
|
11
|
-
rejectLegacyPrefix,
|
|
12
10
|
NOOP_MIGRATION_WARNING_SINK,
|
|
13
11
|
StalePrefixError,
|
|
14
12
|
WINDOW_OPEN,
|
|
@@ -115,24 +115,11 @@ export type WorkspaceResolver = (
|
|
|
115
115
|
*/
|
|
116
116
|
const ARCHIVABLE: ReadonlySet<SubSessionDelegationStatus> = new Set(['idle', 'failed'])
|
|
117
117
|
|
|
118
|
-
/**
|
|
119
|
-
* Values no code path in this package can write, kept archivable anyway.
|
|
120
|
-
*
|
|
121
|
-
* `merged` and `merge_rejected` sat in the one set above, and nothing has
|
|
122
|
-
* ever produced either — so that membership described a match that could
|
|
123
|
-
* not happen. The temptation is to delete them, and that would be wrong:
|
|
124
|
-
* `SubSessionStore.updateSubSession` takes a whole `SubSession`, so a HOST
|
|
125
|
-
* could have persisted one of these while the wide union permitted it, and
|
|
126
|
-
* dropping them here would strand exactly those records as permanently
|
|
127
|
-
* un-archivable. The union stays wide for one release precisely so such a
|
|
128
|
-
* host can migrate; this set is the other half of that promise.
|
|
129
|
-
*
|
|
130
|
-
* It goes when the six deprecated members go.
|
|
131
|
-
*/
|
|
132
|
-
const ARCHIVABLE_LEGACY: ReadonlySet<SubSessionStatus> = new Set(['merged', 'merge_rejected'])
|
|
133
|
-
|
|
134
118
|
function isArchivable(status: SubSessionStatus): boolean {
|
|
135
|
-
|
|
119
|
+
// No cast any more. `SubSessionStatus` narrowed to the driven variants in
|
|
120
|
+
// NZ-RUNREC-14, so the set and the argument are the same type and a value
|
|
121
|
+
// outside it cannot be constructed to ask about.
|
|
122
|
+
return ARCHIVABLE.has(status)
|
|
136
123
|
}
|
|
137
124
|
|
|
138
125
|
export interface ArchivalManagerDeps {
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* cross-tenant access throws `TenantIsolationError` with no fallback.
|
|
10
10
|
*
|
|
11
11
|
* NZ-TOPIC-01 renamed this from `InMemoryThreadStore` (moved from
|
|
12
|
-
* `store/thread/memory.ts`)
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
12
|
+
* `store/thread/memory.ts`) and re-exported the old name as an identity
|
|
13
|
+
* binding. NZ-TOPIC-05 removed that re-export, once 28.0.0 had carried the
|
|
14
|
+
* deprecation to the registry — the class is reachable only as
|
|
15
|
+
* `InMemoryTopicStore` now.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
import { StaleThreadError, TenantIsolationError } from '../../session/errors.js'
|
|
@@ -51,11 +51,6 @@ export interface ReactiveAgentConfig extends BaseAgentConfig {
|
|
|
51
51
|
* canonical brick patterns hard-deny instead of executing
|
|
52
52
|
* silently.
|
|
53
53
|
*/
|
|
54
|
-
/**
|
|
55
|
-
* @deprecated Renamed to `authorizationGate`. Removed in the next major.
|
|
56
|
-
* Setting both to different configs throws.
|
|
57
|
-
*/
|
|
58
|
-
verificationGate?: AuthorizationGateConfig
|
|
59
54
|
|
|
60
55
|
authorizationGate?: AuthorizationGateConfig
|
|
61
56
|
|
|
@@ -143,14 +143,3 @@ export interface TaskScheduler {
|
|
|
143
143
|
*/
|
|
144
144
|
onTaskProgress?(callback: (taskId: TaskId) => void): () => void
|
|
145
145
|
}
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* @deprecated Renamed to {@link TaskScheduler}. Removed in the next major.
|
|
149
|
-
*
|
|
150
|
-
* "Gateway" names an object that sits at a system boundary and faces
|
|
151
|
-
* outward — Fowler's POEAA Gateway, an API gateway, a payment gateway. This
|
|
152
|
-
* one faces inward: it creates, waits on, continues, cancels and lists
|
|
153
|
-
* in-process agent tasks. A reader who trusted the name expected a facade
|
|
154
|
-
* over something external and found a scheduler.
|
|
155
|
-
*/
|
|
156
|
-
export type TaskGateway = TaskScheduler
|
|
@@ -48,12 +48,6 @@ export interface SupervisorAgentConfig extends BaseAgentConfig {
|
|
|
48
48
|
*/
|
|
49
49
|
allowDelegation?: boolean
|
|
50
50
|
|
|
51
|
-
/**
|
|
52
|
-
* @deprecated Renamed to {@link SupervisorAgentConfig.scheduler}. Removed
|
|
53
|
-
* in the next major. Setting both to different instances throws.
|
|
54
|
-
*/
|
|
55
|
-
gateway?: TaskScheduler
|
|
56
|
-
|
|
57
51
|
scheduler?: TaskScheduler
|
|
58
52
|
|
|
59
53
|
/**
|
|
@@ -167,11 +161,6 @@ export interface SupervisorAgentConfig extends BaseAgentConfig {
|
|
|
167
161
|
* review") so the resumeHandler only fires for the truly
|
|
168
162
|
* non-deterministic cases.
|
|
169
163
|
*/
|
|
170
|
-
/**
|
|
171
|
-
* @deprecated Renamed to `authorizationGate`. Removed in the next major.
|
|
172
|
-
* Setting both to different configs throws.
|
|
173
|
-
*/
|
|
174
|
-
verificationGate?: AuthorizationGateConfig
|
|
175
164
|
|
|
176
165
|
authorizationGate?: AuthorizationGateConfig
|
|
177
166
|
|
|
@@ -187,13 +187,3 @@ export type AuthorizationGateConfig = z.infer<typeof AuthorizationGateConfigSche
|
|
|
187
187
|
* Declared as `const` rather than `type` on purpose: a `type` alias would
|
|
188
188
|
* break `typeof`, which is the only way these were ever usable.
|
|
189
189
|
*/
|
|
190
|
-
|
|
191
|
-
/** @deprecated Renamed to {@link AuthorizationRuleSchema}. Removed in the next major. */
|
|
192
|
-
export const VerificationRuleSchema = AuthorizationRuleSchema
|
|
193
|
-
/** @deprecated Renamed to {@link AuthorizationGateConfigSchema}. Removed in the next major. */
|
|
194
|
-
export const VerificationGateConfigSchema = AuthorizationGateConfigSchema
|
|
195
|
-
|
|
196
|
-
/** @deprecated Renamed to {@link AuthorizationRule}. Removed in the next major. */
|
|
197
|
-
export type VerificationRule = AuthorizationRule
|
|
198
|
-
/** @deprecated Renamed to {@link AuthorizationGateConfig}. Removed in the next major. */
|
|
199
|
-
export type VerificationGateConfig = AuthorizationGateConfig
|
|
@@ -15,15 +15,6 @@ export type RunExecutionStatus =
|
|
|
15
15
|
| 'failed'
|
|
16
16
|
| 'cancelled'
|
|
17
17
|
|
|
18
|
-
/**
|
|
19
|
-
* @deprecated Use {@link RunExecutionStatus}. Removal is a later major.
|
|
20
|
-
*
|
|
21
|
-
* The union is unchanged -- this is a rename, and the alias is here so
|
|
22
|
-
* code written against the old name still compiles and warns for one
|
|
23
|
-
* release, per SemVer's deprecate-before-remove.
|
|
24
|
-
*/
|
|
25
|
-
export type AgentStatus = RunExecutionStatus
|
|
26
|
-
|
|
27
18
|
export function isTerminalStatus(status: RunExecutionStatus): boolean {
|
|
28
19
|
return status === 'completed' || status === 'failed' || status === 'cancelled'
|
|
29
20
|
}
|
package/src/types/ids/index.ts
CHANGED
|
@@ -102,21 +102,6 @@ export type ProjectId = Id<'prj', 'ProjectId'>
|
|
|
102
102
|
* gone (Convention #0, no silent long-lived compat).
|
|
103
103
|
*/
|
|
104
104
|
export type TopicId = Id<'top', 'TopicId'>
|
|
105
|
-
/**
|
|
106
|
-
* @deprecated Use {@link TopicId}. Removal is NZ-TOPIC-05.
|
|
107
|
-
*
|
|
108
|
-
* NZ-TOPIC-01 introduced `TopicId` as an alias OF this name; NZ-TOPIC-04
|
|
109
|
-
* reverses the direction. So this alias now follows `TopicId` to the `top_`
|
|
110
|
-
* prefix instead of keeping `thd_` — a consumer still compiling against the
|
|
111
|
-
* old name gets the new prefix, which is exactly what the major announces.
|
|
112
|
-
*
|
|
113
|
-
* It is kept rather than deleted because the deprecation NZ-TOPIC-01 wrote
|
|
114
|
-
* has never reached a registry: `@namzu/sdk` on npm is 27.1.0, and the
|
|
115
|
-
* changeset that would publish it is still unconsumed in `.changeset/`. A
|
|
116
|
-
* removal here would be a rename with no alias wearing a major's clothes.
|
|
117
|
-
* This release is the one that carries the warning; the next may remove it.
|
|
118
|
-
*/
|
|
119
|
-
export type ThreadId = TopicId
|
|
120
105
|
export type SubSessionId = Id<'sub', 'SubSessionId'>
|
|
121
106
|
export type HandoffId = Id<'hof', 'HandoffId'>
|
|
122
107
|
export type WorkspaceId = Id<'wsp', 'WorkspaceId'>
|
|
@@ -281,13 +281,6 @@ export interface LeaseSummary {
|
|
|
281
281
|
* no reading gain — the opposite of the point.
|
|
282
282
|
*/
|
|
283
283
|
|
|
284
|
-
/** @deprecated Renamed to {@link RunLease}. Removed in the next major. */
|
|
285
|
-
export type RunClaim = RunLease
|
|
286
|
-
/** @deprecated Renamed to {@link FencingToken}. Removed in the next major. */
|
|
287
|
-
export type ClaimFence = FencingToken
|
|
288
|
-
/** @deprecated Renamed to {@link LeaseSummary}. Removed in the next major. */
|
|
289
|
-
export type ClaimSummary = LeaseSummary
|
|
290
|
-
|
|
291
284
|
/** What a caller asks for when taking a run. */
|
|
292
285
|
export interface ClaimRunOptions {
|
|
293
286
|
/** Who is taking it. Recorded so an operator can see what holds a stuck run. */
|