robisie 0.4.1 → 0.4.3

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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # Historia zmian klienta / Client changelog
2
2
 
3
+ ## [0.4.3](https://github.com/chuppa12/robisie-app/compare/client-v0.4.2...client-v0.4.3) (2026-11-10)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **client:** tożsamość loaded silnika z paczki (stempel budowy build-id.json) ([ddf0599](https://github.com/chuppa12/robisie-app/commit/ddf05995fb4ac2b7807e99a5d3770279499bda77))
9
+
10
+ ## [0.4.2](https://github.com/chuppa12/robisie-app/compare/client-v0.4.1...client-v0.4.2) (2026-11-10)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **client:** TMPPREFIX=$TMPDIR/zsh w środowisku Workera (heredoc zsh w piaskownicy bez /tmp) ([0a4491b](https://github.com/chuppa12/robisie-app/commit/0a4491b180e0ae5447272f038ea4501339b38f6c))
16
+ * **client:** TMPPREFIX=$TMPDIR/zsh w środowisku Workera (heredoc zsh w piaskownicy bez /tmp) ([9d94533](https://github.com/chuppa12/robisie-app/commit/9d9453327dfd8acf7ac2bebfbf0965337d271c78))
17
+
3
18
  ## [0.4.1](https://github.com/chuppa12/robisie-app/compare/client-v0.4.0...client-v0.4.1) (2026-11-10)
4
19
 
5
20
 
@@ -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.4.1";
3
+ export declare const PACKAGE_VERSION = "0.4.3";
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.4.1"; // x-release-please-version
3
+ export const PACKAGE_VERSION = "0.4.3"; // 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 @@
1
+ {"schema":1,"sha":"b9abc3267a012d6111584ae52f44f756edb7ee67","dirty":false}
@@ -1688,6 +1688,6 @@
1688
1688
  "status": 0,
1689
1689
  "signal": null,
1690
1690
  "stdout": "v24.3.0\n",
1691
- "stderr": "(node:14073) 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"
1691
+ "stderr": "(node:14682) 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"
1692
1692
  }
1693
1693
  }
@@ -37628,7 +37628,7 @@ var init_constants = __esm({
37628
37628
  "packages/client/src/constants.ts"() {
37629
37629
  "use strict";
37630
37630
  PACKAGE_NAME = "robisie";
37631
- PACKAGE_VERSION = "0.4.1";
37631
+ PACKAGE_VERSION = "0.4.3";
37632
37632
  SUPPORTED_CONTRACT_MAJOR = 1;
37633
37633
  DEFAULT_ORIGIN = "https://robisie.app";
37634
37634
  MCP_SERVER_NAME = "robisie";
@@ -47689,7 +47689,7 @@ function workerTmpdirForBrief(env) {
47689
47689
  return tmp;
47690
47690
  }
47691
47691
  function workerEnv(base2, tmp = makeWorkerTmpdir()) {
47692
- const env = { ...base2, TMPDIR: tmp, TMP: tmp, TEMP: tmp };
47692
+ const env = { ...base2, TMPDIR: tmp, TMP: tmp, TEMP: tmp, TMPPREFIX: import_node_path4.default.join(tmp, "zsh") };
47693
47693
  workerTmpdirForBrief(env);
47694
47694
  return env;
47695
47695
  }
@@ -53396,6 +53396,10 @@ function finishTickState(state, outcome, tick, at3, facts = {}) {
53396
53396
  }
53397
53397
  function readLoadedSha(repo, git2 = quietGit) {
53398
53398
  try {
53399
+ if (isStandaloneFile(__filename)) {
53400
+ const id2 = record6(JSON.parse((0, import_node_fs11.readFileSync)(import_node_path13.default.join(repo, "engine", "build-id.json"), "utf8")));
53401
+ return id2.schema === 1 && typeof id2.sha === "string" && /^[a-f0-9]{40}$/.test(id2.sha) && typeof id2.dirty === "boolean" ? `${id2.sha}${id2.dirty ? "+dirty" : ""}` : "UNKNOWN";
53402
+ }
53399
53403
  const head = git2(["rev-parse", "HEAD"], repo);
53400
53404
  const dirty = git2(["status", "--porcelain", "-z", "--", ":(glob)maszynista/*.ts", "services", "src/lib"], repo);
53401
53405
  return `${head}${codeDirtyPaths(dirty).length ? "+dirty" : ""}`;
@@ -54146,6 +54150,7 @@ var init_host_activation = __esm({
54146
54150
  import_node_path13 = __toESM(require("node:path"));
54147
54151
  init_lib();
54148
54152
  init_service_reload();
54153
+ init_engine_standalone();
54149
54154
  STATE_FILE = "host-activation.json";
54150
54155
  MODE_FILE = "HOST-ACTIVATION.mode";
54151
54156
  BREAKER_WINDOW_TICKS = 3;
package/dist/roles.d.ts CHANGED
@@ -17,7 +17,7 @@ export interface Role {
17
17
  export declare function rolesDir(): string;
18
18
  export declare function parseRole(file: Role["file"], text: string): Role;
19
19
  export declare function loadRoles(dir?: string): Role[];
20
- export declare const MANAGED_LINE = "<!-- robisie:managed 0.4.1 \u2014 plik zarz\u0105dzany przez `npx robisie`; `npx robisie uninstall` go usunie -->";
20
+ export declare const MANAGED_LINE = "<!-- robisie:managed 0.4.3 \u2014 plik zarz\u0105dzany przez `npx robisie`; `npx robisie uninstall` go usunie -->";
21
21
  export type AgentFlavor = "claude" | "codex" | "opencode";
22
22
  /** How the operator starts the Builder for one card in its own session (the card id is not a secret). */
23
23
  export declare function builderStartCommand(flavor: AgentFlavor, codexRolePath?: string): string;
@@ -28,7 +28,7 @@ export function workerTmpdirForBrief(env) {
28
28
  }
29
29
  /** Pass an already allocated directory only when retaining a task's existing ownership. */
30
30
  export function workerEnv(base, tmp = makeWorkerTmpdir()) {
31
- const env = { ...base, TMPDIR: tmp, TMP: tmp, TEMP: tmp };
31
+ const env = { ...base, TMPDIR: tmp, TMP: tmp, TEMP: tmp, TMPPREFIX: path.join(tmp, "zsh") };
32
32
  workerTmpdirForBrief(env);
33
33
  return env;
34
34
  }
package/docs/README.en.md CHANGED
@@ -1,4 +1,4 @@
1
- # robisie — from account to accepted card (package 0.4.1) <!-- x-release-please-version -->
1
+ # robisie — from account to accepted card (package 0.4.3) <!-- x-release-please-version -->
2
2
 
3
3
  In the project directory with its engine configuration, run `npx robisie init`, then `npx robisie doctor`: init prepares the project goal and tester protection list, and doctor checks both inputs.
4
4
 
package/docs/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # robisie — od konta do odebranej karty (paczka 0.4.1) <!-- x-release-please-version -->
1
+ # robisie — od konta do odebranej karty (paczka 0.4.3) <!-- x-release-please-version -->
2
2
 
3
3
  W katalogu projektu z konfiguracją silnika uruchom `npx robisie init`, potem `npx robisie doctor`: init przygotuje cel projektu i listę ochrony testera, a doctor sprawdzi oba wejścia.
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "robisie",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "Instalator klienta robisie: łączy agenta (Claude Code, Codex CLI, OpenCode) z tablicą robisie i instaluje role klienta.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",