copilotz 1.0.0-rc.39 → 1.0.0-rc.40
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/CHANGELOG.md +8 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/plugins/compute/computers/program/version.d.ts +1 -1
- package/plugins/compute/computers/program/version.js +1 -1
- package/plugins/compute/computers/resources/downloads.js +1 -1
- package/plugins/interfaces/mcp/actions/call.js +4 -1
- package/plugins/interfaces/mcp/shared/settings.d.ts +6 -0
- package/plugins/interfaces/mcp/shared/settings.js +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## 1.0.0-rc.40 — 2026-11-11
|
|
2
|
+
|
|
3
|
+
- **MCP checks can return fresh results while declaring their state changes accurately.** Set
|
|
4
|
+
`replay: false` on a model tool to skip reuse of its completed answer for identical input, such as
|
|
5
|
+
a payment check that reconciles the booking. Interrupted calls still recover with the same call
|
|
6
|
+
ID; existing tools keep their replay behavior. Read-only tools and widget-only Actions already run
|
|
7
|
+
without completed-answer replay.
|
|
8
|
+
|
|
1
9
|
## 1.0.0-rc.39 — 2026-11-10
|
|
2
10
|
|
|
3
11
|
- **Agents look in their memory before saying they don't have something, and find more when they
|
package/README.md
CHANGED
|
@@ -162,7 +162,7 @@ OPENAI_API_KEY=sk-… node salon.ts # or bun salon.ts, or deno run -A salon.t
|
|
|
162
162
|
```
|
|
163
163
|
|
|
164
164
|
On Deno, map the name `copilotz` in `deno.json`
|
|
165
|
-
(`"copilotz": "jsr:@copilotz/copilotz@^1.0.0-rc.
|
|
165
|
+
(`"copilotz": "jsr:@copilotz/copilotz@^1.0.0-rc.40"`) so the imports read the same everywhere.
|
|
166
166
|
Copilotz runs on Node, Deno and Bun, and it's built on web standards for Cloudflare Workers and the
|
|
167
167
|
browser.
|
|
168
168
|
|
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** The computer program's version, as `computer.info` and `--version` say it, and its builds are named. */
|
|
2
|
-
export declare const VERSION = "1.0.0-rc.
|
|
2
|
+
export declare const VERSION = "1.0.0-rc.40";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** The computer program's version, as `computer.info` and `--version` say it, and its builds are named. */
|
|
2
|
-
export const VERSION = "1.0.0-rc.
|
|
2
|
+
export const VERSION = "1.0.0-rc.40";
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* ```ts
|
|
16
16
|
* plugins: [...plugins, await computerDownloads()]
|
|
17
|
-
* plugins: [...plugins, await computerDownloads({ dir: "dist/computer/1.0.0-rc.
|
|
17
|
+
* plugins: [...plugins, await computerDownloads({ dir: "dist/computer/1.0.0-rc.40" })]
|
|
18
18
|
* plugins: [...plugins, await computerDownloads({ url: "https://downloads.example.com/computer/" })]
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
@@ -184,7 +184,10 @@ export const callAction = defineAction({
|
|
|
184
184
|
}
|
|
185
185
|
// Done lately: answered with what it said. Begun, never done (stopped, an owner restarted):
|
|
186
186
|
// run again as the same step, the same callId, told it's a retry.
|
|
187
|
-
const answered =
|
|
187
|
+
const answered = line.tools[input.tool].replay !== false && receipt?.done &&
|
|
188
|
+
now - receipt.at < RESEND_MS
|
|
189
|
+
? receipt
|
|
190
|
+
: undefined;
|
|
188
191
|
const cut = receipt && !receipt.done && now - receipt.at < RERUN_MS ? receipt : undefined;
|
|
189
192
|
const step = cut?.step ?? `${input.call}@${now.toString(36)}`;
|
|
190
193
|
// Taken: counted, and (a tool that changes things) noted before it runs, as a new
|
|
@@ -22,6 +22,12 @@ export type McpTool = {
|
|
|
22
22
|
title?: string;
|
|
23
23
|
/** Its hints (read-only, destructive…), over the tool's own `annotations`. */
|
|
24
24
|
annotations?: ToolAnnotations;
|
|
25
|
+
/**
|
|
26
|
+
* Reuse a completed model tool call's answer for identical input (true by default).
|
|
27
|
+
* Set false for checks that update state and must run fresh. Interrupted calls still retry
|
|
28
|
+
* as themselves. Read-only tools and widget-only Actions do not reuse completed answers.
|
|
29
|
+
*/
|
|
30
|
+
replay?: boolean;
|
|
25
31
|
/** What ChatGPT shows while it runs, and once it's done (64 characters at most). */
|
|
26
32
|
invoking?: string;
|
|
27
33
|
invoked?: string;
|
|
@@ -147,6 +147,9 @@ export function problemOf(name, line, resources, actions = [], views = []) {
|
|
|
147
147
|
return `tools.${tool}.${field} is text of ${STATUS} characters at most`;
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
+
if (how.replay !== undefined && typeof how.replay !== "boolean") {
|
|
151
|
+
return `tools.${tool}.replay is true or false`;
|
|
152
|
+
}
|
|
150
153
|
for (const [hint, value] of Object.entries({ ...own?.annotations, ...how.annotations })) {
|
|
151
154
|
if (!["readOnly", "destructive", "idempotent", "openWorld"].includes(hint)) {
|
|
152
155
|
return `"${tool}": ${hint} isn't an annotation (readOnly, destructive, idempotent, openWorld)`;
|