@nyte-ai/protocol 0.0.24 → 0.0.25-nightly.20261025.2

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.
@@ -55,6 +55,11 @@ SOFTWARE.
55
55
  `@earendil-works/pi-codemode` 1.0.0 supply the MCP client and QuickJS
56
56
  executor. Tool discovery and code-mode integration are adapted from commit
57
57
  `86dfceec402ad77e563bf4feab5f26c42d5f5db6`.
58
+ - BM25 tool search (`tool_search`, `searchTools()`), tool namespaces with
59
+ `describeNamespace()`, the budgeted codemode listing and the one-line MCP
60
+ server summary (`packages/plugin/src/tool-search.ts`,
61
+ `packages/plugin/src/codemode.ts`, `packages/core/src/builtins/mcp.ts`) are
62
+ ported from commit `d5b3de22d0e24a3e9c38a9410d3329b099717283`.
58
63
  - Transcript reconciliation, checkpoint instruction snapshots, provider system
59
64
  updates, and cache warming are ported from the 1.0.0 release commit
60
65
  `a13d35a742c6ef8462812a28fbe1d8c8b7431c32`.
@@ -312,11 +317,14 @@ Copyright 2025 OpenAI
312
317
  front of the queue (`packages/tui/src/model/interactions.ts`) is its
313
318
  `onEmptySubmit`. The rename
314
319
  plugin's context construction, prompt, model fallback, and output cleanup
315
- (`packages/plugin/src/rename.ts`) port OpenCode v2. The web-search
316
- plugin set (`packages/plugin/src/web-search.ts`) ports its Exa, Firecrawl,
317
- Parallel, and Tavily adapters, its stateless MCP `tools/call` transport and
318
- response bounds, its result and error vocabulary, and its arrangement of one
319
- plugin per provider from OpenCode v2.
320
+ (`packages/plugin/src/rename.ts`) port OpenCode v2. The web plugin
321
+ (`packages/plugin/src/web/`) ports OpenCode v2's web search and fetch tools:
322
+ the search provider registry any plugin can add to (`searchProviders` in
323
+ `packages/core/src/contract/plugin.ts`), its Exa, Firecrawl, Parallel, and
324
+ Tavily adapters, their stateless MCP `tools/call` transport and response
325
+ bounds, the result and error vocabulary, `web_fetch`'s Accept headers,
326
+ Cloudflare-challenge retry and size limits, and the streaming HTML-to-Markdown
327
+ and HTML-to-text converters (`packages/plugin/src/web/html-markdown.ts`).
320
328
  - Core's ripgrep resolver and search adapter (`packages/core/src/ripgrep.ts`,
321
329
  `packages/core/src/ripgrep/binary.ts`) and filename search
322
330
  (`packages/core/src/file-search.ts`) adapt OpenCode v2's core implementation.
@@ -28,11 +28,13 @@ function applyViewFrame2(view, frame) {
28
28
  seq: frame.seq,
29
29
  activation: frame.activation ?? view.activation,
30
30
  messages: frame.appends === undefined ? messages : applyAppends(messages, frame.appends),
31
+ queue: applySplice(view.queue, frame.queue),
31
32
  leadingPrompt: frame.leadingPrompt === undefined ? view.leadingPrompt : frame.leadingPrompt,
32
33
  parts: applySplice(view.parts, frame.parts),
33
34
  turns: applySplice(view.turns, frame.turns),
34
35
  usage: frame.usage ?? view.usage,
35
36
  execution: frame.execution ?? view.execution,
37
+ reportsHeld: frame.reportsHeld ?? view.reportsHeld,
36
38
  background: applySplice(view.background, frame.background),
37
39
  configuration: frame.configuration ?? view.configuration,
38
40
  context: frame.context ?? view.context,
@@ -83,12 +85,14 @@ function viewDelta(previous, next) {
83
85
  revision: previous.revision === next.revision ? undefined : next.revision,
84
86
  activation: previous.activation === next.activation ? undefined : next.activation,
85
87
  messages,
88
+ queue: splice(previous.queue, next.queue),
86
89
  appends: appends.length === 0 ? undefined : appends,
87
90
  leadingPrompt: previous.leadingPrompt === next.leadingPrompt ? undefined : next.leadingPrompt,
88
91
  parts: splice(previous.parts, next.parts),
89
92
  turns: splice(previous.turns, next.turns),
90
93
  usage: previous.usage === next.usage ? undefined : next.usage,
91
94
  execution: previous.execution === next.execution ? undefined : next.execution,
95
+ reportsHeld: previous.reportsHeld === next.reportsHeld ? undefined : next.reportsHeld,
92
96
  background: splice(previous.background, next.background),
93
97
  configuration: previous.configuration === next.configuration ? undefined : next.configuration,
94
98
  context: previous.context === next.context ? undefined : next.context,
package/dist/src/index.js CHANGED
@@ -55,7 +55,7 @@ import {
55
55
  applyViewFrame2,
56
56
  sessionsFrames2,
57
57
  sessionLists2
58
- } from "../chunks/client-st5jk59p.js";
58
+ } from "../chunks/client-af7fw1eg.js";
59
59
  import {
60
60
  operationsDigest2
61
61
  } from "../chunks/client-hrkzqw6w.js";
@@ -3,7 +3,7 @@ import {
3
3
  applyViewFrame2,
4
4
  sessionsFrames2,
5
5
  sessionLists2
6
- } from "../chunks/client-st5jk59p.js";
6
+ } from "../chunks/client-af7fw1eg.js";
7
7
  import"../chunks/client-xscg1xbf.js";
8
8
  export {
9
9
  applyViewFrame2 as applyViewFrame,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nyte-ai/protocol",
3
- "version": "0.0.24",
3
+ "version": "0.0.25-nightly.20261025.2",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -25,14 +25,13 @@
25
25
  "provenance": true
26
26
  },
27
27
  "dependencies": {
28
- "@nyte-ai/core": "0.0.24",
29
- "@nyte-ai/schema": "0.0.24",
28
+ "@nyte-ai/core": "0.0.25-nightly.20261025.2",
29
+ "@nyte-ai/schema": "0.0.25-nightly.20261025.2",
30
30
  "fflate": "^0.8.3",
31
31
  "typebox": "^1.4.2"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/node": "^26.6.5",
35
- "typescript": "6.0.3",
36
35
  "vitest": "^5.0.5"
37
36
  },
38
37
  "engines": {
@@ -40,7 +39,7 @@
40
39
  },
41
40
  "scripts": {
42
41
  "clean": "rm -rf node_modules .turbo",
43
- "typecheck": "tsrs --noEmit",
42
+ "typecheck": "tsc --noEmit",
44
43
  "test": "vitest --run",
45
44
  "build:package": "bun ../../scripts/sdk-packages.mjs build protocol"
46
45
  }