@oathe/oathe 0.3.1 → 0.3.2
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/README.md
CHANGED
|
@@ -8,7 +8,7 @@ You're mid-refactor in Claude Code when it hits a usage limit. You open Codex an
|
|
|
8
8
|
|
|
9
9
|
That's the product. Below is exactly how much of it works today, because a reliability project that overstates its own status would be a joke.
|
|
10
10
|
|
|
11
|
-
[](https://github.com/oathe-ai/oathe/actions/workflows/ci.yml) [](LICENSE)
|
|
11
|
+
[](https://github.com/oathe-ai/oathe/actions/workflows/ci.yml) [](LICENSE) [](https://discord.gg/sjrdWEj4W8)
|
|
12
12
|
|
|
13
13
|
## What gets saved
|
|
14
14
|
|
package/bin/oathe.mjs
CHANGED
|
@@ -485,6 +485,10 @@ const handlers = {
|
|
|
485
485
|
idle: sections.mine.filter((r) => !moving(r)).map((r) => glassRow(r, sess)),
|
|
486
486
|
sections,
|
|
487
487
|
workspace: null,
|
|
488
|
+
// The machine's chosen agent rides every frame — the glass reads no config (the
|
|
489
|
+
// welcome ruling generalized: Node owns the words and the facts; the glass plays
|
|
490
|
+
// them). null when onboarding never chose one; the empty-board invite goes generic.
|
|
491
|
+
default_agent: launchables.includes(defaultAgent) ? defaultAgent : null,
|
|
488
492
|
};
|
|
489
493
|
};
|
|
490
494
|
if (!values.serve) {
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oathe",
|
|
3
3
|
"displayName": "Oathe",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.2",
|
|
5
5
|
"description": "Claims are speech acts: your session opens on this folder's board, records progress as statements, and yields what it cannot finish. Horizons move only by deliberate acts \u2014 never by session liveness.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Oathe"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oathe",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Claims are speech acts: your session opens on this folder's board, records progress as statements, and yields what it cannot finish. Horizons move only by deliberate acts \u2014 never by session liveness.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Oathe"
|
package/src/notch.mjs
CHANGED
|
@@ -102,8 +102,14 @@ export function wireNotch({ home, manifest, config, version, exec = defaultExec,
|
|
|
102
102
|
|
|
103
103
|
const app = materializeNotchApp({ home, appBinary: source, version });
|
|
104
104
|
const label = notchLabel(home);
|
|
105
|
+
// The bin FACT rides the install: any launch mode — launchd, a hand-started app, a dev
|
|
106
|
+
// double-click — reads the same answer Node stamped at wire time. The login-shell probe
|
|
107
|
+
// stays a last resort (it never sources .zshrc, so nvm setups don't answer there). ONE
|
|
108
|
+
// nodeBinDir feeds both the stamp and the agent's PATH — they can never disagree.
|
|
109
|
+
const nodeBinDir = path.dirname(process.execPath);
|
|
110
|
+
fs.writeFileSync(path.join(app.dir, 'oathe-bin'), `${path.join(nodeBinDir, 'oathe')}\n`);
|
|
105
111
|
const file = launchAgentPath(home);
|
|
106
|
-
const content = launchAgentPlist(app.binary, { label });
|
|
112
|
+
const content = launchAgentPlist(app.binary, { label, nodeBinDir });
|
|
107
113
|
fs.mkdirSync(path.dirname(file), { recursive: true });
|
|
108
114
|
fs.writeFileSync(file, content);
|
|
109
115
|
|