@kitman-sh/sdk 0.7.2 → 0.7.4

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.
Files changed (69) hide show
  1. package/dist/build/index.js +2 -2
  2. package/dist/{chunk-zp7s46pz.js → chunk-7jc5y0mj.js} +2 -2
  3. package/dist/{chunk-7hwhxthh.js → chunk-p8v1smcg.js} +1 -1
  4. package/dist/loop/index.js +1 -1
  5. package/dist/program/index.js +2 -2
  6. package/package.json +1 -1
  7. package/types/packages/core/src/a2a.d.ts +577 -0
  8. package/types/packages/core/src/agent-capabilities.d.ts +1434 -0
  9. package/types/packages/core/src/agent-environment.d.ts +16 -16
  10. package/types/packages/core/src/agent-launch-snapshot.d.ts +44 -0
  11. package/types/packages/core/src/approval-queue.d.ts +126 -0
  12. package/types/packages/core/src/audit.d.ts +52 -0
  13. package/types/packages/core/src/change-delivery.d.ts +39 -0
  14. package/types/packages/core/src/change-request-review.d.ts +146 -0
  15. package/types/packages/core/src/change-request.d.ts +432 -0
  16. package/types/packages/core/src/connection.d.ts +33 -0
  17. package/types/packages/core/src/context-feedback.d.ts +89 -0
  18. package/types/packages/core/src/data-lifecycle.d.ts +195 -0
  19. package/types/packages/core/src/decision.d.ts +48 -0
  20. package/types/packages/core/src/delivery-operation.d.ts +125 -0
  21. package/types/packages/core/src/delivery-policy.d.ts +174 -0
  22. package/types/packages/core/src/engineering-resources.d.ts +24 -0
  23. package/types/packages/core/src/enterprise-code-host.d.ts +18 -0
  24. package/types/packages/core/src/epic-delivery.d.ts +38 -0
  25. package/types/packages/core/src/external-effect.d.ts +313 -0
  26. package/types/packages/core/src/fix-flow.d.ts +149 -0
  27. package/types/packages/core/src/following.d.ts +59 -0
  28. package/types/packages/core/src/github-delivery-fixtures.d.ts +28 -0
  29. package/types/packages/core/src/github-delivery.d.ts +78 -0
  30. package/types/packages/core/src/gitlab-delivery-fixtures.d.ts +26 -0
  31. package/types/packages/core/src/gitlab-delivery.d.ts +76 -0
  32. package/types/packages/core/src/global-search.d.ts +42 -0
  33. package/types/packages/core/src/id.d.ts +1 -0
  34. package/types/packages/core/src/index.d.ts +0 -1
  35. package/types/packages/core/src/integration.d.ts +275 -0
  36. package/types/packages/core/src/intent.d.ts +260 -0
  37. package/types/packages/core/src/json.d.ts +10 -0
  38. package/types/packages/core/src/kit.d.ts +12 -12
  39. package/types/packages/core/src/live.d.ts +8318 -0
  40. package/types/packages/core/src/me.d.ts +31 -0
  41. package/types/packages/core/src/memory.d.ts +88 -0
  42. package/types/packages/core/src/my-teams.d.ts +1230 -0
  43. package/types/packages/core/src/notification.d.ts +181 -0
  44. package/types/packages/core/src/observability.d.ts +175 -0
  45. package/types/packages/core/src/package.d.ts +369 -0
  46. package/types/packages/core/src/personal-development-profile.d.ts +11 -0
  47. package/types/packages/core/src/platform-release.d.ts +60 -0
  48. package/types/packages/core/src/program-credential.d.ts +10 -0
  49. package/types/packages/core/src/project.d.ts +66 -0
  50. package/types/packages/core/src/provider-safe-text.d.ts +2 -0
  51. package/types/packages/core/src/repo-binding.d.ts +131 -0
  52. package/types/packages/core/src/run-journal.d.ts +28 -0
  53. package/types/packages/core/src/run-launch.d.ts +67 -0
  54. package/types/packages/core/src/runner-eligibility.d.ts +43 -0
  55. package/types/packages/core/src/runner-routing.d.ts +11 -0
  56. package/types/packages/core/src/runner-trust.d.ts +67 -0
  57. package/types/packages/core/src/runner.d.ts +3776 -0
  58. package/types/packages/core/src/scope-directory.d.ts +100 -0
  59. package/types/packages/core/src/secret.d.ts +37 -0
  60. package/types/packages/core/src/session.d.ts +90 -0
  61. package/types/packages/core/src/step-brief.d.ts +50 -0
  62. package/types/packages/core/src/sync-kit.d.ts +587 -0
  63. package/types/packages/core/src/task-detail.d.ts +491 -0
  64. package/types/packages/core/src/task-execution-record.d.ts +620 -0
  65. package/types/packages/core/src/task-key.d.ts +9 -0
  66. package/types/packages/core/src/task.d.ts +543 -0
  67. package/types/packages/core/src/work-unit.d.ts +740 -0
  68. package/types/packages/core/src/workspace.d.ts +96 -0
  69. package/types/packages/live/src/rpc/runner-group.d.ts +216 -216
