@junctionpanel/server 0.1.99 → 0.1.100

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.
@@ -24,20 +24,20 @@ declare const STORED_AGENT_SCHEMA: z.ZodObject<{
24
24
  systemPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  mcpServers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
26
26
  }, "strip", z.ZodTypeAny, {
27
- extra?: Record<string, any> | null | undefined;
28
- systemPrompt?: string | null | undefined;
29
27
  modeId?: string | null | undefined;
30
28
  model?: string | null | undefined;
31
29
  thinkingOptionId?: string | null | undefined;
32
30
  title?: string | null | undefined;
33
- mcpServers?: Record<string, any> | null | undefined;
34
- }, {
35
31
  extra?: Record<string, any> | null | undefined;
36
32
  systemPrompt?: string | null | undefined;
33
+ mcpServers?: Record<string, any> | null | undefined;
34
+ }, {
37
35
  modeId?: string | null | undefined;
38
36
  model?: string | null | undefined;
39
37
  thinkingOptionId?: string | null | undefined;
40
38
  title?: string | null | undefined;
39
+ extra?: Record<string, any> | null | undefined;
40
+ systemPrompt?: string | null | undefined;
41
41
  mcpServers?: Record<string, any> | null | undefined;
42
42
  }>>>;
43
43
  runtimeInfo: z.ZodOptional<z.ZodObject<{
@@ -50,17 +50,17 @@ declare const STORED_AGENT_SCHEMA: z.ZodObject<{
50
50
  }, "strip", z.ZodTypeAny, {
51
51
  provider: string;
52
52
  sessionId: string | null;
53
- extra?: Record<string, unknown> | undefined;
54
53
  modeId?: string | null | undefined;
55
54
  model?: string | null | undefined;
56
55
  thinkingOptionId?: string | null | undefined;
56
+ extra?: Record<string, unknown> | undefined;
57
57
  }, {
58
58
  provider: string;
59
59
  sessionId: string | null;
60
- extra?: Record<string, unknown> | undefined;
61
60
  modeId?: string | null | undefined;
62
61
  model?: string | null | undefined;
63
62
  thinkingOptionId?: string | null | undefined;
63
+ extra?: Record<string, unknown> | undefined;
64
64
  }>>;
65
65
  persistence: z.ZodOptional<z.ZodNullable<z.ZodObject<{
66
66
  provider: z.ZodString;
@@ -70,13 +70,13 @@ declare const STORED_AGENT_SCHEMA: z.ZodObject<{
70
70
  }, "strip", z.ZodTypeAny, {
71
71
  provider: string;
72
72
  sessionId: string;
73
- nativeHandle?: any;
74
73
  metadata?: Record<string, any> | undefined;
74
+ nativeHandle?: any;
75
75
  }, {
76
76
  provider: string;
77
77
  sessionId: string;
78
- nativeHandle?: any;
79
78
  metadata?: Record<string, any> | undefined;
79
+ nativeHandle?: any;
80
80
  }>>>;
81
81
  requiresAttention: z.ZodOptional<z.ZodBoolean>;
82
82
  attentionReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<["finished", "error", "permission"]>>>;
@@ -87,12 +87,12 @@ declare const STORED_AGENT_SCHEMA: z.ZodObject<{
87
87
  timestamp: z.ZodString;
88
88
  item: z.ZodType<import("./agent-sdk-types.js").AgentTimelineItem, z.ZodTypeDef, unknown>;
89
89
  }, "strip", z.ZodTypeAny, {
90
- seq: number;
91
90
  timestamp: string;
92
91
  item: import("./agent-sdk-types.js").AgentTimelineItem;
93
- }, {
94
92
  seq: number;
93
+ }, {
95
94
  timestamp: string;
95
+ seq: number;
96
96
  item?: unknown;
97
97
  }>, "many">>;
98
98
  timelineEpoch: z.ZodOptional<z.ZodString>;
@@ -127,8 +127,8 @@ declare const STORED_AGENT_SCHEMA: z.ZodObject<{
127
127
  }, "strip", z.ZodTypeAny, {
128
128
  number: number;
129
129
  state: string;
130
- title: string;
131
130
  url: string;
131
+ title: string;
132
132
  baseRefName: string;
133
133
  headRefName: string;
134
134
  isMerged: boolean;
@@ -141,8 +141,8 @@ declare const STORED_AGENT_SCHEMA: z.ZodObject<{
141
141
  }, {
142
142
  number: number;
143
143
  state: string;
144
- title: string;
145
144
  url: string;
145
+ title: string;
146
146
  baseRefName: string;
147
147
  headRefName: string;
148
148
  isMerged: boolean;
@@ -154,10 +154,10 @@ declare const STORED_AGENT_SCHEMA: z.ZodObject<{
154
154
  hasNonRequiredFailingChecks?: boolean | null | undefined;
155
155
  }>>>;
156
156
  }, "strip", z.ZodTypeAny, {
157
- repoRoot: string;
158
- archivedAt: string;
159
- baseBranch: string;
160
157
  branchName: string;
158
+ baseBranch: string;
159
+ archivedAt: string;
160
+ repoRoot: string;
161
161
  worktreeSlug: string;
162
162
  originalCwd: string;
163
163
  cleanupState: "active" | "deleted";
@@ -167,8 +167,8 @@ declare const STORED_AGENT_SCHEMA: z.ZodObject<{
167
167
  pullRequest?: {
168
168
  number: number;
169
169
  state: string;
170
- title: string;
171
170
  url: string;
171
+ title: string;
172
172
  baseRefName: string;
173
173
  headRefName: string;
174
174
  isMerged: boolean;
@@ -180,10 +180,10 @@ declare const STORED_AGENT_SCHEMA: z.ZodObject<{
180
180
  hasNonRequiredFailingChecks?: boolean | null | undefined;
181
181
  } | null | undefined;
182
182
  }, {
183
- repoRoot: string;
184
- archivedAt: string;
185
- baseBranch: string;
186
183
  branchName: string;
184
+ baseBranch: string;
185
+ archivedAt: string;
186
+ repoRoot: string;
187
187
  worktreeSlug: string;
188
188
  originalCwd: string;
189
189
  baseBranchSource?: "local" | "remote" | undefined;
@@ -193,8 +193,8 @@ declare const STORED_AGENT_SCHEMA: z.ZodObject<{
193
193
  pullRequest?: {
194
194
  number: number;
195
195
  state: string;
196
- title: string;
197
196
  url: string;
197
+ title: string;
198
198
  baseRefName: string;
199
199
  headRefName: string;
200
200
  isMerged: boolean;
@@ -209,57 +209,39 @@ declare const STORED_AGENT_SCHEMA: z.ZodObject<{
209
209
  }, "strip", z.ZodTypeAny, {
210
210
  id: string;
211
211
  provider: string;
212
- cwd: string;
213
212
  createdAt: string;
214
- parentAgentId: string | null;
215
213
  updatedAt: string;
214
+ cwd: string;
215
+ parentAgentId: string | null;
216
216
  labels: Record<string, string>;
217
217
  lastStatus: "initializing" | "idle" | "running" | "error" | "closed";
218
+ lastActivityAt?: string | undefined;
218
219
  title?: string | null | undefined;
219
- internal?: boolean | undefined;
220
- config?: {
221
- extra?: Record<string, any> | null | undefined;
222
- systemPrompt?: string | null | undefined;
223
- modeId?: string | null | undefined;
224
- model?: string | null | undefined;
225
- thinkingOptionId?: string | null | undefined;
226
- title?: string | null | undefined;
227
- mcpServers?: Record<string, any> | null | undefined;
220
+ lastUserMessageAt?: string | null | undefined;
221
+ pendingPermissions?: import("./agent-sdk-types.js").AgentPermissionRequest[] | undefined;
222
+ persistence?: {
223
+ provider: string;
224
+ sessionId: string;
225
+ metadata?: Record<string, any> | undefined;
226
+ nativeHandle?: any;
228
227
  } | null | undefined;
229
228
  runtimeInfo?: {
230
229
  provider: string;
231
230
  sessionId: string | null;
232
- extra?: Record<string, unknown> | undefined;
233
231
  modeId?: string | null | undefined;
234
232
  model?: string | null | undefined;
235
233
  thinkingOptionId?: string | null | undefined;
234
+ extra?: Record<string, unknown> | undefined;
236
235
  } | undefined;
237
- pendingPermissions?: import("./agent-sdk-types.js").AgentPermissionRequest[] | undefined;
238
- timelineRows?: {
239
- seq: number;
240
- timestamp: string;
241
- item: import("./agent-sdk-types.js").AgentTimelineItem;
242
- }[] | undefined;
243
- timelineEpoch?: string | undefined;
244
- timelineNextSeq?: number | undefined;
245
- persistence?: {
246
- provider: string;
247
- sessionId: string;
248
- nativeHandle?: any;
249
- metadata?: Record<string, any> | undefined;
250
- } | null | undefined;
251
- lastUserMessageAt?: string | null | undefined;
252
- lastActivityAt?: string | undefined;
253
- lastModeId?: string | null | undefined;
254
236
  requiresAttention?: boolean | undefined;
255
237
  attentionReason?: "error" | "finished" | "permission" | null | undefined;
256
238
  attentionTimestamp?: string | null | undefined;
257
239
  archivedAt?: string | null | undefined;
258
240
  archivedWorktree?: {
259
- repoRoot: string;
260
- archivedAt: string;
261
- baseBranch: string;
262
241
  branchName: string;
242
+ baseBranch: string;
243
+ archivedAt: string;
244
+ repoRoot: string;
263
245
  worktreeSlug: string;
264
246
  originalCwd: string;
265
247
  cleanupState: "active" | "deleted";
@@ -269,8 +251,8 @@ declare const STORED_AGENT_SCHEMA: z.ZodObject<{
269
251
  pullRequest?: {
270
252
  number: number;
271
253
  state: string;
272
- title: string;
273
254
  url: string;
255
+ title: string;
274
256
  baseRefName: string;
275
257
  headRefName: string;
276
258
  isMerged: boolean;
@@ -282,60 +264,59 @@ declare const STORED_AGENT_SCHEMA: z.ZodObject<{
282
264
  hasNonRequiredFailingChecks?: boolean | null | undefined;
283
265
  } | null | undefined;
284
266
  } | null | undefined;
285
- }, {
286
- id: string;
287
- provider: string;
288
- cwd: string;
289
- createdAt: string;
290
- updatedAt: string;
291
- title?: string | null | undefined;
292
- internal?: boolean | undefined;
293
- parentAgentId?: string | null | undefined;
294
267
  config?: {
295
- extra?: Record<string, any> | null | undefined;
296
- systemPrompt?: string | null | undefined;
297
268
  modeId?: string | null | undefined;
298
269
  model?: string | null | undefined;
299
270
  thinkingOptionId?: string | null | undefined;
300
271
  title?: string | null | undefined;
272
+ extra?: Record<string, any> | null | undefined;
273
+ systemPrompt?: string | null | undefined;
301
274
  mcpServers?: Record<string, any> | null | undefined;
302
275
  } | null | undefined;
303
- runtimeInfo?: {
304
- provider: string;
305
- sessionId: string | null;
306
- extra?: Record<string, unknown> | undefined;
307
- modeId?: string | null | undefined;
308
- model?: string | null | undefined;
309
- thinkingOptionId?: string | null | undefined;
310
- } | undefined;
311
- pendingPermissions?: import("./agent-sdk-types.js").AgentPermissionRequest[] | undefined;
276
+ internal?: boolean | undefined;
312
277
  timelineRows?: {
313
- seq: number;
314
278
  timestamp: string;
315
- item?: unknown;
279
+ item: import("./agent-sdk-types.js").AgentTimelineItem;
280
+ seq: number;
316
281
  }[] | undefined;
317
282
  timelineEpoch?: string | undefined;
318
283
  timelineNextSeq?: number | undefined;
284
+ lastModeId?: string | null | undefined;
285
+ }, {
286
+ id: string;
287
+ provider: string;
288
+ createdAt: string;
289
+ updatedAt: string;
290
+ cwd: string;
291
+ parentAgentId?: string | null | undefined;
292
+ lastActivityAt?: string | undefined;
293
+ title?: string | null | undefined;
294
+ lastUserMessageAt?: string | null | undefined;
295
+ pendingPermissions?: import("./agent-sdk-types.js").AgentPermissionRequest[] | undefined;
319
296
  persistence?: {
320
297
  provider: string;
321
298
  sessionId: string;
322
- nativeHandle?: any;
323
299
  metadata?: Record<string, any> | undefined;
300
+ nativeHandle?: any;
324
301
  } | null | undefined;
325
- lastUserMessageAt?: string | null | undefined;
302
+ runtimeInfo?: {
303
+ provider: string;
304
+ sessionId: string | null;
305
+ modeId?: string | null | undefined;
306
+ model?: string | null | undefined;
307
+ thinkingOptionId?: string | null | undefined;
308
+ extra?: Record<string, unknown> | undefined;
309
+ } | undefined;
326
310
  labels?: Record<string, string> | undefined;
327
- lastActivityAt?: string | undefined;
328
- lastStatus?: "initializing" | "idle" | "running" | "error" | "closed" | undefined;
329
- lastModeId?: string | null | undefined;
330
311
  requiresAttention?: boolean | undefined;
331
312
  attentionReason?: "error" | "finished" | "permission" | null | undefined;
332
313
  attentionTimestamp?: string | null | undefined;
333
314
  archivedAt?: string | null | undefined;
334
315
  archivedWorktree?: {
335
- repoRoot: string;
336
- archivedAt: string;
337
- baseBranch: string;
338
316
  branchName: string;
317
+ baseBranch: string;
318
+ archivedAt: string;
319
+ repoRoot: string;
339
320
  worktreeSlug: string;
340
321
  originalCwd: string;
341
322
  baseBranchSource?: "local" | "remote" | undefined;
@@ -345,8 +326,8 @@ declare const STORED_AGENT_SCHEMA: z.ZodObject<{
345
326
  pullRequest?: {
346
327
  number: number;
347
328
  state: string;
348
- title: string;
349
329
  url: string;
330
+ title: string;
350
331
  baseRefName: string;
351
332
  headRefName: string;
352
333
  isMerged: boolean;
@@ -358,6 +339,25 @@ declare const STORED_AGENT_SCHEMA: z.ZodObject<{
358
339
  hasNonRequiredFailingChecks?: boolean | null | undefined;
359
340
  } | null | undefined;
360
341
  } | null | undefined;
342
+ config?: {
343
+ modeId?: string | null | undefined;
344
+ model?: string | null | undefined;
345
+ thinkingOptionId?: string | null | undefined;
346
+ title?: string | null | undefined;
347
+ extra?: Record<string, any> | null | undefined;
348
+ systemPrompt?: string | null | undefined;
349
+ mcpServers?: Record<string, any> | null | undefined;
350
+ } | null | undefined;
351
+ internal?: boolean | undefined;
352
+ timelineRows?: {
353
+ timestamp: string;
354
+ seq: number;
355
+ item?: unknown;
356
+ }[] | undefined;
357
+ timelineEpoch?: string | undefined;
358
+ timelineNextSeq?: number | undefined;
359
+ lastStatus?: "initializing" | "idle" | "running" | "error" | "closed" | undefined;
360
+ lastModeId?: string | null | undefined;
361
361
  }>;
362
362
  export type SerializableAgentConfig = Pick<AgentSessionConfig, "title" | "modeId" | "model" | "thinkingOptionId" | "extra" | "systemPrompt" | "mcpServers">;
363
363
  export type StoredAgentRecord = z.infer<typeof STORED_AGENT_SCHEMA>;
@@ -663,9 +663,9 @@ export declare const ToolEditInputSchema: z.ZodEffects<z.ZodIntersection<z.ZodUn
663
663
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
664
664
  filePath: z.ZodString;
665
665
  }, z.ZodTypeAny, "passthrough">) & {
666
- diff?: string | undefined;
667
666
  content?: string | undefined;
668
667
  unifiedDiff?: string | undefined;
668
+ diff?: string | undefined;
669
669
  new_content?: string | undefined;
670
670
  newContent?: string | undefined;
671
671
  old_string?: string | undefined;
@@ -762,9 +762,9 @@ export declare const ToolEditOutputSchema: z.ZodUnion<[z.ZodEffects<z.ZodInterse
762
762
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
763
763
  filePath: z.ZodString;
764
764
  }, z.ZodTypeAny, "passthrough">) & {
765
- diff?: string | undefined;
766
765
  content?: string | undefined;
767
766
  unifiedDiff?: string | undefined;
767
+ diff?: string | undefined;
768
768
  new_content?: string | undefined;
769
769
  newContent?: string | undefined;
770
770
  old_string?: string | undefined;
@@ -166,18 +166,18 @@ export declare const PersistedConfigSchema: z.ZodObject<{
166
166
  level: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error", "fatal"]>>;
167
167
  format: z.ZodOptional<z.ZodEnum<["pretty", "json"]>>;
168
168
  }, "strict", z.ZodTypeAny, {
169
- level?: "error" | "debug" | "fatal" | "warn" | "info" | "trace" | undefined;
170
169
  format?: "json" | "pretty" | undefined;
170
+ level?: "error" | "debug" | "warn" | "info" | "fatal" | "trace" | undefined;
171
171
  }, {
172
- level?: "error" | "debug" | "fatal" | "warn" | "info" | "trace" | undefined;
173
172
  format?: "json" | "pretty" | undefined;
173
+ level?: "error" | "debug" | "warn" | "info" | "fatal" | "trace" | undefined;
174
174
  }>>;
175
175
  }, "strict", z.ZodTypeAny, {
176
- version?: 1 | undefined;
177
176
  log?: {
178
- level?: "error" | "debug" | "fatal" | "warn" | "info" | "trace" | undefined;
179
177
  format?: "json" | "pretty" | undefined;
178
+ level?: "error" | "debug" | "warn" | "info" | "fatal" | "trace" | undefined;
180
179
  } | undefined;
180
+ version?: 1 | undefined;
181
181
  agents?: {
182
182
  providers?: Record<string, {
183
183
  command?: {
@@ -216,11 +216,11 @@ export declare const PersistedConfigSchema: z.ZodObject<{
216
216
  baseUrl?: string | undefined;
217
217
  } | undefined;
218
218
  }, {
219
- version?: 1 | undefined;
220
219
  log?: {
221
- level?: "error" | "debug" | "fatal" | "warn" | "info" | "trace" | undefined;
222
220
  format?: "json" | "pretty" | undefined;
221
+ level?: "error" | "debug" | "warn" | "info" | "fatal" | "trace" | undefined;
223
222
  } | undefined;
223
+ version?: 1 | undefined;
224
224
  agents?: {
225
225
  providers?: Record<string, {
226
226
  command?: {