shadok-ai 0.17.62 → 0.17.63

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/public/index.html +10 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shadok-ai",
3
- "version": "0.17.62",
3
+ "version": "0.17.63",
4
4
  "main": "dist/session.js",
5
5
  "scripts": {
6
6
  "test": "node --import tsx --test --test-timeout=120000 test/*.ts context/*/test/*.test.mjs",
package/public/index.html CHANGED
@@ -14936,7 +14936,16 @@
14936
14936
  t.nameEl.textContent = "tweak";
14937
14937
  t.profile = "Shadok-Tweak";
14938
14938
  markTweakTab(t);
14939
- launchTab(t, { cwd: data.cwd, worktree: true, profile: "Shadok-Tweak" });
14939
+ // The tweak agent must run as the COMMONS user: `/tweak/prepare` put the
14940
+ // self-clone in that user's home and gave it to them, and its worktree is
14941
+ // created by them. With no `group` a multi-tenant server files the agent in
14942
+ // the caller's Personal instead (see `commonsOnServer`), whose OS user can
14943
+ // neither be written to by the clone's owner nor reach the clone — the
14944
+ // worktree then died on "could not create leading directories … Permission
14945
+ // denied". Mono-tenant has no commons row: the message is unchanged there.
14946
+ const tweakStart = { cwd: data.cwd, worktree: true, profile: "Shadok-Tweak" };
14947
+ if (commonsOnServer) tweakStart.group = COMMONS_GROUP_ID;
14948
+ launchTab(t, tweakStart);
14940
14949
  });
14941
14950
  // ── Create-group form ─────────────────────────────────────────
14942
14951
  // "Public" is nature "public"; "Private" is the server's "restricted".