@@ -0,0 +1,260 @@
1
+ import * as Schema from 'effect/Schema';
2
+ export declare const RunIntentConstraint: Schema.Struct<{
3
+ readonly id: Schema.String;
4
+ readonly text: Schema.String;
5
+ readonly kind: Schema.Union<readonly [Schema.Literal<"rule">, Schema.Literal<"semantic">]>;
6
+ readonly severity: Schema.Union<readonly [Schema.Literal<"block">, Schema.Literal<"warn">]>;
7
+ readonly source: Schema.Union<readonly [Schema.Literal<"launch">, Schema.Literal<"repository">, Schema.Literal<"plan">, Schema.Literal<"parent">, Schema.Literal<"human">]>;
8
+ readonly rule: Schema.optionalKey<Schema.Struct<{
9
+ readonly kind: Schema.Literal<"protected_paths">;
10
+ readonly globs: Schema.$Array<Schema.String>;
11
+ }>>;
12
+ }>;
13
+ export type RunIntentConstraint = (typeof RunIntentConstraint)['Type'];
14
+ /** One version of a Run's Intent, with what changed and who changed it. */
15
+ export declare const RunIntentVersion: Schema.Struct<{
16
+ readonly version: Schema.Int;
17
+ readonly goal: Schema.String;
18
+ readonly doneWhen: Schema.$Array<Schema.String>;
19
+ readonly constraints: Schema.$Array<Schema.Struct<{
20
+ readonly id: Schema.String;
21
+ readonly text: Schema.String;
22
+ readonly kind: Schema.Union<readonly [Schema.Literal<"rule">, Schema.Literal<"semantic">]>;
23
+ readonly severity: Schema.Union<readonly [Schema.Literal<"block">, Schema.Literal<"warn">]>;
24
+ readonly source: Schema.Union<readonly [Schema.Literal<"launch">, Schema.Literal<"repository">, Schema.Literal<"plan">, Schema.Literal<"parent">, Schema.Literal<"human">]>;
25
+ readonly rule: Schema.optionalKey<Schema.Struct<{
26
+ readonly kind: Schema.Literal<"protected_paths">;
27
+ readonly globs: Schema.$Array<Schema.String>;
28
+ }>>;
29
+ }>>;
30
+ readonly corrections: Schema.Boolean;
31
+ readonly removedConstraintIds: Schema.$Array<Schema.String>;
32
+ readonly change: Schema.String;
33
+ readonly author: Schema.Struct<{
34
+ readonly actorType: Schema.String;
35
+ readonly actorId: Schema.String;
36
+ }>;
37
+ readonly createdAt: Schema.String;
38
+ }>;
39
+ export type RunIntentVersion = (typeof RunIntentVersion)['Type'];
40
+ /** What a Run is held to: its current Intent and every version, oldest first. */
41
+ export declare const RunIntent: Schema.Struct<{
42
+ readonly runId: Schema.String;
43
+ readonly current: Schema.optionalKey<Schema.Struct<{
44
+ readonly version: Schema.Int;
45
+ readonly goal: Schema.String;
46
+ readonly doneWhen: Schema.$Array<Schema.String>;
47
+ readonly constraints: Schema.$Array<Schema.Struct<{
48
+ readonly id: Schema.String;
49
+ readonly text: Schema.String;
50
+ readonly kind: Schema.Union<readonly [Schema.Literal<"rule">, Schema.Literal<"semantic">]>;
51
+ readonly severity: Schema.Union<readonly [Schema.Literal<"block">, Schema.Literal<"warn">]>;
52
+ readonly source: Schema.Union<readonly [Schema.Literal<"launch">, Schema.Literal<"repository">, Schema.Literal<"plan">, Schema.Literal<"parent">, Schema.Literal<"human">]>;
53
+ readonly rule: Schema.optionalKey<Schema.Struct<{
54
+ readonly kind: Schema.Literal<"protected_paths">;
55
+ readonly globs: Schema.$Array<Schema.String>;
56
+ }>>;
57
+ }>>;
58
+ readonly corrections: Schema.Boolean;
59
+ readonly removedConstraintIds: Schema.$Array<Schema.String>;
60
+ readonly change: Schema.String;
61
+ readonly author: Schema.Struct<{
62
+ readonly actorType: Schema.String;
63
+ readonly actorId: Schema.String;
64
+ }>;
65
+ readonly createdAt: Schema.String;
66
+ }>>;
67
+ readonly versions: Schema.$Array<Schema.Struct<{
68
+ readonly version: Schema.Int;
69
+ readonly goal: Schema.String;
70
+ readonly doneWhen: Schema.$Array<Schema.String>;
71
+ readonly constraints: Schema.$Array<Schema.Struct<{
72
+ readonly id: Schema.String;
73
+ readonly text: Schema.String;
74
+ readonly kind: Schema.Union<readonly [Schema.Literal<"rule">, Schema.Literal<"semantic">]>;
75
+ readonly severity: Schema.Union<readonly [Schema.Literal<"block">, Schema.Literal<"warn">]>;
76
+ readonly source: Schema.Union<readonly [Schema.Literal<"launch">, Schema.Literal<"repository">, Schema.Literal<"plan">, Schema.Literal<"parent">, Schema.Literal<"human">]>;
77
+ readonly rule: Schema.optionalKey<Schema.Struct<{
78
+ readonly kind: Schema.Literal<"protected_paths">;
79
+ readonly globs: Schema.$Array<Schema.String>;
80
+ }>>;
81
+ }>>;
82
+ readonly corrections: Schema.Boolean;
83
+ readonly removedConstraintIds: Schema.$Array<Schema.String>;
84
+ readonly change: Schema.String;
85
+ readonly author: Schema.Struct<{
86
+ readonly actorType: Schema.String;
87
+ readonly actorId: Schema.String;
88
+ }>;
89
+ readonly createdAt: Schema.String;
90
+ }>>;
91
+ }>;
92
+ export type RunIntent = (typeof RunIntent)['Type'];
93
+ export declare const RunIntentAmend: Schema.Union<readonly [Schema.Struct<{
94
+ readonly kind: Schema.Literal<"set_goal">;
95
+ readonly goal: Schema.String;
96
+ }>, Schema.Struct<{
97
+ readonly kind: Schema.Literal<"add_constraint">;
98
+ /** `rule:protected_paths:<glob>[,<glob>…]` spells a rule; any other text is semantic. */
99
+ readonly constraint: Schema.String;
100
+ }>, Schema.Struct<{
101
+ readonly kind: Schema.Literal<"remove_constraint">;
102
+ readonly id: Schema.String;
103
+ }>, Schema.Struct<{
104
+ readonly kind: Schema.Literal<"set_corrections">;
105
+ readonly on: Schema.Boolean;
106
+ }>]>;
107
+ export type RunIntentAmend = (typeof RunIntentAmend)['Type'];
108
+ /** A constraint every Run on a repository starts with, as a person spelled it. */
109
+ export declare const StandingConstraint: Schema.Struct<{
110
+ readonly id: Schema.String;
111
+ readonly repoBindingId: Schema.String;
112
+ readonly text: Schema.String;
113
+ readonly addedByUserId: Schema.String;
114
+ readonly createdAt: Schema.String;
115
+ }>;
116
+ export type StandingConstraint = (typeof StandingConstraint)['Type'];
117
+ export declare const StandingConstraintList: Schema.Struct<{
118
+ readonly items: Schema.$Array<Schema.Struct<{
119
+ readonly id: Schema.String;
120
+ readonly repoBindingId: Schema.String;
121
+ readonly text: Schema.String;
122
+ readonly addedByUserId: Schema.String;
123
+ readonly createdAt: Schema.String;
124
+ }>>;
125
+ }>;
126
+ export type StandingConstraintList = (typeof StandingConstraintList)['Type'];
127
+ export declare const StandingConstraintAdd: Schema.Struct<{
128
+ /** `rule:protected_paths:<glob>[,<glob>…]` spells a rule; any other text is semantic. */
129
+ readonly text: Schema.String;
130
+ }>;
131
+ export type StandingConstraintAdd = (typeof StandingConstraintAdd)['Type'];
132
+ export declare const DriftResolution: Schema.Struct<{
133
+ readonly status: Schema.Literals<readonly ["open", "correction_sent", "escalated", "verified", "dismissed"]>;
134
+ readonly intentVersion: Schema.Int;
135
+ readonly at: Schema.String;
136
+ readonly reason: Schema.optionalKey<Schema.String>;
137
+ readonly actor: Schema.optionalKey<Schema.Struct<{
138
+ readonly actorType: Schema.String;
139
+ readonly actorId: Schema.String;
140
+ }>>;
141
+ }>;
142
+ /** What a check found against one of the Run's constraints, and its resolutions, oldest first. */
143
+ export declare const DriftReport: Schema.Struct<{
144
+ readonly constraintId: Schema.String;
145
+ readonly constraintText: Schema.String;
146
+ readonly kind: Schema.Union<readonly [Schema.Literal<"rule">, Schema.Literal<"semantic">]>;
147
+ readonly severity: Schema.Union<readonly [Schema.Literal<"block">, Schema.Literal<"warn">]>;
148
+ readonly intentVersion: Schema.Int;
149
+ readonly citedPaths: Schema.$Array<Schema.String>;
150
+ readonly truncated: Schema.Boolean;
151
+ readonly status: Schema.Literals<readonly ["open", "correction_sent", "escalated", "verified", "dismissed"]>;
152
+ readonly history: Schema.$Array<Schema.Struct<{
153
+ readonly status: Schema.Literals<readonly ["open", "correction_sent", "escalated", "verified", "dismissed"]>;
154
+ readonly intentVersion: Schema.Int;
155
+ readonly at: Schema.String;
156
+ readonly reason: Schema.optionalKey<Schema.String>;
157
+ readonly actor: Schema.optionalKey<Schema.Struct<{
158
+ readonly actorType: Schema.String;
159
+ readonly actorId: Schema.String;
160
+ }>>;
161
+ }>>;
162
+ }>;
163
+ export type DriftReport = (typeof DriftReport)['Type'];
164
+ /** An accepted agent Step's boundary: what evidence it had, and why its rules went unchecked if they did. */
165
+ export declare const RunBoundary: Schema.Struct<{
166
+ readonly stepAttemptId: Schema.String;
167
+ readonly stepKey: Schema.String;
168
+ readonly intentVersion: Schema.optionalKey<Schema.Int>;
169
+ readonly evidence: Schema.optionalKey<Schema.Struct<{
170
+ readonly kind: Schema.Union<readonly [Schema.Literal<"change">, Schema.Literal<"output">]>;
171
+ readonly changedPaths: Schema.optionalKey<Schema.$Array<Schema.String>>;
172
+ readonly truncated: Schema.Boolean;
173
+ }>>;
174
+ readonly uncheckedReason: Schema.optionalKey<Schema.String>;
175
+ readonly createdAt: Schema.String;
176
+ }>;
177
+ export type RunBoundary = (typeof RunBoundary)['Type'];
178
+ /** A `judge` StepAttempt's verdicts on the Run's semantic constraints, and at the finish its goal and doneWhen. */
179
+ export declare const RunJudgement: Schema.Struct<{
180
+ readonly id: Schema.String;
181
+ readonly final: Schema.Boolean;
182
+ readonly status: Schema.Literals<readonly ["queued", "running", "judged", "skipped"]>;
183
+ readonly stepAttemptId: Schema.optionalKey<Schema.String>;
184
+ readonly intentVersion: Schema.optionalKey<Schema.Int>;
185
+ readonly constraints: Schema.optionalKey<Schema.$Array<Schema.Struct<{
186
+ readonly constraintId: Schema.String;
187
+ readonly verdict: Schema.Literals<readonly ["holds", "breached", "unverified"]>;
188
+ readonly citations: Schema.$Array<Schema.Struct<{
189
+ readonly path: Schema.String;
190
+ readonly line: Schema.optionalKey<Schema.Int>;
191
+ }>>;
192
+ }>>>;
193
+ readonly goal: Schema.optionalKey<Schema.Literals<readonly ["met", "not_met", "unverified"]>>;
194
+ readonly doneWhen: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["met", "not_met", "unverified"]>>>;
195
+ readonly skipReason: Schema.optionalKey<Schema.String>;
196
+ readonly createdAt: Schema.String;
197
+ readonly settledAt: Schema.optionalKey<Schema.String>;
198
+ }>;
199
+ export type RunJudgement = (typeof RunJudgement)['Type'];
200
+ export declare const RunDrift: Schema.Struct<{
201
+ readonly runId: Schema.String;
202
+ readonly reports: Schema.$Array<Schema.Struct<{
203
+ readonly constraintId: Schema.String;
204
+ readonly constraintText: Schema.String;
205
+ readonly kind: Schema.Union<readonly [Schema.Literal<"rule">, Schema.Literal<"semantic">]>;
206
+ readonly severity: Schema.Union<readonly [Schema.Literal<"block">, Schema.Literal<"warn">]>;
207
+ readonly intentVersion: Schema.Int;
208
+ readonly citedPaths: Schema.$Array<Schema.String>;
209
+ readonly truncated: Schema.Boolean;
210
+ readonly status: Schema.Literals<readonly ["open", "correction_sent", "escalated", "verified", "dismissed"]>;
211
+ readonly history: Schema.$Array<Schema.Struct<{
212
+ readonly status: Schema.Literals<readonly ["open", "correction_sent", "escalated", "verified", "dismissed"]>;
213
+ readonly intentVersion: Schema.Int;
214
+ readonly at: Schema.String;
215
+ readonly reason: Schema.optionalKey<Schema.String>;
216
+ readonly actor: Schema.optionalKey<Schema.Struct<{
217
+ readonly actorType: Schema.String;
218
+ readonly actorId: Schema.String;
219
+ }>>;
220
+ }>>;
221
+ }>>;
222
+ readonly boundaries: Schema.$Array<Schema.Struct<{
223
+ readonly stepAttemptId: Schema.String;
224
+ readonly stepKey: Schema.String;
225
+ readonly intentVersion: Schema.optionalKey<Schema.Int>;
226
+ readonly evidence: Schema.optionalKey<Schema.Struct<{
227
+ readonly kind: Schema.Union<readonly [Schema.Literal<"change">, Schema.Literal<"output">]>;
228
+ readonly changedPaths: Schema.optionalKey<Schema.$Array<Schema.String>>;
229
+ readonly truncated: Schema.Boolean;
230
+ }>>;
231
+ readonly uncheckedReason: Schema.optionalKey<Schema.String>;
232
+ readonly createdAt: Schema.String;
233
+ }>>;
234
+ /** Oldest first. */
235
+ readonly judgements: Schema.$Array<Schema.Struct<{
236
+ readonly id: Schema.String;
237
+ readonly final: Schema.Boolean;
238
+ readonly status: Schema.Literals<readonly ["queued", "running", "judged", "skipped"]>;
239
+ readonly stepAttemptId: Schema.optionalKey<Schema.String>;
240
+ readonly intentVersion: Schema.optionalKey<Schema.Int>;
241
+ readonly constraints: Schema.optionalKey<Schema.$Array<Schema.Struct<{
242
+ readonly constraintId: Schema.String;
243
+ readonly verdict: Schema.Literals<readonly ["holds", "breached", "unverified"]>;
244
+ readonly citations: Schema.$Array<Schema.Struct<{
245
+ readonly path: Schema.String;
246
+ readonly line: Schema.optionalKey<Schema.Int>;
247
+ }>>;
248
+ }>>>;
249
+ readonly goal: Schema.optionalKey<Schema.Literals<readonly ["met", "not_met", "unverified"]>>;
250
+ readonly doneWhen: Schema.optionalKey<Schema.$Array<Schema.Literals<readonly ["met", "not_met", "unverified"]>>>;
251
+ readonly skipReason: Schema.optionalKey<Schema.String>;
252
+ readonly createdAt: Schema.String;
253
+ readonly settledAt: Schema.optionalKey<Schema.String>;
254
+ }>>;
255
+ }>;
256
+ export type RunDrift = (typeof RunDrift)['Type'];
257
+ export declare const RunDriftDismiss: Schema.Struct<{
258
+ readonly reason: Schema.String;
259
+ }>;
260
+ export type RunDriftDismiss = (typeof RunDriftDismiss)['Type'];
@@ -0,0 +1,10 @@
1
+ import * as Schema from 'effect/Schema';
2
+ export declare const decodeJsonString: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<Schema.Json, Schema.SchemaError, never>;
3
+ export declare const decodeJsonStringOption: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => import("effect/Option").Option<Schema.Json>;
4
+ export declare const encodeJsonStringSync: (input: Schema.Json, options?: import("effect/SchemaAST").ParseOptions) => string;
5
+ /** Two-space indented JSON text, for files people read. */
6
+ export declare const encodePrettyJsonString: (input: Schema.Json, options?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<string, Schema.SchemaError, never>;
7
+ /** Decodes JSON text, throwing on invalid input; for code that runs outside an Effect. */
8
+ export declare const decodeJsonStringSync: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => Schema.Json;
9
+ /** JSON text for a value of any shape (diagnostics and assertions); `JSON.stringify` semantics. */
10
+ export declare const encodeUnknownJsonStringSync: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string;
@@ -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 source: Schema.Union<readonly [Schema.Struct<{
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 source: Schema.Union<readonly [Schema.Struct<{
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 source: Schema.Union<readonly [Schema.Struct<{
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 source: Schema.Union<readonly [Schema.Struct<{
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;