@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.
@@ -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<{