@kitman-sh/sdk 0.10.58 → 0.10.59
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-r33ndzyg.js → chunk-dnmb9dw9.js} +5 -2
- package/dist/{chunk-9r9dqxwk.js → chunk-x37rn3aw.js} +4 -1
- package/dist/loop/index.js +1 -1
- package/dist/program/index.js +2 -2
- package/package.json +1 -1
- package/types/packages/core/src/loop.d.ts +6 -6
- package/types/packages/core/src/runner.d.ts +1 -1
- package/types/packages/core/src/task-detail.d.ts +1 -1
- package/types/packages/core/src/team-context.d.ts +10 -0
- package/types/packages/core/src/work-unit.d.ts +3 -3
- package/types/packages/live/src/rpc/runner-client.d.ts +2 -1
- package/types/packages/live/src/rpc/runner-group.d.ts +1475 -1469
- package/types/packages/sdk/src/loop/steps.d.ts +7 -0
- package/types/packages/sdk/src/loop/test-loop.d.ts +2 -0
- package/types/packages/sdk/src/program/engine.d.ts +1 -0
|
@@ -132,6 +132,8 @@ export type QuestionLaunch = Launch & QuestionAdvice & {
|
|
|
132
132
|
readonly options?: readonly string[];
|
|
133
133
|
/** Taken when the Run is unattended, or when nobody answers within `timeoutMillis`. */
|
|
134
134
|
readonly default?: string;
|
|
135
|
+
/** Taken at once, with nobody asked, when the Run's Team delivers in full auto. */
|
|
136
|
+
readonly auto?: string;
|
|
135
137
|
readonly timeoutMillis?: number;
|
|
136
138
|
/** Approving the Question approves this verification. */
|
|
137
139
|
readonly verification?: SuggestedVerification;
|
|
@@ -252,6 +254,11 @@ export declare const agentWorkOnce: <Out>(name: string, options: Parameters<type
|
|
|
252
254
|
type Fallback<Value extends string> = {
|
|
253
255
|
readonly default?: Value | null;
|
|
254
256
|
readonly timeout?: Duration.Input;
|
|
257
|
+
/**
|
|
258
|
+
* The answer Kitman takes at once, asking nobody, when the Run's Team delivers in full auto. Only for a decision a
|
|
259
|
+
* full-auto Team has handed to the Loop, such as merging a change its Review passed.
|
|
260
|
+
*/
|
|
261
|
+
readonly auto?: Value;
|
|
255
262
|
};
|
|
256
263
|
/** The answer the Loop would pick and why, in one or two sentences. */
|
|
257
264
|
type Recommended<Value extends string> = {
|
|
@@ -52,6 +52,8 @@ export type TestLoopScript = {
|
|
|
52
52
|
readonly answers?: {
|
|
53
53
|
readonly [step: string]: string;
|
|
54
54
|
};
|
|
55
|
+
/** Runs as a full-auto Team's Run: an unscripted Question with a full-auto answer takes it. */
|
|
56
|
+
readonly fullAuto?: boolean;
|
|
55
57
|
readonly children?: {
|
|
56
58
|
readonly [step: string]: Scripted;
|
|
57
59
|
};
|
|
@@ -42,6 +42,7 @@ export type ProgramCapabilities = {
|
|
|
42
42
|
readonly options?: readonly string[];
|
|
43
43
|
readonly verification?: SuggestedVerification;
|
|
44
44
|
readonly default?: string;
|
|
45
|
+
readonly auto?: string;
|
|
45
46
|
readonly timeoutMillis?: number;
|
|
46
47
|
readonly deferredName: string;
|
|
47
48
|
}) => Effect.Effect<{
|