@jskit-ai/agent-docs 0.1.302 → 0.1.304
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.md +24 -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 +4 -4
- package/reference/autogen/packages/assistant-core.md +7 -2
- package/reference/autogen/packages/assistant-runtime.md +5 -0
- package/skills/jskit/references/pattern-index.md +4 -4
- 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
|
@@ -492,6 +492,30 @@ The assistant validates the transformed result against
|
|
|
492
492
|
JSON:API CRUD actions supply these assistant contracts and transformations
|
|
493
493
|
automatically; their native action and HTTP result shapes do not change.
|
|
494
494
|
|
|
495
|
+
A tool call's arguments may be at most 32 KiB, and its result at most 48 KiB.
|
|
496
|
+
A surface whose assistant writes a larger document in one call, or reads one
|
|
497
|
+
back, raises its own limits, up to 1 MiB each:
|
|
498
|
+
|
|
499
|
+
```js
|
|
500
|
+
assistantServer: {
|
|
501
|
+
planner: { aiIntegrationId: "assistant", maxToolArgumentBytes: 128 * 1024, maxToolResultBytes: 128 * 1024 }
|
|
502
|
+
}
|
|
503
|
+
```
|
|
504
|
+
|
|
505
|
+
Every engine is given the surface's argument limit, and a larger call ends the
|
|
506
|
+
turn with "The application tool arguments exceed their size limit." before the
|
|
507
|
+
action runs. A larger result is not handed to the model: the action has run, and
|
|
508
|
+
the model reads the error `assistant_tool_result_too_large` (status 413) in its
|
|
509
|
+
place and carries on. The Claude engine starts Claude Code with the surface's
|
|
510
|
+
result limit, so a result within it reaches the model whole, up to Claude Code's
|
|
511
|
+
own ceiling of 500,000 characters; past that, Claude Code saves the result to a
|
|
512
|
+
file and shows the model only its start. A malformed value stops the server from
|
|
513
|
+
starting. On
|
|
514
|
+
MySQL, apply the package's migrations as usual: one lets a saved call's
|
|
515
|
+
arguments and result pass 64 KiB. The model must still write the call in one
|
|
516
|
+
step: the API engine asks for at most 32,000 output tokens a step, and a model's
|
|
517
|
+
own output limit, or its reasoning, can leave less.
|
|
518
|
+
|
|
495
519
|
### Framework account and workspace actions
|
|
496
520
|
|
|
497
521
|
Account and workspace action owners supply assistant-specific descriptions,
|
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.304`
|
|
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.304`
|
|
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.48`
|
|
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`
|
|
@@ -356,7 +356,7 @@ Define a server feature through explicit capabilities and first-class actions, a
|
|
|
356
356
|
|
|
357
357
|
- Id: `server/feature-package`
|
|
358
358
|
- Keywords: `actions`, `aggregate`, `feature`, `handle`, `orchestration`, `owns`, `package`, `provider`, `repository`, `routes`, `server`, `table resource`
|
|
359
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
359
|
+
- Owner: `@jskit-ai/agent-docs@0.1.304`
|
|
360
360
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/server/feature-package/PATTERN.md)
|
|
361
361
|
- Examples: [example/](../../skills/jskit/references/patterns/server/feature-package/example/)
|
|
362
362
|
- Requires: `@jskit-ai/kernel`
|
|
@@ -385,6 +385,7 @@ Exports
|
|
|
385
385
|
Local functions
|
|
386
386
|
- `claudeProjectDirectoryName(canonical)`
|
|
387
387
|
- `claudeUserText(content)`
|
|
388
|
+
- `claudeAuthoredMessage(frame)`
|
|
388
389
|
- `retainedClaudeFrame(frame)`
|
|
389
390
|
- `claudeHistoryFrames(file)`
|
|
390
391
|
- `completeHistoryOffset(handle, start, size)`
|
|
@@ -421,7 +422,7 @@ Exports
|
|
|
421
422
|
- `claudePlanUsage(value)`
|
|
422
423
|
- `claudeCatalogueModels(initialization)`
|
|
423
424
|
- `createClaudeAccountQueries({ createProcess, accountIdentity, configRoot, processes = noOwnedProcesses, isClosing = neverClosing })`
|
|
424
|
-
- `createClaudeCodeProcess({ command = "claude", execution = createLocalConversationExecution(), env, workdir, onEvent, onControlRequest, onFailure = ignoreProcessFailure, onStarted = ignoreProcessStart, executionLimits, signal, commandWrapper, initializationTimeoutMs = 30_000, onInitializationProgress, ...options })`
|
|
425
|
+
- `createClaudeCodeProcess({ command = "claude", execution = createLocalConversationExecution(), env, workdir, onEvent, onControlRequest, onFailure = ignoreProcessFailure, onStarted = ignoreProcessStart, executionLimits, signal, commandWrapper, initializationTimeoutMs = 30_000, onInitializationProgress, maximumToolResultBytes, ...options })`
|
|
425
426
|
- `type ClaudeCodeProcess`
|
|
426
427
|
Local functions
|
|
427
428
|
- `ignoreProcessStart()`
|
|
@@ -453,7 +454,8 @@ Exports
|
|
|
453
454
|
|
|
454
455
|
### `src/server/conversation/claudeTools.js`
|
|
455
456
|
Exports
|
|
456
|
-
- `
|
|
457
|
+
- `claudeToolResultAllowance(maximumResultBytes)`
|
|
458
|
+
- `claudeApplicationToolResponse(request, { schemas, maximumResultBytes, turn, signal, assertCurrent = acceptNativeCall, onExecutionFailure = ignoreExecutionFailure })`
|
|
457
459
|
- `CLAUDE_APPLICATION_TOOL_SERVER`
|
|
458
460
|
Local functions
|
|
459
461
|
- `acceptNativeCall()`
|
|
@@ -2029,6 +2031,8 @@ Exports
|
|
|
2029
2031
|
### `src/server/lib/serviceToolCatalog.js`
|
|
2030
2032
|
Exports
|
|
2031
2033
|
- `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 } = {})`
|
|
2034
|
+
- `DEFAULT_MAX_TOOL_ARGUMENT_BYTES`
|
|
2035
|
+
- `DEFAULT_MAX_TOOL_RESULT_BYTES`
|
|
2032
2036
|
- `DISCOVERY_TOOL_DESCRIPTORS`
|
|
2033
2037
|
Local functions
|
|
2034
2038
|
- `parseToolPayload(argumentsText)`
|
|
@@ -2404,6 +2408,7 @@ Exports
|
|
|
2404
2408
|
- None
|
|
2405
2409
|
Local functions
|
|
2406
2410
|
- `finishUploads()`
|
|
2411
|
+
- `worked()`
|
|
2407
2412
|
|
|
2408
2413
|
### `fixtures/responsive-assistant/DeliveryFixture.vue`
|
|
2409
2414
|
Exports
|
|
@@ -427,6 +427,7 @@ Exports
|
|
|
427
427
|
- `resolveAssistantAiConfig({ appConfig = {}, env = {} } = {}, targetSurfaceId = "")`
|
|
428
428
|
Local functions
|
|
429
429
|
- `normalizeSettingsUpdatePermission(value, targetSurfaceId)`
|
|
430
|
+
- `normalizeMaxToolBytes(entry, key, targetSurfaceId)`
|
|
430
431
|
- `readPrefixedEnvValue(env = {}, prefix = "", key = "")`
|
|
431
432
|
|
|
432
433
|
### `src/server/support/assistantStreamWriter.js`
|
|
@@ -566,6 +567,10 @@ Exports
|
|
|
566
567
|
Exports
|
|
567
568
|
- None
|
|
568
569
|
|
|
570
|
+
### `migrations/assistant_transcripts_tool_arguments.cjs`
|
|
571
|
+
Exports
|
|
572
|
+
- None
|
|
573
|
+
|
|
569
574
|
### `migrations/assistant_turn_requests.cjs`
|
|
570
575
|
Exports
|
|
571
576
|
- None
|
|
@@ -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.304`
|
|
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.304`
|
|
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.48`
|
|
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`
|
|
@@ -356,7 +356,7 @@ Define a server feature through explicit capabilities and first-class actions, a
|
|
|
356
356
|
|
|
357
357
|
- Id: `server/feature-package`
|
|
358
358
|
- Keywords: `actions`, `aggregate`, `feature`, `handle`, `orchestration`, `owns`, `package`, `provider`, `repository`, `routes`, `server`, `table resource`
|
|
359
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
359
|
+
- Owner: `@jskit-ai/agent-docs@0.1.304`
|
|
360
360
|
- Read: [PATTERN.md](patterns/server/feature-package/PATTERN.md)
|
|
361
361
|
- Examples: [example/](patterns/server/feature-package/example/)
|
|
362
362
|
- Requires: `@jskit-ai/kernel`
|