@hearsay-tools/squawk 0.18.0-pr3964.7517 → 0.18.0-pr3964.7528

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 (109) hide show
  1. package/dist/agent-config/catalog.js +1 -1
  2. package/dist/agent-config/catalog.js.map +1 -1
  3. package/dist/contract/index.js +47 -1
  4. package/dist/contract/runners.d.ts +106 -1
  5. package/dist/core/runner-definition.d.ts +26 -5
  6. package/dist/core/runner-definition.js.map +1 -1
  7. package/dist/runners/agent-config-notes.d.ts +5 -0
  8. package/dist/runners/agent-config-notes.js +6 -0
  9. package/dist/runners/agent-config-notes.js.map +1 -0
  10. package/dist/runners/claude/config-files.d.ts +3 -0
  11. package/dist/runners/claude/config-files.js +14 -0
  12. package/dist/runners/claude/config-files.js.map +1 -1
  13. package/dist/runners/claude/definition.js +2 -2
  14. package/dist/runners/claude/definition.js.map +1 -1
  15. package/dist/runners/claude/display.d.ts +6 -0
  16. package/dist/runners/claude/display.js +6 -0
  17. package/dist/runners/claude/display.js.map +1 -1
  18. package/dist/runners/claude/models.js +7 -0
  19. package/dist/runners/claude/models.js.map +1 -1
  20. package/dist/runners/codex/config-files.d.ts +3 -0
  21. package/dist/runners/codex/config-files.js +15 -0
  22. package/dist/runners/codex/config-files.js.map +1 -1
  23. package/dist/runners/codex/definition.js +2 -2
  24. package/dist/runners/codex/definition.js.map +1 -1
  25. package/dist/runners/codex/display.d.ts +6 -0
  26. package/dist/runners/codex/display.js +6 -0
  27. package/dist/runners/codex/display.js.map +1 -1
  28. package/dist/runners/codex/models.js +2 -0
  29. package/dist/runners/codex/models.js.map +1 -1
  30. package/dist/runners/omp/config-files.d.ts +3 -0
  31. package/dist/runners/omp/config-files.js +15 -0
  32. package/dist/runners/omp/config-files.js.map +1 -1
  33. package/dist/runners/omp/definition.js +2 -2
  34. package/dist/runners/omp/definition.js.map +1 -1
  35. package/dist/runners/omp/display.d.ts +5 -0
  36. package/dist/runners/omp/display.js +5 -0
  37. package/dist/runners/omp/display.js.map +1 -1
  38. package/dist/runners/omp/models.js +2 -0
  39. package/dist/runners/omp/models.js.map +1 -1
  40. package/dist/runners/opencode/config-files.d.ts +3 -0
  41. package/dist/runners/opencode/config-files.js +15 -0
  42. package/dist/runners/opencode/config-files.js.map +1 -1
  43. package/dist/runners/opencode/definition.js +2 -2
  44. package/dist/runners/opencode/definition.js.map +1 -1
  45. package/dist/runners/opencode/display.d.ts +5 -0
  46. package/dist/runners/opencode/display.js +5 -0
  47. package/dist/runners/opencode/display.js.map +1 -1
  48. package/dist/runners/opencode/models.js +2 -0
  49. package/dist/runners/opencode/models.js.map +1 -1
  50. package/dist/runners/pi/config-files.d.ts +3 -0
  51. package/dist/runners/pi/config-files.js +16 -0
  52. package/dist/runners/pi/config-files.js.map +1 -1
  53. package/dist/runners/pi/definition.js +2 -2
  54. package/dist/runners/pi/definition.js.map +1 -1
  55. package/dist/runners/pi/display.d.ts +6 -0
  56. package/dist/runners/pi/display.js +6 -0
  57. package/dist/runners/pi/display.js.map +1 -1
  58. package/dist/runners/pi/models.js +2 -0
  59. package/dist/runners/pi/models.js.map +1 -1
  60. package/dist/server/runners-routes.d.ts +28 -2
  61. package/dist/server/runners-routes.js +11 -3
  62. package/dist/server/runners-routes.js.map +1 -1
  63. package/dist/server/server.d.ts +25 -0
  64. package/package.json +4 -4
  65. package/web/dist/assets/{activity-motion-DQwtapOI.js → activity-motion-C3PyGX1i.js} +1 -1
  66. package/web/dist/assets/{activity-route-BwZiMGfK.js → activity-route-CBE9suPx.js} +1 -1
  67. package/web/dist/assets/{commit-diff-panel-BVWKMptW.js → commit-diff-panel-BHLfoc5K.js} +1 -1
  68. package/web/dist/assets/diff-CPP5-PAO.js +3 -0
  69. package/web/dist/assets/{diff-view-y7x-a5xQ.js → diff-view-pVNE2LKd.js} +4 -4
  70. package/web/dist/assets/{file-preview-CEaNT3ht.js → file-preview-Dnl25_Yq.js} +2 -2
  71. package/web/dist/assets/{git-toolbar-BvvAgmDO.js → git-toolbar-B8j0rXz_.js} +1 -1
  72. package/web/dist/assets/{github-B3WekFy2.js → github-Bk_W_P7M.js} +1 -1
  73. package/web/dist/assets/{global-activity-route-D3lMjvxF.js → global-activity-route-B3Bg4j74.js} +1 -1
  74. package/web/dist/assets/index-BUcVG7uX.js +14 -0
  75. package/web/dist/assets/{markdown-BojHOSHX.js → markdown-DZFo50wI.js} +3 -3
  76. package/web/dist/assets/picker-pill-Bhsrt_K5.js +15 -0
  77. package/web/dist/assets/preview-pane-connected-B887FUPw.js +3 -0
  78. package/web/dist/assets/prompt-template-menu-Cl8ES_lT.js +1 -0
  79. package/web/dist/assets/{queries-BpsLvjtu.js → queries-D5f-3moU.js} +1 -1
  80. package/web/dist/assets/{reference-chip-HnvJLwQV.js → reference-chip-BPdU-pFz.js} +1 -1
  81. package/web/dist/assets/repo-git-DkdZ-lHF.js +1 -0
  82. package/web/dist/assets/{report-reader-B9tuKd1M.js → report-reader-ClrhPnHJ.js} +1 -1
  83. package/web/dist/assets/{reports-DX1Hw80D.js → reports-CNDxM3-h.js} +1 -1
  84. package/web/dist/assets/run-header-CGu_4msV.js +2 -0
  85. package/web/dist/assets/runners-Dc2_oqXR.js +1 -0
  86. package/web/dist/assets/skills-rESbVzy9.js +1 -0
  87. package/web/dist/assets/task-changes-BqMvI8iD.js +1 -0
  88. package/web/dist/assets/{task-commits-BtU9bGk7.js → task-commits-B0vE6rWz.js} +1 -1
  89. package/web/dist/assets/{task-files-B0n2qyBi.js → task-files-5YPOAXtn.js} +1 -1
  90. package/web/dist/assets/{task-github-item-Xr08h42p.js → task-github-item-D6VreAoa.js} +1 -1
  91. package/web/dist/assets/task-thread-DO2BE7tp.js +9 -0
  92. package/web/dist/assets/{thread-state-DoSqzctg.js → thread-state-Cn5cetra.js} +1 -1
  93. package/web/dist/assets/{use-desktop-Coqw26IL.js → use-desktop-R2WTomyJ.js} +1 -1
  94. package/web/dist/assets/use-hand-to-agent-state-B277xMq3.js +1 -0
  95. package/web/dist/assets/{workflows-BEniI_am.js → workflows-fZms9I7r.js} +3 -3
  96. package/web/dist/index.html +7 -8
  97. package/web/dist/assets/agent-accounts-C_UK6pPU.js +0 -1
  98. package/web/dist/assets/diff-CXCoZr3w.js +0 -3
  99. package/web/dist/assets/index-BvMEJ3Ux.js +0 -14
  100. package/web/dist/assets/picker-pill-ToL4uifX.js +0 -15
  101. package/web/dist/assets/preview-pane-connected-BmBOIaSo.js +0 -3
  102. package/web/dist/assets/prompt-template-menu-D8RsDr0w.js +0 -1
  103. package/web/dist/assets/repo-git-jRvRtMVC.js +0 -1
  104. package/web/dist/assets/run-header-ClrfkoK4.js +0 -2
  105. package/web/dist/assets/runners-CIHj9D-C.js +0 -1
  106. package/web/dist/assets/skills-Y60pkNkG.js +0 -1
  107. package/web/dist/assets/task-changes-D-No9noD.js +0 -1
  108. package/web/dist/assets/task-thread-B7lUY_dn.js +0 -9
  109. package/web/dist/assets/use-hand-to-agent-state-PL74uvoL.js +0 -1
