robisie 0.2.0 → 0.2.1
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/CHANGELOG.md +16 -0
- package/dist/commands.js +5 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/disk-guard.d.ts +20 -0
- package/dist/disk-guard.js +63 -0
- package/dist/engine/bundle-report.json +11 -11
- package/dist/engine/tick.cjs +465 -382
- package/dist/k3-codex-role.js +4 -1
- package/dist/k3-helper-cli.js +28 -2
- package/dist/roles.d.ts +1 -1
- package/docs/README.en.md +5 -3
- package/docs/README.md +5 -3
- package/docs/RELEASE-0.1.0.md +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Historia zmian klienta / Client changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.1](https://github.com/chuppa12/robisie-app/compare/client-v0.2.0...client-v0.2.1) (2026-11-09)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **client:** finish sandboxed work with engine-owned commits ([2de5572](https://github.com/chuppa12/robisie-app/commit/2de55728d6911335df136bef8771895e8bc71605))
|
|
9
|
+
* **client:** finish sandboxed work with engine-owned commits ([2de5572](https://github.com/chuppa12/robisie-app/commit/2de55728d6911335df136bef8771895e8bc71605))
|
|
10
|
+
* **client:** keep Git writes in the trusted engine ([67a9939](https://github.com/chuppa12/robisie-app/commit/67a9939dea53337cbf032f9356f7611f17d36c61))
|
|
11
|
+
* **client:** keep private job state outside Git sandbox grants ([a1524ee](https://github.com/chuppa12/robisie-app/commit/a1524eeba7ef31daf374453a92f4b934876d7b91))
|
|
12
|
+
* **client:** keep valid drafts progressing past field refusals ([8d77543](https://github.com/chuppa12/robisie-app/commit/8d77543cb7bc6d1dec8210fee3eb601a14b5d33d))
|
|
13
|
+
* **client:** narrow Codex Git writes to commit metadata ([0fb514e](https://github.com/chuppa12/robisie-app/commit/0fb514e20c80d595d58602c0c9cf435b4230afbb))
|
|
14
|
+
* **client:** pass exact worktree Git directories to Codex sandbox ([443c36e](https://github.com/chuppa12/robisie-app/commit/443c36e52cf9b9caad0cfd798b4b58ad7ec4d97b))
|
|
15
|
+
* **client:** reject private state inside separate Git metadata ([ec04be0](https://github.com/chuppa12/robisie-app/commit/ec04be00a416cec87699f849921ba8acabca1fd9))
|
|
16
|
+
* **client:** validate portable draft promotion and report failures ([b8d205f](https://github.com/chuppa12/robisie-app/commit/b8d205f26d6b623f7b2d0aff8dee426bf963d03c))
|
|
17
|
+
* **client:** validate portable drafts and surface promotion failures ([11d8e20](https://github.com/chuppa12/robisie-app/commit/11d8e2051a6e23cc3caa4e79cafb43b856f84ed5))
|
|
18
|
+
|
|
3
19
|
## 0.2.0 (2026-11-07)
|
|
4
20
|
|
|
5
21
|
Pierwsze wydanie paczki z samodzielnym silnikiem. / First package release with a standalone engine.
|
package/dist/commands.js
CHANGED
|
@@ -4,6 +4,7 @@ import { AGENT_IDS, AGENT_LABELS, SHELL_EXPORT, agentPaths, agentOnPath, detectA
|
|
|
4
4
|
import { HELPER_SERVERS, KEY_ENV, KEY_PATTERN, PACKAGE_NAME, PACKAGE_VERSION } from "./constants.js";
|
|
5
5
|
import { RobisieError, errorMessage } from "./context.js";
|
|
6
6
|
import { assertCodexEnvironment } from "./codex-env.js";
|
|
7
|
+
import { reportDoctorDisk } from "./disk-guard.js";
|
|
7
8
|
import { applyOp, assertCodexChange, checkRecovery, preserveFileStep, capture, entryPresent, fingerprint, prepareBlock, refusePrivateSymlink, renderBlock, restore, undoEntry } from "./fsops.js";
|
|
8
9
|
import { HELPER_TOOLS, probeHelper } from "./helpers.js";
|
|
9
10
|
import { clientPaths, ensurePrivateDir, readKey, readManifest, writeKey, writeManifest, roleProviders, ROLE_IDS, ROLE_STEP } from "./manifest.js";
|
|
@@ -266,6 +267,10 @@ export async function doctor(ctx) {
|
|
|
266
267
|
};
|
|
267
268
|
ctx.out(`Paczka ${PACKAGE_NAME} ${PACKAGE_VERSION}`);
|
|
268
269
|
const paths = clientPaths(agentPaths(ctx).clientDir);
|
|
270
|
+
// Same 15 HOLD / 18 unblock thresholds as the packaged engine (engine-context disk()).
|
|
271
|
+
const disk = reportDoctorDisk(ctx.out, ctx.cwd);
|
|
272
|
+
if (!disk.ok && disk.nextStep)
|
|
273
|
+
problems.push(recoveryStep(ctx, disk.nextStep));
|
|
269
274
|
// Ledger recovery must remain the next step even when network checks fail.
|
|
270
275
|
let manifest = null;
|
|
271
276
|
await guard(async () => {
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** Package identity and the server contract it speaks. */
|
|
2
2
|
export declare const PACKAGE_NAME = "robisie";
|
|
3
|
-
export declare const PACKAGE_VERSION = "0.2.
|
|
3
|
+
export declare const PACKAGE_VERSION = "0.2.1";
|
|
4
4
|
/**
|
|
5
5
|
* MAJOR of the agent-API contract this package understands.
|
|
6
6
|
* PARITY: src/lib/mcp/contract-version.ts (AGENT_API_CONTRACT_VERSION) on the server.
|
package/dist/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** Package identity and the server contract it speaks. */
|
|
2
2
|
export const PACKAGE_NAME = "robisie";
|
|
3
|
-
export const PACKAGE_VERSION = "0.2.
|
|
3
|
+
export const PACKAGE_VERSION = "0.2.1"; // x-release-please-version
|
|
4
4
|
/**
|
|
5
5
|
* MAJOR of the agent-API contract this package understands.
|
|
6
6
|
* PARITY: src/lib/mcp/contract-version.ts (AGENT_API_CONTRACT_VERSION) on the server.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/** Client engine HOLD floor — keep in sync with the packaged engine context `disk()` thresholds. */
|
|
2
|
+
export declare const CLIENT_DISK_HOLD_GIB = 15;
|
|
3
|
+
/** Hysteresis to clear an active client disk HOLD. */
|
|
4
|
+
export declare const CLIENT_DISK_UNBLOCK_GIB = 18;
|
|
5
|
+
export type ClientDiskAssessment = Readonly<{
|
|
6
|
+
ok: boolean;
|
|
7
|
+
freeGiB: number;
|
|
8
|
+
line: string;
|
|
9
|
+
nextStep?: string;
|
|
10
|
+
}>;
|
|
11
|
+
/** Free GiB at path; NaN when the filesystem cannot be measured. */
|
|
12
|
+
export declare function freeGiBAt(path: string): number;
|
|
13
|
+
/**
|
|
14
|
+
* Operator-facing disk status for doctor and shared copy.
|
|
15
|
+
* HOLD fires below 15 GiB; clearing an active HOLD needs 18 GiB (hysteresis).
|
|
16
|
+
* The 15–18 GiB band is admitted only when no disk HOLD is already active.
|
|
17
|
+
*/
|
|
18
|
+
export declare function assessClientDisk(freeGiB: number): ClientDiskAssessment;
|
|
19
|
+
/** Doctor status lines; caller records nextStep when ok is false. */
|
|
20
|
+
export declare function reportDoctorDisk(out: (line: string) => void, path: string, measure?: (path: string) => number): ClientDiskAssessment;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { statfsSync } from "node:fs";
|
|
2
|
+
/** Client engine HOLD floor — keep in sync with the packaged engine context `disk()` thresholds. */
|
|
3
|
+
export const CLIENT_DISK_HOLD_GIB = 15;
|
|
4
|
+
/** Hysteresis to clear an active client disk HOLD. */
|
|
5
|
+
export const CLIENT_DISK_UNBLOCK_GIB = 18;
|
|
6
|
+
/** Free GiB at path; NaN when the filesystem cannot be measured. */
|
|
7
|
+
export function freeGiBAt(path) {
|
|
8
|
+
try {
|
|
9
|
+
const stat = statfsSync(path);
|
|
10
|
+
return Number(stat.bavail) * Number(stat.bsize) / 1073741824;
|
|
11
|
+
}
|
|
12
|
+
catch {
|
|
13
|
+
return Number.NaN;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
function formatGiB(value) {
|
|
17
|
+
return Number.isFinite(value) ? (Math.round(value * 10) / 10).toFixed(1) : "UNKNOWN";
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Operator-facing disk status for doctor and shared copy.
|
|
21
|
+
* HOLD fires below 15 GiB; clearing an active HOLD needs 18 GiB (hysteresis).
|
|
22
|
+
* The 15–18 GiB band is admitted only when no disk HOLD is already active.
|
|
23
|
+
*/
|
|
24
|
+
export function assessClientDisk(freeGiB) {
|
|
25
|
+
const hold = CLIENT_DISK_HOLD_GIB;
|
|
26
|
+
const unblock = CLIENT_DISK_UNBLOCK_GIB;
|
|
27
|
+
const shown = formatGiB(freeGiB);
|
|
28
|
+
const thresholds = `HOLD poniżej ${hold} GiB; odblokowanie aktywnego HOLD od ${unblock} GiB`;
|
|
29
|
+
if (!Number.isFinite(freeGiB) || freeGiB < 0) {
|
|
30
|
+
return {
|
|
31
|
+
ok: false,
|
|
32
|
+
freeGiB,
|
|
33
|
+
line: `Dysk: nie udało się zmierzyć wolnego miejsca (${thresholds}).`,
|
|
34
|
+
nextStep: `Sprawdź uprawnienia odczytu katalogu instalacji i wolne miejsce na wolumenie. Zwolnij miejsce do co najmniej ${unblock} GiB, potem ponów \`npx robisie doctor\`.`,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
if (freeGiB < hold) {
|
|
38
|
+
return {
|
|
39
|
+
ok: false,
|
|
40
|
+
freeGiB,
|
|
41
|
+
line: `Dysk: ${shown} GiB wolnego — HOLD (poniżej ${hold} GiB). ${thresholds}.`,
|
|
42
|
+
nextStep: `Zwolnij miejsce w katalogu instalacji / na wolumenie do co najmniej ${unblock} GiB (histereza odblokowania; sam próg HOLD to ${hold} GiB), potem ponów \`npx robisie doctor\`.`,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
if (freeGiB < unblock) {
|
|
46
|
+
return {
|
|
47
|
+
ok: true,
|
|
48
|
+
freeGiB,
|
|
49
|
+
line: `Dysk: ${shown} GiB wolnego — powyżej HOLD ${hold} GiB, poniżej histerezy odblokowania ${unblock} GiB (pas ${hold}–${unblock}: nowe wejście OK, aktywny HOLD wymaga ≥${unblock}).`,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
ok: true,
|
|
54
|
+
freeGiB,
|
|
55
|
+
line: `Dysk: ${shown} GiB wolnego (${thresholds}).`,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
/** Doctor status lines; caller records nextStep when ok is false. */
|
|
59
|
+
export function reportDoctorDisk(out, path, measure = freeGiBAt) {
|
|
60
|
+
const assessment = assessClientDisk(measure(path));
|
|
61
|
+
out(`${assessment.ok ? "✓" : "✗"} ${assessment.line}`);
|
|
62
|
+
return assessment;
|
|
63
|
+
}
|
|
@@ -343,12 +343,6 @@
|
|
|
343
343
|
"kind": "import-statement",
|
|
344
344
|
"category": "builtin"
|
|
345
345
|
},
|
|
346
|
-
{
|
|
347
|
-
"module": "maszynista/lib.ts",
|
|
348
|
-
"path": "node:fs",
|
|
349
|
-
"kind": "import-statement",
|
|
350
|
-
"category": "builtin"
|
|
351
|
-
},
|
|
352
346
|
{
|
|
353
347
|
"module": "maszynista/lib.ts",
|
|
354
348
|
"path": "node:crypto",
|
|
@@ -685,6 +679,12 @@
|
|
|
685
679
|
"kind": "import-statement",
|
|
686
680
|
"category": "builtin"
|
|
687
681
|
},
|
|
682
|
+
{
|
|
683
|
+
"module": "packages/client/src/disk-guard.ts",
|
|
684
|
+
"path": "node:fs",
|
|
685
|
+
"kind": "import-statement",
|
|
686
|
+
"category": "builtin"
|
|
687
|
+
},
|
|
688
688
|
{
|
|
689
689
|
"module": "maszynista/engine-context.ts",
|
|
690
690
|
"path": "node:fs",
|
|
@@ -1649,14 +1649,14 @@
|
|
|
1649
1649
|
"staticOperations": {
|
|
1650
1650
|
"beforePreflight": {
|
|
1651
1651
|
"module": "maszynista/tick.ts",
|
|
1652
|
-
"startLine":
|
|
1653
|
-
"endLine":
|
|
1652
|
+
"startLine": 9155,
|
|
1653
|
+
"endLine": 9267,
|
|
1654
1654
|
"text": "export async function main(): Promise<number> {\n const start = standaloneStartCheck({ filename: __filename, env: process.env });\n if (start.standalone && !start.ok) {\n console.error(start.message);\n process.exitCode = 78;\n return 78;\n }\n let installation: EngineContext;\n try { installation = createEngineContext(currentEngine(), {\n loadEnvironment: loadEnvFiles, preflight, baseRef: engineBaseRef, refreshBase: fetchMain,\n disk: defaultDiskPressureDependencies, workerContext: loadNorthStar,\n controlEnv: hostEnv, workerEnv: executionEnv, prepareWorktree: prepareHostWorktree, workerArtifacts: createWorkerTmpdir,\n notify: async (card, reason) => { decisionForReksio(card, reason, \"Rozstrzygnij na karcie\", \"\", \"\"); return { outcome: \"recorded\", ref: DECISIONS_REKSIO }; },\n hostOperations: hostOperationsPhase,\n activation: { confirmLoaded, finishHostActivation, readActivationState, recoverTickTimeout, runEnabledAuto },\n }, git, log); }\n catch (error) {\n if (!engineClient()) throw error;\n console.error(`HOLD kontekst klienta: ${clientTickFailure(error)}`);\n process.exitCode = 78;\n return 78;\n }\n const previousInstallation = tickInstallation;\n const hostErrorText = errorText;\n const client = engineClient();\n const result: { outcome: \"ok\" | \"retry\" | \"stop\"; reason: string; cleanup: boolean } = { outcome: \"ok\", reason: \"\", cleanup: false };\n const stopClient = (reason = clientTickFailure()): void => {\n if (client && result.outcome !== \"stop\") { result.outcome = \"stop\"; result.reason = reason; }\n };\n let code = 2;\n try { code = await q.withPlannerQueries(installation.planner, async () => {\n tickInstallation = installation;\n const errorText = client ? clientTickFailure : hostErrorText;\n const loadEnvFiles = installation.loadEnvironment;\n const preflight = () => {\n const actor = installation.preflight();\n return { uid: actor.kind === \"db\" ? actor.uid : API_ACTOR };\n };\n const { confirmLoaded, finishHostActivation, readActivationState, recoverTickTimeout, runEnabledAuto } = installation.activation;\n const smokeOnly = DRY && process.env.MASZYNISTA_SMOKE === \"1\";\n if (!DRY) {\n const acquire = (): boolean => tryCreateTickLock(LOCK);\n if (!acquire()) {\n const raw = readFileSync(LOCK, \"utf8\"), pid = Number(raw);\n if (!Number.isSafeInteger(pid) || pid <= 0) { console.log(\"tick lock bez poprawnego PID — HOLD\"); return 0; }\n try { process.kill(pid, 0); console.log(`tick już trwa (pid ${pid})`); return 0; }\n catch (error) { if ((error as NodeJS.ErrnoException).code !== \"ESRCH\") throw error; }\n if (readFileSync(LOCK, \"utf8\") === raw) unlinkSync(LOCK);\n if (!acquire()) { console.log(\"tick już trwa\"); return 0; }\n }\n }\n skippedCardEvents.clear();\n let s = parseState(null).state;\n // Internal smoke handoff: the child cannot outlive the parent's reserved budget.\n const smokeLimit = DRY ? Number(process.env.MASZYNISTA_SMOKE_TIMEOUT_MS) : NaN;\n let stateLoaded = false;\n let tickStarted: string | undefined;\n let outcome: \"ok\" | \"failed\" = \"ok\";\n let runtimeFailed = false;\n let observedLoaded = \"UNKNOWN\";\n let tickPhase = \"startup\";\n const deadlineAlarm = armTickDeadline(() => s, Number.isSafeInteger(smokeLimit) && smokeLimit > 0\n ? Math.min(TICK_LIMIT_MS, smokeLimit) : TICK_LIMIT_MS, () => ({ phase: tickPhase, observedLoaded }));\n let hostReady = false;\n let hostBoard: { uid: string; projectId: string } | undefined;\n let activationCards: CardLike[] = [];\n let activationCardsKnown = false;\n let blockedBefore = 0;\n const clientStopped = (): boolean => {\n if (client && (outcome === \"failed\" || (!DRY && s.blocked > blockedBefore))) stopClient();\n if (client && result.outcome === \"stop\") outcome = \"failed\";\n return client && result.outcome === \"stop\";\n };\n let hostPhaseStarted = false;\n const hostPhase = async (): Promise<boolean> => {\n if (smokeOnly || !hostReady || hostPhaseStarted) return false;\n hostPhaseStarted = true;\n tickPhase = \"host\";\n if (hostBoard) {\n const { uid: boardUid, projectId: boardProject } = hostBoard;\n try {\n await runEnabledAuto({ state: s, loadedSha: observedLoaded, repo: REPO, logPath: LOG, tick: s.tick, stateDir: hostStateDir(),\n now: new Date().toISOString(), activation: readActivationState(hostStateDir()), dryRun: DRY }, {\n listCards: async () => scanTasks(boardUid, boardProject, { full: true, statuses: [\"delivered\"],\n detailsKeys: ENABLED_SCAN_DETAILS_KEYS }),\n getTask: id => q.getTask(boardUid, id),\n appendDetail: async (id, patch) => { await appendBoundedDetail(boardUid, id, patch); },\n saveState: writeState,\n alarm: hostActivationAlarm,\n log,\n });\n } catch (error) { runtimeFailed = true; outcome = \"failed\"; log(`FAIL ENABLED auto: ${errorText(error)}`); }\n } else log(\"ENABLED auto: UNKNOWN — brak odczytu projektu; dowód karty czeka na dostęp do tablicy\");\n try {\n const result = await engineRunHostActivation({ repo: REPO, stateDir: hostStateDir(), cards: activationCards, cardsKnown: activationCardsKnown, tick: s.tick, dryRun: DRY }, {\n git, remainingTickMs, alarm: hostActivationAlarm, infrastructureChecks, infrastructurePullRequest, log: line => log(`host-activation: ${line}`),\n });\n log(`host-activation: code=${result.code} target=${result.target ?? \"UNKNOWN\"}${result.detail ? ` reason=${result.detail}` : \"\"}`);\n if (result.code === \"activate\" && result.target) {\n lastTick(s, \"activation\", `aktywacja ${result.target}; ogon odroczony`, outcome === \"ok\");\n return true;\n }\n } catch (error) { runtimeFailed = true; outcome = \"failed\"; log(`FAIL aktywacja: ${errorText(error)}`); }\n return false;\n };\n try {\n observedLoaded = loadedSha = readLoadedSha(REPO);\n s = readState((await engineFjConfig()).enabled);\n stateLoaded = true; blockedBefore = s.blocked;\n s.tick++; tickStarted = new Date().toISOString(); s.lastTickAt = tickStarted;\n log(`tick_started tick=${s.tick} at=${tickStarted} duration=UNKNOWN loaded=${loadedSha}`);\n loadEnvFiles();\n const { uid } = preflight();"
|
|
1655
1655
|
},
|
|
1656
1656
|
"finalization": {
|
|
1657
1657
|
"module": "maszynista/tick.ts",
|
|
1658
|
-
"startLine":
|
|
1659
|
-
"endLine":
|
|
1658
|
+
"startLine": 9556,
|
|
1659
|
+
"endLine": 9608,
|
|
1660
1660
|
"text": " } finally {\n // A persisted terminal FAIL is a card result; every unexpected exception above\n // remains a runtime failure, including DB errors inside card handling.\n if (!DRY && s.blocked > blockedBefore) {\n outcome = \"failed\";\n try { log(`FAIL: licznik blocked wzrósł ${blockedBefore} → ${s.blocked}; outcome=failed`); }\n catch (error) { console.error(`zapis licznika blocked: ${errorText(error)}`); }\n }\n clientStopped();\n // Early board failure still reaches the same host phase, at most once per tick.\n await hostPhase();\n tickPhase = \"finalizing\";\n try { if (!DRY) await finishHostActivation({ stateDir: hostStateDir(), outcome, tick: s.tick, runtimeFailed, observedLoaded }, { alarm: hostActivationAlarm, log }); }\n catch (error) { runtimeFailed = true; outcome = \"failed\"; log(`FAIL breaker aktywacji: ${errorText(error)}`); }\n clientStopped();\n try { if (stateLoaded) writeState(s); }\n catch (error) { runtimeFailed = true; outcome = \"failed\"; if (!client) throw error; stopClient(); result.cleanup = true; }\n finally {\n if (!DRY) {\n try { if (readFileSync(LOCK, \"utf8\") === String(process.pid)) unlinkSync(LOCK); }\n catch (error) { if ((error as NodeJS.ErrnoException).code !== \"ENOENT\") { if (!client) throw error; stopClient(); result.cleanup = true; } }\n }\n const at = new Date().toISOString();\n const duration = tickStarted ? `${(Date.parse(at) - Date.parse(tickStarted)) / 1000}s` : \"UNKNOWN\";\n try {\n const { total, ops } = drainEgressCounters();\n const sorted = Object.entries(ops).sort(([, a], [, b]) => b.bytes - a.bytes);\n const summary = sorted.filter(([op]) => !op.includes(\":\")).slice(0, 12)\n .map(([op, counter]) => `${op}:${counter.calls}:${counter.bytes}`).join(\",\");\n const variants = sorted.filter(([op]) => op.includes(\":\")).slice(0, 6)\n .map(([op, counter]) => `${op}:${counter.calls}:${counter.bytes}`).join(\",\");\n log(`egress tick=${s.tick} total=${total} ops=${summary} variants=${variants}`);\n } catch { /* Optional metrics must never interrupt tick cleanup. */ }\n try { refreshTickReport(observedLoaded); log(`tick_finished tick=${s.tick} at=${at} outcome=${client && result.outcome === \"retry\" ? \"retry\" : outcome} duration=${duration} loaded=${loadedSha}`); }\n finally { clearTimeout(deadlineAlarm); tickDeadline = Number.POSITIVE_INFINITY; }\n }\n }\n }); } catch (error) {\n if (!client) throw error;\n stopClient(); result.cleanup = true;\n } finally {\n tickInstallation = previousInstallation;\n try { await installation.close(); }\n catch (error) {\n if (client) { stopClient(); result.cleanup = true; }\n else safeLog(`Zamknięcie instalacji nieudane: ${String(error)}`);\n }\n }\n if (client && result.outcome !== \"ok\") console.error(`Fabryka ${result.outcome === \"stop\" ? \"zatrzymana\" : \"retry\"}: ${result.reason}${result.cleanup ? \"; finalizacja niepotwierdzona — sprawdź stan i blokadę\" : \"\"}`);\n return client && result.outcome === \"stop\" ? 2 : code;\n}\n\nif (require.main === module && process.argv[2] !== \"--opencode-runner\") {"
|
|
1661
1661
|
},
|
|
1662
1662
|
"refreshTickReport": {
|
|
@@ -1682,6 +1682,6 @@
|
|
|
1682
1682
|
"status": 0,
|
|
1683
1683
|
"signal": null,
|
|
1684
1684
|
"stdout": "v24.3.0\n",
|
|
1685
|
-
"stderr": "(node:
|
|
1685
|
+
"stderr": "(node:13304) ExperimentalWarning: SQLite is an experimental feature and might change at any time\n(Use `node --trace-warnings ...` to show where the warning was created)\n"
|
|
1686
1686
|
}
|
|
1687
1687
|
}
|