@hearsay-tools/squawk 0.18.0-dev.7516 → 0.18.0-dev.7522
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/agent-config/catalog.js +1 -1
- package/dist/agent-config/catalog.js.map +1 -1
- package/dist/contract/index.js +47 -1
- package/dist/contract/runners.d.ts +106 -1
- package/dist/core/runner-definition.d.ts +26 -5
- package/dist/core/runner-definition.js.map +1 -1
- package/dist/runners/agent-config-notes.d.ts +5 -0
- package/dist/runners/agent-config-notes.js +6 -0
- package/dist/runners/agent-config-notes.js.map +1 -0
- package/dist/runners/claude/config-files.d.ts +3 -0
- package/dist/runners/claude/config-files.js +14 -0
- package/dist/runners/claude/config-files.js.map +1 -1
- package/dist/runners/claude/definition.js +2 -2
- package/dist/runners/claude/definition.js.map +1 -1
- package/dist/runners/claude/display.d.ts +6 -0
- package/dist/runners/claude/display.js +6 -0
- package/dist/runners/claude/display.js.map +1 -1
- package/dist/runners/claude/models.js +7 -0
- package/dist/runners/claude/models.js.map +1 -1
- package/dist/runners/codex/config-files.d.ts +3 -0
- package/dist/runners/codex/config-files.js +15 -0
- package/dist/runners/codex/config-files.js.map +1 -1
- package/dist/runners/codex/definition.js +2 -2
- package/dist/runners/codex/definition.js.map +1 -1
- package/dist/runners/codex/display.d.ts +6 -0
- package/dist/runners/codex/display.js +6 -0
- package/dist/runners/codex/display.js.map +1 -1
- package/dist/runners/codex/models.js +2 -0
- package/dist/runners/codex/models.js.map +1 -1
- package/dist/runners/omp/config-files.d.ts +3 -0
- package/dist/runners/omp/config-files.js +15 -0
- package/dist/runners/omp/config-files.js.map +1 -1
- package/dist/runners/omp/definition.js +2 -2
- package/dist/runners/omp/definition.js.map +1 -1
- package/dist/runners/omp/display.d.ts +5 -0
- package/dist/runners/omp/display.js +5 -0
- package/dist/runners/omp/display.js.map +1 -1
- package/dist/runners/omp/models.js +2 -0
- package/dist/runners/omp/models.js.map +1 -1
- package/dist/runners/opencode/config-files.d.ts +3 -0
- package/dist/runners/opencode/config-files.js +15 -0
- package/dist/runners/opencode/config-files.js.map +1 -1
- package/dist/runners/opencode/definition.js +2 -2
- package/dist/runners/opencode/definition.js.map +1 -1
- package/dist/runners/opencode/display.d.ts +5 -0
- package/dist/runners/opencode/display.js +5 -0
- package/dist/runners/opencode/display.js.map +1 -1
- package/dist/runners/opencode/models.js +2 -0
- package/dist/runners/opencode/models.js.map +1 -1
- package/dist/runners/pi/config-files.d.ts +3 -0
- package/dist/runners/pi/config-files.js +16 -0
- package/dist/runners/pi/config-files.js.map +1 -1
- package/dist/runners/pi/definition.js +2 -2
- package/dist/runners/pi/definition.js.map +1 -1
- package/dist/runners/pi/display.d.ts +6 -0
- package/dist/runners/pi/display.js +6 -0
- package/dist/runners/pi/display.js.map +1 -1
- package/dist/runners/pi/models.js +2 -0
- package/dist/runners/pi/models.js.map +1 -1
- package/dist/server/runners-routes.d.ts +28 -2
- package/dist/server/runners-routes.js +11 -3
- package/dist/server/runners-routes.js.map +1 -1
- package/dist/server/server.d.ts +83 -58
- package/package.json +4 -4
- package/web/dist/assets/{activity-motion-DQwtapOI.js → activity-motion-C3PyGX1i.js} +1 -1
- package/web/dist/assets/{activity-route-BwZiMGfK.js → activity-route-CBE9suPx.js} +1 -1
- package/web/dist/assets/{commit-diff-panel-BVWKMptW.js → commit-diff-panel-BHLfoc5K.js} +1 -1
- package/web/dist/assets/diff-CPP5-PAO.js +3 -0
- package/web/dist/assets/{diff-view-y7x-a5xQ.js → diff-view-pVNE2LKd.js} +4 -4
- package/web/dist/assets/{file-preview-CEaNT3ht.js → file-preview-Dnl25_Yq.js} +2 -2
- package/web/dist/assets/{git-toolbar-BvvAgmDO.js → git-toolbar-B8j0rXz_.js} +1 -1
- package/web/dist/assets/{github-B3WekFy2.js → github-Bk_W_P7M.js} +1 -1
- package/web/dist/assets/{global-activity-route-D3lMjvxF.js → global-activity-route-B3Bg4j74.js} +1 -1
- package/web/dist/assets/index-BUcVG7uX.js +14 -0
- package/web/dist/assets/{markdown-BojHOSHX.js → markdown-DZFo50wI.js} +3 -3
- package/web/dist/assets/picker-pill-Bhsrt_K5.js +15 -0
- package/web/dist/assets/preview-pane-connected-B887FUPw.js +3 -0
- package/web/dist/assets/prompt-template-menu-Cl8ES_lT.js +1 -0
- package/web/dist/assets/{queries-BpsLvjtu.js → queries-D5f-3moU.js} +1 -1
- package/web/dist/assets/{reference-chip-HnvJLwQV.js → reference-chip-BPdU-pFz.js} +1 -1
- package/web/dist/assets/repo-git-DkdZ-lHF.js +1 -0
- package/web/dist/assets/{report-reader-B9tuKd1M.js → report-reader-ClrhPnHJ.js} +1 -1
- package/web/dist/assets/{reports-DX1Hw80D.js → reports-CNDxM3-h.js} +1 -1
- package/web/dist/assets/run-header-CGu_4msV.js +2 -0
- package/web/dist/assets/runners-Dc2_oqXR.js +1 -0
- package/web/dist/assets/skills-rESbVzy9.js +1 -0
- package/web/dist/assets/task-changes-BqMvI8iD.js +1 -0
- package/web/dist/assets/{task-commits-BtU9bGk7.js → task-commits-B0vE6rWz.js} +1 -1
- package/web/dist/assets/{task-files-B0n2qyBi.js → task-files-5YPOAXtn.js} +1 -1
- package/web/dist/assets/{task-github-item-Xr08h42p.js → task-github-item-D6VreAoa.js} +1 -1
- package/web/dist/assets/task-thread-DO2BE7tp.js +9 -0
- package/web/dist/assets/{thread-state-DoSqzctg.js → thread-state-Cn5cetra.js} +1 -1
- package/web/dist/assets/{use-desktop-Coqw26IL.js → use-desktop-R2WTomyJ.js} +1 -1
- package/web/dist/assets/use-hand-to-agent-state-B277xMq3.js +1 -0
- package/web/dist/assets/{workflows-BEniI_am.js → workflows-fZms9I7r.js} +3 -3
- package/web/dist/index.html +7 -8
- package/web/dist/assets/agent-accounts-C_UK6pPU.js +0 -1
- package/web/dist/assets/diff-CXCoZr3w.js +0 -3
- package/web/dist/assets/index-BvMEJ3Ux.js +0 -14
- package/web/dist/assets/picker-pill-ToL4uifX.js +0 -15
- package/web/dist/assets/preview-pane-connected-BmBOIaSo.js +0 -3
- package/web/dist/assets/prompt-template-menu-D8RsDr0w.js +0 -1
- package/web/dist/assets/repo-git-jRvRtMVC.js +0 -1
- package/web/dist/assets/run-header-ClrfkoK4.js +0 -2
- package/web/dist/assets/runners-CIHj9D-C.js +0 -1
- package/web/dist/assets/skills-Y60pkNkG.js +0 -1
- package/web/dist/assets/task-changes-D-No9noD.js +0 -1
- package/web/dist/assets/task-thread-B7lUY_dn.js +0 -9
- package/web/dist/assets/use-hand-to-agent-state-PL74uvoL.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definition.js","sourceRoot":"","sources":["../../../src/runners/omp/definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"definition.js","sourceRoot":"","sources":["../../../src/runners/omp/definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAA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Y;IACtB,GAAG,EAAE,OAAO;IACZ,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,MAAM,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,cAAc,EAAE,CAAC;IACrF,OAAO,EAAE,WAAW;CACrB,CAAC,CAAC"}
|
|
@@ -3,4 +3,9 @@ export declare const OMP_DISPLAY: {
|
|
|
3
3
|
readonly displayName: 'OMP';
|
|
4
4
|
readonly modelListName: 'OMP';
|
|
5
5
|
readonly modelIdScope: 'provider-spanning';
|
|
6
|
+
readonly pickerLabel: 'OMP';
|
|
7
|
+
readonly pickerDescription: 'Oh My Pi CLI (provider/model)';
|
|
8
|
+
readonly icon: 'bot';
|
|
9
|
+
readonly installHint: 'https://omp.sh';
|
|
10
|
+
readonly loginCommand: 'omp login';
|
|
6
11
|
};
|
|
@@ -3,5 +3,10 @@ export const OMP_DISPLAY = {
|
|
|
3
3
|
displayName: 'OMP',
|
|
4
4
|
modelListName: 'OMP',
|
|
5
5
|
modelIdScope: 'provider-spanning',
|
|
6
|
+
pickerLabel: 'OMP',
|
|
7
|
+
pickerDescription: 'Oh My Pi CLI (provider/model)',
|
|
8
|
+
icon: 'bot',
|
|
9
|
+
installHint: 'https://omp.sh',
|
|
10
|
+
loginCommand: 'omp login',
|
|
6
11
|
};
|
|
7
12
|
//# sourceMappingURL=display.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display.js","sourceRoot":"","sources":["../../../src/runners/omp/display.ts"],"names":[],"mappings":"AAEA,oFAAoF;AACpF,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,WAAW,EAAE,KAAK;IAClB,aAAa,EAAE,KAAK;IACpB,YAAY,EAAE,mBAAmB;
|
|
1
|
+
{"version":3,"file":"display.js","sourceRoot":"","sources":["../../../src/runners/omp/display.ts"],"names":[],"mappings":"AAEA,oFAAoF;AACpF,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,WAAW,EAAE,KAAK;IAClB,aAAa,EAAE,KAAK;IACpB,YAAY,EAAE,mBAAmB;IACjC,WAAW,EAAE,KAAK;IAClB,iBAAiB,EAAE,+BAA+B;IAClD,IAAI,EAAE,KAAK;IACX,WAAW,EAAE,gBAAgB;IAC7B,YAAY,EAAE,WAAW;CACO,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** The OMP runner's model data. Data only: importing it loads no adapter. */
|
|
2
2
|
export const OMP_MODELS = {
|
|
3
|
+
suggested: [{ id: '', label: 'auto', desc: 'Use your OMP default model' }],
|
|
4
|
+
retired: [],
|
|
3
5
|
// omp lists nothing for pi's reason: `provider/model` ids with no default provider, so the
|
|
4
6
|
// structural check in `modelConflictsWithRunner` guards it without vendor knowledge.
|
|
5
7
|
known: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/runners/omp/models.ts"],"names":[],"mappings":"AAEA,6EAA6E;AAC7E,MAAM,CAAC,MAAM,UAAU,GAAoB;IACzC,2FAA2F;IAC3F,qFAAqF;IACrF,KAAK,EAAE,EAAE;IACT,+FAA+F;IAC/F,KAAK,EAAE,EAAE;CACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/runners/omp/models.ts"],"names":[],"mappings":"AAEA,6EAA6E;AAC7E,MAAM,CAAC,MAAM,UAAU,GAAoB;IACzC,SAAS,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,4BAA4B,EAAE,CAAC;IAC1E,OAAO,EAAE,EAAE;IACX,2FAA2F;IAC3F,qFAAqF;IACrF,KAAK,EAAE,EAAE;IACT,+FAA+F;IAC/F,KAAK,EAAE,EAAE;CACV,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 OpenCode 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 OPENCODE_CONFIG_FILES: readonly ConfigFileDef[];
|
|
9
|
+
/** The OpenCode tab of Settings → Agent config (the `agentConfig` of its `configFiles` part). Data only. */
|
|
10
|
+
export declare const OPENCODE_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 OPENCODE_CONFIG_DOCS = 'https://opencode.ai/docs/config/';
|
|
4
5
|
const OPENCODE_RULES_DOCS = 'https://opencode.ai/docs/rules/';
|
|
@@ -54,4 +55,18 @@ export const OPENCODE_CONFIG_FILES = [
|
|
|
54
55
|
// <repo>/AGENTS.md, shared with Codex, OpenCode, Pi and OMP: the catalog lists it once.
|
|
55
56
|
PROJECT_AGENTS_FILE,
|
|
56
57
|
];
|
|
58
|
+
/** The OpenCode tab of Settings → Agent config (the `agentConfig` of its `configFiles` part). Data only. */
|
|
59
|
+
export const OPENCODE_AGENT_CONFIG = {
|
|
60
|
+
label: 'OpenCode',
|
|
61
|
+
note: EDITOR_PLUS_COMMIT_NOTE,
|
|
62
|
+
groups: [
|
|
63
|
+
{ id: 'settings', label: 'Settings' },
|
|
64
|
+
{
|
|
65
|
+
id: 'mcp',
|
|
66
|
+
label: 'MCP',
|
|
67
|
+
note: 'Under the "mcp" key in opencode.json — the same file as OpenCode’s settings.',
|
|
68
|
+
},
|
|
69
|
+
{ id: 'memory', label: 'Memory & instructions' },
|
|
70
|
+
],
|
|
71
|
+
};
|
|
57
72
|
//# sourceMappingURL=config-files.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-files.js","sourceRoot":"","sources":["../../../src/runners/opencode/config-files.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"config-files.js","sourceRoot":"","sources":["../../../src/runners/opencode/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,oBAAoB,GAAG,kCAAkC,CAAC;AAChE,MAAM,mBAAmB,GAAG,iCAAiC,CAAC;AAE9D;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAA6B;IAC7D,qBAAqB;IACrB;QACE,EAAE,EAAE,sBAAsB;QAC1B,OAAO,EAAE,CAAC,UAAU,CAAC;QACrB,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,MAAM;QACb,OAAO,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,eAAe,CAAC;QACpE,KAAK,EAAE,kCAAkC;QACzC,MAAM,EAAE,OAAO;QACf,OAAO,EAAE,cAAc;QACvB,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,OAAO;QACjB,aAAa,EAAE,CAAC;QAChB,UAAU,EACR,oKAAoK;QACtK,OAAO,EAAE,oBAAoB;KAC9B;IACD;QACE,EAAE,EAAE,yBAAyB;QAC7B,OAAO,EAAE,CAAC,UAAU,CAAC;QACrB,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,eAAe,CAAC;QAC9C,KAAK,EAAE,eAAe;QACtB,MAAM,EAAE,OAAO;QACf,OAAO,EAAE,SAAS;QAClB,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,OAAO;QACjB,aAAa,EAAE,CAAC;QAChB,UAAU,EACR,kJAAkJ;QACpJ,OAAO,EAAE,oBAAoB;KAC9B;IACD;QACE,EAAE,EAAE,sBAAsB;QAC1B,OAAO,EAAE,CAAC,UAAU,CAAC;QACrB,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,MAAM;QACb,OAAO,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,WAAW,CAAC;QAChE,KAAK,EAAE,8BAA8B;QACrC,MAAM,EAAE,UAAU;QAClB,OAAO,EAAE,cAAc;QACvB,UAAU,EACR,mHAAmH;QACrH,OAAO,EAAE,mBAAmB;KAC7B;IAED,wFAAwF;IACxF,mBAAmB;CACpB,CAAC;AAEF,4GAA4G;AAC5G,MAAM,CAAC,MAAM,qBAAqB,GAAsB;IACtD,KAAK,EAAE,UAAU;IACjB,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,8EAA8E;SACrF;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 { OPENCODE_FACTS } from './facts.js';
|
|
4
4
|
import { OPENCODE_MODELS } from './models.js';
|
|
5
|
-
import { OPENCODE_CONFIG_FILES } from './config-files.js';
|
|
5
|
+
import { OPENCODE_AGENT_CONFIG, OPENCODE_CONFIG_FILES } from './config-files.js';
|
|
6
6
|
import { OPENCODE_EXTRA_TOOLS } from './extra-tools.js';
|
|
7
7
|
import { OPENCODE_SPEC_SUPPORT } from './spec-support.js';
|
|
8
8
|
import { OPENCODE_DETECTION } from './detection.js';
|
|
@@ -26,7 +26,7 @@ export const opencodeRunner = defineRunner({
|
|
|
26
26
|
},
|
|
27
27
|
loadModelCatalog: async () => (await import('./opencode-model-catalog.js')).discoverOpencodeModels,
|
|
28
28
|
loadSkillCatalog: async () => (await import('./opencode-skill-catalog.js')).discoverOpencodeSkills,
|
|
29
|
-
configFiles: OPENCODE_CONFIG_FILES,
|
|
29
|
+
configFiles: { files: OPENCODE_CONFIG_FILES, agentConfig: OPENCODE_AGENT_CONFIG },
|
|
30
30
|
extraTools: OPENCODE_EXTRA_TOOLS,
|
|
31
31
|
login: { ...OPENCODE_LOGIN, executable: () => productEnv('OPENCODE_BIN') ?? 'opencode' },
|
|
32
32
|
accounts: OPENCODE_ACCOUNTS,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definition.js","sourceRoot":"","sources":["../../../src/runners/opencode/definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"definition.js","sourceRoot":"","sources":["../../../src/runners/opencode/definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,qBAAq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,UAAU,EAAE,oBAAoB;IAChC,KAAK,EAAE,EAAE,GAAG,cAAc,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,cAAc,CAAC,IAAI,UAAU,EAAE;IACxF,QAAQ,EAAE,iBAAiB;IAC3B,GAAG,EAAE,YAAY;IACjB,IAAI,EAAE,aAAa;IACnB,SAAS,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,MAAM,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,mBAAmB,EAAE,CAAC;IAC1F,OAAO,EAAE,gBAAgB;CAC1B,CAAC,CAAC"}
|
|
@@ -3,4 +3,9 @@ export declare const OPENCODE_DISPLAY: {
|
|
|
3
3
|
readonly displayName: 'OpenCode';
|
|
4
4
|
readonly modelListName: 'OpenCode';
|
|
5
5
|
readonly modelIdScope: 'provider-spanning';
|
|
6
|
+
readonly pickerLabel: 'opencode';
|
|
7
|
+
readonly pickerDescription: 'OpenCode (serve)';
|
|
8
|
+
readonly icon: 'bot';
|
|
9
|
+
readonly installHint: 'https://opencode.ai';
|
|
10
|
+
readonly loginCommand: 'opencode auth login';
|
|
6
11
|
};
|
|
@@ -3,5 +3,10 @@ export const OPENCODE_DISPLAY = {
|
|
|
3
3
|
displayName: 'OpenCode',
|
|
4
4
|
modelListName: 'OpenCode',
|
|
5
5
|
modelIdScope: 'provider-spanning',
|
|
6
|
+
pickerLabel: 'opencode',
|
|
7
|
+
pickerDescription: 'OpenCode (serve)',
|
|
8
|
+
icon: 'bot',
|
|
9
|
+
installHint: 'https://opencode.ai',
|
|
10
|
+
loginCommand: 'opencode auth login',
|
|
6
11
|
};
|
|
7
12
|
//# sourceMappingURL=display.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display.js","sourceRoot":"","sources":["../../../src/runners/opencode/display.ts"],"names":[],"mappings":"AAEA,yFAAyF;AACzF,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,WAAW,EAAE,UAAU;IACvB,aAAa,EAAE,UAAU;IACzB,YAAY,EAAE,mBAAmB;
|
|
1
|
+
{"version":3,"file":"display.js","sourceRoot":"","sources":["../../../src/runners/opencode/display.ts"],"names":[],"mappings":"AAEA,yFAAyF;AACzF,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,WAAW,EAAE,UAAU;IACvB,aAAa,EAAE,UAAU;IACzB,YAAY,EAAE,mBAAmB;IACjC,WAAW,EAAE,UAAU;IACvB,iBAAiB,EAAE,kBAAkB;IACrC,IAAI,EAAE,KAAK;IACX,WAAW,EAAE,qBAAqB;IAClC,YAAY,EAAE,qBAAqB;CACH,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** The OpenCode runner's model data. Data only: importing it loads no adapter. */
|
|
2
2
|
export const OPENCODE_MODELS = {
|
|
3
|
+
suggested: [{ id: '', label: 'auto', desc: 'Use your OpenCode default model' }],
|
|
4
|
+
retired: [],
|
|
3
5
|
known: [],
|
|
4
6
|
// opencode selects across providers, so a bare model is ambiguous: reject it
|
|
5
7
|
// loudly rather than let the server pick a default the user never asked for.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/runners/opencode/models.ts"],"names":[],"mappings":"AAEA,kFAAkF;AAClF,MAAM,CAAC,MAAM,eAAe,GAAoB;IAC9C,KAAK,EAAE,EAAE;IACT,6EAA6E;IAC7E,6EAA6E;IAC7E,KAAK,EAAE,EAAE;CACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/runners/opencode/models.ts"],"names":[],"mappings":"AAEA,kFAAkF;AAClF,MAAM,CAAC,MAAM,eAAe,GAAoB;IAC9C,SAAS,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,iCAAiC,EAAE,CAAC;IAC/E,OAAO,EAAE,EAAE;IACX,KAAK,EAAE,EAAE;IACT,6EAA6E;IAC7E,6EAA6E;IAC7E,KAAK,EAAE,EAAE;CACV,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 pi 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 PI_CONFIG_FILES: readonly ConfigFileDef[];
|
|
9
|
+
/** The Pi tab of Settings → Agent config (the `agentConfig` of its `configFiles` part). Data only. */
|
|
10
|
+
export declare const PI_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 PI_SETTINGS_DOCS = 'https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/docs/settings.md';
|
|
4
5
|
const PI_CONTEXT_FILES_DOCS = 'https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/README.md#context-files';
|
|
@@ -56,4 +57,19 @@ export const PI_CONFIG_FILES = [
|
|
|
56
57
|
// <repo>/AGENTS.md, shared with Codex, OpenCode, Pi and OMP: the catalog lists it once.
|
|
57
58
|
PROJECT_AGENTS_FILE,
|
|
58
59
|
];
|
|
60
|
+
/** The Pi tab of Settings → Agent config (the `agentConfig` of its `configFiles` part). Data only. */
|
|
61
|
+
export const PI_AGENT_CONFIG = {
|
|
62
|
+
label: 'Pi',
|
|
63
|
+
note: EDITOR_PLUS_COMMIT_NOTE,
|
|
64
|
+
groups: [
|
|
65
|
+
{ id: 'settings', label: 'Settings' },
|
|
66
|
+
{
|
|
67
|
+
id: 'mcp',
|
|
68
|
+
label: 'MCP',
|
|
69
|
+
note: 'Pi ships no MCP client, so it has no MCP file to edit.',
|
|
70
|
+
empty: 'Nothing to list: Pi’s README says "No MCP." Give Pi tools as CLI programs with a README (Pi skills), or install a Pi extension that adds MCP support and configure servers there.',
|
|
71
|
+
},
|
|
72
|
+
{ id: 'memory', label: 'Memory & instructions' },
|
|
73
|
+
],
|
|
74
|
+
};
|
|
59
75
|
//# sourceMappingURL=config-files.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-files.js","sourceRoot":"","sources":["../../../src/runners/pi/config-files.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"config-files.js","sourceRoot":"","sources":["../../../src/runners/pi/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,gBAAgB,GAAG,sFAAsF,CAAC;AAChH,MAAM,qBAAqB,GAAG,6FAA6F,CAAC;AAE5H;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAA6B;IACvD,eAAe;IACf,8FAA8F;IAC9F,iGAAiG;IACjG;QACE,EAAE,EAAE,kBAAkB;QACtB,OAAO,EAAE,CAAC,IAAI,CAAC;QACf,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,MAAM;QACb,OAAO,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,eAAe,CAAC;QACxD,KAAK,EAAE,2BAA2B;QAClC,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,cAAc;QACvB,QAAQ,EAAE,cAAc;QACxB,gBAAgB,EAAE,iBAAiB;QACnC,aAAa,EAA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B,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 { PI_FACTS } from './facts.js';
|
|
4
4
|
import { PI_MODELS } from './models.js';
|
|
5
|
-
import { PI_CONFIG_FILES } from './config-files.js';
|
|
5
|
+
import { PI_AGENT_CONFIG, PI_CONFIG_FILES } from './config-files.js';
|
|
6
6
|
import { PI_EXTRA_TOOLS } from './extra-tools.js';
|
|
7
7
|
import { PI_SPEC_SUPPORT } from './spec-support.js';
|
|
8
8
|
import { PI_DETECTION } from './detection.js';
|
|
@@ -26,7 +26,7 @@ export const piRunner = defineRunner({
|
|
|
26
26
|
},
|
|
27
27
|
loadModelCatalog: async () => (await import('./pi-model-catalog.js')).discoverPiModels,
|
|
28
28
|
loadSkillCatalog: async () => (await import('./pi-skill-catalog.js')).discoverPiSkills,
|
|
29
|
-
configFiles: PI_CONFIG_FILES,
|
|
29
|
+
configFiles: { files: PI_CONFIG_FILES, agentConfig: PI_AGENT_CONFIG },
|
|
30
30
|
extraTools: PI_EXTRA_TOOLS,
|
|
31
31
|
login: { ...PI_LOGIN, executable: () => productEnv('PI_BIN') ?? 'pi' },
|
|
32
32
|
accounts: PI_ACCOUNTS,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definition.js","sourceRoot":"","sources":["../../../src/runners/pi/definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"definition.js","sourceRoot":"","sources":["../../../src/runners/pi/definition.ts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AuB,CAAC,CAAC,CAAC,gBAAgB;IACtF,gBAAgB,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,MAAM,CAAC,uBAAuB,CAAC,CAAC,CAAC,gBAAgB;IACtF,WAAW,EAAE,EAAE,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,eAAe,EAAE;IACrE,UAAU,EAAE,cAAc;IAC1B,KAAK,EAAE,EAAE,GAAG,QAAQ,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,IAAI,EAAE;IACtE,QAAQ,EAAE,WAAW;IACrB,GAAG,EAAE,MAAM;IACX,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,MAAM,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,aAAa,EAAE,CAAC;IACpF,OAAO,EAAE,UAAU;CACpB,CAAC,CAAC"}
|
|
@@ -3,4 +3,10 @@ export declare const PI_DISPLAY: {
|
|
|
3
3
|
readonly displayName: 'pi';
|
|
4
4
|
readonly modelListName: 'Pi';
|
|
5
5
|
readonly modelIdScope: 'provider-spanning';
|
|
6
|
+
readonly pickerLabel: 'pi';
|
|
7
|
+
readonly pickerDescription: 'pi CLI (provider/model)';
|
|
8
|
+
readonly icon: 'bot';
|
|
9
|
+
readonly installHint: 'https://github.com/badlogic/pi-mono';
|
|
10
|
+
readonly loginCommand: 'pi /login';
|
|
11
|
+
readonly accountFolderExample: '~/.pi-second/agent';
|
|
6
12
|
};
|
|
@@ -3,5 +3,11 @@ export const PI_DISPLAY = {
|
|
|
3
3
|
displayName: 'pi',
|
|
4
4
|
modelListName: 'Pi',
|
|
5
5
|
modelIdScope: 'provider-spanning',
|
|
6
|
+
pickerLabel: 'pi',
|
|
7
|
+
pickerDescription: 'pi CLI (provider/model)',
|
|
8
|
+
icon: 'bot',
|
|
9
|
+
installHint: 'https://github.com/badlogic/pi-mono',
|
|
10
|
+
loginCommand: 'pi /login',
|
|
11
|
+
accountFolderExample: '~/.pi-second/agent',
|
|
6
12
|
};
|
|
7
13
|
//# sourceMappingURL=display.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display.js","sourceRoot":"","sources":["../../../src/runners/pi/display.ts"],"names":[],"mappings":"AAEA,mFAAmF;AACnF,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,IAAI;IACnB,YAAY,EAAE,mBAAmB;
|
|
1
|
+
{"version":3,"file":"display.js","sourceRoot":"","sources":["../../../src/runners/pi/display.ts"],"names":[],"mappings":"AAEA,mFAAmF;AACnF,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,IAAI;IACnB,YAAY,EAAE,mBAAmB;IACjC,WAAW,EAAE,IAAI;IACjB,iBAAiB,EAAE,yBAAyB;IAC5C,IAAI,EAAE,KAAK;IACX,WAAW,EAAE,qCAAqC;IAClD,YAAY,EAAE,WAAW;IACzB,oBAAoB,EAAE,oBAAoB;CACV,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** The pi runner's model data. Data only: importing it loads no adapter. */
|
|
2
2
|
export const PI_MODELS = {
|
|
3
|
+
suggested: [{ id: '', label: 'auto', desc: 'Use your pi default model' }],
|
|
4
|
+
retired: [],
|
|
3
5
|
// pi lists nothing for the same reason OpenCode does (#794), plus one of its own: it picks a
|
|
4
6
|
// model with the canonical `provider/model` convention and has no default provider, so the
|
|
5
7
|
// structural check in `modelConflictsWithRunner` already guards it without vendor
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/runners/pi/models.ts"],"names":[],"mappings":"AAEA,4EAA4E;AAC5E,MAAM,CAAC,MAAM,SAAS,GAAoB;IACxC,6FAA6F;IAC7F,2FAA2F;IAC3F,kFAAkF;IAClF,wFAAwF;IACxF,8FAA8F;IAC9F,+EAA+E;IAC/E,KAAK,EAAE,EAAE;IACT,2EAA2E;IAC3E,4EAA4E;IAC5E,4EAA4E;IAC5E,KAAK,EAAE,EAAE;CACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/runners/pi/models.ts"],"names":[],"mappings":"AAEA,4EAA4E;AAC5E,MAAM,CAAC,MAAM,SAAS,GAAoB;IACxC,SAAS,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,2BAA2B,EAAE,CAAC;IACzE,OAAO,EAAE,EAAE;IACX,6FAA6F;IAC7F,2FAA2F;IAC3F,kFAAkF;IAClF,wFAAwF;IACxF,8FAA8F;IAC9F,+EAA+E;IAC/E,KAAK,EAAE,EAAE;IACT,2EAA2E;IAC3E,4EAA4E;IAC5E,4EAA4E;IAC5E,KAAK,EAAE,EAAE;CACV,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { RunnersResponse } from '../contract/index.js';
|
|
2
2
|
/**
|
|
3
3
|
* `GET /api/v1/runners` (spec 2026-11-18-runner-definitions, decision 2): the registered runners in
|
|
4
|
-
* registration order, each with its `display` part
|
|
5
|
-
*
|
|
4
|
+
* registration order, each with its `display` part, the `suggested` and `retired` model ids of its
|
|
5
|
+
* `models` part and the `agentConfig` of its `configFiles` part. It reads the registry only and
|
|
6
|
+
* never probes a CLI; `GET /api/v1/health` says which CLIs are installed.
|
|
6
7
|
*/
|
|
7
8
|
export declare function readRunners(): RunnersResponse;
|
|
8
9
|
/** The workspace family that answers `GET /runners`. */
|
|
@@ -15,6 +16,31 @@ export declare function createRunnersRoutes(): import("hono/hono-base").HonoBase
|
|
|
15
16
|
displayName: string;
|
|
16
17
|
modelListName: string;
|
|
17
18
|
modelIdScope: "own" | "provider-spanning";
|
|
19
|
+
pickerLabel: string;
|
|
20
|
+
pickerDescription: string;
|
|
21
|
+
icon: string;
|
|
22
|
+
installHint: string;
|
|
23
|
+
loginCommand: string;
|
|
24
|
+
accountFolderExample?: string | undefined;
|
|
25
|
+
models: {
|
|
26
|
+
suggested: {
|
|
27
|
+
id: string;
|
|
28
|
+
label: string;
|
|
29
|
+
desc: string;
|
|
30
|
+
}[];
|
|
31
|
+
retired: string[];
|
|
32
|
+
};
|
|
33
|
+
agentConfig: {
|
|
34
|
+
label: string;
|
|
35
|
+
note?: string | undefined;
|
|
36
|
+
groups: {
|
|
37
|
+
id: "mcp" | "memory" | "settings";
|
|
38
|
+
label: string;
|
|
39
|
+
note?: string | undefined;
|
|
40
|
+
empty?: string | undefined;
|
|
41
|
+
showsUserMcp?: true | undefined;
|
|
42
|
+
}[];
|
|
43
|
+
};
|
|
18
44
|
}[];
|
|
19
45
|
};
|
|
20
46
|
outputFormat: "json";
|
|
@@ -2,11 +2,19 @@ import { Hono } from 'hono';
|
|
|
2
2
|
import { registeredRunners } from '../core/runner-registry.js';
|
|
3
3
|
/**
|
|
4
4
|
* `GET /api/v1/runners` (spec 2026-11-18-runner-definitions, decision 2): the registered runners in
|
|
5
|
-
* registration order, each with its `display` part
|
|
6
|
-
*
|
|
5
|
+
* registration order, each with its `display` part, the `suggested` and `retired` model ids of its
|
|
6
|
+
* `models` part and the `agentConfig` of its `configFiles` part. It reads the registry only and
|
|
7
|
+
* never probes a CLI; `GET /api/v1/health` says which CLIs are installed.
|
|
7
8
|
*/
|
|
8
9
|
export function readRunners() {
|
|
9
|
-
return {
|
|
10
|
+
return {
|
|
11
|
+
runners: registeredRunners().map(({ id, display, models, configFiles }) => ({
|
|
12
|
+
id,
|
|
13
|
+
...display,
|
|
14
|
+
models: { suggested: [...models.suggested], retired: [...models.retired] },
|
|
15
|
+
agentConfig: configFiles.agentConfig,
|
|
16
|
+
})),
|
|
17
|
+
};
|
|
10
18
|
}
|
|
11
19
|
/** The workspace family that answers `GET /runners`. */
|
|
12
20
|
export function createRunnersRoutes() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runners-routes.js","sourceRoot":"","sources":["../../src/server/runners-routes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D
|
|
1
|
+
{"version":3,"file":"runners-routes.js","sourceRoot":"","sources":["../../src/server/runners-routes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D;;;;;GAKG;AACH,MAAM,UAAU,WAAW;IACzB,OAAO;QACL,OAAO,EAAE,iBAAiB,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;YAC1E,EAAE;YACF,GAAG,OAAO;YACV,MAAM,EAAE,EAAE,SAAS,EAAE,CAAC,GAAG,MAAM,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,CAAC,GAAG,MAAM,CAAC,OAAO,CAAC,EAAE;YAC1E,WAAW,EAAE,WAAW,CAAC,WAAW;SACrC,CAAC,CAAC;KACJ,CAAC;AACJ,CAAC;AAED,wDAAwD;AACxD,MAAM,UAAU,mBAAmB;IACjC,OAAO,IAAI,IAAI,EAAE,CAAC,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;AAClE,CAAC"}
|
package/dist/server/server.d.ts
CHANGED
|
@@ -379,6 +379,31 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
379
379
|
displayName: string;
|
|
380
380
|
modelListName: string;
|
|
381
381
|
modelIdScope: "own" | "provider-spanning";
|
|
382
|
+
pickerLabel: string;
|
|
383
|
+
pickerDescription: string;
|
|
384
|
+
icon: string;
|
|
385
|
+
installHint: string;
|
|
386
|
+
loginCommand: string;
|
|
387
|
+
accountFolderExample?: string | undefined;
|
|
388
|
+
models: {
|
|
389
|
+
suggested: {
|
|
390
|
+
id: string;
|
|
391
|
+
label: string;
|
|
392
|
+
desc: string;
|
|
393
|
+
}[];
|
|
394
|
+
retired: string[];
|
|
395
|
+
};
|
|
396
|
+
agentConfig: {
|
|
397
|
+
label: string;
|
|
398
|
+
note?: string | undefined;
|
|
399
|
+
groups: {
|
|
400
|
+
id: "mcp" | "memory" | "settings";
|
|
401
|
+
label: string;
|
|
402
|
+
note?: string | undefined;
|
|
403
|
+
empty?: string | undefined;
|
|
404
|
+
showsUserMcp?: true | undefined;
|
|
405
|
+
}[];
|
|
406
|
+
};
|
|
382
407
|
}[];
|
|
383
408
|
};
|
|
384
409
|
outputFormat: "json";
|
|
@@ -4233,19 +4258,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4233
4258
|
} & {
|
|
4234
4259
|
"/repo/commit/:sha": {
|
|
4235
4260
|
$get: {
|
|
4236
|
-
output: string;
|
|
4237
|
-
outputFormat: "text";
|
|
4238
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4239
|
-
input: {
|
|
4240
|
-
query: {
|
|
4241
|
-
structured?: string | undefined;
|
|
4242
|
-
};
|
|
4243
|
-
} & {
|
|
4244
|
-
param: {
|
|
4245
|
-
sha: string;
|
|
4246
|
-
};
|
|
4247
|
-
};
|
|
4248
|
-
} | {
|
|
4249
4261
|
output: {
|
|
4250
4262
|
error: string;
|
|
4251
4263
|
code?: "invalid_input" | undefined;
|
|
@@ -4309,6 +4321,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
4309
4321
|
sha: string;
|
|
4310
4322
|
};
|
|
4311
4323
|
};
|
|
4324
|
+
} | {
|
|
4325
|
+
output: string;
|
|
4326
|
+
outputFormat: "text";
|
|
4327
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
4328
|
+
input: {
|
|
4329
|
+
query: {
|
|
4330
|
+
structured?: string | undefined;
|
|
4331
|
+
};
|
|
4332
|
+
} & {
|
|
4333
|
+
param: {
|
|
4334
|
+
sha: string;
|
|
4335
|
+
};
|
|
4336
|
+
};
|
|
4312
4337
|
};
|
|
4313
4338
|
};
|
|
4314
4339
|
} & {
|
|
@@ -18045,20 +18070,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18045
18070
|
} & {
|
|
18046
18071
|
"/runs/:id/handoff": {
|
|
18047
18072
|
$get: {
|
|
18048
|
-
output:
|
|
18049
|
-
|
|
18050
|
-
|
|
18073
|
+
output: {
|
|
18074
|
+
error: string;
|
|
18075
|
+
};
|
|
18076
|
+
outputFormat: "json";
|
|
18077
|
+
status: 404;
|
|
18051
18078
|
input: {
|
|
18052
18079
|
param: {
|
|
18053
18080
|
id: string;
|
|
18054
18081
|
};
|
|
18055
18082
|
};
|
|
18056
18083
|
} | {
|
|
18057
|
-
output:
|
|
18058
|
-
|
|
18059
|
-
|
|
18060
|
-
outputFormat: "json";
|
|
18061
|
-
status: 404;
|
|
18084
|
+
output: string;
|
|
18085
|
+
outputFormat: "text";
|
|
18086
|
+
status: 200;
|
|
18062
18087
|
input: {
|
|
18063
18088
|
param: {
|
|
18064
18089
|
id: string;
|
|
@@ -18096,20 +18121,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
18096
18121
|
} & {
|
|
18097
18122
|
"/runs/:id/diff": {
|
|
18098
18123
|
$get: {
|
|
18099
|
-
output:
|
|
18100
|
-
|
|
18101
|
-
|
|
18124
|
+
output: {
|
|
18125
|
+
error: string;
|
|
18126
|
+
};
|
|
18127
|
+
outputFormat: "json";
|
|
18128
|
+
status: 404 | 409;
|
|
18102
18129
|
input: {
|
|
18103
18130
|
param: {
|
|
18104
18131
|
id: string;
|
|
18105
18132
|
};
|
|
18106
18133
|
};
|
|
18107
18134
|
} | {
|
|
18108
|
-
output:
|
|
18109
|
-
|
|
18110
|
-
|
|
18111
|
-
outputFormat: "json";
|
|
18112
|
-
status: 404 | 409;
|
|
18135
|
+
output: string;
|
|
18136
|
+
outputFormat: "text";
|
|
18137
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
18113
18138
|
input: {
|
|
18114
18139
|
param: {
|
|
18115
18140
|
id: string;
|
|
@@ -20127,19 +20152,6 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20127
20152
|
} & {
|
|
20128
20153
|
"/repo/commit/:sha": {
|
|
20129
20154
|
$get: {
|
|
20130
|
-
output: string;
|
|
20131
|
-
outputFormat: "text";
|
|
20132
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20133
|
-
input: {
|
|
20134
|
-
query: {
|
|
20135
|
-
structured?: string | undefined;
|
|
20136
|
-
};
|
|
20137
|
-
} & {
|
|
20138
|
-
param: {
|
|
20139
|
-
sha: string;
|
|
20140
|
-
};
|
|
20141
|
-
};
|
|
20142
|
-
} | {
|
|
20143
20155
|
output: {
|
|
20144
20156
|
error: string;
|
|
20145
20157
|
code?: "invalid_input" | undefined;
|
|
@@ -20203,6 +20215,19 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
20203
20215
|
sha: string;
|
|
20204
20216
|
};
|
|
20205
20217
|
};
|
|
20218
|
+
} | {
|
|
20219
|
+
output: string;
|
|
20220
|
+
outputFormat: "text";
|
|
20221
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20222
|
+
input: {
|
|
20223
|
+
query: {
|
|
20224
|
+
structured?: string | undefined;
|
|
20225
|
+
};
|
|
20226
|
+
} & {
|
|
20227
|
+
param: {
|
|
20228
|
+
sha: string;
|
|
20229
|
+
};
|
|
20230
|
+
};
|
|
20206
20231
|
};
|
|
20207
20232
|
};
|
|
20208
20233
|
} & {
|
|
@@ -33939,20 +33964,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33939
33964
|
} & {
|
|
33940
33965
|
"/runs/:id/handoff": {
|
|
33941
33966
|
$get: {
|
|
33942
|
-
output:
|
|
33943
|
-
|
|
33944
|
-
|
|
33967
|
+
output: {
|
|
33968
|
+
error: string;
|
|
33969
|
+
};
|
|
33970
|
+
outputFormat: "json";
|
|
33971
|
+
status: 404;
|
|
33945
33972
|
input: {
|
|
33946
33973
|
param: {
|
|
33947
33974
|
id: string;
|
|
33948
33975
|
};
|
|
33949
33976
|
};
|
|
33950
33977
|
} | {
|
|
33951
|
-
output:
|
|
33952
|
-
|
|
33953
|
-
|
|
33954
|
-
outputFormat: "json";
|
|
33955
|
-
status: 404;
|
|
33978
|
+
output: string;
|
|
33979
|
+
outputFormat: "text";
|
|
33980
|
+
status: 200;
|
|
33956
33981
|
input: {
|
|
33957
33982
|
param: {
|
|
33958
33983
|
id: string;
|
|
@@ -33990,20 +34015,20 @@ export declare function createApp(deps: ServerDeps): import("hono/hono-base").Ho
|
|
|
33990
34015
|
} & {
|
|
33991
34016
|
"/runs/:id/diff": {
|
|
33992
34017
|
$get: {
|
|
33993
|
-
output:
|
|
33994
|
-
|
|
33995
|
-
|
|
34018
|
+
output: {
|
|
34019
|
+
error: string;
|
|
34020
|
+
};
|
|
34021
|
+
outputFormat: "json";
|
|
34022
|
+
status: 404 | 409;
|
|
33996
34023
|
input: {
|
|
33997
34024
|
param: {
|
|
33998
34025
|
id: string;
|
|
33999
34026
|
};
|
|
34000
34027
|
};
|
|
34001
34028
|
} | {
|
|
34002
|
-
output:
|
|
34003
|
-
|
|
34004
|
-
|
|
34005
|
-
outputFormat: "json";
|
|
34006
|
-
status: 404 | 409;
|
|
34029
|
+
output: string;
|
|
34030
|
+
outputFormat: "text";
|
|
34031
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
34007
34032
|
input: {
|
|
34008
34033
|
param: {
|
|
34009
34034
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearsay-tools/squawk",
|
|
3
|
-
"version": "0.18.0-dev.
|
|
3
|
+
"version": "0.18.0-dev.7522",
|
|
4
4
|
"description": "Local cockpit for running and tracking AI agent tasks in your repo. Uses your logged-in `claude` CLI and `gh` — zero config, zero database.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@babel/parser": "^8.0.8",
|
|
65
65
|
"@babel/types": "^8.0.8",
|
|
66
|
-
"@open-mercato/cezar-api-client": "0.18.0-dev.
|
|
67
|
-
"@open-mercato/cezar-contract": "0.18.0-dev.
|
|
66
|
+
"@open-mercato/cezar-api-client": "0.18.0-dev.7522",
|
|
67
|
+
"@open-mercato/cezar-contract": "0.18.0-dev.7522",
|
|
68
68
|
"@types/node": "^24.19.1",
|
|
69
69
|
"@types/ws": "^8.18.1",
|
|
70
70
|
"esbuild": "^0.28.1",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "a5bd6f5d62b2416874ec5cb1b21013b9be33410a"
|
|
85
85
|
}
|