@centralu/host-win32-x64 0.1.0-beta.63 → 0.1.0-beta.65
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/host/app-template/AGENTS.md +13 -10
- package/host/bundle-info.json +2 -2
- package/host/centralu-package.json +5 -5
- package/host/main.mjs +701 -219
- package/package.json +1 -1
|
@@ -51,11 +51,13 @@ screen (`ui/index.html`) and agents call the same tools as functions. Same tools
|
|
|
51
51
|
`process.stdout` yourself. stderr is shown to the person when the app fails.
|
|
52
52
|
10. **Asking the agent**: inside a tool handler, `await centralu.agent('prompt', { schema, tool })`
|
|
53
53
|
asks the agent of the person using Centralu. Each call runs in a new session under this app
|
|
54
|
-
(the person can read it)
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
54
|
+
(the person can read it) and returns the agent's final answer: text, or with `schema` (a JSON
|
|
55
|
+
Schema whose top level is an object) JSON of that shape, checked by Centralu. That session runs
|
|
56
|
+
under `auto`, but never above the lowest approval setting among the sessions calling into the
|
|
57
|
+
app. It runs under `safe` when nothing says who asked: no call is open, the calling session is
|
|
58
|
+
gone, or the chain of calls can no longer be followed. Under `safe` the agent reads without
|
|
59
|
+
asking, but every file write and command waits for the person to approve it in that session, so
|
|
60
|
+
ask the agent for an answer and do the writing in your own tool code. Declare `"uses": { "agent": true }` in the manifest for the person's
|
|
59
61
|
default agent, or a list such as `["codex"]` to pick one with `tool`. The prompt reaches the
|
|
60
62
|
agent marked as written by this app, not by the person, so say plainly what you need. A run
|
|
61
63
|
takes seconds to minutes; the helper keeps the call alive while it waits. An app runs one agent
|
|
@@ -73,11 +75,12 @@ screen (`ui/index.html`) and agents call the same tools as functions. Same tools
|
|
|
73
75
|
(the names shown in the sidebar and their states, never the conversations); `git.status` gives this project's branch and changed
|
|
74
76
|
files (project apps only).
|
|
75
77
|
|
|
76
|
-
All three throw an error that says what Centralu answered.
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
All three throw an error that says what Centralu answered. What the manifest declares in `uses` runs
|
|
79
|
+
with no question: the person trusted the app with it. Only while a session under the `safe` preset has a
|
|
80
|
+
call open into the app does Centralu ask the person, once per capability (an agent tool, another app, a
|
|
81
|
+
host name) — on the session's approval card when an agent's call started it, on this app's screen when
|
|
82
|
+
the screen did — and the call waits while the person decides (up to 5 minutes). A refusal, then or
|
|
83
|
+
remembered from before, comes back as that error: show it plainly instead of retrying.
|
|
81
84
|
|
|
82
85
|
**Background work.** Centralu stops an app with no open screen and no call for 5 minutes. An app
|
|
83
86
|
with work on its own clock (a timer that polls, a queue it drives) declares it in the manifest,
|
package/host/bundle-info.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"commit": "
|
|
2
|
+
"commit": "d0e7c4b",
|
|
3
3
|
"protocolVersion": 1,
|
|
4
4
|
"hostProof": 1,
|
|
5
5
|
"tokenOnStdin": 1,
|
|
6
6
|
"verifiers": 1,
|
|
7
7
|
"keyPairing": 1,
|
|
8
|
-
"builtAt": "2026-11-
|
|
8
|
+
"builtAt": "2026-11-13T12:59:21.269Z",
|
|
9
9
|
"runtime": "system-node",
|
|
10
10
|
"platform": "win32",
|
|
11
11
|
"arch": "x64"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "centralu",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.65",
|
|
4
4
|
"description": "Run, watch and steer several Claude Code and Codex CLI sessions from one window",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ijun17",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"win32"
|
|
39
39
|
],
|
|
40
40
|
"optionalDependencies": {
|
|
41
|
-
"@centralu/darwin-arm64": "0.1.0-beta.
|
|
42
|
-
"@centralu/linux-arm64": "0.1.0-beta.
|
|
43
|
-
"@centralu/linux-x64": "0.1.0-beta.
|
|
44
|
-
"@centralu/win32-x64": "0.1.0-beta.
|
|
41
|
+
"@centralu/darwin-arm64": "0.1.0-beta.65",
|
|
42
|
+
"@centralu/linux-arm64": "0.1.0-beta.65",
|
|
43
|
+
"@centralu/linux-x64": "0.1.0-beta.65",
|
|
44
|
+
"@centralu/win32-x64": "0.1.0-beta.65"
|
|
45
45
|
}
|
|
46
46
|
}
|