@@ -10,7 +10,7 @@ import { registeredRunners } from '../core/runner-registry.js';
10
10
  * every runner's own files.
11
11
  */
12
12
  export function listConfigFiles() {
13
- const files = registeredRunners().flatMap((definition) => definition.configFiles);
13
+ const files = registeredRunners().flatMap((definition) => definition.configFiles.files);
14
14
  return files.filter((file, index) => files.lastIndexOf(file) === index);
15
15
  }
16
16
  /** Look up one entry by its stable id, or undefined when the id is unknown. */
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.js","sourceRoot":"","sources":["../../src/agent-config/catalog.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D;;;;GAIG;AAEH;;;;GAIG;AACH,MAAM,UAAU,eAAe;IAC7B,MAAM,KAAK,GAAG,iBAAiB,EAAE,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;IAClF,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,KAAK,CAAC,CAAC;AAC1E,CAAC;AAED,+EAA+E;AAC/E,MAAM,UAAU,cAAc,CAAC,EAAU;IACvC,OAAO,eAAe,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;AACpD,CAAC"}
1
+ {"version":3,"file":"catalog.js","sourceRoot":"","sources":["../../src/agent-config/catalog.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D;;;;GAIG;AAEH;;;;GAIG;AACH,MAAM,UAAU,eAAe;IAC7B,MAAM,KAAK,GAAG,iBAAiB,EAAE,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IACxF,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,KAAK,CAAC,CAAC;AAC1E,CAAC;AAED,+EAA+E;AAC/E,MAAM,UAAU,cAAc,CAAC,EAAU;IACvC,OAAO,eAAe,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;AACpD,CAAC"}
@@ -1200,13 +1200,55 @@ var healthResponseSchema = z13.object({
1200
1200
  // ../contract/src/runners.ts
1201
1201
  import { z as z14 } from "zod";
1202
1202
  var runnerModelIdScopeSchema = z14.enum(["own", "provider-spanning"]);
1203
+ var runnerModelPresetSchema = z14.object({
1204
+ id: z14.string(),
1205
+ label: z14.string(),
1206
+ desc: z14.string()
1207
+ });
1208
+ var runnerModelSuggestionsSchema = z14.object({
1209
+ /** The picker's fallback suggestions, in order; the first is auto. */
1210
+ suggested: z14.array(runnerModelPresetSchema),
1211
+ /** Retired model ids. They are no presets any more, but another runner still refuses them. */
1212
+ retired: z14.array(z14.string())
1213
+ });
1214
+ var runnerAgentConfigGroupSchema = z14.object({
1215
+ id: z14.enum(["settings", "mcp", "memory"]),
1216
+ label: z14.string(),
1217
+ /** Group-level caveat, for example where this agent keeps its MCP servers. */
1218
+ note: z14.string().optional(),
1219
+ /** Shown instead of the file list when the group has nothing to list. */
1220
+ empty: z14.string().optional(),
1221
+ /** The group also shows the user-level MCP listing, even with no file. */
1222
+ showsUserMcp: z14.literal(true).optional()
1223
+ });
1224
+ var runnerAgentConfigSchema = z14.object({
1225
+ /** The agent's name on its tab. */
1226
+ label: z14.string(),
1227
+ /** Pane-level caveat shown under the agent's heading. */
1228
+ note: z14.string().optional(),
1229
+ groups: z14.array(runnerAgentConfigGroupSchema)
1230
+ });
1203
1231
  var runnerEntrySchema = z14.object({
1204
1232
  id: runnerSchema,
1205
1233
  /** The runner's name on provider, account and conversation surfaces and in server messages. */
1206
1234
  displayName: z14.string(),
1207
1235
  /** The runner's name in model discovery messages and in the model picker's status line. */
1208
1236
  modelListName: z14.string(),
1209
- modelIdScope: runnerModelIdScopeSchema
1237
+ modelIdScope: runnerModelIdScopeSchema,
1238
+ /** The runner's name in the runner picker. */
1239
+ pickerLabel: z14.string(),
1240
+ /** The runner's line in the runner picker. */
1241
+ pickerDescription: z14.string(),
1242
+ /** A key for the cockpit's icon set. An unknown key shows the generic runner icon. */
1243
+ icon: z14.string(),
1244
+ /** What the accounts pane says when the CLI is not installed. */
1245
+ installHint: z14.string(),
1246
+ /** The command that logs the CLI in, as a terminal runs it. */
1247
+ loginCommand: z14.string(),
1248
+ /** A generic example account folder for the add-account dialog. */
1249
+ accountFolderExample: z14.string().optional(),
1250
+ models: runnerModelSuggestionsSchema,
1251
+ agentConfig: runnerAgentConfigSchema
1210
1252
  });
1211
1253
  var runnersResponseSchema = z14.object({
1212
1254
  runners: z14.array(runnerEntrySchema)
@@ -6484,10 +6526,14 @@ export {
6484
6526
  runWorkflowLabel,
6485
6527
  runWorktreeSetupSchema,
6486
6528
  rungNeedsYou,
6529
+ runnerAgentConfigGroupSchema,
6530
+ runnerAgentConfigSchema,
6487
6531
  runnerEntrySchema,
6488
6532
  runnerModelCatalogResponseSchema,
6489
6533
  runnerModelIdScopeSchema,
6490
6534
  runnerModelOptionSchema,
6535
+ runnerModelPresetSchema,
6536
+ runnerModelSuggestionsSchema,
6491
6537
  runnerModelsSchema,
6492
6538
  runnerSchema,
6493
6539
  runnerSkillListSchema,
@@ -9,7 +9,54 @@ export declare const runnerModelIdScopeSchema: z.ZodEnum<{
9
9
  "provider-spanning": "provider-spanning";
10
10
  }>;
11
11
  export type RunnerModelIdScope = z.infer<typeof runnerModelIdScopeSchema>;
12
- /** One registered runner as the cockpit shows it: the `display` part of its definition. */
12
+ /** One model the picker suggests before host discovery answers. `id: ''` is auto. */
13
+ export declare const runnerModelPresetSchema: z.ZodObject<{
14
+ id: z.ZodString;
15
+ label: z.ZodString;
16
+ desc: z.ZodString;
17
+ }, z.core.$strip>;
18
+ export type RunnerModelPreset = z.infer<typeof runnerModelPresetSchema>;
19
+ /** The model data the cockpit reads: the picker's suggestions and the ids a runner retired. */
20
+ export declare const runnerModelSuggestionsSchema: z.ZodObject<{
21
+ suggested: z.ZodArray<z.ZodObject<{
22
+ id: z.ZodString;
23
+ label: z.ZodString;
24
+ desc: z.ZodString;
25
+ }, z.core.$strip>>;
26
+ retired: z.ZodArray<z.ZodString>;
27
+ }, z.core.$strip>;
28
+ export type RunnerModelSuggestions = z.infer<typeof runnerModelSuggestionsSchema>;
29
+ /** One group of the Settings → Agent config pane. The file filter stays in the cockpit. */
30
+ export declare const runnerAgentConfigGroupSchema: z.ZodObject<{
31
+ id: z.ZodEnum<{
32
+ mcp: "mcp";
33
+ memory: "memory";
34
+ settings: "settings";
35
+ }>;
36
+ label: z.ZodString;
37
+ note: z.ZodOptional<z.ZodString>;
38
+ empty: z.ZodOptional<z.ZodString>;
39
+ showsUserMcp: z.ZodOptional<z.ZodLiteral<true>>;
40
+ }, z.core.$strip>;
41
+ export type RunnerAgentConfigGroup = z.infer<typeof runnerAgentConfigGroupSchema>;
42
+ /** The Settings → Agent config pane of one runner. */
43
+ export declare const runnerAgentConfigSchema: z.ZodObject<{
44
+ label: z.ZodString;
45
+ note: z.ZodOptional<z.ZodString>;
46
+ groups: z.ZodArray<z.ZodObject<{
47
+ id: z.ZodEnum<{
48
+ mcp: "mcp";
49
+ memory: "memory";
50
+ settings: "settings";
51
+ }>;
52
+ label: z.ZodString;
53
+ note: z.ZodOptional<z.ZodString>;
54
+ empty: z.ZodOptional<z.ZodString>;
55
+ showsUserMcp: z.ZodOptional<z.ZodLiteral<true>>;
56
+ }, z.core.$strip>>;
57
+ }, z.core.$strip>;
58
+ export type RunnerAgentConfig = z.infer<typeof runnerAgentConfigSchema>;
59
+ /** One registered runner as the cockpit shows it: the parts of its definition the cockpit reads. */
13
60
  export declare const runnerEntrySchema: z.ZodObject<{
14
61
  id: z.ZodString;
15
62
  displayName: z.ZodString;
@@ -18,6 +65,35 @@ export declare const runnerEntrySchema: z.ZodObject<{
18
65
  own: "own";
19
66
  "provider-spanning": "provider-spanning";
20
67
  }>;
68
+ pickerLabel: z.ZodString;
69
+ pickerDescription: z.ZodString;
70
+ icon: z.ZodString;
71
+ installHint: z.ZodString;
72
+ loginCommand: z.ZodString;
73
+ accountFolderExample: z.ZodOptional<z.ZodString>;
74
+ models: z.ZodObject<{
75
+ suggested: z.ZodArray<z.ZodObject<{
76
+ id: z.ZodString;
77
+ label: z.ZodString;
78
+ desc: z.ZodString;
79
+ }, z.core.$strip>>;
80
+ retired: z.ZodArray<z.ZodString>;
81
+ }, z.core.$strip>;
82
+ agentConfig: z.ZodObject<{
83
+ label: z.ZodString;
84
+ note: z.ZodOptional<z.ZodString>;
85
+ groups: z.ZodArray<z.ZodObject<{
86
+ id: z.ZodEnum<{
87
+ mcp: "mcp";
88
+ memory: "memory";
89
+ settings: "settings";
90
+ }>;
91
+ label: z.ZodString;
92
+ note: z.ZodOptional<z.ZodString>;
93
+ empty: z.ZodOptional<z.ZodString>;
94
+ showsUserMcp: z.ZodOptional<z.ZodLiteral<true>>;
95
+ }, z.core.$strip>>;
96
+ }, z.core.$strip>;
21
97
  }, z.core.$strip>;
22
98
  export type RunnerEntry = z.infer<typeof runnerEntrySchema>;
23
99
  /**
@@ -34,6 +110,35 @@ export declare const runnersResponseSchema: z.ZodObject<{
34
110
  own: "own";
35
111
  "provider-spanning": "provider-spanning";
36
112
  }>;
113
+ pickerLabel: z.ZodString;
114
+ pickerDescription: z.ZodString;
115
+ icon: z.ZodString;
116
+ installHint: z.ZodString;
117
+ loginCommand: z.ZodString;
118
+ accountFolderExample: z.ZodOptional<z.ZodString>;
119
+ models: z.ZodObject<{
120
+ suggested: z.ZodArray<z.ZodObject<{
121
+ id: z.ZodString;
122
+ label: z.ZodString;
123
+ desc: z.ZodString;
124
+ }, z.core.$strip>>;
125
+ retired: z.ZodArray<z.ZodString>;
126
+ }, z.core.$strip>;
127
+ agentConfig: z.ZodObject<{
128
+ label: z.ZodString;
129
+ note: z.ZodOptional<z.ZodString>;
130
+ groups: z.ZodArray<z.ZodObject<{
131
+ id: z.ZodEnum<{
132
+ mcp: "mcp";
133
+ memory: "memory";
134
+ settings: "settings";
135
+ }>;
136
+ label: z.ZodString;
137
+ note: z.ZodOptional<z.ZodString>;
138
+ empty: z.ZodOptional<z.ZodString>;
139
+ showsUserMcp: z.ZodOptional<z.ZodLiteral<true>>;
140
+ }, z.core.$strip>>;
141
+ }, z.core.$strip>;
37
142
  }, z.core.$strip>>;
38
143
  }, z.core.$strip>;
39
144
  export type RunnersResponse = z.infer<typeof runnersResponseSchema>;
@@ -7,7 +7,7 @@ import type { SkillCatalog } from './runner-skill-catalog.ts';
7
7
  import type { SkillDiscoveryOptions } from './skill-probe.ts';
8
8
  import type { ConfigFileDef } from './runner-config-files.ts';
9
9
  import type { ProviderCommandResult, ProviderConnectionState } from './provider-auth.ts';
10
- import type { RunnerEntry } from '../contract/index.js';
10
+ import type { RunnerAgentConfig, RunnerEntry, RunnerModelPreset } from '../contract/index.js';
11
11
  /**
12
12
  * Everything Squawk knows about one runner, in one object (spec 2026-11-18-runner-definitions).
13
13
  * Each runner's `runners/<id>/definition.ts` exports one, made with `defineRunner`, and an entry
@@ -36,8 +36,8 @@ export interface RunnerDefinition {
36
36
  }) => Promise<ModelOption[]>>;
37
37
  /** Imports the runner's skill list adapter, which lists the skills its CLI sees. */
38
38
  loadSkillCatalog(): Promise<(options: SkillDiscoveryOptions) => Promise<SkillCatalog>>;
39
- /** The native config files that Settings → Agent config shows, in presentation order. */
40
- readonly configFiles: readonly ConfigFileDef[];
39
+ /** The native config files that Settings → Agent config shows, and the runner's pane there. */
40
+ readonly configFiles: RunnerConfigFiles;
41
41
  /** Extra tools unioned onto the default when a step does not set allowedTools. */
42
42
  readonly extraTools: readonly string[];
43
43
  /** Login and auth-status data (the `login` part). */
@@ -86,10 +86,31 @@ export interface RunnerMock {
86
86
  * `scenarios['approval-malformed']`. */
87
87
  readonly malformedApprovalEcho?: string;
88
88
  }
89
- /** The `display` part: a `GET /api/v1/runners` entry without its id. */
90
- export type RunnerDisplay = Omit<RunnerEntry, 'id'>;
89
+ /**
90
+ * The `display` part: a `GET /api/v1/runners` entry without its id, its model presets (the `models`
91
+ * part) and its agent config pane (the `configFiles` part).
92
+ */
93
+ export type RunnerDisplay = Omit<RunnerEntry, 'id' | 'models' | 'agentConfig'>;
94
+ /** A runner's `configFiles` part: its native files and the pane that groups them. Plain data. */
95
+ export interface RunnerConfigFiles {
96
+ /** The native config files that Settings → Agent config shows, in presentation order. */
97
+ readonly files: readonly ConfigFileDef[];
98
+ /** The runner's tab in Settings → Agent config: its name, notes and groups. The cockpit filters
99
+ * the agent config route's files into the groups by each file's `runners`, `kind` and `holdsMcp`. */
100
+ readonly agentConfig: RunnerAgentConfig;
101
+ }
91
102
  /** A runner's model data: plain data in `runners/<id>/models.ts`. */
92
103
  export interface RunnerModelData {
104
+ /**
105
+ * The model picker's fallback suggestions, in order, before host discovery answers. The first is
106
+ * auto (`id: ''`). The cockpit reads them from `GET /api/v1/runners`.
107
+ */
108
+ readonly suggested: readonly RunnerModelPreset[];
109
+ /**
110
+ * Retired model ids: no presets any more, but another runner still refuses them as known
111
+ * foreign ids (`modelConflictsWithRunner` in the cockpit).
112
+ */
113
+ readonly retired: readonly string[];
93
114
  /**
94
115
  * Known preset ids, for mismatch checks (`core/model-presets.ts`). This is not a whitelist:
95
116
  * unknown custom ids remain valid. OpenCode uses native discovery plus a structural guard.
@@ -1 +1 @@
1
- {"version":3,"file":"runner-definition.js","sourceRoot":"","sources":["../../src/core/runner-definition.ts"],"names":[],"mappings":"AA4NA,0BAA0B;AAC1B,MAAM,UAAU,YAAY,CAAC,UAA4B;IACvD,OAAO,UAAU,CAAC;AACpB,CAAC"}
1
+ {"version":3,"file":"runner-definition.js","sourceRoot":"","sources":["../../src/core/runner-definition.ts"],"names":[],"mappings":"AAkPA,0BAA0B;AAC1B,MAAM,UAAU,YAAY,CAAC,UAA4B;IACvD,OAAO,UAAU,CAAC;AACpB,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * The pane-level note of every runner whose native files a run reads from the committed base
3
+ * branch (Settings → Agent config). Shared by their `agentConfig` data. Data only.
4
+ */
5
+ export declare const EDITOR_PLUS_COMMIT_NOTE = "An editor-plus-commit: a saved change reaches a run after you commit it to the base branch.";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * The pane-level note of every runner whose native files a run reads from the committed base
3
+ * branch (Settings → Agent config). Shared by their `agentConfig` data. Data only.
4
+ */
5
+ export const EDITOR_PLUS_COMMIT_NOTE = 'An editor-plus-commit: a saved change reaches a run after you commit it to the base branch.';
6
+ //# sourceMappingURL=agent-config-notes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-config-notes.js","sourceRoot":"","sources":["../../src/runners/agent-config-notes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAClC,6FAA6F,CAAC"}
@@ -1,7 +1,10 @@
1
1
  import type { ConfigFileDef } from '../../core/runner-config-files.ts';
2
+ import type { RunnerAgentConfig } from '../../contract/index.js';
2
3
  /**
3
4
  * The Claude runner's native config files for Settings → Agent config. Data only: importing it
4
5
  * loads no adapter. Order is presentation order: user → project → local, so the scope ladder
5
6
  * reads top (broad) to bottom (specific).
6
7
  */
7
8
  export declare const CLAUDE_CONFIG_FILES: readonly ConfigFileDef[];
9
+ /** The Claude tab of Settings → Agent config (the `agentConfig` of its `configFiles` part). Data only. */
10
+ export declare const CLAUDE_AGENT_CONFIG: RunnerAgentConfig;
@@ -109,4 +109,18 @@ export const CLAUDE_CONFIG_FILES = [
109
109
  docsUrl: CLAUDE_MEMORY_DOCS,
110
110
  },
111
111
  ];
112
+ /** The Claude tab of Settings → Agent config (the `agentConfig` of its `configFiles` part). Data only. */
113
+ export const CLAUDE_AGENT_CONFIG = {
114
+ label: 'Claude',
115
+ groups: [
116
+ { id: 'settings', label: 'Settings' },
117
+ {
118
+ id: 'mcp',
119
+ label: 'MCP',
120
+ note: 'A dedicated .mcp.json (key: mcpServers), shared via version control.',
121
+ showsUserMcp: true,
122
+ },
123
+ { id: 'memory', label: 'Memory & instructions' },
124
+ ],
125
+ };
112
126
  //# sourceMappingURL=config-files.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"config-files.js","sourceRoot":"","sources":["../../../src/runners/claude/config-files.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAGjC,MAAM,oBAAoB,GAAG,0CAA0C,CAAC;AACxE,MAAM,kBAAkB,GAAG,wCAAwC,CAAC;AACpE,MAAM,eAAe,GAAG,qCAAqC,CAAC;AAE9D;;;;GAIG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA6B;IAC3D,wBAAwB;IACxB;QACE,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,EAAE,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;QACrC;YACE,EAAE,EAAE,KAAK;YACT,KAAK,EAAE,KAAK;YACZ,IAAI,EAAE,sEAAsE;YAC5E,YAAY,EAAE,IAAI;SACnB;QACD,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,uBAAuB,EAAE;KACjD;CACF,CAAC"}
@@ -2,7 +2,7 @@ import { defineRunner } from '../../core/runner-definition.js';
2
2
  import { productEnv } from '../../core/product-env.js';
3
3
  import { CLAUDE_FACTS } from './facts.js';
4
4
  import { CLAUDE_MODELS } from './models.js';
5
- import { CLAUDE_CONFIG_FILES } from './config-files.js';
5
+ import { CLAUDE_AGENT_CONFIG, CLAUDE_CONFIG_FILES } from './config-files.js';
6
6
  import { CLAUDE_EXTRA_TOOLS } from './extra-tools.js';
7
7
  import { CLAUDE_SPEC_SUPPORT } from './spec-support.js';
8
8
  import { CLAUDE_DETECTION } from './detection.js';
@@ -26,7 +26,7 @@ export const claudeRunner = defineRunner({
26
26
  },
27
27
  loadModelCatalog: async () => (await import('./claude-model-catalog.js')).discoverClaudeModels,
28
28
  loadSkillCatalog: async () => (await import('./claude-skill-catalog.js')).discoverClaudeSkills,
29
- configFiles: CLAUDE_CONFIG_FILES,
29
+ configFiles: { files: CLAUDE_CONFIG_FILES, agentConfig: CLAUDE_AGENT_CONFIG },
30
30
  extraTools: CLAUDE_EXTRA_TOOLS,
31
31
  login: { ...CLAUDE_LOGIN, executable: () => productEnv('CLAUDE_BIN') ?? 'claude' },
32
32
  accounts: CLAUDE_ACCOUNTS,
@@ -1 +1 @@
1
- {"version":3,"file":"definition.js","sourceRoot":"","sources":["../../../src/runners/claude/definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;A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AAG,YAAY,CAAC;IACvC,EAAE,EAAE,QAAQ;IACZ,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,mBAAmB;IAChC,SAAS,EAAE,gBAAgB;IAC3B,GAAG,EAAE,UAAU;IACf,WAAW,EAAE,KAAK,IAAI,EAAE,CAAC,IAAI,CAAC,MAAM,MAAM,CAAC,wBAAwB,CAAC,CAAC,CAAC,eAAe,EAAE;IACvF,MAAM,EAAE;QACN,GAAG,aAAa;QAChB,YAAY,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,MAAM,CAAC,6CAA6C,CAAC,CAAC,CAAC,2BAA2B;KACpH;IACD,gBAAgB,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,MAAM,CAAC,2BAA2B,CAAC,CAAC,CAAC,oBAAoB;IAC9F,gBAAgB,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,MAAM,CAAC,2BAA2B,CAAC,CAAC,CAAC,oBAAoB;IAC9F,WAAW,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE,WAAW,EAAE,mBAAmB,EAAE;IAC7E,UAAU,EAAE,kBAAkB;IAC9B,KAAK,EAAE,EAAE,GAAG,YAAY,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC,IAAI,QAAQ,EAAE;IAClF,QAAQ,EAAE,eAAe;IACzB,GAAG,EAAE,UAAU;IACf,IAAI,EAAE,WAAW;IACjB,SAAS,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,MAAM,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;IACxF,OAAO,EAAE,cAAc;CACxB,CAAC,CAAC"}
@@ -3,4 +3,10 @@ export declare const CLAUDE_DISPLAY: {
3
3
  readonly displayName: 'Claude Code';
4
4
  readonly modelListName: 'Claude';
5
5
  readonly modelIdScope: 'own';
6
+ readonly pickerLabel: 'claude';
7
+ readonly pickerDescription: 'Claude Code CLI';
8
+ readonly icon: 'bot';
9
+ readonly installHint: 'npm i -g @anthropic-ai/claude-code';
10
+ readonly loginCommand: 'claude auth login';
11
+ readonly accountFolderExample: '~/.claude-second';
6
12
  };
@@ -3,5 +3,11 @@ export const CLAUDE_DISPLAY = {
3
3
  displayName: 'Claude Code',
4
4
  modelListName: 'Claude',
5
5
  modelIdScope: 'own',
6
+ pickerLabel: 'claude',
7
+ pickerDescription: 'Claude Code CLI',
8
+ icon: 'bot',
9
+ installHint: 'npm i -g @anthropic-ai/claude-code',
10
+ loginCommand: 'claude auth login',
11
+ accountFolderExample: '~/.claude-second',
6
12
  };
7
13
  //# sourceMappingURL=display.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"display.js","sourceRoot":"","sources":["../../../src/runners/claude/display.ts"],"names":[],"mappings":"AAEA,uFAAuF;AACvF,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,WAAW,EAAE,aAAa;IAC1B,aAAa,EAAE,QAAQ;IACvB,YAAY,EAAE,KAAK;CACuB,CAAC"}
1
+ {"version":3,"file":"display.js","sourceRoot":"","sources":["../../../src/runners/claude/display.ts"],"names":[],"mappings":"AAEA,uFAAuF;AACvF,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,WAAW,EAAE,aAAa;IAC1B,aAAa,EAAE,QAAQ;IACvB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,QAAQ;IACrB,iBAAiB,EAAE,iBAAiB;IACpC,IAAI,EAAE,KAAK;IACX,WAAW,EAAE,oCAAoC;IACjD,YAAY,EAAE,mBAAmB;IACjC,oBAAoB,EAAE,kBAAkB;CACR,CAAC"}
@@ -1,5 +1,12 @@
1
1
  /** The Claude runner's model data. Data only: importing it loads no adapter. */
2
2
  export const CLAUDE_MODELS = {
3
+ suggested: [
4
+ { id: '', label: 'auto', desc: 'Pick the best model per step' },
5
+ { id: 'opus', label: 'opus', desc: 'Deep reasoning for hard tasks' },
6
+ { id: 'sonnet', label: 'sonnet', desc: 'Fast and cheap' },
7
+ { id: 'haiku', label: 'haiku', desc: 'Fastest — simple, scoped tasks' },
8
+ ],
9
+ retired: ['claude-fable-5', 'claude-opus-4-8', 'claude-sonnet-5', 'claude-haiku-4-5'],
3
10
  known: [
4
11
  'opus',
5
12
  'sonnet',
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/runners/claude/models.ts"],"names":[],"mappings":"AAEA,gFAAgF;AAChF,MAAM,CAAC,MAAM,aAAa,GAAoB;IAC5C,KAAK,EAAE;QACL,MAAM;QACN,QAAQ;QACR,OAAO;QACP,gBAAgB;QAChB,iBAAiB;QACjB,iBAAiB;QACjB,kBAAkB;KACnB;IACD,wEAAwE;IACxE,yEAAyE;IACzE,KAAK,EAAE,EAAE,eAAe,EAAE,WAAW,EAAE,qBAAqB,EAAE,IAAI,EAAE,qBAAqB,EAAE,IAAI,EAAE;CAClG,CAAC"}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/runners/claude/models.ts"],"names":[],"mappings":"AAEA,gFAAgF;AAChF,MAAM,CAAC,MAAM,aAAa,GAAoB;IAC5C,SAAS,EAAE;QACT,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,8BAA8B,EAAE;QAC/D,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,+BAA+B,EAAE;QACpE,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,gBAAgB,EAAE;QACzD,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,gCAAgC,EAAE;KACxE;IACD,OAAO,EAAE,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,kBAAkB,CAAC;IACrF,KAAK,EAAE;QACL,MAAM;QACN,QAAQ;QACR,OAAO;QACP,gBAAgB;QAChB,iBAAiB;QACjB,iBAAiB;QACjB,kBAAkB;KACnB;IACD,wEAAwE;IACxE,yEAAyE;IACzE,KAAK,EAAE,EAAE,eAAe,EAAE,WAAW,EAAE,qBAAqB,EAAE,IAAI,EAAE,qBAAqB,EAAE,IAAI,EAAE;CAClG,CAAC"}
@@ -1,7 +1,10 @@
1
1
  import type { ConfigFileDef } from '../../core/runner-config-files.ts';
2
+ import type { RunnerAgentConfig } from '../../contract/index.js';
2
3
  /**
3
4
  * The Codex runner's native config files for Settings → Agent config. Data only: importing it
4
5
  * loads no adapter. Order is presentation order: user → project → local, so the scope ladder
5
6
  * reads top (broad) to bottom (specific).
6
7
  */
7
8
  export declare const CODEX_CONFIG_FILES: readonly ConfigFileDef[];
9
+ /** The Codex tab of Settings → Agent config (the `agentConfig` of its `configFiles` part). Data only. */
10
+ export declare const CODEX_AGENT_CONFIG: RunnerAgentConfig;
@@ -1,4 +1,5 @@
1
1
  import { join } from 'node:path';
2
+ import { EDITOR_PLUS_COMMIT_NOTE } from '../agent-config-notes.js';
2
3
  import { PROJECT_AGENTS_FILE } from '../project-agents-file.js';
3
4
  const CODEX_CONFIG_DOCS = 'https://developers.openai.com/codex/config-reference';
4
5
  const CODEX_AGENTS_DOCS = 'https://developers.openai.com/codex/guides/agents-md';
@@ -55,4 +56,18 @@ export const CODEX_CONFIG_FILES = [
55
56
  // <repo>/AGENTS.md, shared with Codex, OpenCode, Pi and OMP: the catalog lists it once.
56
57
  PROJECT_AGENTS_FILE,
57
58
  ];
59
+ /** The Codex tab of Settings → Agent config (the `agentConfig` of its `configFiles` part). Data only. */
60
+ export const CODEX_AGENT_CONFIG = {
61
+ label: 'Codex',
62
+ note: EDITOR_PLUS_COMMIT_NOTE,
63
+ groups: [
64
+ { id: 'settings', label: 'Settings' },
65
+ {
66
+ id: 'mcp',
67
+ label: 'MCP',
68
+ note: 'Inside config.toml under [mcp_servers.<id>] — the same file as Codex’s settings.',
69
+ },
70
+ { id: 'memory', label: 'Memory & instructions' },
71
+ ],
72
+ };
58
73
  //# sourceMappingURL=config-files.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"config-files.js","sourceRoot":"","sources":["../../../src/runners/codex/config-files.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,MAAM,iBAAiB,GAAG,sDAAsD,CAAC;AACjF,MAAM,iBAAiB,GAAG,sDAAsD,CAAC;AAEjF;;;;GAIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B;IAC1D,kBAAkB;IAClB;QACE,EAAE,EAAE,mBAAmB;QACvB,OAAO,EAAE,CAAC,OAAO,CAAC;QAClB,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,MAAM;QACb,OAAO,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,aAAa,CAAC;QACzD,KAAK,EAAE,sBAAsB;QAC7B,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,cAAc;QACvB,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,OAAO;QACjB,gBAAgB,EAAE,gBAAgB;QAClC,aAAa,EAAE,CAAC;QAChB,UAAU,EACR,2MAA2M;QAC7M,OAAO,EAAE,iBAAiB;KAC3B;IACD;QACE,EAAE,EAAE,sBAAsB;QAC1B,OAAO,EAAE,CAAC,OAAO,CAAC;QAClB,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,aAAa,CAAC;QACtD,KAAK,EAAE,oBAAoB;QAC3B,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,SAAS;QAClB,QAAQ,EAAE,OAAO;QACjB,aAAa,EAAE,CAAC;QAChB,QAAQ,EAAE,IAAI;QACd,UAAU,EACR,oLAA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@@ import { defineRunner } from '../../core/runner-definition.js';
2
2
  import { productEnv } from '../../core/product-env.js';
3
3
  import { CODEX_FACTS } from './facts.js';
4
4
  import { CODEX_MODELS } from './models.js';
5
- import { CODEX_CONFIG_FILES } from './config-files.js';
5
+ import { CODEX_AGENT_CONFIG, CODEX_CONFIG_FILES } from './config-files.js';
6
6
  import { CODEX_EXTRA_TOOLS } from './extra-tools.js';
7
7
  import { CODEX_SPEC_SUPPORT } from './spec-support.js';
8
8
  import { CODEX_DETECTION } from './detection.js';
@@ -26,7 +26,7 @@ export const codexRunner = defineRunner({
26
26
  },
27
27
  loadModelCatalog: async () => (await import('./codex-model-catalog.js')).discoverCodexModels,
28
28
  loadSkillCatalog: async () => (await import('./codex-skill-catalog.js')).discoverCodexSkills,
29
- configFiles: CODEX_CONFIG_FILES,
29
+ configFiles: { files: CODEX_CONFIG_FILES, agentConfig: CODEX_AGENT_CONFIG },
30
30
  extraTools: CODEX_EXTRA_TOOLS,
31
31
  login: { ...CODEX_LOGIN, executable: () => productEnv('CODEX_BIN') ?? 'codex' },
32
32
  accounts: CODEX_ACCOUNTS,
@@ -1 +1 @@
1
- {"version":3,"file":"definition.js","sourceRoot":"","sources":["../../../src/runners/codex/definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CA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IAAI,EAAE,CAAC,CAAC,MAAM,MAAM,CAAC,4CAA4C,CAAC,CAAC,CAAC,0BAA0B;KAClH;IACD,gBAAgB,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,MAAM,CAAC,0BAA0B,CAAC,CAAC,CAAC,mBAAmB;IAC5F,gBAAgB,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,MAAM,CAAC,0BAA0B,CAAC,CAAC,CAAC,mBAAmB;IAC5F,WAAW,EAAE,EAAE,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,kBAAkB,EAAE;IAC3E,UAAU,EAAE,iBAAiB;IAC7B,KAAK,EAAE,EAAE,GAAG,WAAW,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,IAAI,OAAO,EAAE;IAC/E,QAAQ,EAAE,cAAc;IACxB,GAAG,EAAE,SAAS;IACd,IAAI,EAAE,UAAU;IAChB,SAAS,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,MAAM,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACvF,OAAO,EAAE,aAAa;CACvB,CAAC,CAAC"}
@@ -3,4 +3,10 @@ export declare const CODEX_DISPLAY: {
3
3
  readonly displayName: 'Codex';
4
4
  readonly modelListName: 'Codex';
5
5
  readonly modelIdScope: 'own';
6
+ readonly pickerLabel: 'codex';
7
+ readonly pickerDescription: 'OpenAI Codex (app-server)';
8
+ readonly icon: 'sparkles';
9
+ readonly installHint: 'npm i -g @openai/codex';
10
+ readonly loginCommand: 'codex login';
11
+ readonly accountFolderExample: '~/.codex-second';
6
12
  };
@@ -3,5 +3,11 @@ export const CODEX_DISPLAY = {
3
3
  displayName: 'Codex',
4
4
  modelListName: 'Codex',
5
5
  modelIdScope: 'own',
6
+ pickerLabel: 'codex',
7
+ pickerDescription: 'OpenAI Codex (app-server)',
8
+ icon: 'sparkles',
9
+ installHint: 'npm i -g @openai/codex',
10
+ loginCommand: 'codex login',
11
+ accountFolderExample: '~/.codex-second',
6
12
  };
7
13
  //# sourceMappingURL=display.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"display.js","sourceRoot":"","sources":["../../../src/runners/codex/display.ts"],"names":[],"mappings":"AAEA,sFAAsF;AACtF,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,WAAW,EAAE,OAAO;IACpB,aAAa,EAAE,OAAO;IACtB,YAAY,EAAE,KAAK;CACuB,CAAC"}
1
+ {"version":3,"file":"display.js","sourceRoot":"","sources":["../../../src/runners/codex/display.ts"],"names":[],"mappings":"AAEA,sFAAsF;AACtF,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,WAAW,EAAE,OAAO;IACpB,aAAa,EAAE,OAAO;IACtB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,OAAO;IACpB,iBAAiB,EAAE,2BAA2B;IAC9C,IAAI,EAAE,UAAU;IAChB,WAAW,EAAE,wBAAwB;IACrC,YAAY,EAAE,aAAa;IAC3B,oBAAoB,EAAE,iBAAiB;CACP,CAAC"}
@@ -1,5 +1,7 @@
1
1
  /** The Codex runner's model data. Data only: importing it loads no adapter. */
2
2
  export const CODEX_MODELS = {
3
+ suggested: [{ id: '', label: 'auto', desc: 'Use your Codex default model' }],
4
+ retired: [],
3
5
  known: ['gpt-5.1-codex', 'gpt-5.1-codex-mini', 'gpt-5-codex'],
4
6
  // Codex selects the provider from model_provider in config.toml. A foreign
5
7
  // explicit prefix is accepted only when the caller proves it matches that
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/runners/codex/models.ts"],"names":[],"mappings":"AAEA,+EAA+E;AAC/E,MAAM,CAAC,MAAM,YAAY,GAAoB;IAC3C,KAAK,EAAE,CAAC,eAAe,EAAE,oBAAoB,EAAE,aAAa,CAAC;IAC7D,2EAA2E;IAC3E,0EAA0E;IAC1E,2EAA2E;IAC3E,KAAK,EAAE,EAAE,eAAe,EAAE,QAAQ,EAAE;CACrC,CAAC"}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/runners/codex/models.ts"],"names":[],"mappings":"AAEA,+EAA+E;AAC/E,MAAM,CAAC,MAAM,YAAY,GAAoB;IAC3C,SAAS,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,8BAA8B,EAAE,CAAC;IAC5E,OAAO,EAAE,EAAE;IACX,KAAK,EAAE,CAAC,eAAe,EAAE,oBAAoB,EAAE,aAAa,CAAC;IAC7D,2EAA2E;IAC3E,0EAA0E;IAC1E,2EAA2E;IAC3E,KAAK,EAAE,EAAE,eAAe,EAAE,QAAQ,EAAE;CACrC,CAAC"}
@@ -1,7 +1,10 @@
1
1
  import type { ConfigFileDef } from '../../core/runner-config-files.ts';
2
+ import type { RunnerAgentConfig } from '../../contract/index.js';
2
3
  /**
3
4
  * The OMP runner's native config files for Settings → Agent config. Data only: importing it
4
5
  * loads no adapter. Order is presentation order: user → project → local, so the scope ladder
5
6
  * reads top (broad) to bottom (specific).
6
7
  */
7
8
  export declare const OMP_CONFIG_FILES: readonly ConfigFileDef[];
9
+ /** The OMP tab of Settings → Agent config (the `agentConfig` of its `configFiles` part). Data only. */
10
+ export declare const OMP_AGENT_CONFIG: RunnerAgentConfig;
@@ -1,4 +1,5 @@
1
1
  import { join } from 'node:path';
2
+ import { EDITOR_PLUS_COMMIT_NOTE } from '../agent-config-notes.js';
2
3
  import { PROJECT_AGENTS_FILE } from '../project-agents-file.js';
3
4
  const OMP_CONFIG_DOCS = 'https://github.com/can1357/oh-my-pi/blob/main/docs/config-usage.md';
4
5
  const OMP_MCP_DOCS = 'https://github.com/can1357/oh-my-pi/blob/main/docs/mcp-config.md';
@@ -84,4 +85,18 @@ export const OMP_CONFIG_FILES = [
84
85
  // <repo>/AGENTS.md, shared with Codex, OpenCode, Pi and OMP: the catalog lists it once.
85
86
  PROJECT_AGENTS_FILE,
86
87
  ];
88
+ /** The OMP tab of Settings → Agent config (the `agentConfig` of its `configFiles` part). Data only. */
89
+ export const OMP_AGENT_CONFIG = {
90
+ label: 'OMP',
91
+ note: EDITOR_PLUS_COMMIT_NOTE,
92
+ groups: [
93
+ { id: 'settings', label: 'Settings' },
94
+ {
95
+ id: 'mcp',
96
+ label: 'MCP',
97
+ note: 'A dedicated mcp.json (key: mcpServers) at ~/.omp/agent and in the project’s .omp/ folder.',
98
+ },
99
+ { id: 'memory', label: 'Memory & instructions' },
100
+ ],
101
+ };
87
102
  //# sourceMappingURL=config-files.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"config-files.js","sourceRoot":"","sources":["../../../src/runners/omp/config-files.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,MAAM,eAAe,GAAG,oEAAoE,CAAC;AAC7F,MAAM,YAAY,GAAG,kEAAkE,CAAC;AAExF;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA6B;IACxD,sDAAsD;IACtD,sFAAsF;IACtF,oGAAoG;IACpG,2FAA2F;IAC3F,qGAAqG;IACrG,kGAAkG;IAClG,4FAA4F;IAC5F,gGAAgG;IAChG,wFAAwF;IACxF;QACE,EAAE,EAAE,mBAAmB;QACvB,OAAO,EAAE,CAAC,KAAK,CAAC;QAChB,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,MAAM;QACb,OAAO,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,YAAY,CAAC;QACtD,KAAK,EAAE,yBAAyB;QAChC,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,cAAc;QACvB,UAAU;QACR,+CAA+C;QAC/C,6uBAA6uB;QAC/uB,OAAO,EAAE,eAAe;KACzB;IACD;QACE,EAAE,EAAE,sBAAsB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AAI,CAAC,GAAG,EAAE,WAAW,CAAC;QACrD,KAAK,EAAE,wBAAwB;QAC/B,MAAM,EAAE,UAAU;QAClB,OAAO,EAAE,cAAc;QACvB,UAAU,EACR,qTAAqT;QACvT,OAAO,EAAE,eAAe;KACzB;IAED,wFAAwF;IACxF,mBAAmB;CACpB,CAAC"}
1
+ {"version":3,"file":"config-files.js","sourceRoot":"","sources":["../../../src/runners/omp/config-files.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAGjC,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,MAAM,eAAe,GAAG,oEAAoE,CAAC;AAC7F,MAAM,YAAY,GAAG,kEAAkE,CAAC;AAExF;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA6B;IACxD,sDAAsD;IACtD,sFAAsF;IACtF,oGAAoG;IACpG,2FAA2F;IAC3F,qGAAqG;IACrG,kGAAkG;IAClG,4FAA4F;IAC5F,gGAAgG;IAChG,wFAAwF;IACxF;QACE,EAAE,EAAE,mBAAmB;QACvB,OAAO,EAAE,CAAC,KAAK,CAAC;QAChB,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,MAAM;QACb,OAAO,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,YAAY,CAAC;QACtD,KAAK,EAAE,yBAAyB;QAChC,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,cAAc;QACvB,UAAU;QACR,+CAA+C;QAC/C,6uBAA6uB;QAC/uB,OAAO,EAAE,eAAe;KACzB;IACD;QACE,EAAE,EAAE,sBAAsB;QAC1B,OAAO,EAAE,CAAC,KAAK,CAAC;QAChB,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,CAAC,IAAI,EAAE,EAA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,qTAAqT;QACvT,OAAO,EAAE,eAAe;KACzB;IAED,wFAAwF;IACxF,mBAAmB;CACpB,CAAC;AAEF,uGAAuG;AACvG,MAAM,CAAC,MAAM,gBAAgB,GAAsB;IACjD,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,uBAAuB;IAC7B,MAAM,EAAE;QACN,EAAE,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;QACrC;YACE,EAAE,EAAE,KAAK;YACT,KAAK,EAAE,KAAK;YACZ,IAAI,EAAE,2FAA2F;SAClG;QACD,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,uBAAuB,EAAE;KACjD;CACF,CAAC"}
@@ -2,7 +2,7 @@ import { defineRunner } from '../../core/runner-definition.js';
2
2
  import { productEnv } from '../../core/product-env.js';
3
3
  import { OMP_FACTS } from './facts.js';
4
4
  import { OMP_MODELS } from './models.js';
5
- import { OMP_CONFIG_FILES } from './config-files.js';
5
+ import { OMP_AGENT_CONFIG, OMP_CONFIG_FILES } from './config-files.js';
6
6
  import { OMP_EXTRA_TOOLS } from './extra-tools.js';
7
7
  import { OMP_SPEC_SUPPORT } from './spec-support.js';
8
8
  import { OMP_DETECTION } from './detection.js';
@@ -29,7 +29,7 @@ export const ompRunner = defineRunner({
29
29
  },
30
30
  loadModelCatalog: async () => (await import('./omp-model-catalog.js')).discoverOmpModels,
31
31
  loadSkillCatalog: async () => (await import('./omp-skill-catalog.js')).discoverOmpSkills,
32
- configFiles: OMP_CONFIG_FILES,
32
+ configFiles: { files: OMP_CONFIG_FILES, agentConfig: OMP_AGENT_CONFIG },
33
33
  extraTools: OMP_EXTRA_TOOLS,
34
34
  login: { ...OMP_LOGIN, executable: () => productEnv('OMP_BIN') ?? 'omp' },
35
35
  accounts: OMP_ACCOUNTS,