@xiaozhiclaw/qlogicagent-core 0.6.2 → 0.6.4
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 +17 -2
- package/dist/index.js +9 -9
- package/dist/types/contracts/turn-config.d.ts +4 -0
- package/dist/types/embedded/cloud-agent.d.ts +3 -0
- package/dist/types/embedded/cloud-task.d.ts +7 -0
- package/dist/types/embedded/contracts.d.ts +3 -0
- package/dist/types/embedded/core-tools.d.ts +25 -1
- package/dist/types/embedded/index.d.ts +2 -1
- package/dist/types/embedded/model-operation.d.ts +2 -0
- package/dist/types/runtime/ports/model-transport-contracts.d.ts +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -118,10 +118,16 @@ text or a Host/transport model projection; the full structured receipt remains i
|
|
|
118
118
|
|
|
119
119
|
`qlogic_update_plan` accepts `CorePlanInput`:
|
|
120
120
|
|
|
121
|
-
- `create`: `steps` and `issues`, with stable step/issue IDs
|
|
122
|
-
|
|
121
|
+
- `create`: `steps` and `issues`, with stable step/issue IDs; optional `notes`
|
|
122
|
+
preserve decisions, constraints and blockers with evidence references.
|
|
123
|
+
- `read`: the Host-issued `planId`, including after a worker/process restart;
|
|
124
|
+
optional `stepIds`, `cursor` and `limit` allow scoped, paged retrieval.
|
|
123
125
|
- `update`: `planId`, last `expectedRevision`, and the complete replacement
|
|
124
126
|
`steps` and `issues`. Empty `issues` explicitly clears resolved issues.
|
|
127
|
+
- `patch`: `planId`, last `expectedRevision`, and explicit upsert/remove lists
|
|
128
|
+
for steps, issues and notes. Omitted lists leave existing records unchanged.
|
|
129
|
+
The Host may call the pure `applyCorePlanPatch` helper on its locked snapshot
|
|
130
|
+
before atomically saving the next revision and invocation receipt.
|
|
125
131
|
|
|
126
132
|
Steps contain `description`, `status` (`pending`, `in_progress`, `completed`,
|
|
127
133
|
`blocked`, `cancelled`), optional `dependsOn` step IDs and `evidenceRefs`.
|
|
@@ -134,6 +140,9 @@ an error with the current revision; the Agent reads and reconciles before retryi
|
|
|
134
140
|
The Host must deduplicate writes by the original invocation; Core neither owns
|
|
135
141
|
a plan database nor retries unknown effects. A progress status or evidence
|
|
136
142
|
reference proposed by the model does not prove business completion.
|
|
143
|
+
Plan notes remain Host-owned durable facts; context compression cannot replace
|
|
144
|
+
their storage. Project selected notes and resource references through
|
|
145
|
+
`runtime.prepareContext`, and provide authorized reads of the complete records.
|
|
137
146
|
|
|
138
147
|
`qlogic_request_confirmation` accepts `CoreConfirmationInput`: a Host-issued
|
|
139
148
|
immutable `operationRef`, human-readable `summary`, explicit `targets`
|
|
@@ -283,6 +292,12 @@ same safe checkpoint without new input, resetting no budget, deadline or receipt
|
|
|
283
292
|
Products must atomically reopen their dispatch projection for this exact transition.
|
|
284
293
|
|
|
285
294
|
Original completed-model replay uses the immutable stored messages and digest.
|
|
295
|
+
Provider `length` / `max_tokens` finishes without tool calls persist the partial
|
|
296
|
+
answer and an output-capacity continuation checkpoint, then request the remaining
|
|
297
|
+
work against the original objective. This is a new recorded model request, not a
|
|
298
|
+
retry of unknown inference. `pendingOutputText` survives process restart and joins
|
|
299
|
+
the final answer. Caller-supplied budgets and pause/cancel controls still apply;
|
|
300
|
+
the default has no task-wide round, request-count or duration cap.
|
|
286
301
|
Current product retrieval is refreshed for subsequent new rounds only. A digest
|
|
287
302
|
mismatch is reconciliation, never permission to pay for a replacement inference.
|
|
288
303
|
An explicit amendment consumes the previous final no-tool response once before
|