@kitman-sh/sdk 0.7.4 → 0.8.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/index.js +10 -11
- package/dist/{chunk-p8v1smcg.js → chunk-160ww64c.js} +668 -185
- package/dist/{chunk-7jc5y0mj.js → chunk-36jhc745.js} +285 -83
- package/dist/loop/index.js +43 -1
- package/dist/program/index.js +7 -3
- package/package.json +3 -1
- package/types/packages/core/src/agent-capabilities.d.ts +68 -74
- package/types/packages/core/src/agent-environment.d.ts +26 -26
- package/types/packages/core/src/agent-launch-snapshot.d.ts +1 -1
- package/types/packages/core/src/agent-sandbox-policy.d.ts +15 -0
- package/types/packages/core/src/approval-queue.d.ts +4 -4
- package/types/packages/core/src/audit.d.ts +1 -1
- package/types/packages/core/src/change-delivery.d.ts +1 -1
- package/types/packages/core/src/change-request-review.d.ts +199 -7
- package/types/packages/core/src/change-request.d.ts +43 -12
- package/types/packages/core/src/connection.d.ts +1 -1
- package/types/packages/core/src/context-feedback.d.ts +8 -8
- package/types/packages/core/src/context-pack.d.ts +8 -8
- package/types/packages/core/src/crypto.d.ts +5 -0
- package/types/packages/core/src/data-lifecycle.d.ts +12 -12
- package/types/packages/core/src/decision.d.ts +2 -2
- package/types/packages/core/src/delivery-policy.d.ts +3 -3
- package/types/packages/core/src/enterprise-forge.d.ts +19 -0
- package/types/packages/core/src/epic-delivery.d.ts +1 -1
- package/types/packages/core/src/external-effect.d.ts +2 -2
- package/types/packages/core/src/global-search.d.ts +1 -1
- package/types/packages/core/src/index.d.ts +10 -2
- package/types/packages/core/src/integration.d.ts +58 -57
- package/types/packages/core/src/kit.d.ts +47 -47
- package/types/packages/core/src/live.d.ts +694 -781
- package/types/packages/core/src/loop-layers.d.ts +1 -1
- package/types/packages/core/src/loop-version.d.ts +1 -1
- package/types/packages/core/src/loop.d.ts +488 -86
- package/types/packages/core/src/marketplace.d.ts +127 -0
- package/types/packages/core/src/memory.d.ts +17 -12
- package/types/packages/core/src/my-teams.d.ts +238 -40
- package/types/packages/core/src/notification.d.ts +73 -12
- package/types/packages/core/src/owner.d.ts +15 -0
- package/types/packages/core/src/package-declarations.d.ts +97 -31
- package/types/packages/core/src/package.d.ts +22 -22
- package/types/packages/core/src/personal-development-profile.d.ts +2 -2
- package/types/packages/core/src/proposal.d.ts +25 -25
- package/types/packages/core/src/redaction.d.ts +2 -1
- package/types/packages/core/src/repo-binding.d.ts +19 -10
- package/types/packages/core/src/run-display.d.ts +12 -0
- package/types/packages/core/src/run-file.d.ts +190 -0
- package/types/packages/core/src/run-graph.d.ts +67 -0
- package/types/packages/core/src/run-launch.d.ts +7 -5
- package/types/packages/core/src/run.d.ts +9 -9
- package/types/packages/core/src/runner-eligibility.d.ts +4 -4
- package/types/packages/core/src/runner.d.ts +339 -111
- package/types/packages/core/src/schedule.d.ts +2 -2
- package/types/packages/core/src/scope-directory.d.ts +5 -5
- package/types/packages/core/src/secret.d.ts +9 -9
- package/types/packages/core/src/session.d.ts +2 -2
- package/types/packages/core/src/step-brief.d.ts +10 -3
- package/types/packages/core/src/storage.d.ts +49 -0
- package/types/packages/core/src/sync-kit.d.ts +25 -25
- package/types/packages/core/src/task-detail.d.ts +20 -13
- package/types/packages/core/src/task-execution-record.d.ts +6 -6
- package/types/packages/core/src/task.d.ts +52 -16
- package/types/packages/core/src/team-context.d.ts +33 -0
- package/types/packages/core/src/transcript.d.ts +230 -0
- package/types/packages/core/src/trigger-dispatch.d.ts +2 -2
- package/types/packages/core/src/trust-panel.d.ts +27 -0
- package/types/packages/core/src/work-unit.d.ts +44 -18
- package/types/packages/core/src/workspace.d.ts +77 -6
- package/types/packages/live/src/rpc/runner-client.d.ts +586 -15
- package/types/packages/live/src/rpc/runner-group.d.ts +597 -241
- package/types/packages/sdk/src/loop/activities.d.ts +208 -1
- package/types/packages/sdk/src/loop/config.d.ts +1 -1
- package/types/packages/sdk/src/loop/define.d.ts +8 -2
- package/types/packages/sdk/src/loop/plan.d.ts +2 -2
- package/types/packages/sdk/src/loop/steps.d.ts +2 -2
- package/types/packages/sdk/src/loop/test-loop.d.ts +6 -1
- package/types/packages/sdk/src/program/engine.d.ts +71 -3
- package/types/packages/sdk/src/program/host.d.ts +13 -1
- package/types/packages/core/src/enterprise-code-host.d.ts +0 -18
- package/types/packages/core/src/project.d.ts +0 -66
package/dist/loop/index.js
CHANGED
|
@@ -41,6 +41,8 @@ import {
|
|
|
41
41
|
ChangeRequestResult2,
|
|
42
42
|
WriteBackMilestones2,
|
|
43
43
|
WriteBackRequest2,
|
|
44
|
+
RunFile2,
|
|
45
|
+
FileRequest2,
|
|
44
46
|
ArtifactRequest2,
|
|
45
47
|
ArtifactResult2,
|
|
46
48
|
NoteRequest2,
|
|
@@ -53,24 +55,43 @@ import {
|
|
|
53
55
|
CommentRequest2,
|
|
54
56
|
ReleaseRequest2,
|
|
55
57
|
ReleaseResult2,
|
|
58
|
+
TranscriptPoint2,
|
|
59
|
+
TranscriptsRequest2,
|
|
60
|
+
TranscriptsResult2,
|
|
61
|
+
ProposeRequest2,
|
|
62
|
+
ProposeResult2,
|
|
63
|
+
ProjectActivityRequest2,
|
|
64
|
+
ProjectActivityResult2,
|
|
65
|
+
DraftUpdateRequest2,
|
|
66
|
+
DraftUpdateResult2,
|
|
56
67
|
ChangeRequestActivity2,
|
|
57
68
|
WriteBackActivity2,
|
|
58
69
|
ArtifactActivity2,
|
|
70
|
+
FileActivity2,
|
|
59
71
|
NoteActivity2,
|
|
60
72
|
CommentActivity2,
|
|
61
73
|
CreateTasksActivity2,
|
|
62
74
|
IntegrationBranchActivity2,
|
|
63
75
|
MergeChangeRequestActivity2,
|
|
64
76
|
ReleaseActivity2,
|
|
77
|
+
TranscriptsActivity2,
|
|
78
|
+
ProposeActivity2,
|
|
79
|
+
ProjectActivityActivity2,
|
|
80
|
+
DraftUpdateActivity2,
|
|
65
81
|
changeRequest2,
|
|
66
82
|
writeBack2,
|
|
67
83
|
artifact2,
|
|
84
|
+
file2,
|
|
68
85
|
note2,
|
|
69
86
|
comment2,
|
|
70
87
|
createTasks2,
|
|
71
88
|
integrationBranch2,
|
|
72
89
|
mergeChangeRequest2,
|
|
73
90
|
release2,
|
|
91
|
+
transcripts2,
|
|
92
|
+
propose2,
|
|
93
|
+
projectActivity2,
|
|
94
|
+
draftUpdate2,
|
|
74
95
|
LoopJournal2,
|
|
75
96
|
ScriptedFailure2,
|
|
76
97
|
scriptedFailure2,
|
|
@@ -94,7 +115,7 @@ import {
|
|
|
94
115
|
LoopCheckError2,
|
|
95
116
|
checkLoop2,
|
|
96
117
|
defineConfig2
|
|
97
|
-
} from "../chunk-
|
|
118
|
+
} from "../chunk-36jhc745.js";
|
|
98
119
|
export {
|
|
99
120
|
ArtifactActivity2 as ArtifactActivity,
|
|
100
121
|
ArtifactRequest2 as ArtifactRequest,
|
|
@@ -111,8 +132,13 @@ export {
|
|
|
111
132
|
CreateTasksActivity2 as CreateTasksActivity,
|
|
112
133
|
CreateTasksRequest2 as CreateTasksRequest,
|
|
113
134
|
CreateTasksResult2 as CreateTasksResult,
|
|
135
|
+
DraftUpdateActivity2 as DraftUpdateActivity,
|
|
136
|
+
DraftUpdateRequest2 as DraftUpdateRequest,
|
|
137
|
+
DraftUpdateResult2 as DraftUpdateResult,
|
|
114
138
|
DuplicateStep2 as DuplicateStep,
|
|
115
139
|
EvidenceCheck2 as EvidenceCheck,
|
|
140
|
+
FileActivity2 as FileActivity,
|
|
141
|
+
FileRequest2 as FileRequest,
|
|
116
142
|
Finding2 as Finding,
|
|
117
143
|
InputInvalid2 as InputInvalid,
|
|
118
144
|
IntegrationBranch2 as IntegrationBranch,
|
|
@@ -136,6 +162,12 @@ export {
|
|
|
136
162
|
OutputInvalid2 as OutputInvalid,
|
|
137
163
|
PlanTicket2 as PlanTicket,
|
|
138
164
|
PlanTickets2 as PlanTickets,
|
|
165
|
+
ProjectActivityActivity2 as ProjectActivityActivity,
|
|
166
|
+
ProjectActivityRequest2 as ProjectActivityRequest,
|
|
167
|
+
ProjectActivityResult2 as ProjectActivityResult,
|
|
168
|
+
ProposeActivity2 as ProposeActivity,
|
|
169
|
+
ProposeRequest2 as ProposeRequest,
|
|
170
|
+
ProposeResult2 as ProposeResult,
|
|
139
171
|
QuestionRefused2 as QuestionRefused,
|
|
140
172
|
Rebuttal2 as Rebuttal,
|
|
141
173
|
RebuttalVerdict2 as RebuttalVerdict,
|
|
@@ -143,11 +175,16 @@ export {
|
|
|
143
175
|
ReleaseRequest2 as ReleaseRequest,
|
|
144
176
|
ReleaseResult2 as ReleaseResult,
|
|
145
177
|
ReplayDiverged2 as ReplayDiverged,
|
|
178
|
+
RunFile2 as RunFile,
|
|
146
179
|
ScopeJudgement2 as ScopeJudgement,
|
|
147
180
|
ScriptedFailure2 as ScriptedFailure,
|
|
148
181
|
Severity2 as Severity,
|
|
149
182
|
StepFailed2 as StepFailed,
|
|
150
183
|
StepNamedTwice2 as StepNamedTwice,
|
|
184
|
+
TranscriptPoint2 as TranscriptPoint,
|
|
185
|
+
TranscriptsActivity2 as TranscriptsActivity,
|
|
186
|
+
TranscriptsRequest2 as TranscriptsRequest,
|
|
187
|
+
TranscriptsResult2 as TranscriptsResult,
|
|
151
188
|
VerifyResult2 as VerifyResult,
|
|
152
189
|
WaitTimedOut2 as WaitTimedOut,
|
|
153
190
|
WriteBackActivity2 as WriteBackActivity,
|
|
@@ -166,9 +203,11 @@ export {
|
|
|
166
203
|
createTasks2 as createTasks,
|
|
167
204
|
defineConfig2 as defineConfig,
|
|
168
205
|
defineLoop2 as defineLoop,
|
|
206
|
+
draftUpdate2 as draftUpdate,
|
|
169
207
|
eventDeferred2 as eventDeferred,
|
|
170
208
|
evidenceGate2 as evidenceGate,
|
|
171
209
|
executeLoop2 as executeLoop,
|
|
210
|
+
file2 as file,
|
|
172
211
|
integrationBranch2 as integrationBranch,
|
|
173
212
|
isBlocking2 as isBlocking,
|
|
174
213
|
jsonSchemaOf2 as jsonSchemaOf,
|
|
@@ -178,6 +217,8 @@ export {
|
|
|
178
217
|
mergeFindings2 as mergeFindings,
|
|
179
218
|
note2 as note,
|
|
180
219
|
planWaves2 as planWaves,
|
|
220
|
+
projectActivity2 as projectActivity,
|
|
221
|
+
propose2 as propose,
|
|
181
222
|
rallyStop2 as rallyStop,
|
|
182
223
|
release2 as release,
|
|
183
224
|
scriptedFailure2 as scriptedFailure,
|
|
@@ -186,6 +227,7 @@ export {
|
|
|
186
227
|
suggestVerification2 as suggestVerification,
|
|
187
228
|
takeStep2 as takeStep,
|
|
188
229
|
testLoop2 as testLoop,
|
|
230
|
+
transcripts2 as transcripts,
|
|
189
231
|
verify2 as verify,
|
|
190
232
|
verifyDeferred2 as verifyDeferred,
|
|
191
233
|
waitFor2 as waitFor,
|
package/dist/program/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"../chunk-
|
|
2
|
+
import"../chunk-36jhc745.js";
|
|
3
3
|
import {
|
|
4
4
|
JournalWriteFailed2,
|
|
5
5
|
refusedStep2,
|
|
6
|
+
uploadRunFile2,
|
|
6
7
|
runProgram2,
|
|
7
8
|
programLease2,
|
|
9
|
+
rpcRunFiles2,
|
|
8
10
|
rpcProgramJournal2,
|
|
9
11
|
describeFlag2,
|
|
10
12
|
Described2,
|
|
@@ -13,7 +15,7 @@ import {
|
|
|
13
15
|
undeclaredHostsEnv2,
|
|
14
16
|
networkGuard2,
|
|
15
17
|
runPackage2
|
|
16
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-160ww64c.js";
|
|
17
19
|
export {
|
|
18
20
|
Described2 as Described,
|
|
19
21
|
JournalWriteFailed2 as JournalWriteFailed,
|
|
@@ -24,7 +26,9 @@ export {
|
|
|
24
26
|
programSecrets2 as programSecrets,
|
|
25
27
|
refusedStep2 as refusedStep,
|
|
26
28
|
rpcProgramJournal2 as rpcProgramJournal,
|
|
29
|
+
rpcRunFiles2 as rpcRunFiles,
|
|
27
30
|
runPackage2 as runPackage,
|
|
28
31
|
runProgram2 as runProgram,
|
|
29
|
-
undeclaredHostsEnv2 as undeclaredHostsEnv
|
|
32
|
+
undeclaredHostsEnv2 as undeclaredHostsEnv,
|
|
33
|
+
uploadRunFile2 as uploadRunFile
|
|
30
34
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitman-sh/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"exports": {
|
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
"types"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
+
"@babel/parser": "^8.0.7",
|
|
27
|
+
"@babel/types": "^8.0.6",
|
|
26
28
|
"@effect/platform-bun": "^4.0.4",
|
|
27
29
|
"effect": "^4.0.4",
|
|
28
30
|
"typebox": "^1.3.37",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as Schema from 'effect/Schema';
|
|
2
2
|
export declare const KitmanAgentCapabilities: readonly [{
|
|
3
|
-
readonly name: '
|
|
4
|
-
readonly description: 'Inspect the current Kitman Workspace and preferred
|
|
3
|
+
readonly name: 'kitman_resolve_team_context';
|
|
4
|
+
readonly description: 'Inspect the current Kitman Workspace and preferred Team context without mutating local or cloud state.';
|
|
5
5
|
readonly input: Schema.Struct<{
|
|
6
6
|
readonly workspaceId: Schema.optionalKey<Schema.String>;
|
|
7
|
-
readonly
|
|
7
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
8
8
|
readonly repoIdentity: Schema.optionalKey<Schema.Struct<{
|
|
9
9
|
readonly host: Schema.String;
|
|
10
10
|
readonly owner: Schema.String;
|
|
@@ -14,38 +14,32 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
14
14
|
}>;
|
|
15
15
|
readonly output: Schema.Struct<{
|
|
16
16
|
readonly workspaceId: Schema.optionalKey<Schema.String>;
|
|
17
|
-
readonly
|
|
17
|
+
readonly preferredTeamId: Schema.optionalKey<Schema.String>;
|
|
18
18
|
readonly repoIdentity: Schema.optionalKey<Schema.Struct<{
|
|
19
19
|
readonly host: Schema.String;
|
|
20
20
|
readonly owner: Schema.String;
|
|
21
21
|
readonly name: Schema.String;
|
|
22
22
|
readonly normalizedUrl: Schema.optionalKey<Schema.String>;
|
|
23
23
|
}>>;
|
|
24
|
-
readonly resolutionSource: Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"
|
|
24
|
+
readonly resolutionSource: Schema.Union<readonly [Schema.Literal<"explicit">, Schema.Literal<"preferred_team">, Schema.Literal<"repo_binding">, Schema.Literal<"workspace">, Schema.Literal<"unresolved">]>;
|
|
25
25
|
readonly warnings: Schema.$Array<Schema.String>;
|
|
26
26
|
readonly candidates: Schema.$Array<Schema.Struct<{
|
|
27
27
|
readonly id: Schema.String;
|
|
28
28
|
readonly workspaceId: Schema.String;
|
|
29
|
+
readonly key: Schema.String;
|
|
29
30
|
readonly name: Schema.String;
|
|
30
|
-
readonly slug: Schema.String;
|
|
31
|
-
readonly description: Schema.optionalKey<Schema.String>;
|
|
32
|
-
readonly sourceType: Schema.Literal<"manual">;
|
|
33
|
-
readonly openTaskCount: Schema.Int;
|
|
34
|
-
readonly blockedTaskCount: Schema.Int;
|
|
35
|
-
readonly createdAt: Schema.String;
|
|
36
|
-
readonly updatedAt: Schema.String;
|
|
37
31
|
}>>;
|
|
38
32
|
}>;
|
|
39
33
|
readonly defaults: {
|
|
40
|
-
readonly
|
|
34
|
+
readonly teamIdFromActiveTeam: true;
|
|
41
35
|
};
|
|
42
36
|
readonly annotations: {
|
|
43
37
|
readonly readOnlyHint: true;
|
|
44
38
|
readonly idempotentHint: true;
|
|
45
39
|
};
|
|
46
40
|
}, {
|
|
47
|
-
readonly name: '
|
|
48
|
-
readonly description: 'List
|
|
41
|
+
readonly name: 'kitman_list_accessible_teams';
|
|
42
|
+
readonly description: 'List Teams in the current Workspace that the Actor can already access for Task workflows.';
|
|
49
43
|
readonly input: Schema.Struct<{
|
|
50
44
|
readonly workspaceId: Schema.optionalKey<Schema.String>;
|
|
51
45
|
}>;
|
|
@@ -53,14 +47,8 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
53
47
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
54
48
|
readonly id: Schema.String;
|
|
55
49
|
readonly workspaceId: Schema.String;
|
|
50
|
+
readonly key: Schema.String;
|
|
56
51
|
readonly name: Schema.String;
|
|
57
|
-
readonly slug: Schema.String;
|
|
58
|
-
readonly description: Schema.optionalKey<Schema.String>;
|
|
59
|
-
readonly sourceType: Schema.Literal<"manual">;
|
|
60
|
-
readonly openTaskCount: Schema.Int;
|
|
61
|
-
readonly blockedTaskCount: Schema.Int;
|
|
62
|
-
readonly createdAt: Schema.String;
|
|
63
|
-
readonly updatedAt: Schema.String;
|
|
64
52
|
}>>;
|
|
65
53
|
}>;
|
|
66
54
|
readonly annotations: {
|
|
@@ -69,10 +57,10 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
69
57
|
};
|
|
70
58
|
}, {
|
|
71
59
|
readonly name: 'kitman_get_task';
|
|
72
|
-
readonly description: 'Fetch a Kitman Task by id, or by exact task title/source key when one accessible
|
|
60
|
+
readonly description: 'Fetch a Kitman Task by id, or by exact task title/source key when one accessible Team match can be resolved.';
|
|
73
61
|
readonly input: Schema.Struct<{
|
|
74
62
|
readonly taskId: Schema.String;
|
|
75
|
-
readonly
|
|
63
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
76
64
|
}>;
|
|
77
65
|
readonly output: Schema.Struct<{
|
|
78
66
|
readonly task: Schema.Struct<{
|
|
@@ -81,7 +69,7 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
81
69
|
readonly workspaceId: Schema.String;
|
|
82
70
|
readonly teamId: Schema.String;
|
|
83
71
|
readonly number: Schema.Int;
|
|
84
|
-
readonly
|
|
72
|
+
readonly repoBindingId: Schema.optionalKey<Schema.String>;
|
|
85
73
|
readonly title: Schema.String;
|
|
86
74
|
readonly description: Schema.optionalKey<Schema.String>;
|
|
87
75
|
readonly acceptanceCriteria: Schema.$Array<Schema.String>;
|
|
@@ -125,7 +113,7 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
125
113
|
}>;
|
|
126
114
|
}>;
|
|
127
115
|
readonly defaults: {
|
|
128
|
-
readonly
|
|
116
|
+
readonly teamIdFromActiveTeam: true;
|
|
129
117
|
};
|
|
130
118
|
readonly annotations: {
|
|
131
119
|
readonly readOnlyHint: true;
|
|
@@ -133,10 +121,10 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
133
121
|
};
|
|
134
122
|
}, {
|
|
135
123
|
readonly name: 'kitman_search_tasks';
|
|
136
|
-
readonly description: 'Search Tasks by text or key,
|
|
124
|
+
readonly description: 'Search Tasks by text or key, team, state name or category (status), and limit. Returns full Task records including id, taskKey, workspaceId, and teamId so agents can safely chain follow-up actions.';
|
|
137
125
|
readonly input: Schema.Struct<{
|
|
138
126
|
readonly query: Schema.optionalKey<Schema.String>;
|
|
139
|
-
readonly
|
|
127
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
140
128
|
readonly status: Schema.optionalKey<Schema.String>;
|
|
141
129
|
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
142
130
|
}>;
|
|
@@ -147,7 +135,7 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
147
135
|
readonly workspaceId: Schema.String;
|
|
148
136
|
readonly teamId: Schema.String;
|
|
149
137
|
readonly number: Schema.Int;
|
|
150
|
-
readonly
|
|
138
|
+
readonly repoBindingId: Schema.optionalKey<Schema.String>;
|
|
151
139
|
readonly title: Schema.String;
|
|
152
140
|
readonly description: Schema.optionalKey<Schema.String>;
|
|
153
141
|
readonly acceptanceCriteria: Schema.$Array<Schema.String>;
|
|
@@ -190,15 +178,15 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
190
178
|
readonly updatedAt: Schema.String;
|
|
191
179
|
}>>;
|
|
192
180
|
readonly resolvedScope: Schema.optionalKey<Schema.Struct<{
|
|
193
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"
|
|
181
|
+
readonly kind: Schema.Union<readonly [Schema.Literal<"team">, Schema.Literal<"workspace">]>;
|
|
194
182
|
readonly workspaceId: Schema.optionalKey<Schema.String>;
|
|
195
|
-
readonly
|
|
183
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
196
184
|
}>>;
|
|
197
185
|
readonly resolutionSource: Schema.optionalKey<Schema.String>;
|
|
198
186
|
readonly resolutionWarnings: Schema.optionalKey<Schema.$Array<Schema.String>>;
|
|
199
187
|
}>;
|
|
200
188
|
readonly defaults: {
|
|
201
|
-
readonly
|
|
189
|
+
readonly teamIdFromActiveTeam: true;
|
|
202
190
|
};
|
|
203
191
|
readonly annotations: {
|
|
204
192
|
readonly readOnlyHint: true;
|
|
@@ -206,7 +194,7 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
206
194
|
};
|
|
207
195
|
}, {
|
|
208
196
|
readonly name: 'kitman_list_task_dependencies';
|
|
209
|
-
readonly description: 'List TaskDependency edges for a Task with
|
|
197
|
+
readonly description: 'List TaskDependency edges for a Task with Team privacy redaction.';
|
|
210
198
|
readonly input: Schema.Struct<{
|
|
211
199
|
readonly taskId: Schema.String;
|
|
212
200
|
}>;
|
|
@@ -217,7 +205,7 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
217
205
|
readonly dependentTask: Schema.Union<readonly [Schema.Struct<{
|
|
218
206
|
readonly redacted: Schema.Literal<false>;
|
|
219
207
|
readonly taskId: Schema.String;
|
|
220
|
-
readonly
|
|
208
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
221
209
|
readonly taskKey: Schema.String;
|
|
222
210
|
readonly title: Schema.String;
|
|
223
211
|
readonly state: Schema.Struct<{
|
|
@@ -228,12 +216,12 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
228
216
|
}>, Schema.Struct<{
|
|
229
217
|
readonly redacted: Schema.Literal<true>;
|
|
230
218
|
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
231
|
-
readonly
|
|
219
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
232
220
|
}>]>;
|
|
233
221
|
readonly blockingTask: Schema.Union<readonly [Schema.Struct<{
|
|
234
222
|
readonly redacted: Schema.Literal<false>;
|
|
235
223
|
readonly taskId: Schema.String;
|
|
236
|
-
readonly
|
|
224
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
237
225
|
readonly taskKey: Schema.String;
|
|
238
226
|
readonly title: Schema.String;
|
|
239
227
|
readonly state: Schema.Struct<{
|
|
@@ -244,7 +232,7 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
244
232
|
}>, Schema.Struct<{
|
|
245
233
|
readonly redacted: Schema.Literal<true>;
|
|
246
234
|
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
247
|
-
readonly
|
|
235
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
248
236
|
}>]>;
|
|
249
237
|
readonly reason: Schema.optionalKey<Schema.String>;
|
|
250
238
|
readonly createdAt: Schema.String;
|
|
@@ -257,16 +245,17 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
257
245
|
};
|
|
258
246
|
}, {
|
|
259
247
|
readonly name: 'kitman_list_repo_bindings';
|
|
260
|
-
readonly description:
|
|
248
|
+
readonly description: "List the Workspace's non-secret RepoBindings, or only one Team's, used to decide local claim and remote Runner runtime readiness.";
|
|
261
249
|
readonly input: Schema.Struct<{
|
|
262
|
-
readonly
|
|
250
|
+
readonly workspaceId: Schema.optionalKey<Schema.String>;
|
|
251
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
263
252
|
}>;
|
|
264
253
|
readonly output: Schema.Struct<{
|
|
265
254
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
266
255
|
readonly id: Schema.String;
|
|
267
256
|
readonly workspaceId: Schema.String;
|
|
268
|
-
readonly
|
|
269
|
-
readonly provider: Schema.
|
|
257
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
258
|
+
readonly provider: Schema.Literals<readonly ["github", "gitlab", "forgejo", "gitea", "gitee", "bitbucket", "azure-devops", "generic_git"]>;
|
|
270
259
|
readonly host: Schema.String;
|
|
271
260
|
readonly owner: Schema.String;
|
|
272
261
|
readonly name: Schema.String;
|
|
@@ -289,26 +278,24 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
289
278
|
}>]>>;
|
|
290
279
|
readonly status: Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"disabled">]>;
|
|
291
280
|
readonly webhook: Schema.optionalKey<Schema.Struct<{
|
|
292
|
-
readonly status: Schema.Literals<readonly ["active", "missing"]>;
|
|
281
|
+
readonly status: Schema.Literals<readonly ["active", "missing", "unavailable"]>;
|
|
293
282
|
readonly message: Schema.optionalKey<Schema.String>;
|
|
294
283
|
}>>;
|
|
295
284
|
readonly createdAt: Schema.String;
|
|
296
285
|
readonly updatedAt: Schema.String;
|
|
297
286
|
}>>;
|
|
298
287
|
}>;
|
|
299
|
-
readonly defaults: {
|
|
300
|
-
readonly projectIdFromActiveProject: true;
|
|
301
|
-
};
|
|
302
288
|
readonly annotations: {
|
|
303
289
|
readonly readOnlyHint: true;
|
|
304
290
|
readonly idempotentHint: true;
|
|
305
291
|
};
|
|
306
292
|
}, {
|
|
307
293
|
readonly name: 'kitman_create_repo_binding';
|
|
308
|
-
readonly description: 'Create a non-secret
|
|
294
|
+
readonly description: 'Create a non-secret RepoBinding owned by the Workspace, or by a Team when teamId names one. Store only repository identity, expected revision context, and credential references; never raw tokens, source snapshots, or private keys.';
|
|
309
295
|
readonly input: Schema.Struct<{
|
|
310
|
-
readonly
|
|
311
|
-
readonly
|
|
296
|
+
readonly workspaceId: Schema.optionalKey<Schema.String>;
|
|
297
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
298
|
+
readonly provider: Schema.Literals<readonly ["github", "gitlab", "forgejo", "gitea", "gitee", "bitbucket", "azure-devops", "generic_git"]>;
|
|
312
299
|
readonly host: Schema.String;
|
|
313
300
|
readonly owner: Schema.String;
|
|
314
301
|
readonly name: Schema.String;
|
|
@@ -334,8 +321,8 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
334
321
|
readonly repoBinding: Schema.Struct<{
|
|
335
322
|
readonly id: Schema.String;
|
|
336
323
|
readonly workspaceId: Schema.String;
|
|
337
|
-
readonly
|
|
338
|
-
readonly provider: Schema.
|
|
324
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
325
|
+
readonly provider: Schema.Literals<readonly ["github", "gitlab", "forgejo", "gitea", "gitee", "bitbucket", "azure-devops", "generic_git"]>;
|
|
339
326
|
readonly host: Schema.String;
|
|
340
327
|
readonly owner: Schema.String;
|
|
341
328
|
readonly name: Schema.String;
|
|
@@ -358,7 +345,7 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
358
345
|
}>]>>;
|
|
359
346
|
readonly status: Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"disabled">]>;
|
|
360
347
|
readonly webhook: Schema.optionalKey<Schema.Struct<{
|
|
361
|
-
readonly status: Schema.Literals<readonly ["active", "missing"]>;
|
|
348
|
+
readonly status: Schema.Literals<readonly ["active", "missing", "unavailable"]>;
|
|
362
349
|
readonly message: Schema.optionalKey<Schema.String>;
|
|
363
350
|
}>>;
|
|
364
351
|
readonly createdAt: Schema.String;
|
|
@@ -472,6 +459,13 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
472
459
|
readonly actorId: Schema.String;
|
|
473
460
|
readonly delegatedByUserId: Schema.optionalKey<Schema.String>;
|
|
474
461
|
readonly createdAt: Schema.String;
|
|
462
|
+
readonly reactions: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
463
|
+
readonly reaction: Schema.Literals<readonly ["thumbs_up", "thumbs_down", "heart", "laugh", "hooray", "confused", "eyes", "rocket"]>;
|
|
464
|
+
readonly actors: Schema.$Array<Schema.Struct<{
|
|
465
|
+
readonly actorType: Schema.Union<readonly [Schema.Literal<"human">, Schema.Literal<"delegated_agent">, Schema.Literal<"agent">]>;
|
|
466
|
+
readonly actorId: Schema.String;
|
|
467
|
+
}>>;
|
|
468
|
+
}>>>;
|
|
475
469
|
}>>;
|
|
476
470
|
readonly nextCursor: Schema.optionalKey<Schema.String>;
|
|
477
471
|
}>;
|
|
@@ -489,7 +483,7 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
489
483
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
490
484
|
readonly id: Schema.String;
|
|
491
485
|
readonly workspaceId: Schema.String;
|
|
492
|
-
readonly
|
|
486
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
493
487
|
readonly taskId: Schema.String;
|
|
494
488
|
readonly actorType: Schema.Union<readonly [Schema.Literal<"human">, Schema.Literal<"delegated_agent">, Schema.Literal<"agent">]>;
|
|
495
489
|
readonly actorId: Schema.String;
|
|
@@ -521,7 +515,7 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
521
515
|
readonly session: Schema.Struct<{
|
|
522
516
|
readonly id: Schema.String;
|
|
523
517
|
readonly workspaceId: Schema.String;
|
|
524
|
-
readonly
|
|
518
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
525
519
|
readonly taskId: Schema.String;
|
|
526
520
|
readonly actorType: Schema.Union<readonly [Schema.Literal<"human">, Schema.Literal<"delegated_agent">, Schema.Literal<"agent">]>;
|
|
527
521
|
readonly actorId: Schema.String;
|
|
@@ -577,11 +571,11 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
577
571
|
readonly launchBrief: Schema.optionalKey<Schema.Struct<{
|
|
578
572
|
readonly mode: Schema.Union<readonly [Schema.Literal<"planning">, Schema.Literal<"implementation">, Schema.Literal<"debugging">, Schema.Literal<"review">, Schema.Literal<"handoff">]>;
|
|
579
573
|
readonly taskTitle: Schema.String;
|
|
580
|
-
readonly
|
|
574
|
+
readonly teamName: Schema.optionalKey<Schema.String>;
|
|
581
575
|
readonly summary: Schema.String;
|
|
582
576
|
}>>;
|
|
583
577
|
readonly contextIndex: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
584
|
-
readonly kind: Schema.Literals<readonly ["task", "
|
|
578
|
+
readonly kind: Schema.Literals<readonly ["task", "team", "kit", "memory", "decision", "session", "session_update", "proposal", "task_dependency", "repo_binding", "agent_environment", "loop_step"]>;
|
|
585
579
|
readonly id: Schema.String;
|
|
586
580
|
readonly title: Schema.String;
|
|
587
581
|
readonly reason: Schema.String;
|
|
@@ -632,11 +626,11 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
632
626
|
readonly launchBrief: Schema.optionalKey<Schema.Struct<{
|
|
633
627
|
readonly mode: Schema.Union<readonly [Schema.Literal<"planning">, Schema.Literal<"implementation">, Schema.Literal<"debugging">, Schema.Literal<"review">, Schema.Literal<"handoff">]>;
|
|
634
628
|
readonly taskTitle: Schema.String;
|
|
635
|
-
readonly
|
|
629
|
+
readonly teamName: Schema.optionalKey<Schema.String>;
|
|
636
630
|
readonly summary: Schema.String;
|
|
637
631
|
}>>;
|
|
638
632
|
readonly contextIndex: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
639
|
-
readonly kind: Schema.Literals<readonly ["task", "
|
|
633
|
+
readonly kind: Schema.Literals<readonly ["task", "team", "kit", "memory", "decision", "session", "session_update", "proposal", "task_dependency", "repo_binding", "agent_environment", "loop_step"]>;
|
|
640
634
|
readonly id: Schema.String;
|
|
641
635
|
readonly title: Schema.String;
|
|
642
636
|
readonly reason: Schema.String;
|
|
@@ -714,7 +708,7 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
714
708
|
readonly content: Schema.String;
|
|
715
709
|
readonly evidence: Schema.optionalKey<Schema.String>;
|
|
716
710
|
readonly proposalCandidate: Schema.optionalKey<Schema.Struct<{
|
|
717
|
-
readonly targetType: Schema.Literals<readonly ["memory", "kit", "decision", "agent_environment_policy", "
|
|
711
|
+
readonly targetType: Schema.Literals<readonly ["memory", "kit", "decision", "agent_environment_policy", "team_context", "context_relevance"]>;
|
|
718
712
|
readonly title: Schema.String;
|
|
719
713
|
readonly summary: Schema.String;
|
|
720
714
|
readonly suggestedChange: Schema.String;
|
|
@@ -725,7 +719,7 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
725
719
|
readonly feedback: Schema.Struct<{
|
|
726
720
|
readonly id: Schema.String;
|
|
727
721
|
readonly workspaceId: Schema.String;
|
|
728
|
-
readonly
|
|
722
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
729
723
|
readonly taskId: Schema.String;
|
|
730
724
|
readonly contextPackId: Schema.String;
|
|
731
725
|
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
@@ -743,12 +737,12 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
743
737
|
readonly proposal: Schema.optionalKey<Schema.Struct<{
|
|
744
738
|
readonly id: Schema.String;
|
|
745
739
|
readonly workspaceId: Schema.String;
|
|
746
|
-
readonly
|
|
740
|
+
readonly teamId: Schema.optionalKey<Schema.String>;
|
|
747
741
|
readonly taskId: Schema.optionalKey<Schema.String>;
|
|
748
742
|
readonly target: Schema.Struct<{
|
|
749
|
-
readonly type: Schema.Literals<readonly ["memory", "kit", "agent_environment_policy", "decision", "task", "
|
|
743
|
+
readonly type: Schema.Literals<readonly ["memory", "kit", "agent_environment_policy", "decision", "task", "team_context", "context_relevance", "kit_source", "kit_version", "kit_installation", "kit_activation", "kit_trust_policy"]>;
|
|
750
744
|
readonly id: Schema.optionalKey<Schema.String>;
|
|
751
|
-
readonly scopeType: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"workspace">, Schema.Literal<"
|
|
745
|
+
readonly scopeType: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"workspace">, Schema.Literal<"team">, Schema.Literal<"task">, Schema.Literal<"kit">]>>;
|
|
752
746
|
readonly scopeId: Schema.optionalKey<Schema.String>;
|
|
753
747
|
}>;
|
|
754
748
|
readonly title: Schema.String;
|
|
@@ -756,7 +750,7 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
756
750
|
readonly status: Schema.Literals<readonly ["proposed", "in_review", "approved", "rejected", "applied", "reverted", "superseded", "canceled"]>;
|
|
757
751
|
readonly riskLevel: Schema.Literals<readonly ["low", "medium", "high"]>;
|
|
758
752
|
readonly approvalPolicy: Schema.Struct<{
|
|
759
|
-
readonly mode: Schema.Literals<readonly ["auto_approve_low_risk", "
|
|
753
|
+
readonly mode: Schema.Literals<readonly ["auto_approve_low_risk", "require_other_team_member", "require_workspace_owner_or_admin"]>;
|
|
760
754
|
readonly requireDifferentApprover: Schema.optionalKey<Schema.Boolean>;
|
|
761
755
|
readonly autonomousAgentApprovalAllowed: Schema.Literal<false>;
|
|
762
756
|
readonly deniedViolationCodes: Schema.$Array<Schema.Literals<readonly ["autonomous_self_approval", "self_capability_escalation", "missing_required_approval", "unsafe_payload", "target_conflict"]>>;
|
|
@@ -864,7 +858,7 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
864
858
|
readonly kind: Schema.Literals<readonly ["kit", "memory", "decision", "knowledge_record", "context_pack"]>;
|
|
865
859
|
readonly sourceId: Schema.String;
|
|
866
860
|
readonly sourceScope: Schema.Struct<{
|
|
867
|
-
readonly kind: Schema.Literals<readonly ["workspace", "
|
|
861
|
+
readonly kind: Schema.Literals<readonly ["workspace", "team", "task", "loop", "agent"]>;
|
|
868
862
|
readonly id: Schema.String;
|
|
869
863
|
}>;
|
|
870
864
|
readonly inclusionReason: Schema.String;
|
|
@@ -888,7 +882,7 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
888
882
|
readonly kind: Schema.Literals<readonly ["kit", "memory", "decision", "knowledge_record", "context_pack"]>;
|
|
889
883
|
readonly sourceId: Schema.String;
|
|
890
884
|
readonly sourceScope: Schema.Struct<{
|
|
891
|
-
readonly kind: Schema.Literals<readonly ["workspace", "
|
|
885
|
+
readonly kind: Schema.Literals<readonly ["workspace", "team", "task", "loop", "agent"]>;
|
|
892
886
|
readonly id: Schema.String;
|
|
893
887
|
}>;
|
|
894
888
|
readonly inclusionReason: Schema.String;
|
|
@@ -1053,7 +1047,7 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
1053
1047
|
readonly input: Schema.Struct<{
|
|
1054
1048
|
readonly workspaceId: Schema.optionalKey<Schema.String>;
|
|
1055
1049
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"proposed">, Schema.Literal<"accepted">, Schema.Literal<"rejected">, Schema.Literal<"deprecated">]>>;
|
|
1056
|
-
readonly scopeType: Schema.optionalKey<Schema.
|
|
1050
|
+
readonly scopeType: Schema.optionalKey<Schema.Literals<readonly ["workspace", "repository", "loop", "kit", "team", "task"]>>;
|
|
1057
1051
|
readonly scopeId: Schema.optionalKey<Schema.String>;
|
|
1058
1052
|
readonly limit: Schema.optionalKey<Schema.Int>;
|
|
1059
1053
|
}>;
|
|
@@ -1061,12 +1055,12 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
1061
1055
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
1062
1056
|
readonly id: Schema.String;
|
|
1063
1057
|
readonly workspaceId: Schema.String;
|
|
1064
|
-
readonly scopeType: Schema.
|
|
1058
|
+
readonly scopeType: Schema.Literals<readonly ["workspace", "repository", "loop", "kit", "team", "task"]>;
|
|
1065
1059
|
readonly scopeId: Schema.String;
|
|
1066
1060
|
readonly content: Schema.String;
|
|
1067
1061
|
readonly status: Schema.Union<readonly [Schema.Literal<"proposed">, Schema.Literal<"accepted">, Schema.Literal<"rejected">, Schema.Literal<"deprecated">]>;
|
|
1068
1062
|
readonly confidence: Schema.Union<readonly [Schema.Literal<"low">, Schema.Literal<"medium">, Schema.Literal<"high">]>;
|
|
1069
|
-
readonly sourceType: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"agent">, Schema.Literal<"session">, Schema.Literal<"context_pack">]>>;
|
|
1063
|
+
readonly sourceType: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"agent">, Schema.Literal<"session">, Schema.Literal<"context_pack">, Schema.Literal<"run">]>>;
|
|
1070
1064
|
readonly sourceId: Schema.optionalKey<Schema.String>;
|
|
1071
1065
|
readonly createdByActorType: Schema.Union<readonly [Schema.Literal<"human">, Schema.Literal<"delegated_agent">, Schema.Literal<"agent">]>;
|
|
1072
1066
|
readonly createdByActorId: Schema.String;
|
|
@@ -1089,12 +1083,12 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
1089
1083
|
readonly memory: Schema.Struct<{
|
|
1090
1084
|
readonly id: Schema.String;
|
|
1091
1085
|
readonly workspaceId: Schema.String;
|
|
1092
|
-
readonly scopeType: Schema.
|
|
1086
|
+
readonly scopeType: Schema.Literals<readonly ["workspace", "repository", "loop", "kit", "team", "task"]>;
|
|
1093
1087
|
readonly scopeId: Schema.String;
|
|
1094
1088
|
readonly content: Schema.String;
|
|
1095
1089
|
readonly status: Schema.Union<readonly [Schema.Literal<"proposed">, Schema.Literal<"accepted">, Schema.Literal<"rejected">, Schema.Literal<"deprecated">]>;
|
|
1096
1090
|
readonly confidence: Schema.Union<readonly [Schema.Literal<"low">, Schema.Literal<"medium">, Schema.Literal<"high">]>;
|
|
1097
|
-
readonly sourceType: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"agent">, Schema.Literal<"session">, Schema.Literal<"context_pack">]>>;
|
|
1091
|
+
readonly sourceType: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"user">, Schema.Literal<"agent">, Schema.Literal<"session">, Schema.Literal<"context_pack">, Schema.Literal<"run">]>>;
|
|
1098
1092
|
readonly sourceId: Schema.optionalKey<Schema.String>;
|
|
1099
1093
|
readonly createdByActorType: Schema.Union<readonly [Schema.Literal<"human">, Schema.Literal<"delegated_agent">, Schema.Literal<"agent">]>;
|
|
1100
1094
|
readonly createdByActorId: Schema.String;
|
|
@@ -1121,11 +1115,11 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
1121
1115
|
readonly launchBrief: Schema.optionalKey<Schema.Struct<{
|
|
1122
1116
|
readonly mode: Schema.Union<readonly [Schema.Literal<"planning">, Schema.Literal<"implementation">, Schema.Literal<"debugging">, Schema.Literal<"review">, Schema.Literal<"handoff">]>;
|
|
1123
1117
|
readonly taskTitle: Schema.String;
|
|
1124
|
-
readonly
|
|
1118
|
+
readonly teamName: Schema.optionalKey<Schema.String>;
|
|
1125
1119
|
readonly summary: Schema.String;
|
|
1126
1120
|
}>>;
|
|
1127
1121
|
readonly contextIndex: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1128
|
-
readonly kind: Schema.Literals<readonly ["task", "
|
|
1122
|
+
readonly kind: Schema.Literals<readonly ["task", "team", "kit", "memory", "decision", "session", "session_update", "proposal", "task_dependency", "repo_binding", "agent_environment", "loop_step"]>;
|
|
1129
1123
|
readonly id: Schema.String;
|
|
1130
1124
|
readonly title: Schema.String;
|
|
1131
1125
|
readonly reason: Schema.String;
|
|
@@ -1389,7 +1383,7 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
1389
1383
|
readonly name: 'kitman_propose_memory';
|
|
1390
1384
|
readonly description: 'Propose durable memory for human approval.';
|
|
1391
1385
|
readonly input: Schema.Struct<{
|
|
1392
|
-
readonly scopeType: Schema.
|
|
1386
|
+
readonly scopeType: Schema.Literals<readonly ["workspace", "repository", "loop", "kit", "team", "task"]>;
|
|
1393
1387
|
readonly scopeId: Schema.String;
|
|
1394
1388
|
readonly content: Schema.String;
|
|
1395
1389
|
readonly confidence: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"low">, Schema.Literal<"medium">, Schema.Literal<"high">]>>;
|
|
@@ -1430,5 +1424,5 @@ export declare const KitmanAgentCapabilities: readonly [{
|
|
|
1430
1424
|
readonly idempotentHint: false;
|
|
1431
1425
|
};
|
|
1432
1426
|
}];
|
|
1433
|
-
export declare const KitmanAgentCapabilityNames: readonly ("kitman_add_task_member" | "kitman_complete_task_asset_upload" | "kitman_create_repo_binding" | "kitman_create_task_asset_upload" | "kitman_delete_task_asset" | "kitman_generate_handoff" | "kitman_get_context_pack" | "kitman_get_context_pack_retrieval_ref" | "kitman_get_context_pack_snapshot" | "kitman_get_latest_context_pack" | "kitman_get_memory" | "kitman_get_session" | "kitman_get_task" | "kitman_get_task_asset_download_url" | "kitman_get_task_execution_record" | "kitman_link_task_artifact" | "
|
|
1427
|
+
export declare const KitmanAgentCapabilityNames: readonly ("kitman_add_task_member" | "kitman_complete_task_asset_upload" | "kitman_create_repo_binding" | "kitman_create_task_asset_upload" | "kitman_delete_task_asset" | "kitman_generate_handoff" | "kitman_get_context_pack" | "kitman_get_context_pack_retrieval_ref" | "kitman_get_context_pack_snapshot" | "kitman_get_latest_context_pack" | "kitman_get_memory" | "kitman_get_session" | "kitman_get_task" | "kitman_get_task_asset_download_url" | "kitman_get_task_execution_record" | "kitman_link_task_artifact" | "kitman_list_accessible_teams" | "kitman_list_memories" | "kitman_list_repo_bindings" | "kitman_list_session_updates" | "kitman_list_task_dependencies" | "kitman_list_task_members" | "kitman_list_task_sessions" | "kitman_list_task_thread_entries" | "kitman_post_task_question" | "kitman_propose_memory" | "kitman_record_blocker" | "kitman_record_context_relevance_feedback" | "kitman_record_decision" | "kitman_record_session_update" | "kitman_record_task_thread_entry" | "kitman_remove_task_member" | "kitman_resolve_team_context" | "kitman_search_tasks")[];
|
|
1434
1428
|
export type KitmanAgentCapabilityName = (typeof KitmanAgentCapabilityNames)[number];
|