@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.
- package/dist/build-revision.json +1 -1
- package/dist/index.d.ts +1 -16
- package/package.json +11 -11
package/dist/build-revision.json
CHANGED
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
|
+
"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.
|
|
19
|
-
"@x-otto/hooks": "^0.
|
|
20
|
-
"@x-otto/kernel": "^0.
|
|
21
|
-
"@x-otto/residency": "^0.
|
|
22
|
-
"@x-otto/session": "^0.
|
|
23
|
-
"@x-otto/settings": "^0.
|
|
24
|
-
"@x-otto/shared": "^0.
|
|
25
|
-
"@x-otto/jobs": "^0.
|
|
26
|
-
"@x-otto/tool-schema": "^0.
|
|
27
|
-
"@x-otto/universal": "^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",
|