@kitman-sh/sdk 0.7.3 → 0.7.5
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 +2 -2
- package/dist/{chunk-7hwhxthh.js → chunk-72z6zbfz.js} +1 -1
- package/dist/{chunk-zp7s46pz.js → chunk-8byx9rx2.js} +93 -10
- package/dist/loop/index.js +1 -1
- package/dist/program/index.js +2 -2
- package/package.json +1 -1
- package/types/packages/core/src/agent-environment.d.ts +16 -16
- package/types/packages/core/src/engineering-resources.d.ts +4 -6
- package/types/packages/core/src/index.d.ts +2 -1
- package/types/packages/core/src/kit.d.ts +12 -12
- package/types/packages/core/src/live.d.ts +10 -0
- package/types/packages/core/src/loop.d.ts +418 -22
- package/types/packages/core/src/my-teams.d.ts +175 -10
- package/types/packages/core/src/package-declarations.d.ts +25 -0
- package/types/packages/core/src/run-display.d.ts +12 -0
- package/types/packages/core/src/run-graph.d.ts +67 -0
- package/types/packages/core/src/runner.d.ts +3 -3
- package/types/packages/core/src/sync-kit.d.ts +4 -4
- package/types/packages/live/src/rpc/runner-group.d.ts +260 -260
- package/types/packages/core/src/kit-taxonomy.d.ts +0 -21
package/dist/build/index.js
CHANGED
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
KitInstallationDeclaration,
|
|
5
5
|
KitAssignmentDeclaration,
|
|
6
6
|
PackageDeclarations
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-8byx9rx2.js";
|
|
8
8
|
import {
|
|
9
9
|
RunnerRpcProtocolVersion,
|
|
10
10
|
describeFlag2,
|
|
11
11
|
Described2
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-72z6zbfz.js";
|
|
13
13
|
|
|
14
14
|
// packages/core/src/crypto.ts
|
|
15
15
|
import { createHash, createHmac, createSign, randomBytes, timingSafeEqual } from "crypto";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
executeLoop2,
|
|
20
20
|
LoopCheckError2,
|
|
21
21
|
checkLoop2
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-8byx9rx2.js";
|
|
23
23
|
// packages/core/src/repo-binding.ts
|
|
24
24
|
import * as Schema from "effect/Schema";
|
|
25
25
|
var RepoBindingPathPrefixPattern = "^(?!/)(?!.*\\\\)(?!.*(?:^|/)\\.\\.?(?:/|$))(?!.*//)\\S+$";
|
|
@@ -164,7 +164,7 @@ var SkillSource = Schema5.Union([
|
|
|
164
164
|
Schema5.Struct({
|
|
165
165
|
kind: Schema5.Literal("git"),
|
|
166
166
|
url: Schema5.String.check(Schema5.isMinLength(1)),
|
|
167
|
-
ref: Schema5.String.check(Schema5.isMinLength(1)),
|
|
167
|
+
ref: Schema5.optionalKey(Schema5.String.check(Schema5.isMinLength(1))),
|
|
168
168
|
path: Schema5.optionalKey(SourcePath),
|
|
169
169
|
sha256: Schema5.optionalKey(Sha256)
|
|
170
170
|
}),
|
|
@@ -254,7 +254,7 @@ var AgentSkillRequirement = Schema5.Struct({
|
|
|
254
254
|
var AgentPluginRequirement = Schema5.Struct({
|
|
255
255
|
name: Schema5.String.check(Schema5.isMinLength(1)),
|
|
256
256
|
policy: AgentEnvironmentPolicy,
|
|
257
|
-
|
|
257
|
+
sources: Schema5.NonEmptyArray(PluginSource)
|
|
258
258
|
});
|
|
259
259
|
var AgentMcpServerRequirement = Schema5.Struct({
|
|
260
260
|
name: Schema5.String.check(Schema5.isMinLength(1)),
|
|
@@ -1085,11 +1085,6 @@ var WorkspacePolicyKitBackfillCancelResult = Schema6.Struct({
|
|
|
1085
1085
|
var LoopLayers = ["project", "workspace", "shipped"];
|
|
1086
1086
|
var AgentEfforts = ["low", "medium", "high", "xhigh"];
|
|
1087
1087
|
|
|
1088
|
-
// packages/core/src/schedule.ts
|
|
1089
|
-
import * as Schema13 from "effect/Schema";
|
|
1090
|
-
import * as DateTime from "effect/DateTime";
|
|
1091
|
-
import * as Option from "effect/Option";
|
|
1092
|
-
|
|
1093
1088
|
// packages/core/src/loop.ts
|
|
1094
1089
|
import * as Effect from "effect/Effect";
|
|
1095
1090
|
import * as Schema12 from "effect/Schema";
|
|
@@ -2786,6 +2781,16 @@ var StepSessionUpdate = Schema12.Struct({
|
|
|
2786
2781
|
kind: Schema12.String.check(Schema12.isMinLength(1), Schema12.isMaxLength(80)),
|
|
2787
2782
|
content: Schema12.String.check(Schema12.isMinLength(1), Schema12.isMaxLength(4000))
|
|
2788
2783
|
});
|
|
2784
|
+
var StepAttemptSessionUpdate = Schema12.Struct({
|
|
2785
|
+
id: Id,
|
|
2786
|
+
kind: Schema12.String,
|
|
2787
|
+
content: Schema12.String,
|
|
2788
|
+
createdAt: Timestamp
|
|
2789
|
+
});
|
|
2790
|
+
var StepAttemptSessionUpdateList = Schema12.Struct({
|
|
2791
|
+
items: Schema12.Array(StepAttemptSessionUpdate),
|
|
2792
|
+
next: Schema12.optionalKey(Schema12.String)
|
|
2793
|
+
});
|
|
2789
2794
|
var StepOutputSubmissionResult = Schema12.Union([
|
|
2790
2795
|
Schema12.Struct({ status: Schema12.Literal("accepted") }),
|
|
2791
2796
|
Schema12.Struct({
|
|
@@ -2898,7 +2903,9 @@ var RunStepSummary = Schema12.Struct({
|
|
|
2898
2903
|
id: Id,
|
|
2899
2904
|
attempt: Schema12.Int.check(Schema12.isGreaterThanOrEqualTo(1)),
|
|
2900
2905
|
status: StepAttemptStatus,
|
|
2901
|
-
failureSummary: Schema12.optionalKey(Schema12.String)
|
|
2906
|
+
failureSummary: Schema12.optionalKey(Schema12.String),
|
|
2907
|
+
output: Schema12.optionalKey(Schema12.Unknown),
|
|
2908
|
+
revision: Schema12.optionalKey(Schema12.String)
|
|
2902
2909
|
}))
|
|
2903
2910
|
});
|
|
2904
2911
|
var RunSteerDeliveries = ["queued", "delivered", "failed"];
|
|
@@ -2911,14 +2918,73 @@ var RunSteer = Schema12.Struct({
|
|
|
2911
2918
|
});
|
|
2912
2919
|
var RunSteerInput = Schema12.Struct({
|
|
2913
2920
|
text: LoopSafeText,
|
|
2921
|
+
stepAttemptId: Schema12.optionalKey(Id),
|
|
2914
2922
|
idempotencyKey: Schema12.String.check(Schema12.isMinLength(1), Schema12.isMaxLength(240))
|
|
2915
2923
|
});
|
|
2916
2924
|
var RunSteerSent = Schema12.Struct({
|
|
2917
2925
|
steer: RunSteer,
|
|
2918
2926
|
target: Schema12.Literals(["session", "next_step"])
|
|
2919
2927
|
});
|
|
2928
|
+
var RunDisplayStates = [
|
|
2929
|
+
"queued",
|
|
2930
|
+
"running",
|
|
2931
|
+
"needs_you",
|
|
2932
|
+
"blocked",
|
|
2933
|
+
"failed",
|
|
2934
|
+
"stopped",
|
|
2935
|
+
"succeeded",
|
|
2936
|
+
"partial"
|
|
2937
|
+
];
|
|
2938
|
+
var RunDisplay = Schema12.Struct({
|
|
2939
|
+
state: Schema12.Literals(RunDisplayStates),
|
|
2940
|
+
retried: Schema12.Boolean,
|
|
2941
|
+
summary: Schema12.optionalKey(Schema12.String)
|
|
2942
|
+
});
|
|
2943
|
+
var RunGraphNodeKinds = ["agent", "check", "question", "child", "wait", "activity"];
|
|
2944
|
+
var RunGraphNode = Schema12.Struct({
|
|
2945
|
+
id: Id,
|
|
2946
|
+
name: Schema12.String,
|
|
2947
|
+
kind: Schema12.Literals(RunGraphNodeKinds),
|
|
2948
|
+
status: Schema12.Literals(RunDisplayStates),
|
|
2949
|
+
startedAt: Timestamp,
|
|
2950
|
+
endedAt: Schema12.optionalKey(Timestamp),
|
|
2951
|
+
attempts: Schema12.Array(Schema12.Struct({
|
|
2952
|
+
id: Id,
|
|
2953
|
+
attempt: Schema12.Int.check(Schema12.isGreaterThanOrEqualTo(1)),
|
|
2954
|
+
status: Schema12.Literals(RunDisplayStates),
|
|
2955
|
+
failureSummary: Schema12.optionalKey(Schema12.String)
|
|
2956
|
+
})),
|
|
2957
|
+
agent: Schema12.optionalKey(Schema12.Struct({
|
|
2958
|
+
id: Id,
|
|
2959
|
+
harness: Schema12.optionalKey(Schema12.String),
|
|
2960
|
+
model: Schema12.optionalKey(Schema12.String),
|
|
2961
|
+
runner: Schema12.optionalKey(Schema12.Struct({ id: Id, name: Schema12.String }))
|
|
2962
|
+
})),
|
|
2963
|
+
child: Schema12.optionalKey(Schema12.Struct({
|
|
2964
|
+
runId: Id,
|
|
2965
|
+
loopTitle: Schema12.String,
|
|
2966
|
+
display: RunDisplay,
|
|
2967
|
+
task: Schema12.optionalKey(Schema12.Struct({ id: Id, key: Schema12.String, title: Schema12.String }))
|
|
2968
|
+
}))
|
|
2969
|
+
});
|
|
2970
|
+
var RunGraph = Schema12.Struct({
|
|
2971
|
+
columns: Schema12.Array(Schema12.Array(RunGraphNode)),
|
|
2972
|
+
needs: Schema12.Array(Schema12.Struct({ from: Id, to: Id }))
|
|
2973
|
+
});
|
|
2974
|
+
var RunHeader = Schema12.Struct({
|
|
2975
|
+
loopTitle: Schema12.String,
|
|
2976
|
+
branch: Schema12.optionalKey(Schema12.String),
|
|
2977
|
+
changeRequest: Schema12.optionalKey(Schema12.Struct({ id: Id, title: Schema12.String, url: Schema12.String })),
|
|
2978
|
+
startedBy: Schema12.optionalKey(Schema12.Union([
|
|
2979
|
+
Schema12.Struct({ kind: Schema12.Literal("person"), name: Schema12.String }),
|
|
2980
|
+
Schema12.Struct({ kind: Schema12.Literal("event"), event: Schema12.String })
|
|
2981
|
+
]))
|
|
2982
|
+
});
|
|
2920
2983
|
var RunShow = Schema12.Struct({
|
|
2921
2984
|
run: Run,
|
|
2985
|
+
header: RunHeader,
|
|
2986
|
+
display: RunDisplay,
|
|
2987
|
+
graph: RunGraph,
|
|
2922
2988
|
steps: Schema12.Array(RunStepSummary),
|
|
2923
2989
|
questions: Schema12.Array(Question),
|
|
2924
2990
|
children: Schema12.Array(Schema12.Struct({ runId: Id, name: Schema12.String, status: RunStatus, createdAt: Timestamp })),
|
|
@@ -2929,6 +2995,7 @@ var RunShow = Schema12.Struct({
|
|
|
2929
2995
|
recordedAt: Timestamp
|
|
2930
2996
|
})),
|
|
2931
2997
|
artifacts: Schema12.Array(RunArtifact),
|
|
2998
|
+
findings: Schema12.Array(RunArtifact),
|
|
2932
2999
|
events: Schema12.Array(Schema12.Struct({ id: Id, type: Schema12.String, occurredAt: Timestamp })),
|
|
2933
3000
|
evidence: Schema12.Array(RunEvidence),
|
|
2934
3001
|
steers: Schema12.Array(RunSteer),
|
|
@@ -2959,7 +3026,6 @@ var ProgramLoop = Schema12.Struct({
|
|
|
2959
3026
|
publishedAt: Timestamp,
|
|
2960
3027
|
package: Schema12.String
|
|
2961
3028
|
});
|
|
2962
|
-
var LoopDetail = Schema12.Struct({ id: Schema12.String, resolved: Schema12.optionalKey(ProgramLoop) });
|
|
2963
3029
|
var AutomaticStart = Schema12.Struct({
|
|
2964
3030
|
eventId: Schema12.String,
|
|
2965
3031
|
eventType: Schema12.String,
|
|
@@ -2994,7 +3060,17 @@ var ProgramAgent = Schema12.Struct({
|
|
|
2994
3060
|
});
|
|
2995
3061
|
var ProgramAgentList = Schema12.Struct({ items: Schema12.Array(ProgramAgent) });
|
|
2996
3062
|
var ProgramLoopList = Schema12.Struct({ items: Schema12.Array(ProgramLoop) });
|
|
2997
|
-
var
|
|
3063
|
+
var RunListItem = Schema12.Struct({
|
|
3064
|
+
run: Run,
|
|
3065
|
+
loop: Schema12.Struct({ id: Schema12.String, title: Schema12.String }),
|
|
3066
|
+
task: Schema12.optionalKey(Schema12.Struct({ id: Id, key: Schema12.String, title: Schema12.String })),
|
|
3067
|
+
display: RunDisplay,
|
|
3068
|
+
miniGraph: Schema12.Array(Schema12.Literals(RunDisplayStates))
|
|
3069
|
+
});
|
|
3070
|
+
var RunList = Schema12.Struct({
|
|
3071
|
+
items: Schema12.Array(RunListItem),
|
|
3072
|
+
next: Schema12.optionalKey(Schema12.String)
|
|
3073
|
+
});
|
|
2998
3074
|
var RunWaitReasons = ["question", "completed", "failed", "stopped", "timeout"];
|
|
2999
3075
|
var RunWaitResult = Schema12.Struct({
|
|
3000
3076
|
reason: Schema12.Literals(RunWaitReasons),
|
|
@@ -3017,6 +3093,9 @@ var RunActionList = Schema12.Struct({ items: Schema12.Array(RunActionSummary) })
|
|
|
3017
3093
|
var RunActionTaken = Schema12.Struct({ action: Schema12.String, run: Run });
|
|
3018
3094
|
|
|
3019
3095
|
// packages/core/src/schedule.ts
|
|
3096
|
+
import * as Schema13 from "effect/Schema";
|
|
3097
|
+
import * as DateTime from "effect/DateTime";
|
|
3098
|
+
import * as Option from "effect/Option";
|
|
3020
3099
|
var ScheduleFrequency = ["daily", "weekly"];
|
|
3021
3100
|
var ScheduleMisfirePolicies = ["skip", "fire_once", "catch_up"];
|
|
3022
3101
|
var ScheduleOverlapPolicies = ["allow", "skip", "coalesce"];
|
|
@@ -3134,6 +3213,10 @@ var LoopManifest = Schema14.Struct({
|
|
|
3134
3213
|
secrets: Schema14.optionalKey(Schema14.Array(SecretName)),
|
|
3135
3214
|
network: Schema14.optionalKey(AgentSandboxNetwork)
|
|
3136
3215
|
});
|
|
3216
|
+
var LoopDetail = Schema14.Struct({
|
|
3217
|
+
id: Schema14.String,
|
|
3218
|
+
resolved: Schema14.optionalKey(Schema14.Struct({ ...ProgramLoop.fields, agents: LoopManifest.fields.agents, when: LoopManifest.fields.when }))
|
|
3219
|
+
});
|
|
3137
3220
|
var AgentDeclaration = Schema14.Struct({
|
|
3138
3221
|
extends: Schema14.optionalKey(Schema14.String),
|
|
3139
3222
|
instructions: Schema14.optionalKey(Schema14.String),
|
package/dist/loop/index.js
CHANGED
package/dist/program/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"../chunk-
|
|
2
|
+
import"../chunk-8byx9rx2.js";
|
|
3
3
|
import {
|
|
4
4
|
JournalWriteFailed2,
|
|
5
5
|
refusedStep2,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
undeclaredHostsEnv2,
|
|
14
14
|
networkGuard2,
|
|
15
15
|
runPackage2
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-72z6zbfz.js";
|
|
17
17
|
export {
|
|
18
18
|
Described2 as Described,
|
|
19
19
|
JournalWriteFailed2 as JournalWriteFailed,
|
package/package.json
CHANGED
|
@@ -19,7 +19,7 @@ export declare const SkillSource: Schema.Union<readonly [Schema.Struct<{
|
|
|
19
19
|
}>, Schema.Struct<{
|
|
20
20
|
readonly kind: Schema.Literal<"git">;
|
|
21
21
|
readonly url: Schema.String;
|
|
22
|
-
readonly ref: Schema.String
|
|
22
|
+
readonly ref: Schema.optionalKey<Schema.String>;
|
|
23
23
|
readonly path: Schema.optionalKey<Schema.String>;
|
|
24
24
|
readonly sha256: Schema.optionalKey<Schema.String>;
|
|
25
25
|
}>, Schema.Struct<{
|
|
@@ -89,7 +89,7 @@ export declare const AgentSkillRequirement: Schema.Struct<{
|
|
|
89
89
|
}>, Schema.Struct<{
|
|
90
90
|
readonly kind: Schema.Literal<"git">;
|
|
91
91
|
readonly url: Schema.String;
|
|
92
|
-
readonly ref: Schema.String
|
|
92
|
+
readonly ref: Schema.optionalKey<Schema.String>;
|
|
93
93
|
readonly path: Schema.optionalKey<Schema.String>;
|
|
94
94
|
readonly sha256: Schema.optionalKey<Schema.String>;
|
|
95
95
|
}>, Schema.Struct<{
|
|
@@ -110,7 +110,7 @@ export declare const AgentSkillRequirement: Schema.Struct<{
|
|
|
110
110
|
export declare const AgentPluginRequirement: Schema.Struct<{
|
|
111
111
|
readonly name: Schema.String;
|
|
112
112
|
readonly policy: Schema.Union<readonly [Schema.Literal<"recommended">, Schema.Literal<"required">]>;
|
|
113
|
-
readonly
|
|
113
|
+
readonly sources: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
114
114
|
readonly kind: Schema.Literal<"package">;
|
|
115
115
|
readonly packageName: Schema.String;
|
|
116
116
|
readonly version: Schema.optionalKey<Schema.String>;
|
|
@@ -125,7 +125,7 @@ export declare const AgentPluginRequirement: Schema.Struct<{
|
|
|
125
125
|
}>, Schema.Struct<{
|
|
126
126
|
readonly kind: Schema.Literal<"local_path">;
|
|
127
127
|
readonly path: Schema.String;
|
|
128
|
-
}>]
|
|
128
|
+
}>]>>;
|
|
129
129
|
}>;
|
|
130
130
|
export declare const AgentMcpServerRequirement: Schema.Struct<{
|
|
131
131
|
readonly name: Schema.String;
|
|
@@ -188,7 +188,7 @@ export declare const AgentEnvironmentFragment: Schema.Struct<{
|
|
|
188
188
|
}>, Schema.Struct<{
|
|
189
189
|
readonly kind: Schema.Literal<"git">;
|
|
190
190
|
readonly url: Schema.String;
|
|
191
|
-
readonly ref: Schema.String
|
|
191
|
+
readonly ref: Schema.optionalKey<Schema.String>;
|
|
192
192
|
readonly path: Schema.optionalKey<Schema.String>;
|
|
193
193
|
readonly sha256: Schema.optionalKey<Schema.String>;
|
|
194
194
|
}>, Schema.Struct<{
|
|
@@ -209,7 +209,7 @@ export declare const AgentEnvironmentFragment: Schema.Struct<{
|
|
|
209
209
|
readonly plugins: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
210
210
|
readonly name: Schema.String;
|
|
211
211
|
readonly policy: Schema.Union<readonly [Schema.Literal<"recommended">, Schema.Literal<"required">]>;
|
|
212
|
-
readonly
|
|
212
|
+
readonly sources: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
213
213
|
readonly kind: Schema.Literal<"package">;
|
|
214
214
|
readonly packageName: Schema.String;
|
|
215
215
|
readonly version: Schema.optionalKey<Schema.String>;
|
|
@@ -224,7 +224,7 @@ export declare const AgentEnvironmentFragment: Schema.Struct<{
|
|
|
224
224
|
}>, Schema.Struct<{
|
|
225
225
|
readonly kind: Schema.Literal<"local_path">;
|
|
226
226
|
readonly path: Schema.String;
|
|
227
|
-
}>]
|
|
227
|
+
}>]>>;
|
|
228
228
|
}>>>;
|
|
229
229
|
readonly mcpServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
230
230
|
readonly name: Schema.String;
|
|
@@ -373,7 +373,7 @@ export declare const UserAgentPreferences: Schema.Struct<{
|
|
|
373
373
|
}>, Schema.Struct<{
|
|
374
374
|
readonly kind: Schema.Literal<"git">;
|
|
375
375
|
readonly url: Schema.String;
|
|
376
|
-
readonly ref: Schema.String
|
|
376
|
+
readonly ref: Schema.optionalKey<Schema.String>;
|
|
377
377
|
readonly path: Schema.optionalKey<Schema.String>;
|
|
378
378
|
readonly sha256: Schema.optionalKey<Schema.String>;
|
|
379
379
|
}>, Schema.Struct<{
|
|
@@ -394,7 +394,7 @@ export declare const UserAgentPreferences: Schema.Struct<{
|
|
|
394
394
|
readonly plugins: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
395
395
|
readonly name: Schema.String;
|
|
396
396
|
readonly policy: Schema.Union<readonly [Schema.Literal<"recommended">, Schema.Literal<"required">]>;
|
|
397
|
-
readonly
|
|
397
|
+
readonly sources: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
398
398
|
readonly kind: Schema.Literal<"package">;
|
|
399
399
|
readonly packageName: Schema.String;
|
|
400
400
|
readonly version: Schema.optionalKey<Schema.String>;
|
|
@@ -409,7 +409,7 @@ export declare const UserAgentPreferences: Schema.Struct<{
|
|
|
409
409
|
}>, Schema.Struct<{
|
|
410
410
|
readonly kind: Schema.Literal<"local_path">;
|
|
411
411
|
readonly path: Schema.String;
|
|
412
|
-
}>]
|
|
412
|
+
}>]>>;
|
|
413
413
|
}>>>;
|
|
414
414
|
readonly mcpServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
415
415
|
readonly name: Schema.String;
|
|
@@ -625,7 +625,7 @@ export declare const AgentEnvironment: Schema.Struct<{
|
|
|
625
625
|
}>, Schema.Struct<{
|
|
626
626
|
readonly kind: Schema.Literal<"git">;
|
|
627
627
|
readonly url: Schema.String;
|
|
628
|
-
readonly ref: Schema.String
|
|
628
|
+
readonly ref: Schema.optionalKey<Schema.String>;
|
|
629
629
|
readonly path: Schema.optionalKey<Schema.String>;
|
|
630
630
|
readonly sha256: Schema.optionalKey<Schema.String>;
|
|
631
631
|
}>, Schema.Struct<{
|
|
@@ -718,7 +718,7 @@ export declare const AgentEnvironment: Schema.Struct<{
|
|
|
718
718
|
readonly item: Schema.Struct<{
|
|
719
719
|
readonly name: Schema.String;
|
|
720
720
|
readonly policy: Schema.Union<readonly [Schema.Literal<"recommended">, Schema.Literal<"required">]>;
|
|
721
|
-
readonly
|
|
721
|
+
readonly sources: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
722
722
|
readonly kind: Schema.Literal<"package">;
|
|
723
723
|
readonly packageName: Schema.String;
|
|
724
724
|
readonly version: Schema.optionalKey<Schema.String>;
|
|
@@ -733,7 +733,7 @@ export declare const AgentEnvironment: Schema.Struct<{
|
|
|
733
733
|
}>, Schema.Struct<{
|
|
734
734
|
readonly kind: Schema.Literal<"local_path">;
|
|
735
735
|
readonly path: Schema.String;
|
|
736
|
-
}>]
|
|
736
|
+
}>]>>;
|
|
737
737
|
}>;
|
|
738
738
|
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
739
739
|
readonly kind: Schema.Literal<"built_in">;
|
|
@@ -1486,7 +1486,7 @@ export declare const AgentEnvironmentSyncPlan: Schema.Struct<{
|
|
|
1486
1486
|
}>, Schema.Struct<{
|
|
1487
1487
|
readonly kind: Schema.Literal<"git">;
|
|
1488
1488
|
readonly url: Schema.String;
|
|
1489
|
-
readonly ref: Schema.String
|
|
1489
|
+
readonly ref: Schema.optionalKey<Schema.String>;
|
|
1490
1490
|
readonly path: Schema.optionalKey<Schema.String>;
|
|
1491
1491
|
readonly sha256: Schema.optionalKey<Schema.String>;
|
|
1492
1492
|
}>, Schema.Struct<{
|
|
@@ -1579,7 +1579,7 @@ export declare const AgentEnvironmentSyncPlan: Schema.Struct<{
|
|
|
1579
1579
|
readonly item: Schema.Struct<{
|
|
1580
1580
|
readonly name: Schema.String;
|
|
1581
1581
|
readonly policy: Schema.Union<readonly [Schema.Literal<"recommended">, Schema.Literal<"required">]>;
|
|
1582
|
-
readonly
|
|
1582
|
+
readonly sources: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
1583
1583
|
readonly kind: Schema.Literal<"package">;
|
|
1584
1584
|
readonly packageName: Schema.String;
|
|
1585
1585
|
readonly version: Schema.optionalKey<Schema.String>;
|
|
@@ -1594,7 +1594,7 @@ export declare const AgentEnvironmentSyncPlan: Schema.Struct<{
|
|
|
1594
1594
|
}>, Schema.Struct<{
|
|
1595
1595
|
readonly kind: Schema.Literal<"local_path">;
|
|
1596
1596
|
readonly path: Schema.String;
|
|
1597
|
-
}>]
|
|
1597
|
+
}>]>>;
|
|
1598
1598
|
}>;
|
|
1599
1599
|
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
1600
1600
|
readonly kind: Schema.Literal<"built_in">;
|
|
@@ -12,15 +12,13 @@ declare const marketplace: {
|
|
|
12
12
|
readonly preservesExistingInstallations: true;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
type
|
|
15
|
+
type ShippedKit = Omit<KitCreate, 'metadata' | 'kind' | 'slug'> & {
|
|
16
|
+
readonly slug: string;
|
|
16
17
|
readonly kind: 'process' | 'technology';
|
|
17
18
|
readonly metadata: {
|
|
18
19
|
readonly marketplace: typeof marketplace;
|
|
19
20
|
};
|
|
20
21
|
};
|
|
21
|
-
|
|
22
|
-
export declare const
|
|
23
|
-
export declare const PonytailProcessKit: EngineeringKit;
|
|
24
|
-
export declare const EngineeringTechnologyKitCatalog: readonly EngineeringKit[];
|
|
25
|
-
export declare const EngineeringProcessKitCatalog: readonly EngineeringKit[];
|
|
22
|
+
/** The Kits every Workspace gets by default: the owner's Claude Code setup, for every Harness, at the latest versions. */
|
|
23
|
+
export declare const ShippedKitCatalog: readonly ShippedKit[];
|
|
26
24
|
export {};
|
|
@@ -11,7 +11,6 @@ export * from './sync-kit';
|
|
|
11
11
|
export * from './agent-sandbox-policy';
|
|
12
12
|
export * from './agent-launch-snapshot';
|
|
13
13
|
export * from './kit';
|
|
14
|
-
export * from './kit-taxonomy';
|
|
15
14
|
export * from './memory';
|
|
16
15
|
export * from './proposal';
|
|
17
16
|
export * from './decision';
|
|
@@ -67,6 +66,8 @@ export * from './observability';
|
|
|
67
66
|
export * from './following';
|
|
68
67
|
export * from './approval-queue';
|
|
69
68
|
export * from './data-lifecycle';
|
|
69
|
+
export * from './run-display';
|
|
70
|
+
export * from './run-graph';
|
|
70
71
|
export * from './run-journal';
|
|
71
72
|
export * from './loop-layers';
|
|
72
73
|
export * from './package-declarations';
|
|
@@ -38,7 +38,7 @@ export declare const Kit: Schema.Struct<{
|
|
|
38
38
|
}>, Schema.Struct<{
|
|
39
39
|
readonly kind: Schema.Literal<"git">;
|
|
40
40
|
readonly url: Schema.String;
|
|
41
|
-
readonly ref: Schema.String
|
|
41
|
+
readonly ref: Schema.optionalKey<Schema.String>;
|
|
42
42
|
readonly path: Schema.optionalKey<Schema.String>;
|
|
43
43
|
readonly sha256: Schema.optionalKey<Schema.String>;
|
|
44
44
|
}>, Schema.Struct<{
|
|
@@ -59,7 +59,7 @@ export declare const Kit: Schema.Struct<{
|
|
|
59
59
|
readonly plugins: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
60
60
|
readonly name: Schema.String;
|
|
61
61
|
readonly policy: Schema.Union<readonly [Schema.Literal<"recommended">, Schema.Literal<"required">]>;
|
|
62
|
-
readonly
|
|
62
|
+
readonly sources: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
63
63
|
readonly kind: Schema.Literal<"package">;
|
|
64
64
|
readonly packageName: Schema.String;
|
|
65
65
|
readonly version: Schema.optionalKey<Schema.String>;
|
|
@@ -74,7 +74,7 @@ export declare const Kit: Schema.Struct<{
|
|
|
74
74
|
}>, Schema.Struct<{
|
|
75
75
|
readonly kind: Schema.Literal<"local_path">;
|
|
76
76
|
readonly path: Schema.String;
|
|
77
|
-
}>]
|
|
77
|
+
}>]>>;
|
|
78
78
|
}>>>;
|
|
79
79
|
readonly mcpServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
80
80
|
readonly name: Schema.String;
|
|
@@ -844,7 +844,7 @@ export declare const KitCreate: Schema.Struct<{
|
|
|
844
844
|
}>, Schema.Struct<{
|
|
845
845
|
readonly kind: Schema.Literal<"git">;
|
|
846
846
|
readonly url: Schema.String;
|
|
847
|
-
readonly ref: Schema.String
|
|
847
|
+
readonly ref: Schema.optionalKey<Schema.String>;
|
|
848
848
|
readonly path: Schema.optionalKey<Schema.String>;
|
|
849
849
|
readonly sha256: Schema.optionalKey<Schema.String>;
|
|
850
850
|
}>, Schema.Struct<{
|
|
@@ -865,7 +865,7 @@ export declare const KitCreate: Schema.Struct<{
|
|
|
865
865
|
readonly plugins: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
866
866
|
readonly name: Schema.String;
|
|
867
867
|
readonly policy: Schema.Union<readonly [Schema.Literal<"recommended">, Schema.Literal<"required">]>;
|
|
868
|
-
readonly
|
|
868
|
+
readonly sources: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
869
869
|
readonly kind: Schema.Literal<"package">;
|
|
870
870
|
readonly packageName: Schema.String;
|
|
871
871
|
readonly version: Schema.optionalKey<Schema.String>;
|
|
@@ -880,7 +880,7 @@ export declare const KitCreate: Schema.Struct<{
|
|
|
880
880
|
}>, Schema.Struct<{
|
|
881
881
|
readonly kind: Schema.Literal<"local_path">;
|
|
882
882
|
readonly path: Schema.String;
|
|
883
|
-
}>]
|
|
883
|
+
}>]>>;
|
|
884
884
|
}>>>;
|
|
885
885
|
readonly mcpServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
886
886
|
readonly name: Schema.String;
|
|
@@ -989,7 +989,7 @@ export declare const KitUpdate: Schema.Struct<{
|
|
|
989
989
|
}>, Schema.Struct<{
|
|
990
990
|
readonly kind: Schema.Literal<"git">;
|
|
991
991
|
readonly url: Schema.String;
|
|
992
|
-
readonly ref: Schema.String
|
|
992
|
+
readonly ref: Schema.optionalKey<Schema.String>;
|
|
993
993
|
readonly path: Schema.optionalKey<Schema.String>;
|
|
994
994
|
readonly sha256: Schema.optionalKey<Schema.String>;
|
|
995
995
|
}>, Schema.Struct<{
|
|
@@ -1010,7 +1010,7 @@ export declare const KitUpdate: Schema.Struct<{
|
|
|
1010
1010
|
readonly plugins: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1011
1011
|
readonly name: Schema.String;
|
|
1012
1012
|
readonly policy: Schema.Union<readonly [Schema.Literal<"recommended">, Schema.Literal<"required">]>;
|
|
1013
|
-
readonly
|
|
1013
|
+
readonly sources: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
1014
1014
|
readonly kind: Schema.Literal<"package">;
|
|
1015
1015
|
readonly packageName: Schema.String;
|
|
1016
1016
|
readonly version: Schema.optionalKey<Schema.String>;
|
|
@@ -1025,7 +1025,7 @@ export declare const KitUpdate: Schema.Struct<{
|
|
|
1025
1025
|
}>, Schema.Struct<{
|
|
1026
1026
|
readonly kind: Schema.Literal<"local_path">;
|
|
1027
1027
|
readonly path: Schema.String;
|
|
1028
|
-
}>]
|
|
1028
|
+
}>]>>;
|
|
1029
1029
|
}>>>;
|
|
1030
1030
|
readonly mcpServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1031
1031
|
readonly name: Schema.String;
|
|
@@ -1149,7 +1149,7 @@ export declare const KitList: Schema.Struct<{
|
|
|
1149
1149
|
}>, Schema.Struct<{
|
|
1150
1150
|
readonly kind: Schema.Literal<"git">;
|
|
1151
1151
|
readonly url: Schema.String;
|
|
1152
|
-
readonly ref: Schema.String
|
|
1152
|
+
readonly ref: Schema.optionalKey<Schema.String>;
|
|
1153
1153
|
readonly path: Schema.optionalKey<Schema.String>;
|
|
1154
1154
|
readonly sha256: Schema.optionalKey<Schema.String>;
|
|
1155
1155
|
}>, Schema.Struct<{
|
|
@@ -1170,7 +1170,7 @@ export declare const KitList: Schema.Struct<{
|
|
|
1170
1170
|
readonly plugins: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1171
1171
|
readonly name: Schema.String;
|
|
1172
1172
|
readonly policy: Schema.Union<readonly [Schema.Literal<"recommended">, Schema.Literal<"required">]>;
|
|
1173
|
-
readonly
|
|
1173
|
+
readonly sources: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
1174
1174
|
readonly kind: Schema.Literal<"package">;
|
|
1175
1175
|
readonly packageName: Schema.String;
|
|
1176
1176
|
readonly version: Schema.optionalKey<Schema.String>;
|
|
@@ -1185,7 +1185,7 @@ export declare const KitList: Schema.Struct<{
|
|
|
1185
1185
|
}>, Schema.Struct<{
|
|
1186
1186
|
readonly kind: Schema.Literal<"local_path">;
|
|
1187
1187
|
readonly path: Schema.String;
|
|
1188
|
-
}>]
|
|
1188
|
+
}>]>>;
|
|
1189
1189
|
}>>>;
|
|
1190
1190
|
readonly mcpServers: Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1191
1191
|
readonly name: Schema.String;
|
|
@@ -205,6 +205,7 @@ export declare const LiveEventPayload: Schema.Union<readonly [Schema.Struct<{
|
|
|
205
205
|
readonly loopId: Schema.optionalKey<Schema.String>;
|
|
206
206
|
readonly status: Schema.optionalKey<Schema.String>;
|
|
207
207
|
readonly stepKey: Schema.optionalKey<Schema.String>;
|
|
208
|
+
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
208
209
|
readonly sequence: Schema.optionalKey<Schema.Int>;
|
|
209
210
|
}>, Schema.Struct<{
|
|
210
211
|
readonly operation: Schema.Union<readonly [Schema.Literal<"created">, Schema.Literal<"updated">, Schema.Literal<"deleted">, Schema.Literal<"status_changed">, Schema.Literal<"assignment_changed">, Schema.Literal<"moved">, Schema.Literal<"heartbeat">, Schema.Literal<"access_changed">, Schema.Literal<"resolved">, Schema.Literal<"approved">, Schema.Literal<"rejected">, Schema.Literal<"completed">, Schema.Literal<"claimed">, Schema.Literal<"failed">, Schema.Literal<"invalidated">, Schema.Literal<"opened">, Schema.Literal<"closed">, Schema.Literal<"changed">, Schema.Literal<"promoted">, Schema.Literal<"waived">, Schema.Literal<"available">, Schema.Literal<"removed">, Schema.Literal<"lease_changed">, Schema.Literal<"step_changed">, Schema.Literal<"message_created">, Schema.Literal<"acknowledged">]>;
|
|
@@ -484,6 +485,7 @@ export declare const LiveEvent: Schema.Struct<{
|
|
|
484
485
|
readonly loopId: Schema.optionalKey<Schema.String>;
|
|
485
486
|
readonly status: Schema.optionalKey<Schema.String>;
|
|
486
487
|
readonly stepKey: Schema.optionalKey<Schema.String>;
|
|
488
|
+
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
487
489
|
readonly sequence: Schema.optionalKey<Schema.Int>;
|
|
488
490
|
}>, Schema.Struct<{
|
|
489
491
|
readonly operation: Schema.Union<readonly [Schema.Literal<"created">, Schema.Literal<"updated">, Schema.Literal<"deleted">, Schema.Literal<"status_changed">, Schema.Literal<"assignment_changed">, Schema.Literal<"moved">, Schema.Literal<"heartbeat">, Schema.Literal<"access_changed">, Schema.Literal<"resolved">, Schema.Literal<"approved">, Schema.Literal<"rejected">, Schema.Literal<"completed">, Schema.Literal<"claimed">, Schema.Literal<"failed">, Schema.Literal<"invalidated">, Schema.Literal<"opened">, Schema.Literal<"closed">, Schema.Literal<"changed">, Schema.Literal<"promoted">, Schema.Literal<"waived">, Schema.Literal<"available">, Schema.Literal<"removed">, Schema.Literal<"lease_changed">, Schema.Literal<"step_changed">, Schema.Literal<"message_created">, Schema.Literal<"acknowledged">]>;
|
|
@@ -650,6 +652,7 @@ export declare const LiveEventTypes: {
|
|
|
650
652
|
readonly RunCreated: 'dev.kitman.run.created.v1';
|
|
651
653
|
readonly RunStatusChanged: 'dev.kitman.run.status.changed.v1';
|
|
652
654
|
readonly RunStepChanged: 'dev.kitman.run.step.changed.v1';
|
|
655
|
+
readonly RunSessionUpdateCreated: 'dev.kitman.run.session_update.created.v1';
|
|
653
656
|
readonly LoopChangeCreated: 'dev.kitman.loop_change.created.v1';
|
|
654
657
|
readonly LoopChangeUpdated: 'dev.kitman.loop_change.updated.v1';
|
|
655
658
|
readonly ApprovalRequested: 'dev.kitman.approval.requested.v1';
|
|
@@ -1041,6 +1044,7 @@ export declare const LiveWebEvent: Schema.Union<readonly [...(Schema.Struct<{
|
|
|
1041
1044
|
readonly loopId: Schema.optionalKey<Schema.String>;
|
|
1042
1045
|
readonly status: Schema.optionalKey<Schema.String>;
|
|
1043
1046
|
readonly stepKey: Schema.optionalKey<Schema.String>;
|
|
1047
|
+
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
1044
1048
|
readonly sequence: Schema.optionalKey<Schema.Int>;
|
|
1045
1049
|
}>;
|
|
1046
1050
|
}> | Schema.Struct<{
|
|
@@ -1809,6 +1813,7 @@ export declare const LiveMutationOutcome: Schema.Union<readonly [Schema.Struct<{
|
|
|
1809
1813
|
readonly loopId: Schema.optionalKey<Schema.String>;
|
|
1810
1814
|
readonly status: Schema.optionalKey<Schema.String>;
|
|
1811
1815
|
readonly stepKey: Schema.optionalKey<Schema.String>;
|
|
1816
|
+
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
1812
1817
|
readonly sequence: Schema.optionalKey<Schema.Int>;
|
|
1813
1818
|
}>;
|
|
1814
1819
|
}> | Schema.Struct<{
|
|
@@ -2577,6 +2582,7 @@ export declare const LiveMutationOutcome: Schema.Union<readonly [Schema.Struct<{
|
|
|
2577
2582
|
readonly loopId: Schema.optionalKey<Schema.String>;
|
|
2578
2583
|
readonly status: Schema.optionalKey<Schema.String>;
|
|
2579
2584
|
readonly stepKey: Schema.optionalKey<Schema.String>;
|
|
2585
|
+
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
2580
2586
|
readonly sequence: Schema.optionalKey<Schema.Int>;
|
|
2581
2587
|
}>;
|
|
2582
2588
|
}> | Schema.Struct<{
|
|
@@ -3364,6 +3370,7 @@ export declare const LiveFrame: Schema.Union<readonly [Schema.Struct<{
|
|
|
3364
3370
|
readonly loopId: Schema.optionalKey<Schema.String>;
|
|
3365
3371
|
readonly status: Schema.optionalKey<Schema.String>;
|
|
3366
3372
|
readonly stepKey: Schema.optionalKey<Schema.String>;
|
|
3373
|
+
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
3367
3374
|
readonly sequence: Schema.optionalKey<Schema.Int>;
|
|
3368
3375
|
}>;
|
|
3369
3376
|
}> | Schema.Struct<{
|
|
@@ -4136,6 +4143,7 @@ export declare const LiveFrame: Schema.Union<readonly [Schema.Struct<{
|
|
|
4136
4143
|
readonly loopId: Schema.optionalKey<Schema.String>;
|
|
4137
4144
|
readonly status: Schema.optionalKey<Schema.String>;
|
|
4138
4145
|
readonly stepKey: Schema.optionalKey<Schema.String>;
|
|
4146
|
+
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
4139
4147
|
readonly sequence: Schema.optionalKey<Schema.Int>;
|
|
4140
4148
|
}>;
|
|
4141
4149
|
}> | Schema.Struct<{
|
|
@@ -4978,6 +4986,7 @@ export declare const LiveSubscribeResult: Schema.Struct<{
|
|
|
4978
4986
|
readonly loopId: Schema.optionalKey<Schema.String>;
|
|
4979
4987
|
readonly status: Schema.optionalKey<Schema.String>;
|
|
4980
4988
|
readonly stepKey: Schema.optionalKey<Schema.String>;
|
|
4989
|
+
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
4981
4990
|
readonly sequence: Schema.optionalKey<Schema.Int>;
|
|
4982
4991
|
}>, Schema.Struct<{
|
|
4983
4992
|
readonly operation: Schema.Union<readonly [Schema.Literal<"created">, Schema.Literal<"updated">, Schema.Literal<"deleted">, Schema.Literal<"status_changed">, Schema.Literal<"assignment_changed">, Schema.Literal<"moved">, Schema.Literal<"heartbeat">, Schema.Literal<"access_changed">, Schema.Literal<"resolved">, Schema.Literal<"approved">, Schema.Literal<"rejected">, Schema.Literal<"completed">, Schema.Literal<"claimed">, Schema.Literal<"failed">, Schema.Literal<"invalidated">, Schema.Literal<"opened">, Schema.Literal<"closed">, Schema.Literal<"changed">, Schema.Literal<"promoted">, Schema.Literal<"waived">, Schema.Literal<"available">, Schema.Literal<"removed">, Schema.Literal<"lease_changed">, Schema.Literal<"step_changed">, Schema.Literal<"message_created">, Schema.Literal<"acknowledged">]>;
|
|
@@ -5757,6 +5766,7 @@ export declare const LiveWebReplayResult: Schema.Struct<{
|
|
|
5757
5766
|
readonly loopId: Schema.optionalKey<Schema.String>;
|
|
5758
5767
|
readonly status: Schema.optionalKey<Schema.String>;
|
|
5759
5768
|
readonly stepKey: Schema.optionalKey<Schema.String>;
|
|
5769
|
+
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
5760
5770
|
readonly sequence: Schema.optionalKey<Schema.Int>;
|
|
5761
5771
|
}>;
|
|
5762
5772
|
}> | Schema.Struct<{
|