@treeseed/sdk 0.13.0-rc.60 → 0.13.0-rc.62
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/.treeseed-build-complete.json +1 -1
- package/dist/agent-capacity/validation/agent-definition-schema.d.ts +120 -120
- package/dist/capacity-provider/capability-ontology.d.ts +190 -190
- package/dist/capacity-provider/client.d.ts +3 -3
- package/dist/capacity-provider/core-capability-catalog.d.ts +13 -13
- package/dist/capacity-provider/environment-catalog.d.ts +62 -62
- package/dist/capacity-provider/sandbox-contracts.d.ts +66 -66
- package/dist/content/validation/agent-operational-content-schemas.d.ts +72 -72
- package/dist/content/validation/auxiliary-content-schemas.d.ts +74 -74
- package/dist/content/validation/content-model-schemas.d.ts +435 -435
- package/dist/content/validation/portable-content-data.d.ts +53 -53
- package/dist/deployment/ai-mode.d.ts +46 -46
- package/dist/deployment/schemas.d.ts +648 -648
- package/dist/development/schemas.d.ts +290 -290
- package/dist/operator-contracts/canonical-command-tree.js +10 -0
- package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +41 -41
- package/dist/operator-contracts/catalog/communication-operations.d.ts +62 -62
- package/dist/operator-contracts/catalog/inbox-operations.d.ts +34 -34
- package/dist/operator-contracts/communication/contracts.d.ts +228 -228
- package/dist/operator-contracts/control-plane-operations.d.ts +145 -145
- package/dist/operator-contracts/inbox/contracts.d.ts +108 -108
- package/dist/platform/contracts.d.ts +383 -0
- package/dist/platform/contracts.js +79 -0
- package/dist/platform/index.d.ts +5 -0
- package/dist/platform/index.js +5 -0
- package/dist/platform/inventory.d.ts +11 -0
- package/dist/platform/inventory.js +53 -0
- package/dist/platform/schemas.d.ts +806 -0
- package/dist/platform/schemas.js +68 -0
- package/dist/platform/verification.d.ts +9 -0
- package/dist/platform/verification.js +104 -0
- package/dist/platform/workset.d.ts +21 -0
- package/dist/platform/workset.js +102 -0
- package/dist/security/encrypted-envelope.d.ts +14 -14
- package/package.json +5 -1
|
@@ -29,6 +29,9 @@ const operationBindings = {
|
|
|
29
29
|
"secrets unlock": local("local.secrets.unlock"),
|
|
30
30
|
"secrets lock": local("local.secrets.lock"),
|
|
31
31
|
"secrets rotate": local("local.secrets.rotate"),
|
|
32
|
+
"platform verify": local("local.platform.verify"),
|
|
33
|
+
"platform workset": local("local.platform.workset"),
|
|
34
|
+
"platform project create": local("local.platform.project.create"),
|
|
32
35
|
"host status": local("local.host.status"),
|
|
33
36
|
"host doctor": local("local.host.doctor"),
|
|
34
37
|
"host plan": local("local.host.plan"),
|
|
@@ -320,6 +323,13 @@ const commandTree = {
|
|
|
320
323
|
branch("users", [userCreate()]),
|
|
321
324
|
branch("teams", [leaf("list"), { nodeType: "leaf", segment: "current", description: "Show the active team for this authenticated server session.", kind: "read", resultSchemaId: "treeseed.command.teams.current/v1", execution: unavailable() }, { nodeType: "leaf", segment: "use", description: "Select the active team for this authenticated server session.", kind: "mutation", arguments: [{ name: "team", description: "Team UUID or unambiguous slug.", required: true }], options: [planOption], authorization: { capability: "teams.read", confirmation: "never" }, resultSchemaId: "treeseed.command.teams.use/v1", execution: unavailable() }]),
|
|
322
325
|
branch("secrets", [leaf("list"), leaf("status"), leaf("unlock", "mutation", void 0, "credential"), leaf("lock", "mutation"), leaf("rotate", "mutation", void 0, "credential")]),
|
|
326
|
+
branch("platform", [
|
|
327
|
+
{ nodeType: "leaf", segment: "verify", description: "Verify a declarative Platform repository without package checkouts or a control-plane API.", kind: "read", arguments: [{ name: "root", description: "Platform root; defaults to the current directory.", required: false }], options: [{ name: "--profile", description: "Composable profile to verify.", type: "string[]" }, { name: "--json", description: "Emit the stable command-result envelope.", type: "boolean" }], resultSchemaId: "treeseed.platform-verification/v1", execution: local("local.platform.verify") },
|
|
328
|
+
{ nodeType: "leaf", segment: "workset", description: "Plan or safely materialize exact primary source checkouts beneath packages/.", kind: "mutation", options: [planOption, { name: "--apply", description: "Apply the frozen workset plan.", type: "boolean" }, { name: "--yes", description: "Confirm the planned checkout mutations.", type: "boolean" }, { name: "--profile", description: "Composable source profile; repeat to union profiles.", type: "string[]" }, { name: "--project", description: "Explicit project slug; repeat to select projects.", type: "string[]" }, { name: "--exclude", description: "Project slug to exclude; repeat as needed.", type: "string[]" }, { name: "--json", description: "Emit the stable command-result envelope.", type: "boolean" }], authorization: { capability: "development.workset", confirmation: "never" }, resultSchemaId: "treeseed.platform-workset-result/v1", execution: local("local.platform.workset") },
|
|
329
|
+
branch("project", [
|
|
330
|
+
{ nodeType: "leaf", segment: "create", description: "Plan or reconcile a project, repository, template, library binding, and live inventory without writing application source into Platform Git.", kind: "mutation", arguments: [{ name: "slug", description: "Portable project slug.", required: true }], options: [planOption, { name: "--apply", description: "Apply the accepted creation plan.", type: "boolean" }, { name: "--yes", description: "Confirm authority-bearing project creation.", type: "boolean" }, { name: "--template", description: "Published template identity.", type: "string", required: true }, { name: "--json", description: "Emit the stable command-result envelope.", type: "boolean" }], authorization: { capability: "projects.create", confirmation: "authority" }, resultSchemaId: "treeseed.platform-project-create-result/v1", execution: local("local.platform.project.create") }
|
|
331
|
+
])
|
|
332
|
+
]),
|
|
323
333
|
branch("dev", [
|
|
324
334
|
branch("host", [
|
|
325
335
|
{ nodeType: "leaf", segment: "activate", description: "Build and activate a local host-runtime development generation.", kind: "mutation", arguments: [{ name: "worktree", description: "Deployment worktree (defaults to the current workspace deployment package).", required: false }], options: [planOption, { name: "--guest-image", description: "Optional exact sandbox guest image digest to bind while activating.", type: "string" }], authorization: { capability: "development.activate", confirmation: "never" }, resultSchemaId: "treeseed.command.dev.host.activate/v1", execution: local("local.dev.host.activate") },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare function capabilityOntologyOperations(): {
|
|
2
2
|
list: import("../control-plane-operation.js").ControlPlaneOperationBinding<{}, {
|
|
3
|
-
status?: "
|
|
3
|
+
status?: "revoked" | "active" | "deprecated" | undefined;
|
|
4
4
|
family?: string | undefined;
|
|
5
5
|
cursor?: string | undefined;
|
|
6
6
|
limit?: number | undefined;
|
|
@@ -8,18 +8,24 @@ export declare function capabilityOntologyOperations(): {
|
|
|
8
8
|
}, undefined, {
|
|
9
9
|
generation: number;
|
|
10
10
|
items: {
|
|
11
|
+
status: "revoked" | "active" | "deprecated";
|
|
11
12
|
schemaVersion: "treeseed.capability-definition/v1";
|
|
12
|
-
status: "active" | "deprecated" | "revoked";
|
|
13
|
-
createdAt: string;
|
|
14
13
|
id: string;
|
|
15
|
-
|
|
14
|
+
version: string;
|
|
15
|
+
digest: string;
|
|
16
|
+
inputs: {
|
|
16
17
|
id: string;
|
|
18
|
+
version: string;
|
|
17
19
|
digest: string;
|
|
20
|
+
mediaTypes?: string[] | undefined;
|
|
21
|
+
}[];
|
|
22
|
+
createdAt: string;
|
|
23
|
+
outputs: {
|
|
24
|
+
id: string;
|
|
18
25
|
version: string;
|
|
26
|
+
digest: string;
|
|
19
27
|
mediaTypes?: string[] | undefined;
|
|
20
28
|
}[];
|
|
21
|
-
digest: string;
|
|
22
|
-
version: string;
|
|
23
29
|
description: string;
|
|
24
30
|
configuration: {
|
|
25
31
|
key: string;
|
|
@@ -31,24 +37,18 @@ export declare function capabilityOntologyOperations(): {
|
|
|
31
37
|
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
32
38
|
title: string;
|
|
33
39
|
features: string[];
|
|
34
|
-
inputs: {
|
|
35
|
-
id: string;
|
|
36
|
-
digest: string;
|
|
37
|
-
version: string;
|
|
38
|
-
mediaTypes?: string[] | undefined;
|
|
39
|
-
}[];
|
|
40
40
|
permissionClasses: string[];
|
|
41
41
|
contextModes: string[];
|
|
42
42
|
interactionModes: string[];
|
|
43
43
|
implies: {
|
|
44
44
|
id: string;
|
|
45
|
-
digest: string;
|
|
46
45
|
version: string;
|
|
46
|
+
digest: string;
|
|
47
47
|
}[];
|
|
48
48
|
conflicts: {
|
|
49
49
|
id: string;
|
|
50
|
-
digest: string;
|
|
51
50
|
version: string;
|
|
51
|
+
digest: string;
|
|
52
52
|
}[];
|
|
53
53
|
qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
54
54
|
}[];
|
|
@@ -60,18 +60,24 @@ export declare function capabilityOntologyOperations(): {
|
|
|
60
60
|
}, {
|
|
61
61
|
version?: string | undefined;
|
|
62
62
|
}, undefined, {
|
|
63
|
+
status: "revoked" | "active" | "deprecated";
|
|
63
64
|
schemaVersion: "treeseed.capability-definition/v1";
|
|
64
|
-
status: "active" | "deprecated" | "revoked";
|
|
65
|
-
createdAt: string;
|
|
66
65
|
id: string;
|
|
67
|
-
|
|
66
|
+
version: string;
|
|
67
|
+
digest: string;
|
|
68
|
+
inputs: {
|
|
68
69
|
id: string;
|
|
70
|
+
version: string;
|
|
69
71
|
digest: string;
|
|
72
|
+
mediaTypes?: string[] | undefined;
|
|
73
|
+
}[];
|
|
74
|
+
createdAt: string;
|
|
75
|
+
outputs: {
|
|
76
|
+
id: string;
|
|
70
77
|
version: string;
|
|
78
|
+
digest: string;
|
|
71
79
|
mediaTypes?: string[] | undefined;
|
|
72
80
|
}[];
|
|
73
|
-
digest: string;
|
|
74
|
-
version: string;
|
|
75
81
|
description: string;
|
|
76
82
|
configuration: {
|
|
77
83
|
key: string;
|
|
@@ -83,45 +89,45 @@ export declare function capabilityOntologyOperations(): {
|
|
|
83
89
|
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
84
90
|
title: string;
|
|
85
91
|
features: string[];
|
|
86
|
-
inputs: {
|
|
87
|
-
id: string;
|
|
88
|
-
digest: string;
|
|
89
|
-
version: string;
|
|
90
|
-
mediaTypes?: string[] | undefined;
|
|
91
|
-
}[];
|
|
92
92
|
permissionClasses: string[];
|
|
93
93
|
contextModes: string[];
|
|
94
94
|
interactionModes: string[];
|
|
95
95
|
implies: {
|
|
96
96
|
id: string;
|
|
97
|
-
digest: string;
|
|
98
97
|
version: string;
|
|
98
|
+
digest: string;
|
|
99
99
|
}[];
|
|
100
100
|
conflicts: {
|
|
101
101
|
id: string;
|
|
102
|
-
digest: string;
|
|
103
102
|
version: string;
|
|
103
|
+
digest: string;
|
|
104
104
|
}[];
|
|
105
105
|
qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
106
106
|
}>;
|
|
107
107
|
generation: import("../control-plane-operation.js").ControlPlaneOperationBinding<{}, {}, undefined, {
|
|
108
108
|
schemaVersion: "treeseed.capability-ontology/v1";
|
|
109
|
+
digest: string;
|
|
109
110
|
createdAt: string;
|
|
110
111
|
generation: number;
|
|
111
|
-
digest: string;
|
|
112
112
|
definitions: {
|
|
113
|
+
status: "revoked" | "active" | "deprecated";
|
|
113
114
|
schemaVersion: "treeseed.capability-definition/v1";
|
|
114
|
-
status: "active" | "deprecated" | "revoked";
|
|
115
|
-
createdAt: string;
|
|
116
115
|
id: string;
|
|
117
|
-
|
|
116
|
+
version: string;
|
|
117
|
+
digest: string;
|
|
118
|
+
inputs: {
|
|
118
119
|
id: string;
|
|
120
|
+
version: string;
|
|
119
121
|
digest: string;
|
|
122
|
+
mediaTypes?: string[] | undefined;
|
|
123
|
+
}[];
|
|
124
|
+
createdAt: string;
|
|
125
|
+
outputs: {
|
|
126
|
+
id: string;
|
|
120
127
|
version: string;
|
|
128
|
+
digest: string;
|
|
121
129
|
mediaTypes?: string[] | undefined;
|
|
122
130
|
}[];
|
|
123
|
-
digest: string;
|
|
124
|
-
version: string;
|
|
125
131
|
description: string;
|
|
126
132
|
configuration: {
|
|
127
133
|
key: string;
|
|
@@ -133,24 +139,18 @@ export declare function capabilityOntologyOperations(): {
|
|
|
133
139
|
family: "research" | "coordination" | "data" | "engineering" | "publishing" | "external-work";
|
|
134
140
|
title: string;
|
|
135
141
|
features: string[];
|
|
136
|
-
inputs: {
|
|
137
|
-
id: string;
|
|
138
|
-
digest: string;
|
|
139
|
-
version: string;
|
|
140
|
-
mediaTypes?: string[] | undefined;
|
|
141
|
-
}[];
|
|
142
142
|
permissionClasses: string[];
|
|
143
143
|
contextModes: string[];
|
|
144
144
|
interactionModes: string[];
|
|
145
145
|
implies: {
|
|
146
146
|
id: string;
|
|
147
|
-
digest: string;
|
|
148
147
|
version: string;
|
|
148
|
+
digest: string;
|
|
149
149
|
}[];
|
|
150
150
|
conflicts: {
|
|
151
151
|
id: string;
|
|
152
|
-
digest: string;
|
|
153
152
|
version: string;
|
|
153
|
+
digest: string;
|
|
154
154
|
}[];
|
|
155
155
|
qualificationTier: "signed-attestation" | "automated-suite" | "reviewed-certification";
|
|
156
156
|
}[];
|
|
@@ -7,22 +7,19 @@ export declare function communicationOperations(): {
|
|
|
7
7
|
timeoutSeconds?: number | undefined;
|
|
8
8
|
recipients?: string[] | undefined;
|
|
9
9
|
}, {
|
|
10
|
-
teamId: string;
|
|
11
|
-
sendId: string;
|
|
12
|
-
schemaVersion: "treeseed.communication-send-receipt/v4";
|
|
13
10
|
status: "failed" | "running" | "partial" | "complete" | "queued";
|
|
14
|
-
|
|
11
|
+
schemaVersion: "treeseed.communication-send-receipt/v4";
|
|
15
12
|
targets: {
|
|
16
|
-
invocationId: string | null;
|
|
17
13
|
status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
|
|
18
14
|
projectId: string;
|
|
15
|
+
invocationId: string | null;
|
|
19
16
|
completedAt: string | null;
|
|
20
17
|
agentSlug: string;
|
|
21
18
|
capacity: {
|
|
22
|
-
assignmentId: string | null;
|
|
23
19
|
status: string | null;
|
|
24
|
-
completedAt: string | null;
|
|
25
20
|
providerId: string | null;
|
|
21
|
+
assignmentId: string | null;
|
|
22
|
+
completedAt: string | null;
|
|
26
23
|
executionProviderId: string | null;
|
|
27
24
|
laneId: string | null;
|
|
28
25
|
lanePurpose: string | null;
|
|
@@ -33,17 +30,17 @@ export declare function communicationOperations(): {
|
|
|
33
30
|
};
|
|
34
31
|
diagnostics: {
|
|
35
32
|
resources: Record<string, unknown>;
|
|
33
|
+
selection: {
|
|
34
|
+
capabilities: string[];
|
|
35
|
+
parameters: Record<string, unknown>;
|
|
36
|
+
model: string | null;
|
|
37
|
+
};
|
|
36
38
|
reason: string | null;
|
|
37
39
|
provider: {
|
|
38
40
|
providerId: string | null;
|
|
39
41
|
executionProviderId: string | null;
|
|
40
42
|
runtimeVersion: string | null;
|
|
41
43
|
};
|
|
42
|
-
selection: {
|
|
43
|
-
parameters: Record<string, unknown>;
|
|
44
|
-
capabilities: string[];
|
|
45
|
-
model: string | null;
|
|
46
|
-
};
|
|
47
44
|
usage: Record<string, unknown>[];
|
|
48
45
|
availability: "available" | "unavailable" | "partial";
|
|
49
46
|
identityManifest: Record<string, unknown>;
|
|
@@ -72,12 +69,15 @@ export declare function communicationOperations(): {
|
|
|
72
69
|
acknowledgedAt: string | null;
|
|
73
70
|
leaseAcceptedAt: string | null;
|
|
74
71
|
}[];
|
|
72
|
+
teamId: string;
|
|
73
|
+
createdAt: string;
|
|
74
|
+
sendId: string;
|
|
75
75
|
responses: {
|
|
76
|
-
invocationId: string;
|
|
77
|
-
assignmentId: string | null;
|
|
78
76
|
status: "failed" | "cancelled" | "responded" | "abstained";
|
|
79
|
-
createdAt: string;
|
|
80
77
|
projectId: string;
|
|
78
|
+
createdAt: string;
|
|
79
|
+
assignmentId: string | null;
|
|
80
|
+
invocationId: string;
|
|
81
81
|
agentSlug: string;
|
|
82
82
|
projectSlug: string;
|
|
83
83
|
requirement: "required" | "optional";
|
|
@@ -86,22 +86,22 @@ export declare function communicationOperations(): {
|
|
|
86
86
|
}[];
|
|
87
87
|
channel: string;
|
|
88
88
|
topic: {
|
|
89
|
-
id: string;
|
|
90
89
|
slug: string;
|
|
90
|
+
id: string;
|
|
91
91
|
};
|
|
92
92
|
events: {
|
|
93
|
+
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
94
|
+
id: string;
|
|
93
95
|
teamId: string;
|
|
96
|
+
assignmentId: string | null;
|
|
94
97
|
topicId: string;
|
|
95
98
|
sendId: string | null;
|
|
96
99
|
invocationId: string | null;
|
|
97
|
-
assignmentId: string | null;
|
|
98
100
|
sequence: number;
|
|
99
|
-
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
100
101
|
payload: Record<string, unknown>;
|
|
101
|
-
id: string;
|
|
102
102
|
actor: {
|
|
103
|
-
kind: "control-plane" | "provider" | "agent" | "user";
|
|
104
103
|
id: string;
|
|
104
|
+
kind: "control-plane" | "provider" | "agent" | "user";
|
|
105
105
|
handle: string | null;
|
|
106
106
|
};
|
|
107
107
|
summary: string;
|
|
@@ -124,22 +124,19 @@ export declare function communicationOperations(): {
|
|
|
124
124
|
}, {
|
|
125
125
|
diagnostics?: "metadata" | "full" | undefined;
|
|
126
126
|
}, undefined, {
|
|
127
|
-
teamId: string;
|
|
128
|
-
sendId: string;
|
|
129
|
-
schemaVersion: "treeseed.communication-send-receipt/v4";
|
|
130
127
|
status: "failed" | "running" | "partial" | "complete" | "queued";
|
|
131
|
-
|
|
128
|
+
schemaVersion: "treeseed.communication-send-receipt/v4";
|
|
132
129
|
targets: {
|
|
133
|
-
invocationId: string | null;
|
|
134
130
|
status: "failed" | "running" | "cancelled" | "queued" | "responded" | "abstained";
|
|
135
131
|
projectId: string;
|
|
132
|
+
invocationId: string | null;
|
|
136
133
|
completedAt: string | null;
|
|
137
134
|
agentSlug: string;
|
|
138
135
|
capacity: {
|
|
139
|
-
assignmentId: string | null;
|
|
140
136
|
status: string | null;
|
|
141
|
-
completedAt: string | null;
|
|
142
137
|
providerId: string | null;
|
|
138
|
+
assignmentId: string | null;
|
|
139
|
+
completedAt: string | null;
|
|
143
140
|
executionProviderId: string | null;
|
|
144
141
|
laneId: string | null;
|
|
145
142
|
lanePurpose: string | null;
|
|
@@ -150,17 +147,17 @@ export declare function communicationOperations(): {
|
|
|
150
147
|
};
|
|
151
148
|
diagnostics: {
|
|
152
149
|
resources: Record<string, unknown>;
|
|
150
|
+
selection: {
|
|
151
|
+
capabilities: string[];
|
|
152
|
+
parameters: Record<string, unknown>;
|
|
153
|
+
model: string | null;
|
|
154
|
+
};
|
|
153
155
|
reason: string | null;
|
|
154
156
|
provider: {
|
|
155
157
|
providerId: string | null;
|
|
156
158
|
executionProviderId: string | null;
|
|
157
159
|
runtimeVersion: string | null;
|
|
158
160
|
};
|
|
159
|
-
selection: {
|
|
160
|
-
parameters: Record<string, unknown>;
|
|
161
|
-
capabilities: string[];
|
|
162
|
-
model: string | null;
|
|
163
|
-
};
|
|
164
161
|
usage: Record<string, unknown>[];
|
|
165
162
|
availability: "available" | "unavailable" | "partial";
|
|
166
163
|
identityManifest: Record<string, unknown>;
|
|
@@ -189,12 +186,15 @@ export declare function communicationOperations(): {
|
|
|
189
186
|
acknowledgedAt: string | null;
|
|
190
187
|
leaseAcceptedAt: string | null;
|
|
191
188
|
}[];
|
|
189
|
+
teamId: string;
|
|
190
|
+
createdAt: string;
|
|
191
|
+
sendId: string;
|
|
192
192
|
responses: {
|
|
193
|
-
invocationId: string;
|
|
194
|
-
assignmentId: string | null;
|
|
195
193
|
status: "failed" | "cancelled" | "responded" | "abstained";
|
|
196
|
-
createdAt: string;
|
|
197
194
|
projectId: string;
|
|
195
|
+
createdAt: string;
|
|
196
|
+
assignmentId: string | null;
|
|
197
|
+
invocationId: string;
|
|
198
198
|
agentSlug: string;
|
|
199
199
|
projectSlug: string;
|
|
200
200
|
requirement: "required" | "optional";
|
|
@@ -203,22 +203,22 @@ export declare function communicationOperations(): {
|
|
|
203
203
|
}[];
|
|
204
204
|
channel: string;
|
|
205
205
|
topic: {
|
|
206
|
-
id: string;
|
|
207
206
|
slug: string;
|
|
207
|
+
id: string;
|
|
208
208
|
};
|
|
209
209
|
events: {
|
|
210
|
+
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
211
|
+
id: string;
|
|
210
212
|
teamId: string;
|
|
213
|
+
assignmentId: string | null;
|
|
211
214
|
topicId: string;
|
|
212
215
|
sendId: string | null;
|
|
213
216
|
invocationId: string | null;
|
|
214
|
-
assignmentId: string | null;
|
|
215
217
|
sequence: number;
|
|
216
|
-
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
217
218
|
payload: Record<string, unknown>;
|
|
218
|
-
id: string;
|
|
219
219
|
actor: {
|
|
220
|
-
kind: "control-plane" | "provider" | "agent" | "user";
|
|
221
220
|
id: string;
|
|
221
|
+
kind: "control-plane" | "provider" | "agent" | "user";
|
|
222
222
|
handle: string | null;
|
|
223
223
|
};
|
|
224
224
|
summary: string;
|
|
@@ -243,12 +243,12 @@ export declare function communicationOperations(): {
|
|
|
243
243
|
limit?: number | undefined;
|
|
244
244
|
}, undefined, {
|
|
245
245
|
items: {
|
|
246
|
-
teamId: string;
|
|
247
246
|
status: "active" | "archived";
|
|
248
|
-
|
|
247
|
+
slug: string;
|
|
249
248
|
id: string;
|
|
249
|
+
teamId: string;
|
|
250
|
+
createdAt: string;
|
|
250
251
|
updatedAt: string;
|
|
251
|
-
slug: string;
|
|
252
252
|
streams: {
|
|
253
253
|
id: string;
|
|
254
254
|
projectId: string;
|
|
@@ -258,7 +258,7 @@ export declare function communicationOperations(): {
|
|
|
258
258
|
listeners: {
|
|
259
259
|
status: "active" | "removed";
|
|
260
260
|
projectId: string;
|
|
261
|
-
source: "
|
|
261
|
+
source: "seed" | "operator" | "mention";
|
|
262
262
|
agentSlug: string;
|
|
263
263
|
projectSlug: string;
|
|
264
264
|
updatedAt: string;
|
|
@@ -272,12 +272,12 @@ export declare function communicationOperations(): {
|
|
|
272
272
|
teamId: string;
|
|
273
273
|
channel: string;
|
|
274
274
|
}, {}, undefined, {
|
|
275
|
-
teamId: string;
|
|
276
275
|
status: "active" | "archived";
|
|
277
|
-
|
|
276
|
+
slug: string;
|
|
278
277
|
id: string;
|
|
278
|
+
teamId: string;
|
|
279
|
+
createdAt: string;
|
|
279
280
|
updatedAt: string;
|
|
280
|
-
slug: string;
|
|
281
281
|
streams: {
|
|
282
282
|
id: string;
|
|
283
283
|
projectId: string;
|
|
@@ -287,7 +287,7 @@ export declare function communicationOperations(): {
|
|
|
287
287
|
listeners: {
|
|
288
288
|
status: "active" | "removed";
|
|
289
289
|
projectId: string;
|
|
290
|
-
source: "
|
|
290
|
+
source: "seed" | "operator" | "mention";
|
|
291
291
|
agentSlug: string;
|
|
292
292
|
projectSlug: string;
|
|
293
293
|
updatedAt: string;
|
|
@@ -306,12 +306,12 @@ export declare function communicationOperations(): {
|
|
|
306
306
|
}, undefined, {
|
|
307
307
|
cursor: string | null;
|
|
308
308
|
topic: {
|
|
309
|
-
teamId: string;
|
|
310
309
|
status: "active" | "archived";
|
|
311
|
-
|
|
310
|
+
slug: string;
|
|
312
311
|
id: string;
|
|
312
|
+
teamId: string;
|
|
313
|
+
createdAt: string;
|
|
313
314
|
updatedAt: string;
|
|
314
|
-
slug: string;
|
|
315
315
|
streams: {
|
|
316
316
|
id: string;
|
|
317
317
|
projectId: string;
|
|
@@ -321,7 +321,7 @@ export declare function communicationOperations(): {
|
|
|
321
321
|
listeners: {
|
|
322
322
|
status: "active" | "removed";
|
|
323
323
|
projectId: string;
|
|
324
|
-
source: "
|
|
324
|
+
source: "seed" | "operator" | "mention";
|
|
325
325
|
agentSlug: string;
|
|
326
326
|
projectSlug: string;
|
|
327
327
|
updatedAt: string;
|
|
@@ -330,18 +330,18 @@ export declare function communicationOperations(): {
|
|
|
330
330
|
}[];
|
|
331
331
|
};
|
|
332
332
|
events: {
|
|
333
|
+
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
334
|
+
id: string;
|
|
333
335
|
teamId: string;
|
|
336
|
+
assignmentId: string | null;
|
|
334
337
|
topicId: string;
|
|
335
338
|
sendId: string | null;
|
|
336
339
|
invocationId: string | null;
|
|
337
|
-
assignmentId: string | null;
|
|
338
340
|
sequence: number;
|
|
339
|
-
type: "message.posted" | "mention.acknowledged" | "response_lease.accepted" | "agent.progress" | "agent.response" | "agent.abstained" | "agent.failed";
|
|
340
341
|
payload: Record<string, unknown>;
|
|
341
|
-
id: string;
|
|
342
342
|
actor: {
|
|
343
|
-
kind: "control-plane" | "provider" | "agent" | "user";
|
|
344
343
|
id: string;
|
|
344
|
+
kind: "control-plane" | "provider" | "agent" | "user";
|
|
345
345
|
handle: string | null;
|
|
346
346
|
};
|
|
347
347
|
summary: string;
|
|
@@ -360,7 +360,7 @@ export declare function communicationOperations(): {
|
|
|
360
360
|
listener: {
|
|
361
361
|
status: "active" | "removed";
|
|
362
362
|
projectId: string;
|
|
363
|
-
source: "
|
|
363
|
+
source: "seed" | "operator" | "mention";
|
|
364
364
|
agentSlug: string;
|
|
365
365
|
projectSlug: string;
|
|
366
366
|
updatedAt: string;
|
|
@@ -379,7 +379,7 @@ export declare function communicationOperations(): {
|
|
|
379
379
|
listener: {
|
|
380
380
|
status: "active" | "removed";
|
|
381
381
|
projectId: string;
|
|
382
|
-
source: "
|
|
382
|
+
source: "seed" | "operator" | "mention";
|
|
383
383
|
agentSlug: string;
|
|
384
384
|
projectSlug: string;
|
|
385
385
|
updatedAt: string;
|
|
@@ -398,10 +398,10 @@ export declare function providerDiscussionResponseOperation(): import("../contro
|
|
|
398
398
|
markdown?: string | undefined;
|
|
399
399
|
outcome?: "responded" | "abstained" | undefined;
|
|
400
400
|
}, {
|
|
401
|
-
invocationId: string;
|
|
402
|
-
assignmentId: string;
|
|
403
|
-
schemaVersion: "treeseed.provider-discussion-response-receipt/v1";
|
|
404
401
|
status: "responded" | "abstained";
|
|
402
|
+
schemaVersion: "treeseed.provider-discussion-response-receipt/v1";
|
|
403
|
+
assignmentId: string;
|
|
404
|
+
invocationId: string;
|
|
405
405
|
messageRef: string;
|
|
406
406
|
settledAt: string;
|
|
407
407
|
}>;
|
|
@@ -420,8 +420,8 @@ export declare function providerCommunicationLifecycleOperations(): {
|
|
|
420
420
|
traceEvent: import("../control-plane-operation.js").ControlPlaneOperationBinding<{
|
|
421
421
|
assignmentId: string;
|
|
422
422
|
}, {}, {
|
|
423
|
-
sequence: number;
|
|
424
423
|
type: string;
|
|
424
|
+
sequence: number;
|
|
425
425
|
payload: Record<string, unknown>;
|
|
426
426
|
summary: string;
|
|
427
427
|
occurredAt: string;
|