@jskit-ai/agent-docs 0.1.391 → 0.1.393
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/guide/agent/app-extras/assistant-conversation.md +34 -5
- package/guide/agent/app-extras/assistant.md +19 -0
- package/guide/agent/app-extras/realtime.md +22 -0
- package/package.json +1 -1
- package/patterns/minimal-foundation/example/package.json +1 -1
- package/patterns/shell-foundation/example/package.json +1 -1
- package/reference/autogen/PATTERN_INDEX.md +6 -6
- package/reference/autogen/packages/agent.md +5 -2
- package/reference/autogen/packages/assistant-core.md +4 -1
- package/reference/autogen/packages/assistant-runtime.md +1 -0
- package/skills/jskit/references/pattern-index.md +6 -6
- package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +1 -1
- package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +1 -1
- package/skills/jskit/references/patterns/auth/supabase-auth/example/package.json +1 -1
|
@@ -2580,10 +2580,22 @@ answer itself, is published under the sent-back answer's id, and the runtime
|
|
|
2580
2580
|
replaces that text where it is. The person never sees the sent-back answer
|
|
2581
2581
|
beside its redo, and the saved turn does not keep it.
|
|
2582
2582
|
|
|
2583
|
-
A reply
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2583
|
+
A reply counts its application tool calls one by one, since a model may ask for
|
|
2584
|
+
several in one step (DeepSeek usually asks for two). Its limit is the turn's
|
|
2585
|
+
(`limits.maxToolCalls`, 32 by default, or the tool set's own `maxToolCalls`, such
|
|
2586
|
+
as a surface's `assistantServer.<surface>.maxToolCalls`). Once the calls left
|
|
2587
|
+
cannot cover another step as wide as the widest so far, or none are left, one
|
|
2588
|
+
final step withholds the tools (`tool_choice: "none"`) and tells the model to
|
|
2589
|
+
answer from what it has gathered and say what it could not check, and the turn
|
|
2590
|
+
completes with that answer. A call past the limit never runs: its result tells
|
|
2591
|
+
the model so. Only a final step that asks for tools again fails the turn, with
|
|
2592
|
+
"The assistant reached the application tool-call limit for this turn."
|
|
2593
|
+
(`assistant.conversation.toolCallLimit`). A check's redo has only the calls the
|
|
2594
|
+
turn has left. A reply runs at most `limits.maxSteps` steps, by default one more
|
|
2595
|
+
than its call limit, so the call limit, not the number of steps, ends a long
|
|
2596
|
+
turn. Out of steps (a smaller `limits.maxSteps`), or past the engine's 15-minute
|
|
2597
|
+
reply deadline, it ends with the model's own short account of what it did and
|
|
2598
|
+
what is left, and the completion metadata says why as `unfinished`. Failed model calls are tried
|
|
2587
2599
|
again six times with growing waits (or the provider's retry-after), about two
|
|
2588
2600
|
minutes in all. When nothing has been done yet, the call's error fails the turn as
|
|
2589
2601
|
status information; after some steps, the engine's account ends the reply instead.
|
|
@@ -2748,7 +2760,24 @@ failure. If a result cannot be saved, `retrySave()` persists the retained result
|
|
|
2748
2760
|
without rerunning the action. Cancellation waits for an already invoked action to
|
|
2749
2761
|
settle; actions must honor their signal where cancellation is supported.
|
|
2750
2762
|
|
|
2751
|
-
`limits.maxToolCalls` defaults to 32 per turn, including repeat requests.
|
|
2763
|
+
`limits.maxToolCalls` defaults to 32 per turn, including repeat requests. A tool
|
|
2764
|
+
set may carry its own `limits.maxToolCalls` (a surface's
|
|
2765
|
+
`assistantServer.<surface>.maxToolCalls`), which its conversations' calls are held
|
|
2766
|
+
to instead, and which every engine is given as the tools' `maximumCalls`. Past
|
|
2767
|
+
the limit no call runs. The API engine ends the turn with a step that answers
|
|
2768
|
+
without tools (above). Claude and OpenCode name the model step a call comes from
|
|
2769
|
+
(Claude's message, OpenCode's assistant message): the calls past the limit in the
|
|
2770
|
+
step that went past it are refused without running, each answered with
|
|
2771
|
+
`{ ok: false, error: { code: "assistant_tool_call_limit", status: 429, message } }`,
|
|
2772
|
+
whose message tells the model to answer from what it has gathered and say what it
|
|
2773
|
+
could not check, and a call from a later step fails the turn
|
|
2774
|
+
(`assistant.claude.toolCallLimit` for Claude,
|
|
2775
|
+
`assistant.conversation.toolCallLimit` for OpenCode). Codex names no step for its
|
|
2776
|
+
calls, so each of its calls past the limit is refused the same way, up to
|
|
2777
|
+
`REFUSALS_WITHOUT_STEP` (8, twice one step's usual batch of four calls), and a
|
|
2778
|
+
call after those fails the turn with `assistant.conversation.toolCallLimit`. The
|
|
2779
|
+
budget is the authored request's, so a native goal's later turns have their calls
|
|
2780
|
+
refused too and still complete with the model's replies.
|
|
2752
2781
|
`maxToolArgumentBytes` and `maxToolResultBytes` use the service catalogue's existing
|
|
2753
2782
|
defaults (32 KiB and 48 KiB); a longer result reaches the model as its first part,
|
|
2754
2783
|
which it reads on in ([tool result size](./assistant.md#database-surface-action-tools)).
|
|
@@ -605,6 +605,25 @@ assistantServer: {
|
|
|
605
605
|
}
|
|
606
606
|
```
|
|
607
607
|
|
|
608
|
+
A turn makes at most 32 application tool calls. A surface whose assistant works
|
|
609
|
+
across a large action catalogue, where each action takes a discovery, a contract
|
|
610
|
+
and an execution call, raises its own limit, from 1 to 1000:
|
|
611
|
+
|
|
612
|
+
```js
|
|
613
|
+
assistantServer: {
|
|
614
|
+
admin: { aiIntegrationId: "assistant", maxToolCalls: 96 }
|
|
615
|
+
}
|
|
616
|
+
```
|
|
617
|
+
|
|
618
|
+
A malformed `maxToolArgumentBytes`, `maxToolResultBytes` or `maxToolCalls` stops
|
|
619
|
+
the server from starting, with a message naming the key. Calls are counted one by
|
|
620
|
+
one, since a model may ask for several in one step. Near the limit the API engine
|
|
621
|
+
runs one final step without tools, and the model answers from what it has
|
|
622
|
+
gathered and says what it could not check; no call past the limit runs, and only
|
|
623
|
+
a final step that asks for tools again fails the turn
|
|
624
|
+
([application tools](./assistant-conversation.md#application-tools)). An API
|
|
625
|
+
turn's step limit is the surface's call limit plus one, for that final step.
|
|
626
|
+
|
|
608
627
|
Every engine is given the surface's argument limit, and a larger call ends the
|
|
609
628
|
turn with "The application tool arguments exceed their size limit." before the
|
|
610
629
|
action runs. A larger result, a discovery page or an action contract included,
|
|
@@ -224,6 +224,28 @@ realtime stays disconnected and Socket.IO keeps retrying with its backoff, by
|
|
|
224
224
|
default at most five seconds apart; pages and API calls work as before,
|
|
225
225
|
without live updates.
|
|
226
226
|
|
|
227
|
+
The browser connects with `socket.io-client`, whose Engine.IO client lists `ws`
|
|
228
|
+
for Node.js at `~8.21.0`, below 8.23.0, the first `ws` past GHSA-37g9-w4hg-h9qr.
|
|
229
|
+
A browser build never loads it (the client's `browser` field gives it the
|
|
230
|
+
browser's own WebSocket), so no app runs that `ws`, but `npm audit` reports it
|
|
231
|
+
high in every app with realtime until Engine.IO releases a client that takes
|
|
232
|
+
`ws` 8.23 (its source already does). Until then the app's root `package.json`
|
|
233
|
+
carries the override JSKIT's own does, and `npm install` then keeps one `ws`:
|
|
234
|
+
|
|
235
|
+
```json
|
|
236
|
+
"overrides": {
|
|
237
|
+
"socket.io-client": {
|
|
238
|
+
"engine.io-client": {
|
|
239
|
+
"ws": "^8.23.0"
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
npm applies it in this nested form; keyed by `engine.io-client` alone, npm
|
|
246
|
+
11.17 leaves the lock as it was. Remove it once `socket.io-client`'s Engine.IO
|
|
247
|
+
client takes `ws` 8.23 by itself.
|
|
248
|
+
|
|
227
249
|
## Single process and Redis
|
|
228
250
|
|
|
229
251
|
The in-process adapter is correct for one server process: an event reaches
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@ A concrete Fastify, Vue, and JSKIT application foundation for products that do n
|
|
|
15
15
|
|
|
16
16
|
- Id: `app/minimal-foundation`
|
|
17
17
|
- Keywords: `app`, `fastify`, `foundation`, `minimal`, `server`, `vite`, `vue`
|
|
18
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
18
|
+
- Owner: `@jskit-ai/agent-docs@0.1.393`
|
|
19
19
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/app/minimal-foundation/PATTERN.md)
|
|
20
20
|
- Examples: [example/](../../skills/jskit/references/patterns/app/minimal-foundation/example/)
|
|
21
21
|
- Requires: `@jskit-ai/http-runtime`, `@jskit-ai/kernel`
|
|
@@ -26,7 +26,7 @@ A concrete JSKIT web application foundation with responsive shell navigation, se
|
|
|
26
26
|
|
|
27
27
|
- Id: `app/shell-foundation`
|
|
28
28
|
- Keywords: `app`, `foundation`, `material`, `navigation`, `placements`, `shell`, `vite`, `vue`
|
|
29
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
29
|
+
- Owner: `@jskit-ai/agent-docs@0.1.393`
|
|
30
30
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/app/shell-foundation/PATTERN.md)
|
|
31
31
|
- Examples: [example/](../../skills/jskit/references/patterns/app/shell-foundation/example/)
|
|
32
32
|
- Requires: `@jskit-ai/http-runtime`, `@jskit-ai/kernel`, `@jskit-ai/shell-web`
|
|
@@ -37,7 +37,7 @@ Configure an assistant runtime for one application surface and expose its chat a
|
|
|
37
37
|
|
|
38
38
|
- Id: `assistant/assistant-surface`
|
|
39
39
|
- Keywords: `ai`, `assistant`, `chat`, `config`, `environment`, `page`, `placement`, `settings`, `surface`
|
|
40
|
-
- Owner: `@jskit-ai/assistant-runtime@0.2.
|
|
40
|
+
- Owner: `@jskit-ai/assistant-runtime@0.2.125`
|
|
41
41
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/assistant/assistant-surface/PATTERN.md)
|
|
42
42
|
- Examples: [example/](../../skills/jskit/references/patterns/assistant/assistant-surface/example/)
|
|
43
43
|
- Requires: `@jskit-ai/assistant-runtime`, `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`, `@jskit-ai/shell-web`
|
|
@@ -48,7 +48,7 @@ Keep what an action gives the assistant within its result limit with text over m
|
|
|
48
48
|
|
|
49
49
|
- Id: `assistant/model-sized-results`
|
|
50
50
|
- Keywords: `ai`, `assistant`, `document`, `email`, `limit`, `long text`, `maxToolResultBytes`, `paging`, `read on`, `result`, `size`, `tool`
|
|
51
|
-
- Owner: `@jskit-ai/assistant-core@0.2.
|
|
51
|
+
- Owner: `@jskit-ai/assistant-core@0.2.114`
|
|
52
52
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/assistant/model-sized-results/PATTERN.md)
|
|
53
53
|
- Examples: [example/](../../skills/jskit/references/patterns/assistant/model-sized-results/example/)
|
|
54
54
|
- Requires: `@jskit-ai/assistant-core`
|
|
@@ -103,7 +103,7 @@ Add Supabase authentication through normal npm composition, explicit environment
|
|
|
103
103
|
|
|
104
104
|
- Id: `auth/supabase-auth`
|
|
105
105
|
- Keywords: `auth`, `authentication`, `oauth`, `sessions`, `supabase`
|
|
106
|
-
- Owner: `@jskit-ai/auth-provider-supabase-core@0.2.
|
|
106
|
+
- Owner: `@jskit-ai/auth-provider-supabase-core@0.2.48`
|
|
107
107
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/supabase-auth/PATTERN.md)
|
|
108
108
|
- Examples: [example/](../../skills/jskit/references/patterns/auth/supabase-auth/example/)
|
|
109
109
|
- Requires: `@jskit-ai/auth-provider-supabase-core`
|
|
@@ -378,7 +378,7 @@ Define a server feature through explicit capabilities and first-class actions, a
|
|
|
378
378
|
|
|
379
379
|
- Id: `server/feature-package`
|
|
380
380
|
- Keywords: `actions`, `aggregate`, `feature`, `handle`, `orchestration`, `owns`, `package`, `provider`, `repository`, `routes`, `server`, `table resource`
|
|
381
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
381
|
+
- Owner: `@jskit-ai/agent-docs@0.1.393`
|
|
382
382
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/server/feature-package/PATTERN.md)
|
|
383
383
|
- Examples: [example/](../../skills/jskit/references/patterns/server/feature-package/example/)
|
|
384
384
|
- Requires: `@jskit-ai/kernel`
|
|
@@ -63,6 +63,7 @@ Exports
|
|
|
63
63
|
- `runLoop`
|
|
64
64
|
- `cleanTranscript`
|
|
65
65
|
- `REPLY_DEADLINE_MS`
|
|
66
|
+
- `TOOL_CALL_LIMIT`
|
|
66
67
|
- `estimateTokens`
|
|
67
68
|
- `textPart`
|
|
68
69
|
- `READ_LIMIT`
|
|
@@ -96,10 +97,12 @@ Exports
|
|
|
96
97
|
|
|
97
98
|
### `src/server/loop.js`
|
|
98
99
|
Exports
|
|
99
|
-
- `runLoop({ model, name, instructions, history, tools = {}, summary = "", state = "", maxSteps, onSteps = saveNoSteps, onStep = ignoreStep, onText = null, signal = null, carriesOn = false, quietIfEmpty = false, clean = stripNotes, throwIf = neverThrow, reasoning = null, effort = "", maxOutputTokens = LOOP_OUTPUT_TOKENS, turnLimits = TURN_LIMITS, deadlineMs = REPLY_DEADLINE_MS })`
|
|
100
|
+
- `runLoop({ model, name, instructions, history, tools = {}, summary = "", state = "", maxSteps, maxToolCalls = Infinity, onSteps = saveNoSteps, onStep = ignoreStep, onText = null, signal = null, carriesOn = false, quietIfEmpty = false, clean = stripNotes, throwIf = neverThrow, reasoning = null, effort = "", maxOutputTokens = LOOP_OUTPUT_TOKENS, turnLimits = TURN_LIMITS, deadlineMs = REPLY_DEADLINE_MS })`
|
|
100
101
|
- `cleanTranscript(messages = [])`
|
|
101
|
-
- `REPLY_DEADLINE_MS(Number(process.env.AGENT_REPLY_MINUTES) || 15) * 60 * 1000; /** * The agent loop: call the model, run the tools it asks for, feed the results back, until it * answers without a tool call, runs out of steps or reaches its deadline. Every step reasons; old * tool results give way inside a long turn; each finished step can be saved. A reply always ends * with a message: one that stops early ends with the model's own account of where it got to. * * `history` is the conversation as model messages. The summary and any other system messages in it * go into the system prompt, after the instructions, in that order. The state note, which changes * every turn (it carries the time), is sent after the history as the last message, so the * provider's prompt cache keeps the whole history from one turn to the next. * Returns { text, transcript, unfinished?, account? }; `unfinished` (out of steps or time) means the * job can carry on from here, and `account` is the account the reply ends with, when it ends with * one, so a check that sends a reply back can leave the engine's own words alone. With `onText(text)` the reply streams: each step's words so far, as they * come. `onStep(step)` hears each finished step. Aborting `signal` (the person pressed Stop, or a * tool's outcome is unknown) ends the run at once with the signal's reason, without an account. * When `throwIf(error, steps)` says so, a failed call ends the run with its error instead of an * account (an app that shows errors itself, when nothing was done yet). Each step reasons: at `effort` when it is * given, for every provider (reasoningAt); else with `reasoning` as its provider options when they are given; * else by default (reasoningOn: REASONING.on for the models it names, the standard setting for any other). Each callback option is a * function, or left out for its named default; anything else is refused with a TypeError naming it. */ export async function runLoop({ model, name, instructions, history, tools = {}, summary = "", state = "", maxSteps, onSteps = saveNoSteps, onStep = ignoreStep, onText = null, signal = null, carriesOn = false, quietIfEmpty = false, clean = stripNotes, throwIf = neverThrow, reasoning = null, effort = "", maxOutputTokens = LOOP_OUTPUT_TOKENS, turnLimits = TURN_LIMITS, deadlineMs = REPLY_DEADLINE_MS }) { assertCallbacks("runLoop", { onSteps, onStep, clean, throwIf }); const messages = [...history]; // A transcript cut mid-way must not start with a tool result. while (messages.length && messages[0].role === "tool") messages.shift(); if (summary) messages.unshift({ role: "system", content: summaryNote(summary) }); const system = [instructions, ...messages.filter((message)`
|
|
102
|
+
- `REPLY_DEADLINE_MS(Number(process.env.AGENT_REPLY_MINUTES) || 15) * 60 * 1000; /** The code of the error a run ends with when its final step, without tools, asks for tools again (maxToolCalls). */ export const TOOL_CALL_LIMIT = "agent_tool_call_limit"; // What the model reads as the result of a call past the reply's tool-call limit, which does not run. const CALL_NOT_RUN = "Not run: this reply has made all the tool calls it may make. Answer the person from what you have gathered, and say what you could not check."; // The note the final step ends with, once it withholds the tools. const ANSWER_NOW = "You have made all the tool calls this reply may make, so no tool runs now: answer the person from what you have gathered so far, and say plainly what you could not check."; const CALLS_SPENT = "I reached the most tool calls I make in one go"; /** * The agent loop: call the model, run the tools it asks for, feed the results back, until it * answers without a tool call, runs out of steps or reaches its deadline. Every step reasons; old * tool results give way inside a long turn; each finished step can be saved. A reply always ends * with a message: one that stops early ends with the model's own account of where it got to. * * `history` is the conversation as model messages. The summary and any other system messages in it * go into the system prompt, after the instructions, in that order. The state note, which changes * every turn (it carries the time), is sent after the history as the last message, so the * provider's prompt cache keeps the whole history from one turn to the next. * Returns { text, transcript, unfinished?, account? }; `unfinished` (out of steps or time) means the * job can carry on from here, and `account` is the account the reply ends with, when it ends with * one, so a check that sends a reply back can leave the engine's own words alone. With `onText(text)` the reply streams: each step's words so far, as they * come. `onStep(step)` hears each finished step. Aborting `signal` (the person pressed Stop, or a * tool's outcome is unknown) ends the run at once with the signal's reason, without an account. * When `throwIf(error, steps)` says so, a failed call ends the run with its error instead of an * account (an app that shows errors itself, when nothing was done yet). Each step reasons: at `effort` when it is * given, for every provider (reasoningAt); else with `reasoning` as its provider options when they are given; * else by default (reasoningOn: REASONING.on for the models it names, the standard setting for any other). Each callback option is a * function, or left out for its named default; anything else is refused with a TypeError naming it. * With `maxToolCalls`, the reply runs at most that many tool calls, counted one by one, since a model may ask for several in * one step: once the calls left cannot cover another step as wide as the widest so far, or none are left, one final step * withholds the tools (toolChoice "none") and tells the model to answer from what it has gathered and say what it could not * check. A call past the limit never runs; its result tells the model so. A final step that asks for tools again ends the * run with an error whose code is TOOL_CALL_LIMIT, which `throwIf` decides on like any other (else the reply ends with an account). */ export async function runLoop({ model, name, instructions, history, tools = {}, summary = "", state = "", maxSteps, maxToolCalls = Infinity, onSteps = saveNoSteps, onStep = ignoreStep, onText = null, signal = null, carriesOn = false, quietIfEmpty = false, clean = stripNotes, throwIf = neverThrow, reasoning = null, effort = "", maxOutputTokens = LOOP_OUTPUT_TOKENS, turnLimits = TURN_LIMITS, deadlineMs = REPLY_DEADLINE_MS }) { assertCallbacks("runLoop", { onSteps, onStep, clean, throwIf }); if (maxToolCalls !== Infinity && !(Number.isSafeInteger(maxToolCalls) && maxToolCalls >= 0)) { throw new TypeError("runLoop: maxToolCalls must be a whole number of calls from 0, or left out for no limit."); } const messages = [...history]; // A transcript cut mid-way must not start with a tool result. while (messages.length && messages[0].role === "tool") messages.shift(); if (summary) messages.unshift({ role: "system", content: summaryNote(summary) }); const system = [instructions, ...messages.filter((message)`
|
|
103
|
+
- `TOOL_CALL_LIMIT`
|
|
102
104
|
Local functions
|
|
105
|
+
- `callsSpent()`
|
|
103
106
|
- `saveNoSteps()`
|
|
104
107
|
- `ignoreStep()`
|
|
105
108
|
- `neverThrow()`
|
|
@@ -1820,7 +1820,10 @@ Exports
|
|
|
1820
1820
|
|
|
1821
1821
|
### `src/server/conversation/tools.js`
|
|
1822
1822
|
Exports
|
|
1823
|
+
- `toolCallLimitError()`
|
|
1824
|
+
- `toolCallLimitRefusal(maximumCalls)`
|
|
1823
1825
|
- `createConversationTools({ catalog, toolSet: retainedToolSet, context, prepareContext, signal: turnSignal, previousCalls = [], authorize = authorizeTransientCall, save = saveTransientCalls, emit = announceTransientCall, maximumCalls = 32, discoveryOnly = false, offerUnsaved = false, unsavedRefusal = "", transient = false, propagateErrors = false, contextRefusalsAreResults = false })`
|
|
1826
|
+
- `REFUSALS_WITHOUT_STEP`
|
|
1824
1827
|
Local functions
|
|
1825
1828
|
- `outcomeUnknown(unsaved)`
|
|
1826
1829
|
- `outcomeIsUnknown(result)`
|
|
@@ -2163,7 +2166,7 @@ Exports
|
|
|
2163
2166
|
|
|
2164
2167
|
### `src/server/lib/serviceToolCatalog.js`
|
|
2165
2168
|
Exports
|
|
2166
|
-
- `createServiceToolCatalog(actions, { isActionAvailable, barredActionIds = [], skipActionPrefixes = [], maxDirectTools: rawMaxDirectTools = DEFAULT_MAX_DIRECT_TOOLS, discoveryPageSize: rawDiscoveryPageSize = DEFAULT_DISCOVERY_PAGE_SIZE, maxToolArgumentBytes: rawMaxToolArgumentBytes = DEFAULT_MAX_TOOL_ARGUMENT_BYTES, maxToolResultBytes: rawMaxToolResultBytes = DEFAULT_MAX_TOOL_RESULT_BYTES, includeActionsWithoutOutput = false } = {})`
|
|
2169
|
+
- `createServiceToolCatalog(actions, { isActionAvailable, barredActionIds = [], skipActionPrefixes = [], maxDirectTools: rawMaxDirectTools = DEFAULT_MAX_DIRECT_TOOLS, discoveryPageSize: rawDiscoveryPageSize = DEFAULT_DISCOVERY_PAGE_SIZE, maxToolArgumentBytes: rawMaxToolArgumentBytes = DEFAULT_MAX_TOOL_ARGUMENT_BYTES, maxToolResultBytes: rawMaxToolResultBytes = DEFAULT_MAX_TOOL_RESULT_BYTES, maxToolCalls: rawMaxToolCalls, includeActionsWithoutOutput = false } = {})`
|
|
2167
2170
|
- `DEFAULT_MAX_TOOL_ARGUMENT_BYTES`
|
|
2168
2171
|
- `DEFAULT_MAX_TOOL_RESULT_BYTES`
|
|
2169
2172
|
- `DISCOVERY_TOOL_DESCRIPTORS`
|
|
@@ -466,6 +466,7 @@ Exports
|
|
|
466
466
|
Local functions
|
|
467
467
|
- `normalizeSettingsUpdatePermission(value, targetSurfaceId)`
|
|
468
468
|
- `normalizeMaxToolBytes(entry, key, targetSurfaceId)`
|
|
469
|
+
- `normalizeMaxToolCalls(entry, targetSurfaceId)`
|
|
469
470
|
- `normalizeEffort(value, name)`
|
|
470
471
|
- `readPrefixedEnvValue(env = {}, prefix = "", key = "")`
|
|
471
472
|
|
|
@@ -15,7 +15,7 @@ A concrete Fastify, Vue, and JSKIT application foundation for products that do n
|
|
|
15
15
|
|
|
16
16
|
- Id: `app/minimal-foundation`
|
|
17
17
|
- Keywords: `app`, `fastify`, `foundation`, `minimal`, `server`, `vite`, `vue`
|
|
18
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
18
|
+
- Owner: `@jskit-ai/agent-docs@0.1.393`
|
|
19
19
|
- Read: [PATTERN.md](patterns/app/minimal-foundation/PATTERN.md)
|
|
20
20
|
- Examples: [example/](patterns/app/minimal-foundation/example/)
|
|
21
21
|
- Requires: `@jskit-ai/http-runtime`, `@jskit-ai/kernel`
|
|
@@ -26,7 +26,7 @@ A concrete JSKIT web application foundation with responsive shell navigation, se
|
|
|
26
26
|
|
|
27
27
|
- Id: `app/shell-foundation`
|
|
28
28
|
- Keywords: `app`, `foundation`, `material`, `navigation`, `placements`, `shell`, `vite`, `vue`
|
|
29
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
29
|
+
- Owner: `@jskit-ai/agent-docs@0.1.393`
|
|
30
30
|
- Read: [PATTERN.md](patterns/app/shell-foundation/PATTERN.md)
|
|
31
31
|
- Examples: [example/](patterns/app/shell-foundation/example/)
|
|
32
32
|
- Requires: `@jskit-ai/http-runtime`, `@jskit-ai/kernel`, `@jskit-ai/shell-web`
|
|
@@ -37,7 +37,7 @@ Configure an assistant runtime for one application surface and expose its chat a
|
|
|
37
37
|
|
|
38
38
|
- Id: `assistant/assistant-surface`
|
|
39
39
|
- Keywords: `ai`, `assistant`, `chat`, `config`, `environment`, `page`, `placement`, `settings`, `surface`
|
|
40
|
-
- Owner: `@jskit-ai/assistant-runtime@0.2.
|
|
40
|
+
- Owner: `@jskit-ai/assistant-runtime@0.2.125`
|
|
41
41
|
- Read: [PATTERN.md](patterns/assistant/assistant-surface/PATTERN.md)
|
|
42
42
|
- Examples: [example/](patterns/assistant/assistant-surface/example/)
|
|
43
43
|
- Requires: `@jskit-ai/assistant-runtime`, `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`, `@jskit-ai/shell-web`
|
|
@@ -48,7 +48,7 @@ Keep what an action gives the assistant within its result limit with text over m
|
|
|
48
48
|
|
|
49
49
|
- Id: `assistant/model-sized-results`
|
|
50
50
|
- Keywords: `ai`, `assistant`, `document`, `email`, `limit`, `long text`, `maxToolResultBytes`, `paging`, `read on`, `result`, `size`, `tool`
|
|
51
|
-
- Owner: `@jskit-ai/assistant-core@0.2.
|
|
51
|
+
- Owner: `@jskit-ai/assistant-core@0.2.114`
|
|
52
52
|
- Read: [PATTERN.md](patterns/assistant/model-sized-results/PATTERN.md)
|
|
53
53
|
- Examples: [example/](patterns/assistant/model-sized-results/example/)
|
|
54
54
|
- Requires: `@jskit-ai/assistant-core`
|
|
@@ -103,7 +103,7 @@ Add Supabase authentication through normal npm composition, explicit environment
|
|
|
103
103
|
|
|
104
104
|
- Id: `auth/supabase-auth`
|
|
105
105
|
- Keywords: `auth`, `authentication`, `oauth`, `sessions`, `supabase`
|
|
106
|
-
- Owner: `@jskit-ai/auth-provider-supabase-core@0.2.
|
|
106
|
+
- Owner: `@jskit-ai/auth-provider-supabase-core@0.2.48`
|
|
107
107
|
- Read: [PATTERN.md](patterns/auth/supabase-auth/PATTERN.md)
|
|
108
108
|
- Examples: [example/](patterns/auth/supabase-auth/example/)
|
|
109
109
|
- Requires: `@jskit-ai/auth-provider-supabase-core`
|
|
@@ -378,7 +378,7 @@ Define a server feature through explicit capabilities and first-class actions, a
|
|
|
378
378
|
|
|
379
379
|
- Id: `server/feature-package`
|
|
380
380
|
- Keywords: `actions`, `aggregate`, `feature`, `handle`, `orchestration`, `owns`, `package`, `provider`, `repository`, `routes`, `server`, `table resource`
|
|
381
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
381
|
+
- Owner: `@jskit-ai/agent-docs@0.1.393`
|
|
382
382
|
- Read: [PATTERN.md](patterns/server/feature-package/PATTERN.md)
|
|
383
383
|
- Examples: [example/](patterns/server/feature-package/example/)
|
|
384
384
|
- Requires: `@jskit-ai/kernel`
|