@supercorks/krnl 0.1.7 → 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 +30 -4
- package/dist/kernel-companion.mjs +769 -914
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -68,7 +68,7 @@ Status and explanatory text share one row, for example **Done · Stopped in Code
|
|
|
68
68
|
Version **0.1.3 or later** supports mapping task name prefixes. For example, a prefix of `👩⚕️`
|
|
69
69
|
creates `👩⚕️ MELLA-284: Investigate an issue`. A blank prefix keeps the normal name. Project
|
|
70
70
|
mapping settings take precedence over organization settings, and changes apply only to new tasks.
|
|
71
|
-
Kernel
|
|
71
|
+
Kernel and this companion use the current protocol together.
|
|
72
72
|
|
|
73
73
|
Repeated connection reuses the machine identity. Review changed hook commands in `/hooks` if Node
|
|
74
74
|
moved. After updating Node, run `krnl connect codex` to refresh the service’s executable path.
|
|
@@ -147,8 +147,25 @@ Existing task tab using its deep link or a title search.
|
|
|
147
147
|
|
|
148
148
|
Draft uses the saved project folder and desktop model/reasoning settings. Work applies the mapping's
|
|
149
149
|
settings and starts the first turn through app-server; the task is visible in desktop but cannot
|
|
150
|
-
accept desktop replies until that turn finishes or is released for input.
|
|
151
|
-
|
|
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.
|
|
152
169
|
|
|
153
170
|
Interrupted draft dispatch is not repeated automatically. If Kernel cannot confirm opening, check
|
|
154
171
|
Codex before opening another draft. Hooks inspect only the submitted prompt to match a pending
|
|
@@ -169,7 +186,7 @@ Healthy tasks continue independently. Do not delete receipts or blocked records
|
|
|
169
186
|
an uncertain launch. Remote revocation stops dispatch; run `krnl login` and `krnl connect codex`
|
|
170
187
|
to authorize again. A connection replaced by another process requires `krnl connect codex`.
|
|
171
188
|
|
|
172
|
-
Kernel expires machine connectivity after 30 seconds.
|
|
189
|
+
Kernel expires machine connectivity after 30 seconds. It also expires
|
|
173
190
|
each task observation after at most 90 seconds; a heartbeat alone does not make an old task
|
|
174
191
|
status current. Uncertain or expired observations show Disconnected until trustworthy evidence
|
|
175
192
|
returns. Supported Codex metadata cannot reconstruct every missed desktop event, especially a
|
|
@@ -180,6 +197,15 @@ companion claims the launch; afterward, continue in Codex. Search has a separate
|
|
|
180
197
|
a 30-second total deadline, and never applies late results after cancellation. Browser timeouts
|
|
181
198
|
preserve input and cached content so the same request can be reconciled safely.
|
|
182
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
|
+
|
|
183
209
|
## Bundled third-party software
|
|
184
210
|
|
|
185
211
|
This executable includes Zod under the following license:
|