@x-otto/subagent 0.3.0-beta.0 → 0.4.0-beta.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.
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "version": 1,
3
- "revision": "cff6244ac0b02ee251752bedf99accb3"
3
+ "revision": "13ec97df06274f963a44e80bbb471f16"
4
4
  }
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ import { AgentSessionRegistry, AgentTool, ArtifactFencingRecord, ArtifactReceipt
3
3
  import * as _$_x_otto_universal0 from "@x-otto/universal";
4
4
  import { SlotWaitOptions } from "@x-otto/jobs";
5
5
  import { ResourceOwnerRegistry } from "@x-otto/residency";
6
+ import { SubagentWorkspaceRoots as SubagentWorkspaceRoots$1 } from "@x-otto/subagent";
6
7
 
7
8
  //#region src/persona.d.ts
8
9
  interface PersonaDeclaration {
@@ -244,22 +245,6 @@ declare const SUBAGENT_SCHEMA: ToolSchema<{
244
245
  type SubagentArgs = ReturnType<typeof SUBAGENT_SCHEMA.parse>;
245
246
  declare function createSubagentTool(control: () => SubagentControl, sessions?: () => SessionManager | undefined, personas?: readonly PersonaRef[], jobs?: () => JobRegistry | undefined, waitReportOf?: () => JobWaitReportPort | undefined): AgentTool<SubagentArgs>;
246
247
  //#endregion
247
- //#region dist/index.d.ts
248
- //#endregion
249
- //#region src/in-process.d.ts
250
- interface SubagentWorkspaceRoots$1 {
251
- allocate(input: {
252
- parentCwd: string;
253
- label?: string;
254
- ownerSessionId?: string;
255
- branch?: string;
256
- baseRevision?: string;
257
- }): Promise<string | undefined>;
258
- rebindOwner?(root: string, ownerSessionId: string): Promise<void>;
259
- release?(root: string): Promise<void>;
260
- seal?(root: string): Promise<ArtifactReceipt | undefined>;
261
- }
262
- //#endregion
263
248
  //#region src/workspaces/artifact-store.d.ts
264
249
  interface ArtifactStoreOptions {
265
250
  id: Id;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@x-otto/subagent",
3
- "version": "0.3.0-beta.0",
3
+ "version": "0.4.0-beta.0",
4
4
  "description": "子代理派生:provider 表 + 深度/扇出治理 + 控制面(agent_spawn/agent_send/list_models)",
5
5
  "files": [
6
6
  "dist"
@@ -15,16 +15,16 @@
15
15
  }
16
16
  },
17
17
  "dependencies": {
18
- "@x-otto/atomic-fs": "^0.3.0-beta.0",
19
- "@x-otto/hooks": "^0.3.0-beta.0",
20
- "@x-otto/kernel": "^0.3.0-beta.0",
21
- "@x-otto/residency": "^0.3.0-beta.0",
22
- "@x-otto/session": "^0.3.0-beta.0",
23
- "@x-otto/settings": "^0.3.0-beta.0",
24
- "@x-otto/shared": "^0.3.0-beta.0",
25
- "@x-otto/jobs": "^0.3.0-beta.0",
26
- "@x-otto/tool-schema": "^0.3.0-beta.0",
27
- "@x-otto/universal": "^0.3.0-beta.0"
18
+ "@x-otto/atomic-fs": "^0.4.0-beta.0",
19
+ "@x-otto/hooks": "^0.4.0-beta.0",
20
+ "@x-otto/kernel": "^0.4.0-beta.0",
21
+ "@x-otto/residency": "^0.4.0-beta.0",
22
+ "@x-otto/session": "^0.4.0-beta.0",
23
+ "@x-otto/settings": "^0.4.0-beta.0",
24
+ "@x-otto/shared": "^0.4.0-beta.0",
25
+ "@x-otto/jobs": "^0.4.0-beta.0",
26
+ "@x-otto/tool-schema": "^0.4.0-beta.0",
27
+ "@x-otto/universal": "^0.4.0-beta.0"
28
28
  },
29
29
  "publishConfig": {
30
30
  "access": "public",