@awak-app/simy-cli 0.5.58 → 0.5.60
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/package.json +1 -1
- package/src/cli-contract.js +1 -1
- package/src/sqm/review-worker.js +5 -1
package/package.json
CHANGED
package/src/cli-contract.js
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./durable-local-task-steps-contract.js";
|
|
14
14
|
import { buildExecutionCapabilityContract } from "./execution-capability-contract.js";
|
|
15
15
|
|
|
16
|
-
export const CLI_VERSION = "0.5.
|
|
16
|
+
export const CLI_VERSION = "0.5.60";
|
|
17
17
|
export const CLI_API_CONTRACT_VERSION = 10;
|
|
18
18
|
|
|
19
19
|
export function withCliContract(
|
package/src/sqm/review-worker.js
CHANGED
|
@@ -14,6 +14,8 @@ const DEFAULT_LEASE_SECONDS = 300;
|
|
|
14
14
|
// Claim can retrieve and freeze organization-scoped Slack evidence (45s budget).
|
|
15
15
|
const DEFAULT_REQUEST_TIMEOUT_MS = 75_000;
|
|
16
16
|
const DEFAULT_EXECUTION_TIMEOUT_MS = 240_000;
|
|
17
|
+
// Pin SQM independently of the user's interactive model and CLI defaults.
|
|
18
|
+
export const SQM_CODEX_MODEL = "gpt-6.1-sol";
|
|
17
19
|
|
|
18
20
|
export class SqmLocalReviewError extends Error {
|
|
19
21
|
constructor(message, { status = null, code = "sqm_local_review_error" } = {}) {
|
|
@@ -244,6 +246,8 @@ export async function runStructuredProviderReview(
|
|
|
244
246
|
...(readOnlyAnalysis ? ["--system-prompt", request.system, "--max-turns", "1"] : []),
|
|
245
247
|
] : [
|
|
246
248
|
"exec",
|
|
249
|
+
"--model",
|
|
250
|
+
SQM_CODEX_MODEL,
|
|
247
251
|
"--skip-git-repo-check",
|
|
248
252
|
"--sandbox",
|
|
249
253
|
"read-only",
|
|
@@ -276,7 +280,7 @@ export async function runStructuredProviderReview(
|
|
|
276
280
|
}
|
|
277
281
|
return {
|
|
278
282
|
output,
|
|
279
|
-
model: `${provider}-local/${inspection.installed_version || "unknown"}`,
|
|
283
|
+
model: provider === "codex" ? SQM_CODEX_MODEL : `${provider}-local/${inspection.installed_version || "unknown"}`,
|
|
280
284
|
};
|
|
281
285
|
} catch (error) {
|
|
282
286
|
if (error instanceof SqmLocalReviewError || error?.code === 'desktop_access_required') throw error;
|