juno-code 1.0.50 → 1.0.53

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/index.d.mts CHANGED
@@ -19,6 +19,8 @@ interface JunoTaskConfig {
19
19
  defaultSubagent: SubagentType;
20
20
  defaultMaxIterations: number;
21
21
  defaultModel?: string;
22
+ /** Optional per-subagent default model overrides */
23
+ defaultModels?: Partial<Record<SubagentType, string>>;
22
24
  defaultBackend: BackendType;
23
25
  mainTask?: string;
24
26
  logLevel: LogLevel;
@@ -91,6 +93,7 @@ declare const JunoTaskConfigSchema: z.ZodObject<{
91
93
  defaultBackend: z.ZodEnum<["shell"]>;
92
94
  defaultMaxIterations: z.ZodNumber;
93
95
  defaultModel: z.ZodOptional<z.ZodString>;
96
+ defaultModels: z.ZodOptional<z.ZodRecord<z.ZodEnum<["claude", "cursor", "codex", "gemini", "pi"]>, z.ZodString>>;
94
97
  mainTask: z.ZodOptional<z.ZodString>;
95
98
  logLevel: z.ZodEnum<["error", "warn", "info", "debug", "trace"]>;
96
99
  logFile: z.ZodOptional<z.ZodString>;
@@ -118,9 +121,11 @@ declare const JunoTaskConfigSchema: z.ZodObject<{
118
121
  skipHooks: z.ZodOptional<z.ZodBoolean>;
119
122
  }, "strict", z.ZodTypeAny, {
120
123
  defaultSubagent?: "claude" | "cursor" | "codex" | "gemini" | "pi";
121
- defaultBackend?: "shell";
122
- defaultMaxIterations?: number;
123
124
  defaultModel?: string;
125
+ defaultModels?: Partial<Record<"claude" | "cursor" | "codex" | "gemini" | "pi", string>>;
126
+ defaultMaxIterations?: number;
127
+ defaultBackend?: "shell";
128
+ mainTask?: string;
124
129
  logLevel?: "error" | "warn" | "info" | "debug" | "trace";
125
130
  logFile?: string;
126
131
  verbose?: number;
@@ -135,7 +140,6 @@ declare const JunoTaskConfigSchema: z.ZodObject<{
135
140
  headlessMode?: boolean;
136
141
  workingDirectory?: string;
137
142
  sessionDirectory?: string;
138
- mainTask?: string;
139
143
  envFilePath?: string;
140
144
  envFileCopied?: boolean;
141
145
  hooks?: Partial<Record<"START_RUN" | "START_ITERATION" | "END_ITERATION" | "END_RUN" | "ON_STALE", {
@@ -144,9 +148,11 @@ declare const JunoTaskConfigSchema: z.ZodObject<{
144
148
  skipHooks?: boolean;
145
149
  }, {
146
150
  defaultSubagent?: "claude" | "cursor" | "codex" | "gemini" | "pi";
147
- defaultBackend?: "shell";
148
- defaultMaxIterations?: number;
149
151
  defaultModel?: string;
152
+ defaultModels?: Partial<Record<"claude" | "cursor" | "codex" | "gemini" | "pi", string>>;
153
+ defaultMaxIterations?: number;
154
+ defaultBackend?: "shell";
155
+ mainTask?: string;
150
156
  logLevel?: "error" | "warn" | "info" | "debug" | "trace";
151
157
  logFile?: string;
152
158
  verbose?: unknown;
@@ -161,7 +167,6 @@ declare const JunoTaskConfigSchema: z.ZodObject<{
161
167
  headlessMode?: boolean;
162
168
  workingDirectory?: string;
163
169
  sessionDirectory?: string;
164
- mainTask?: string;
165
170
  envFilePath?: string;
166
171
  envFileCopied?: boolean;
167
172
  hooks?: Partial<Record<"START_RUN" | "START_ITERATION" | "END_ITERATION" | "END_RUN" | "ON_STALE", {
@@ -732,6 +737,10 @@ interface ExecutionRequest {
732
737
  readonly continueConversation?: boolean;
733
738
  /** Extended thinking level (forwarded to shell backend --thinking flag) */
734
739
  readonly thinking?: string;
740
+ /** Run Pi subagent in interactive live mode (forwarded to shell backend --live flag) */
741
+ readonly live?: boolean;
742
+ /** Start Pi live mode without an initial prompt (interactive continue flow) */
743
+ readonly liveInteractiveSession?: boolean;
735
744
  }
736
745
  /**
737
746
  * Execution result interface for completed executions
@@ -1188,6 +1197,8 @@ declare function createExecutionRequest(options: {
1188
1197
  resume?: string;
1189
1198
  continueConversation?: boolean;
1190
1199
  thinking?: string;
1200
+ live?: boolean;
1201
+ liveInteractiveSession?: boolean;
1191
1202
  }): ExecutionRequest;
1192
1203
 
1193
1204
  /** Session metadata */
@@ -2026,6 +2037,7 @@ declare const ConfigValidationSchema: z.ZodObject<{
2026
2037
  defaultBackend: z.ZodEnum<["shell"]>;
2027
2038
  defaultMaxIterations: z.ZodNumber;
2028
2039
  defaultModel: z.ZodOptional<z.ZodString>;
2040
+ defaultModels: z.ZodOptional<z.ZodRecord<z.ZodEnum<["claude", "cursor", "codex", "gemini", "pi"]>, z.ZodString>>;
2029
2041
  mainTask: z.ZodOptional<z.ZodString>;
2030
2042
  logLevel: z.ZodEnum<["error", "warn", "info", "debug", "trace"]>;
2031
2043
  logFile: z.ZodOptional<z.ZodString>;
@@ -2053,9 +2065,11 @@ declare const ConfigValidationSchema: z.ZodObject<{
2053
2065
  skipHooks: z.ZodOptional<z.ZodBoolean>;
2054
2066
  }, "strict", z.ZodTypeAny, {
2055
2067
  defaultSubagent?: "claude" | "cursor" | "codex" | "gemini" | "pi";
2056
- defaultBackend?: "shell";
2057
- defaultMaxIterations?: number;
2058
2068
  defaultModel?: string;
2069
+ defaultModels?: Partial<Record<"claude" | "cursor" | "codex" | "gemini" | "pi", string>>;
2070
+ defaultMaxIterations?: number;
2071
+ defaultBackend?: "shell";
2072
+ mainTask?: string;
2059
2073
  logLevel?: "error" | "warn" | "info" | "debug" | "trace";
2060
2074
  logFile?: string;
2061
2075
  verbose?: number;
@@ -2070,7 +2084,6 @@ declare const ConfigValidationSchema: z.ZodObject<{
2070
2084
  headlessMode?: boolean;
2071
2085
  workingDirectory?: string;
2072
2086
  sessionDirectory?: string;
2073
- mainTask?: string;
2074
2087
  envFilePath?: string;
2075
2088
  envFileCopied?: boolean;
2076
2089
  hooks?: Partial<Record<"START_RUN" | "START_ITERATION" | "END_ITERATION" | "END_RUN" | "ON_STALE", {
@@ -2079,9 +2092,11 @@ declare const ConfigValidationSchema: z.ZodObject<{
2079
2092
  skipHooks?: boolean;
2080
2093
  }, {
2081
2094
  defaultSubagent?: "claude" | "cursor" | "codex" | "gemini" | "pi";
2082
- defaultBackend?: "shell";
2083
- defaultMaxIterations?: number;
2084
2095
  defaultModel?: string;
2096
+ defaultModels?: Partial<Record<"claude" | "cursor" | "codex" | "gemini" | "pi", string>>;
2097
+ defaultMaxIterations?: number;
2098
+ defaultBackend?: "shell";
2099
+ mainTask?: string;
2085
2100
  logLevel?: "error" | "warn" | "info" | "debug" | "trace";
2086
2101
  logFile?: string;
2087
2102
  verbose?: unknown;
@@ -2096,7 +2111,6 @@ declare const ConfigValidationSchema: z.ZodObject<{
2096
2111
  headlessMode?: boolean;
2097
2112
  workingDirectory?: string;
2098
2113
  sessionDirectory?: string;
2099
- mainTask?: string;
2100
2114
  envFilePath?: string;
2101
2115
  envFileCopied?: boolean;
2102
2116
  hooks?: Partial<Record<"START_RUN" | "START_ITERATION" | "END_ITERATION" | "END_RUN" | "ON_STALE", {
package/dist/index.d.ts CHANGED
@@ -19,6 +19,8 @@ interface JunoTaskConfig {
19
19
  defaultSubagent: SubagentType;
20
20
  defaultMaxIterations: number;
21
21
  defaultModel?: string;
22
+ /** Optional per-subagent default model overrides */
23
+ defaultModels?: Partial<Record<SubagentType, string>>;
22
24
  defaultBackend: BackendType;
23
25
  mainTask?: string;
24
26
  logLevel: LogLevel;
@@ -91,6 +93,7 @@ declare const JunoTaskConfigSchema: z.ZodObject<{
91
93
  defaultBackend: z.ZodEnum<["shell"]>;
92
94
  defaultMaxIterations: z.ZodNumber;
93
95
  defaultModel: z.ZodOptional<z.ZodString>;
96
+ defaultModels: z.ZodOptional<z.ZodRecord<z.ZodEnum<["claude", "cursor", "codex", "gemini", "pi"]>, z.ZodString>>;
94
97
  mainTask: z.ZodOptional<z.ZodString>;
95
98
  logLevel: z.ZodEnum<["error", "warn", "info", "debug", "trace"]>;
96
99
  logFile: z.ZodOptional<z.ZodString>;
@@ -118,9 +121,11 @@ declare const JunoTaskConfigSchema: z.ZodObject<{
118
121
  skipHooks: z.ZodOptional<z.ZodBoolean>;
119
122
  }, "strict", z.ZodTypeAny, {
120
123
  defaultSubagent?: "claude" | "cursor" | "codex" | "gemini" | "pi";
121
- defaultBackend?: "shell";
122
- defaultMaxIterations?: number;
123
124
  defaultModel?: string;
125
+ defaultModels?: Partial<Record<"claude" | "cursor" | "codex" | "gemini" | "pi", string>>;
126
+ defaultMaxIterations?: number;
127
+ defaultBackend?: "shell";
128
+ mainTask?: string;
124
129
  logLevel?: "error" | "warn" | "info" | "debug" | "trace";
125
130
  logFile?: string;
126
131
  verbose?: number;
@@ -135,7 +140,6 @@ declare const JunoTaskConfigSchema: z.ZodObject<{
135
140
  headlessMode?: boolean;
136
141
  workingDirectory?: string;
137
142
  sessionDirectory?: string;
138
- mainTask?: string;
139
143
  envFilePath?: string;
140
144
  envFileCopied?: boolean;
141
145
  hooks?: Partial<Record<"START_RUN" | "START_ITERATION" | "END_ITERATION" | "END_RUN" | "ON_STALE", {
@@ -144,9 +148,11 @@ declare const JunoTaskConfigSchema: z.ZodObject<{
144
148
  skipHooks?: boolean;
145
149
  }, {
146
150
  defaultSubagent?: "claude" | "cursor" | "codex" | "gemini" | "pi";
147
- defaultBackend?: "shell";
148
- defaultMaxIterations?: number;
149
151
  defaultModel?: string;
152
+ defaultModels?: Partial<Record<"claude" | "cursor" | "codex" | "gemini" | "pi", string>>;
153
+ defaultMaxIterations?: number;
154
+ defaultBackend?: "shell";
155
+ mainTask?: string;
150
156
  logLevel?: "error" | "warn" | "info" | "debug" | "trace";
151
157
  logFile?: string;
152
158
  verbose?: unknown;
@@ -161,7 +167,6 @@ declare const JunoTaskConfigSchema: z.ZodObject<{
161
167
  headlessMode?: boolean;
162
168
  workingDirectory?: string;
163
169
  sessionDirectory?: string;
164
- mainTask?: string;
165
170
  envFilePath?: string;
166
171
  envFileCopied?: boolean;
167
172
  hooks?: Partial<Record<"START_RUN" | "START_ITERATION" | "END_ITERATION" | "END_RUN" | "ON_STALE", {
@@ -732,6 +737,10 @@ interface ExecutionRequest {
732
737
  readonly continueConversation?: boolean;
733
738
  /** Extended thinking level (forwarded to shell backend --thinking flag) */
734
739
  readonly thinking?: string;
740
+ /** Run Pi subagent in interactive live mode (forwarded to shell backend --live flag) */
741
+ readonly live?: boolean;
742
+ /** Start Pi live mode without an initial prompt (interactive continue flow) */
743
+ readonly liveInteractiveSession?: boolean;
735
744
  }
736
745
  /**
737
746
  * Execution result interface for completed executions
@@ -1188,6 +1197,8 @@ declare function createExecutionRequest(options: {
1188
1197
  resume?: string;
1189
1198
  continueConversation?: boolean;
1190
1199
  thinking?: string;
1200
+ live?: boolean;
1201
+ liveInteractiveSession?: boolean;
1191
1202
  }): ExecutionRequest;
1192
1203
 
1193
1204
  /** Session metadata */
@@ -2026,6 +2037,7 @@ declare const ConfigValidationSchema: z.ZodObject<{
2026
2037
  defaultBackend: z.ZodEnum<["shell"]>;
2027
2038
  defaultMaxIterations: z.ZodNumber;
2028
2039
  defaultModel: z.ZodOptional<z.ZodString>;
2040
+ defaultModels: z.ZodOptional<z.ZodRecord<z.ZodEnum<["claude", "cursor", "codex", "gemini", "pi"]>, z.ZodString>>;
2029
2041
  mainTask: z.ZodOptional<z.ZodString>;
2030
2042
  logLevel: z.ZodEnum<["error", "warn", "info", "debug", "trace"]>;
2031
2043
  logFile: z.ZodOptional<z.ZodString>;
@@ -2053,9 +2065,11 @@ declare const ConfigValidationSchema: z.ZodObject<{
2053
2065
  skipHooks: z.ZodOptional<z.ZodBoolean>;
2054
2066
  }, "strict", z.ZodTypeAny, {
2055
2067
  defaultSubagent?: "claude" | "cursor" | "codex" | "gemini" | "pi";
2056
- defaultBackend?: "shell";
2057
- defaultMaxIterations?: number;
2058
2068
  defaultModel?: string;
2069
+ defaultModels?: Partial<Record<"claude" | "cursor" | "codex" | "gemini" | "pi", string>>;
2070
+ defaultMaxIterations?: number;
2071
+ defaultBackend?: "shell";
2072
+ mainTask?: string;
2059
2073
  logLevel?: "error" | "warn" | "info" | "debug" | "trace";
2060
2074
  logFile?: string;
2061
2075
  verbose?: number;
@@ -2070,7 +2084,6 @@ declare const ConfigValidationSchema: z.ZodObject<{
2070
2084
  headlessMode?: boolean;
2071
2085
  workingDirectory?: string;
2072
2086
  sessionDirectory?: string;
2073
- mainTask?: string;
2074
2087
  envFilePath?: string;
2075
2088
  envFileCopied?: boolean;
2076
2089
  hooks?: Partial<Record<"START_RUN" | "START_ITERATION" | "END_ITERATION" | "END_RUN" | "ON_STALE", {
@@ -2079,9 +2092,11 @@ declare const ConfigValidationSchema: z.ZodObject<{
2079
2092
  skipHooks?: boolean;
2080
2093
  }, {
2081
2094
  defaultSubagent?: "claude" | "cursor" | "codex" | "gemini" | "pi";
2082
- defaultBackend?: "shell";
2083
- defaultMaxIterations?: number;
2084
2095
  defaultModel?: string;
2096
+ defaultModels?: Partial<Record<"claude" | "cursor" | "codex" | "gemini" | "pi", string>>;
2097
+ defaultMaxIterations?: number;
2098
+ defaultBackend?: "shell";
2099
+ mainTask?: string;
2085
2100
  logLevel?: "error" | "warn" | "info" | "debug" | "trace";
2086
2101
  logFile?: string;
2087
2102
  verbose?: unknown;
@@ -2096,7 +2111,6 @@ declare const ConfigValidationSchema: z.ZodObject<{
2096
2111
  headlessMode?: boolean;
2097
2112
  workingDirectory?: string;
2098
2113
  sessionDirectory?: string;
2099
- mainTask?: string;
2100
2114
  envFilePath?: string;
2101
2115
  envFileCopied?: boolean;
2102
2116
  hooks?: Partial<Record<"START_RUN" | "START_ITERATION" | "END_ITERATION" | "END_RUN" | "ON_STALE", {