@supercorks/krnl 0.1.5 → 0.1.12
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 +36 -4
- package/dist/kernel-companion.mjs +801 -913
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -59,10 +59,16 @@ krnl connect codex
|
|
|
59
59
|
Version **0.1.1 or later** is required to launch with mapping model and reasoning settings.
|
|
60
60
|
Version **0.1.2 or later** also supports linking an existing Codex task.
|
|
61
61
|
Version **0.1.5 or later** adds durable delivery recovery, cancellation support, and task-status freshness when the Kernel server supports it.
|
|
62
|
+
Version **0.1.6 or later** recognizes interrupted turns with a saved completion timestamp as Done
|
|
63
|
+
with “Stopped in Codex.”, including after reconnecting. An interrupted status without that timestamp
|
|
64
|
+
remains uncertain because it can also describe a turn still running in desktop.
|
|
65
|
+
Version **0.1.7 or later** keeps the Kernel card's title synchronized with renames in Codex,
|
|
66
|
+
including completed tasks, when the server supports it. This does not rename the Kernel task.
|
|
67
|
+
Status and explanatory text share one row, for example **Done · Stopped in Codex.**
|
|
62
68
|
Version **0.1.3 or later** supports mapping task name prefixes. For example, a prefix of `👩⚕️`
|
|
63
69
|
creates `👩⚕️ MELLA-284: Investigate an issue`. A blank prefix keeps the normal name. Project
|
|
64
70
|
mapping settings take precedence over organization settings, and changes apply only to new tasks.
|
|
65
|
-
Kernel
|
|
71
|
+
Kernel and this companion use the current protocol together.
|
|
66
72
|
|
|
67
73
|
Repeated connection reuses the machine identity. Review changed hook commands in `/hooks` if Node
|
|
68
74
|
moved. After updating Node, run `krnl connect codex` to refresh the service’s executable path.
|
|
@@ -141,8 +147,25 @@ Existing task tab using its deep link or a title search.
|
|
|
141
147
|
|
|
142
148
|
Draft uses the saved project folder and desktop model/reasoning settings. Work applies the mapping's
|
|
143
149
|
settings and starts the first turn through app-server; the task is visible in desktop but cannot
|
|
144
|
-
accept desktop replies until that turn finishes or is released for input.
|
|
145
|
-
|
|
150
|
+
accept desktop replies until that turn finishes or is released for input. Choose Plan inside Codex
|
|
151
|
+
after opening a Draft; Kernel dispatches only Draft and Work.
|
|
152
|
+
|
|
153
|
+
Both modes use the same concise instructions: gather context from the task before
|
|
154
|
+
starting, and ask the user when something is unclear. Task details appear in a fenced YAML block,
|
|
155
|
+
with null or empty fields omitted and meaningful `false` and `0` values preserved. Draft keeps
|
|
156
|
+
its task title first and its automatic-linking reference in the YAML `href` field.
|
|
157
|
+
The prompt also asks for approval for any proposed Kernel task updates when the work is done.
|
|
158
|
+
|
|
159
|
+
CLI 0.1.12 requires the prompt rendered and frozen by Kernel at submission. It forwards that text
|
|
160
|
+
unchanged and has no local prompt template. Future wording and YAML changes need only a web
|
|
161
|
+
deployment. Work also requires resolved model/reasoning settings; neither is supplied by a legacy
|
|
162
|
+
fallback. Heartbeats and status reports use the current format without feature negotiation.
|
|
163
|
+
|
|
164
|
+
Deploy Kernel and update this companion together. Setup uses `krnl login` and `krnl connect codex`
|
|
165
|
+
with all-saved-project consent; manual pairing and per-project allowlist commands are removed.
|
|
166
|
+
For this one-time cutover, convert settled old launch receipts to current watch records while the
|
|
167
|
+
service is stopped and its local lock is held. Preserve a private backup and all task IDs, status
|
|
168
|
+
sequences and delivery state. Do not interrupt an active first turn to perform the cutover.
|
|
146
169
|
|
|
147
170
|
Interrupted draft dispatch is not repeated automatically. If Kernel cannot confirm opening, check
|
|
148
171
|
Codex before opening another draft. Hooks inspect only the submitted prompt to match a pending
|
|
@@ -163,7 +186,7 @@ Healthy tasks continue independently. Do not delete receipts or blocked records
|
|
|
163
186
|
an uncertain launch. Remote revocation stops dispatch; run `krnl login` and `krnl connect codex`
|
|
164
187
|
to authorize again. A connection replaced by another process requires `krnl connect codex`.
|
|
165
188
|
|
|
166
|
-
Kernel expires machine connectivity after 30 seconds.
|
|
189
|
+
Kernel expires machine connectivity after 30 seconds. It also expires
|
|
167
190
|
each task observation after at most 90 seconds; a heartbeat alone does not make an old task
|
|
168
191
|
status current. Uncertain or expired observations show Disconnected until trustworthy evidence
|
|
169
192
|
returns. Supported Codex metadata cannot reconstruct every missed desktop event, especially a
|
|
@@ -174,6 +197,15 @@ companion claims the launch; afterward, continue in Codex. Search has a separate
|
|
|
174
197
|
a 30-second total deadline, and never applies late results after cancellation. Browser timeouts
|
|
175
198
|
preserve input and cached content so the same request can be reconciled safely.
|
|
176
199
|
|
|
200
|
+
## Shared threads (0.1.8+)
|
|
201
|
+
|
|
202
|
+
One Codex thread can be linked to several Kernel tasks through each task's Existing task tab.
|
|
203
|
+
Every linked task receives activity and waiting status; linking or completing a Codex turn does
|
|
204
|
+
not change the Kernel tasks' lifecycle. Linking the same thread to the same task again is safe.
|
|
205
|
+
Install the current CLI and run `krnl connect codex` with the current Kernel server.
|
|
206
|
+
Hooks update every association and retain an event until all receipt writes succeed, including
|
|
207
|
+
across restarts.
|
|
208
|
+
|
|
177
209
|
## Bundled third-party software
|
|
178
210
|
|
|
179
211
|
This executable includes Zod under the following license:
|