@on-par/factory-core 0.9.28-next.19 → 0.9.28-next.20
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ExecFn } from '../utils/exec.js';
|
|
2
2
|
export type OpenCodeVersionProbe = () => Promise<number | undefined>;
|
|
3
|
-
/** Versions the OpenCode adapter supports (#2880). Lower bound inclusive, upper exclusive. */
|
|
4
|
-
export declare const OPENCODE_SUPPORTED_RANGE = ">=1.18.0 <2.
|
|
3
|
+
/** Versions the OpenCode adapter supports (#2880). Lower bound inclusive, upper exclusive. 2.x ships outside npm (Homebrew/installer) and is handled by the v2 flag path. */
|
|
4
|
+
export declare const OPENCODE_SUPPORTED_RANGE = ">=1.18.0 <2.3.0";
|
|
5
5
|
/** The OpenCode version docs/agents.md and the nightly job test against (#2880). */
|
|
6
6
|
export declare const OPENCODE_PINNED_VERSION = "1.18.28";
|
|
7
7
|
export declare const OPENCODE_PINNED_INSTALL = "npm install -g opencode-ai@1.18.28";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"opencode-version.d.ts","sourceRoot":"","sources":["../../src/harness/opencode-version.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,oBAAoB,GAAG,MAAM,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;AAErE,
|
|
1
|
+
{"version":3,"file":"opencode-version.d.ts","sourceRoot":"","sources":["../../src/harness/opencode-version.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,MAAM,oBAAoB,GAAG,MAAM,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;AAErE,6KAA6K;AAC7K,eAAO,MAAM,wBAAwB,oBAAoB,CAAC;AAC1D,oFAAoF;AACpF,eAAO,MAAM,uBAAuB,YAAY,CAAC;AACjD,eAAO,MAAM,uBAAuB,uCAA0D,CAAC;AAE/F,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC;AAKrF,sFAAsF;AACtF,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAKhF;AAED,8EAA8E;AAC9E,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAErE;AAUD,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAE5E;AAED,wEAAwE;AACxE,wBAAsB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAOpF"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// src/harness/opencode-version.ts — OpenCode CLI version probe and supported range (#2878, #2880).
|
|
2
|
-
/** Versions the OpenCode adapter supports (#2880). Lower bound inclusive, upper exclusive. */
|
|
3
|
-
export const OPENCODE_SUPPORTED_RANGE = '>=1.18.0 <2.
|
|
2
|
+
/** Versions the OpenCode adapter supports (#2880). Lower bound inclusive, upper exclusive. 2.x ships outside npm (Homebrew/installer) and is handled by the v2 flag path. */
|
|
3
|
+
export const OPENCODE_SUPPORTED_RANGE = '>=1.18.0 <2.3.0';
|
|
4
4
|
/** The OpenCode version docs/agents.md and the nightly job test against (#2880). */
|
|
5
5
|
export const OPENCODE_PINNED_VERSION = '1.18.28';
|
|
6
6
|
export const OPENCODE_PINNED_INSTALL = `npm install -g opencode-ai@${OPENCODE_PINNED_VERSION}`;
|
|
7
7
|
const SUPPORTED_MIN = [1, 18, 0];
|
|
8
|
-
const SUPPORTED_MAX_EXCLUSIVE = [2,
|
|
8
|
+
const SUPPORTED_MAX_EXCLUSIVE = [2, 3, 0];
|
|
9
9
|
/** First `X.Y.Z` in `opencode --version` output -> [X, Y, Z]; undefined when none. */
|
|
10
10
|
export function parseOpenCodeVersion(stdout) {
|
|
11
11
|
const match = /(\d+)\.(\d+)\.(\d+)/.exec(stdout);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"opencode-version.js","sourceRoot":"","sources":["../../src/harness/opencode-version.ts"],"names":[],"mappings":"AAAA,mGAAmG;AAMnG,
|
|
1
|
+
{"version":3,"file":"opencode-version.js","sourceRoot":"","sources":["../../src/harness/opencode-version.ts"],"names":[],"mappings":"AAAA,mGAAmG;AAMnG,6KAA6K;AAC7K,MAAM,CAAC,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;AAC1D,oFAAoF;AACpF,MAAM,CAAC,MAAM,uBAAuB,GAAG,SAAS,CAAC;AACjD,MAAM,CAAC,MAAM,uBAAuB,GAAG,8BAA8B,uBAAuB,EAAE,CAAC;AAI/F,MAAM,aAAa,GAAoB,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;AAClD,MAAM,uBAAuB,GAAoB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAE3D,sFAAsF;AACtF,MAAM,UAAU,oBAAoB,CAAC,MAAc;IACjD,MAAM,KAAK,GAAG,qBAAqB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACjD,IAAI,CAAC,KAAK;QAAE,OAAO,SAAS,CAAC;IAC7B,MAAM,KAAK,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAU,CAAC;IAC9E,OAAO,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;AAC1D,CAAC;AAED,8EAA8E;AAC9E,MAAM,UAAU,kBAAkB,CAAC,MAAc;IAC/C,OAAO,oBAAoB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAC3C,CAAC;AAED,SAAS,eAAe,CAAC,CAAkB,EAAE,CAAkB;IAC7D,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;QAC3B,MAAM,IAAI,GAAG,CAAC,CAAC,CAAC,CAAE,GAAG,CAAC,CAAC,CAAC,CAAE,CAAC;QAC3B,IAAI,IAAI,KAAK,CAAC;YAAE,OAAO,IAAI,CAAC;IAC9B,CAAC;IACD,OAAO,CAAC,CAAC;AACX,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,OAAwB;IACjE,OAAO,eAAe,CAAC,OAAO,EAAE,aAAa,CAAC,IAAI,CAAC,IAAI,eAAe,CAAC,OAAO,EAAE,uBAAuB,CAAC,GAAG,CAAC,CAAC;AAC/G,CAAC;AAED,wEAAwE;AACxE,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAAC,MAAc;IACrD,IAAI,CAAC;QACH,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,MAAM,CAAC,oBAAoB,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,CAAC;QAC7E,OAAO,kBAAkB,CAAC,MAAM,CAAC,CAAC;IACpC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@on-par/factory-core",
|
|
3
|
-
"version": "0.9.28-next.
|
|
3
|
+
"version": "0.9.28-next.20",
|
|
4
4
|
"description": "Core engine: model router, constitutions, checkers, and pipeline phases for the Software Factory.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
"prepack": "node ../../scripts/pack-hygiene-cli.ts prepack"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@on-par/adr-kit": "0.9.28-next.
|
|
58
|
-
"@on-par/contracts": "0.9.28-next.
|
|
59
|
-
"@on-par/factory-config": "0.9.28-next.
|
|
60
|
-
"@on-par/repo-context": "0.9.28-next.
|
|
57
|
+
"@on-par/adr-kit": "0.9.28-next.20",
|
|
58
|
+
"@on-par/contracts": "0.9.28-next.20",
|
|
59
|
+
"@on-par/factory-config": "0.9.28-next.20",
|
|
60
|
+
"@on-par/repo-context": "0.9.28-next.20",
|
|
61
61
|
"@octokit/rest": "^22.0.0",
|
|
62
62
|
"execa": "^10.2.1",
|
|
63
63
|
"gray-matter": "^4.0.3",
|