@jskit-ai/agent-docs 0.1.379 → 0.1.381
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 +3 -1
- package/guide/agent/app-extras/assistant.md +143 -20
- package/guide/agent/app-setup/material-3-migration.md +2 -1
- package/guide/agent/framework/material-3.md +2 -0
- package/guide/agent/framework/test-pass.md +3 -2
- package/guide/agent/framework/typed-features.md +16 -7
- package/package.json +1 -1
- package/patterns/minimal-foundation/example/package.json +1 -1
- package/patterns/shell-foundation/example/package.json +2 -2
- package/reference/autogen/PATTERN_INDEX.md +30 -19
- package/reference/autogen/packages/assistant-core.md +71 -4
- package/reference/autogen/packages/assistant-runtime.md +9 -1
- package/reference/autogen/packages/shell-web.md +13 -0
- package/reference/autogen/tooling/jskit-catalog.md +13 -2
- package/skills/jskit/references/material-3.md +2 -0
- package/skills/jskit/references/pattern-index.md +30 -19
- package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +1 -1
- package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +2 -2
- package/skills/jskit/references/patterns/assistant/model-sized-results/PATTERN.md +147 -0
- package/skills/jskit/references/patterns/assistant/model-sized-results/example/packages/inbox/src/server/inbox.js +37 -0
- package/skills/jskit/references/patterns/assistant/model-sized-results/example/packages/inbox/src/server/inboxActions.js +90 -0
- package/skills/jskit/references/patterns/assistant/model-sized-results/example/packages/inbox/src/server/types.js +21 -0
- package/skills/jskit/references/patterns/auth/oidc-sign-in/example/package.json +2 -2
- package/skills/jskit/references/patterns/crud/crud-feature-package/example/packages/books/package.json +1 -1
- package/skills/jskit/references/patterns/realtime/realtime-application/example/package.json +2 -2
- package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users/package.json +2 -2
- package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users-workspace/package.json +3 -3
- package/skills/jskit/references/test-pass.md +3 -2
- package/skills/jskit/references/typed-features.md +16 -7
|
@@ -2750,7 +2750,9 @@ settle; actions must honor their signal where cancellation is supported.
|
|
|
2750
2750
|
|
|
2751
2751
|
`limits.maxToolCalls` defaults to 32 per turn, including repeat requests.
|
|
2752
2752
|
`maxToolArgumentBytes` and `maxToolResultBytes` use the service catalogue's existing
|
|
2753
|
-
defaults (32 KiB and 48 KiB)
|
|
2753
|
+
defaults (32 KiB and 48 KiB); a longer result reaches the model as its first part,
|
|
2754
|
+
which it reads on in ([tool result size](./assistant.md#database-surface-action-tools)).
|
|
2755
|
+
These bounds also apply during streaming and before
|
|
2754
2756
|
call reservation; discovery switches to bounded catalogue entry points using the
|
|
2755
2757
|
existing `maxDirectTools` and `discoveryPageSize` settings.
|
|
2756
2758
|
|
|
@@ -607,20 +607,43 @@ assistantServer: {
|
|
|
607
607
|
|
|
608
608
|
Every engine is given the surface's argument limit, and a larger call ends the
|
|
609
609
|
turn with "The application tool arguments exceed their size limit." before the
|
|
610
|
-
action runs. A larger result
|
|
611
|
-
the model reads
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
610
|
+
action runs. A larger result, a discovery page or an action contract included,
|
|
611
|
+
is never refused: the model reads its first part, cut from the result's JSON
|
|
612
|
+
text where it fits the limit, as
|
|
613
|
+
`{ toolResultPart: { note, resultId, offset, nextOffset, total, text } }`. The
|
|
614
|
+
note says how many characters are left out and how to read on, and the model
|
|
615
|
+
reads on only if what it needs may be further on: with the `assistant_result_read`
|
|
616
|
+
tool (`{ resultId, offset }`), which every direct tool set ends with, or through
|
|
617
|
+
discovery as `assistant_action_execute` with `actionId: "assistant.result.read"`,
|
|
618
|
+
so a native thread's three discovery tools stay as they are. Each part starts
|
|
619
|
+
where the one before ended and the parts join to the whole result. A part ends
|
|
620
|
+
between two items or members when one is near, else after a space in a long
|
|
621
|
+
string, and never inside an escape or a character.
|
|
622
|
+
|
|
623
|
+
The catalogue keeps a cut result in its process's memory for 15 minutes, up to
|
|
624
|
+
4 Mi characters of all its cut results, and lets the oldest go first when a
|
|
625
|
+
newer one needs the room; a result longer than all the room is cut but not kept.
|
|
626
|
+
Only the person it answered, on the same surface and in the same workspace,
|
|
627
|
+
reads on in it, and only while its action is still theirs; a call with no
|
|
628
|
+
signed-in person keeps nothing to read on in. Steered messages and
|
|
629
|
+
later steps of the turn read on in it; a restart, which interrupts the turn,
|
|
630
|
+
drops it. A read of a result no longer kept answers
|
|
631
|
+
`assistant_tool_result_unknown` (404), and the model calls the tool again. An
|
|
632
|
+
unsaved action's result is cut with nothing kept, since reading on would save
|
|
633
|
+
its parts in the reads' own calls, and so is a result for a caller that resolved
|
|
634
|
+
its tool set with `resolveToolSet(context, { offerResultReader: false })`, such
|
|
635
|
+
as the bounded structured-response loop, whose schema cannot name the reader's
|
|
636
|
+
offset; their notes say to ask for less.
|
|
637
|
+
|
|
638
|
+
The Claude engine starts Claude Code with the surface's result limit, so a part
|
|
639
|
+
reaches the model whole. A malformed value stops the server from starting. On
|
|
617
640
|
MySQL, apply the package's migrations as usual: one lets a saved call's
|
|
618
641
|
arguments and result pass 64 KiB. The model must still write the call in one
|
|
619
642
|
step: the API engine asks for at most 32,000 output tokens a step, and a model's
|
|
620
643
|
own output limit, or its reasoning, can leave less.
|
|
621
644
|
|
|
622
|
-
By default the assistant refuses a tool's arguments past 32 KiB and its
|
|
623
|
-
past 48 KiB ([limits](./assistant-conversation.md#application-tools)). An
|
|
645
|
+
By default the assistant refuses a tool's arguments past 32 KiB and cuts its
|
|
646
|
+
result past 48 KiB ([limits](./assistant-conversation.md#application-tools)). An
|
|
624
647
|
action that takes a whole document (a template, a plan, a long settings record)
|
|
625
648
|
as its input usually works on small documents and fails on the largest, and
|
|
626
649
|
the model must write the whole document again on every edit. Prefer actions
|
|
@@ -628,6 +651,48 @@ shaped as changes for the assistant (add, update or remove one part, by id),
|
|
|
628
651
|
and call each tool with the largest real document, seeded and library records
|
|
629
652
|
included, not only with the small ones tests create.
|
|
630
653
|
|
|
654
|
+
The catalogue's cut is the last resort: reading a result on costs a call a part,
|
|
655
|
+
and every part stays in what the model reads for the rest of the turn. An action
|
|
656
|
+
whose result can be long gives the model plain text, never its markup beside it,
|
|
657
|
+
pages its lists, and declares its long text, so the model reads the first part
|
|
658
|
+
of each and reads on in only the one it needs
|
|
659
|
+
([model-sized tool results](/patterns/assistant/model-sized-results)):
|
|
660
|
+
|
|
661
|
+
```js
|
|
662
|
+
extensions: {
|
|
663
|
+
assistant: {
|
|
664
|
+
longText: {
|
|
665
|
+
"messages[].bodyText": {
|
|
666
|
+
partLength: 2000,
|
|
667
|
+
readAction: "inbox.messages.read_text",
|
|
668
|
+
input: (message) => ({ messageId: message.id })
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
```
|
|
674
|
+
|
|
675
|
+
Each path names a text field in the tool's result: field names joined by dots,
|
|
676
|
+
with `[]` after a name for each item of an array, or alone first when the
|
|
677
|
+
result is an array (`[].bodyText`). A text longer than `partLength` characters
|
|
678
|
+
comes as its first part, with `bodyTextRest` beside it:
|
|
679
|
+
`{ characters, actionId, input }`, the characters left out and the call that
|
|
680
|
+
reads the next part, whose input is `input(record)` with the `offset` it starts
|
|
681
|
+
at. The read action is an automation query that answers from the same stored
|
|
682
|
+
text with `readTextPart(text, offset, length)` from
|
|
683
|
+
`@jskit-ai/assistant-core/server`, which returns
|
|
684
|
+
`{ text, offset, nextOffset, total }` and never splits a character, as the cut
|
|
685
|
+
does; both text fields are `noTrim: true`, since json-rest-schema trims strings
|
|
686
|
+
and a trimmed part would lose its edge spaces. The catalogue cuts after the
|
|
687
|
+
output check, so the output schema does not name the `Rest` fields, and the
|
|
688
|
+
tool's description tells the model how its long text comes. It cuts the text as
|
|
689
|
+
the action and its policy left it, so a text they marked (wrapped as untrusted,
|
|
690
|
+
say) is cut as marked: the read action slices the same marked text, or the
|
|
691
|
+
marking sits outside the text field, or the offsets point to the wrong place. A wrong declaration
|
|
692
|
+
(a path, a part length, a read action that is not an automation query, an
|
|
693
|
+
`input` that is not a function) stops the catalogue with an error naming the
|
|
694
|
+
action.
|
|
695
|
+
|
|
631
696
|
### Framework account and workspace actions
|
|
632
697
|
|
|
633
698
|
Account and workspace action owners supply assistant-specific descriptions,
|
|
@@ -877,7 +942,10 @@ processes before provider or tool execution. A reused ID with a different reques
|
|
|
877
942
|
returns a conflict. An identical retry replays the recorded answer or failure
|
|
878
943
|
without calling the provider or tools again, including after a process restart,
|
|
879
944
|
and without asking an application's turn guard again (see Turn guard above for
|
|
880
|
-
two simultaneous first sends).
|
|
945
|
+
two simultaneous first sends). A completed turn's replay also names each tool it
|
|
946
|
+
ran, as a `tool_call` and a `tool_result` event with its `toolCallId`, `name`
|
|
947
|
+
and `ok`, never its arguments or result; a request recorded before tools were
|
|
948
|
+
saved replays without them.
|
|
881
949
|
Pre-stream `AppError` failures retain their public code and details in the same
|
|
882
950
|
request receipt. `ACTION_PERMISSION_DENIED` details remain private, and arbitrary
|
|
883
951
|
non-`AppError` diagnostics are not added to the receipt. Older failure receipts
|
|
@@ -891,7 +959,19 @@ stopped without recording completion, retry returns `assistant_request_unconfirm
|
|
|
891
959
|
and directs the user to conversation history. The runtime never takes over such
|
|
892
960
|
a request automatically: a tool may already have changed application data.
|
|
893
961
|
This protects against duplicate execution; it cannot guarantee completion after
|
|
894
|
-
a process crash. The browser
|
|
962
|
+
a process crash. The browser never sends ambiguous work as a new message: after
|
|
963
|
+
a dropped stream it sends the same request, with the same message ID, only to
|
|
964
|
+
read the turn (see Database surface client behavior below).
|
|
965
|
+
|
|
966
|
+
While a chat stream is open, its route sends an empty line every 15 seconds,
|
|
967
|
+
which every NDJSON reader skips, so a proxy's idle timeout (60 seconds at an
|
|
968
|
+
AWS load balancer and nginx's default `proxy_read_timeout`, 100 seconds at
|
|
969
|
+
Cloudflare) never closes a turn whose tool or model works longer than that
|
|
970
|
+
without a word. The heartbeat starts with the stream's first event and stops
|
|
971
|
+
when the route ends the stream. A message that waits for the conversation's
|
|
972
|
+
running turn (see Database surface client behavior below) starts its stream at
|
|
973
|
+
once with its `meta` event, so its heartbeat runs through the wait too, and a
|
|
974
|
+
retry meanwhile answers `assistant_request_unconfirmed`.
|
|
895
975
|
|
|
896
976
|
An application action whose outcome cannot be verified stops inference and
|
|
897
977
|
keeps its durable reservation. Inspect the action's target before requesting a
|
|
@@ -943,17 +1023,59 @@ An execution failure before an answer restores the request as a draft only if th
|
|
|
943
1023
|
user has not already typed a new one. Enter sends, Shift/Alt+Enter inserts a newline, and Ctrl/Cmd+Enter sends.
|
|
944
1024
|
IME composition never submits. Only the shared composer handles these keys.
|
|
945
1025
|
|
|
1026
|
+
A stream that ends without its turn's outcome (the network or a proxy dropped
|
|
1027
|
+
it before its `done` event, or the server answers that the turn still runs) is
|
|
1028
|
+
not a failure. The runtime sends the same request again, which the server never
|
|
1029
|
+
runs twice: at once, then after 1, 2 and 4 seconds and every 5 seconds after
|
|
1030
|
+
that. While the turn still runs, here or on another server, each answer is
|
|
1031
|
+
`assistant_request_unconfirmed` and the turn stays running in the view; once it
|
|
1032
|
+
has ended, its replay shows the stored answer, its saved messages' `storedId`s
|
|
1033
|
+
and the tools it ran. A failure the server reports, on the stream or in the
|
|
1034
|
+
replay, still shows as an error, and a refusal (a 4xx answer) ends the reads.
|
|
1035
|
+
Each read is one lookup of the turn's request by its message ID, the same in a
|
|
1036
|
+
long conversation as in a short one. The turn's time limit
|
|
1037
|
+
(`assistant.timeoutMs`, 120 seconds by default) is the server's: it stops a
|
|
1038
|
+
turn still running then, as Stop does, whether or not its browser is still
|
|
1039
|
+
there, counting from the turn's arrival, so a turn whose tab is gone stays
|
|
1040
|
+
bounded. Its replay ends on `assistant_turn_time_limit` ("The assistant's turn
|
|
1041
|
+
reached its time limit, so it was stopped.",
|
|
1042
|
+
`jskit.assistant.runtime.request.timeLimit`). A tool already running hears the
|
|
1043
|
+
limit on its `context.signal`; the turn ends once the tool answers, and the
|
|
1044
|
+
model never hears that result. The server and the browser read the value
|
|
1045
|
+
through `resolveTurnTimeoutMs(appConfig)`, so set it once, as `assistant:
|
|
1046
|
+
{ timeoutMs }` in `config/public.js`. The browser also ends the turn on screen
|
|
1047
|
+
at that time, counted from the send, and asks the server to stop it; when the
|
|
1048
|
+
time passes before an outcome, the turn ends on "The connection to the
|
|
1049
|
+
assistant dropped, and its answer did not arrive in time, so the assistant was
|
|
1050
|
+
asked to stop. Open this conversation again to see what it finished."
|
|
1051
|
+
(`jskit.assistant.runtime.request.streamLost`). Stop works throughout.
|
|
1052
|
+
|
|
946
1053
|
Stop aborts the browser's response request and asks the server to stop the
|
|
947
|
-
conversation's
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
1054
|
+
conversation's turns (`POST .../conversations/:conversationId/cancel`): the one
|
|
1055
|
+
running and any message waiting for it, which then never runs and replays as
|
|
1056
|
+
stopped. That request and the turn's time limit are all that stop a turn on
|
|
1057
|
+
the server, so a Stop pressed before the server has named the turn's
|
|
1058
|
+
conversation (its `meta` event) waits for that event, then asks: before it, the
|
|
1059
|
+
turn may not have started on the server, and the request could miss it. A
|
|
1060
|
+
stream that closes, whether the browser left, the network dropped it or a proxy
|
|
1061
|
+
closed it, leaves its turn, and a message waiting behind it, running to its end
|
|
1062
|
+
or its time limit with the outcome saved, so a browser that reads the turn
|
|
1063
|
+
again finds its answer.
|
|
1064
|
+
The turn shows Stopping…, with Send off and the draft kept, until the server
|
|
1065
|
+
answers, which it does once the turn has ended; only then does the reply show
|
|
1066
|
+
as stopped. A stop request that fails without the server's answer (the network,
|
|
1067
|
+
a proxy, a server restarting) is sent again after 250 milliseconds, doubling to
|
|
1068
|
+
every 2 seconds, within the turn's time limit; one the server refuses (a 4xx)
|
|
1069
|
+
is not. When the server never answers, the reply ends on "The assistant could
|
|
1070
|
+
not be stopped on the server, so it stops at its time limit."
|
|
1071
|
+
(`jskit.assistant.runtime.request.stopFailed`). The server stops only the turns
|
|
1072
|
+
its own process runs for that person. It does not prove that a tool already executing has stopped; the UI
|
|
953
1073
|
states that limitation. A message sent while the conversation's turn still runs
|
|
954
1074
|
on the server (from another tab) waits for that turn to end and is then
|
|
955
1075
|
answered, never refused: the API engine cannot steer. Closing/unmounting a view
|
|
956
|
-
also aborts its local request and releases its state
|
|
1076
|
+
also aborts its local request and releases its state; the server's turn runs to
|
|
1077
|
+
its end or its time limit, and its outcome is in the conversation when it is
|
|
1078
|
+
opened again. Reopening can restore the
|
|
957
1079
|
selected saved conversation. It does not reattach a stream or resume work.
|
|
958
1080
|
Switching the configured surface or workspace clears that view's draft and
|
|
959
1081
|
messages and rejects late responses from its previous scope. Applications must
|
|
@@ -1122,5 +1244,6 @@ actions that change how the person signs in (`auth.*` and `settings.security.*`:
|
|
|
1122
1244
|
signing out, their sessions, sign-in methods and linked providers), since a
|
|
1123
1245
|
key acts as the person and their sign-in stays theirs. `tools/list` pages
|
|
1124
1246
|
50 tools at a time. The surface's `assistantServer` barred ids and skipped
|
|
1125
|
-
prefixes apply too, and a result
|
|
1126
|
-
`maxToolResultBytes
|
|
1247
|
+
prefixes apply too, and a result past 256 KiB, unless the surface sets
|
|
1248
|
+
`maxToolResultBytes`, comes as its first part, which the client reads on in
|
|
1249
|
+
with the `assistant_result_read` tool, one message at a time.
|
|
@@ -202,7 +202,8 @@ const { pageActions } = useShellAppBar();
|
|
|
202
202
|
|
|
203
203
|
Delete the bar's own back button and the pages' own `h1`s: `ShellPageTitle` is
|
|
204
204
|
the page's one `h1`, and `jskit check` now counts the layout as a shell layout,
|
|
205
|
-
so its inner pages need parents.
|
|
205
|
+
so its inner pages need parents. `ShellPageTitle` also draws the place right
|
|
206
|
+
after the `h1` where a page's `ShellPageTitleTrailing` (its status chips) shows.
|
|
206
207
|
|
|
207
208
|
## 7. CRUD screens
|
|
208
209
|
|
|
@@ -285,6 +285,8 @@ dialog, chip or FAB.
|
|
|
285
285
|
the whole title, wider bars beside 200px of it (a longer title truncates);
|
|
286
286
|
the rest go there, last first, then top-right items that don't fit, after
|
|
287
287
|
wider bars hide the account's name. Put the most used first.
|
|
288
|
+
- **After the title:** status chips go in `ShellPageTitleTrailing` on large
|
|
289
|
+
windows, else in the content.
|
|
288
290
|
- **Window size classes:** compact under 600 (navigation bar), medium 600–839
|
|
289
291
|
(navigation rail), expanded 840–1199 and large from 1200 (drawer), read from
|
|
290
292
|
`useShellWindowSizeClass()`
|
|
@@ -200,8 +200,9 @@ The rules it applies are in [Typed features](/guide/framework/typed-features),
|
|
|
200
200
|
- A file imports what it needs at its top level, so loading counts against the
|
|
201
201
|
file, not a test's time limit.
|
|
202
202
|
- The bounds stay: `jskit test`'s 10 minutes a file and 45 a run, its 10
|
|
203
|
-
seconds a file's process may live on after its last test
|
|
204
|
-
|
|
203
|
+
seconds a file's process may live on after its last test and `after`
|
|
204
|
+
hooks, and its `after` hooks after its last test (the linger bound, which
|
|
205
|
+
names what a test left open, or says the file was busy), and
|
|
205
206
|
`browserTestConfig()`'s `actionTimeout`, `navigationTimeout` and
|
|
206
207
|
`globalTimeout`. A bound in
|
|
207
208
|
`test-time-bounds.json` rises only with a measurement of the work's real
|
|
@@ -1100,10 +1100,16 @@ the last run's largest app server reached.**
|
|
|
1100
1100
|
one file at a time, an 8-thread machine four, and a container or slice whose
|
|
1101
1101
|
cgroup `cpu.max` quota gives it 3 CPUs of a 16-thread machine one
|
|
1102
1102
|
(`availableCpus()`).
|
|
1103
|
-
- `jskit test` (from `@jskit-ai/jskit-catalog`)
|
|
1104
|
-
|
|
1103
|
+
- `jskit test` (from `@jskit-ai/jskit-catalog`) takes `node --test`'s
|
|
1104
|
+
arguments and sets `--test-concurrency` to the budget.
|
|
1105
1105
|
`testConcurrency()` from `@jskit-ai/jskit-catalog/test-budget` returns the
|
|
1106
1106
|
same number for a config.
|
|
1107
|
+
- `jskit test` starts the files whose last run took longest first, from the
|
|
1108
|
+
times it records, and a file with no recorded time before them all, so a
|
|
1109
|
+
long file never starts last and runs on alone; `node --test` itself starts
|
|
1110
|
+
them by name. With `--test-shard=<index>/<total>` it picks each shard's
|
|
1111
|
+
files by name, as `node --test` does, so a shard is the same files on every
|
|
1112
|
+
machine.
|
|
1107
1113
|
- A Node test file is named `<name>.test.js`, and a database test
|
|
1108
1114
|
`<name>.integration.test.js`: given no files, `jskit test` runs node's
|
|
1109
1115
|
default pattern, less the files under a `support/` or `fixtures/` folder or
|
|
@@ -1211,9 +1217,10 @@ the last run's largest app server reached.**
|
|
|
1211
1217
|
files still finish and report: look for what it leaves open (a server, child
|
|
1212
1218
|
process, timer or socket) or a test without a timeout. A file with its own
|
|
1213
1219
|
bound is stopped at twice that bound.
|
|
1214
|
-
- A file whose tests have all ended but whose
|
|
1215
|
-
seconds later (the linger bound, `lingerMs
|
|
1216
|
-
|
|
1220
|
+
- A file whose tests and top-level `after` hooks have all ended but whose
|
|
1221
|
+
process is still running 10 seconds later (the linger bound, `lingerMs`)
|
|
1222
|
+
is stopped too, and so is one whose `after` hooks still run 10 seconds
|
|
1223
|
+
after its last test; each fails the run by name with what its process still
|
|
1217
1224
|
holds open, from `process.getActiveResourcesInfo()` read inside it, less
|
|
1218
1225
|
its own stdout and stderr, and stdin unless something reads it: `Timeout`
|
|
1219
1226
|
for an interval or timer, `TCPServerWrap` for a listening server,
|
|
@@ -1222,8 +1229,10 @@ the last run's largest app server reached.**
|
|
|
1222
1229
|
it in the test or an `after` hook. A file still busy past the bound with
|
|
1223
1230
|
nothing open fails the run as `busy, not held open`, with how long it
|
|
1224
1231
|
lived on, whether its stop met it late or it ended by itself first: finish
|
|
1225
|
-
the work it does after its last test
|
|
1226
|
-
|
|
1232
|
+
the work it does after its last test and `after` hooks within them. One
|
|
1233
|
+
stopped while its `after` hooks still ran waits on something that never
|
|
1234
|
+
ends, such as a server's open connections: end it. A file's process
|
|
1235
|
+
normally ends within moments of its `after` hooks, and the report says the
|
|
1227
1236
|
longest any took against the bound. Files marked `alone` or `network` get
|
|
1228
1237
|
the same bound. A suite whose measured cleanup needs longer sets `lingerMs` in
|
|
1229
1238
|
`test-time-bounds.json`, with the measurement in the commit that raises it.
|
package/package.json
CHANGED
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
"vue-router": "^5.3.1",
|
|
46
46
|
"vuetify": "^4.3.0",
|
|
47
47
|
"@jskit-ai/http-runtime": "0.2.39",
|
|
48
|
-
"@jskit-ai/shell-web": "0.2.
|
|
48
|
+
"@jskit-ai/shell-web": "0.2.64",
|
|
49
49
|
"@fastify/fast-json-stringify-compiler": "^5.1.0",
|
|
50
50
|
"@vue/devtools-api": "^8.2.1"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@jskit-ai/config-eslint": "0.1.255",
|
|
54
|
-
"@jskit-ai/jskit-catalog": "0.2.
|
|
54
|
+
"@jskit-ai/jskit-catalog": "0.2.133",
|
|
55
55
|
"@playwright/test": "1.61.1",
|
|
56
56
|
"@vitejs/plugin-vue": "^6.0.7",
|
|
57
57
|
"eslint": "^10.8.0",
|
|
@@ -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.381`
|
|
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.381`
|
|
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,11 +37,22 @@ 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.115`
|
|
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`
|
|
44
44
|
|
|
45
|
+
## Model-sized tool results
|
|
46
|
+
|
|
47
|
+
Keep what an action gives the assistant within its result limit with text over markup, the first part of long text and the action that reads the rest, and paged lists, so the catalogue's own cut stays the last resort.
|
|
48
|
+
|
|
49
|
+
- Id: `assistant/model-sized-results`
|
|
50
|
+
- Keywords: `ai`, `assistant`, `document`, `email`, `limit`, `long text`, `maxToolResultBytes`, `paging`, `read on`, `result`, `size`, `tool`
|
|
51
|
+
- Owner: `@jskit-ai/assistant-core@0.2.107`
|
|
52
|
+
- Read: [PATTERN.md](../../skills/jskit/references/patterns/assistant/model-sized-results/PATTERN.md)
|
|
53
|
+
- Examples: [example/](../../skills/jskit/references/patterns/assistant/model-sized-results/example/)
|
|
54
|
+
- Requires: `@jskit-ai/assistant-core`
|
|
55
|
+
|
|
45
56
|
## Accounts hub
|
|
46
57
|
|
|
47
58
|
Run one OpenID Connect sign-in for all of an owner's apps as its own JSKIT project, with production apps approved by the owner.
|
|
@@ -59,7 +70,7 @@ Compose JSKIT authentication routes, views, profile controls, and public surface
|
|
|
59
70
|
|
|
60
71
|
- Id: `auth/auth-surface`
|
|
61
72
|
- Keywords: `account`, `auth`, `login`, `logout`, `password`, `placement`, `profile`, `reset`, `surface`
|
|
62
|
-
- Owner: `@jskit-ai/auth-web@0.2.
|
|
73
|
+
- Owner: `@jskit-ai/auth-web@0.2.72`
|
|
63
74
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/auth-surface/PATTERN.md)
|
|
64
75
|
- Examples: [example/](../../skills/jskit/references/patterns/auth/auth-surface/example/)
|
|
65
76
|
- Requires: `@jskit-ai/auth-core`, `@jskit-ai/auth-web`, `@jskit-ai/shell-web`
|
|
@@ -70,7 +81,7 @@ Let people sign in with the accounts they already have in an accounts hub or ano
|
|
|
70
81
|
|
|
71
82
|
- Id: `auth/oidc-sign-in`
|
|
72
83
|
- Keywords: `accounts hub`, `auth`, `authentication`, `back-channel logout`, `dynamic client registration`, `issuer`, `master login`, `oidc`, `openid connect`, `single sign-on`, `sso`
|
|
73
|
-
- Owner: `@jskit-ai/auth-provider-oidc-core@0.2.
|
|
84
|
+
- Owner: `@jskit-ai/auth-provider-oidc-core@0.2.82`
|
|
74
85
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/oidc-sign-in/PATTERN.md)
|
|
75
86
|
- Examples: [example/](../../skills/jskit/references/patterns/auth/oidc-sign-in/example/)
|
|
76
87
|
- Requires: `@jskit-ai/auth-provider-oidc-core`, `@jskit-ai/auth-web`
|
|
@@ -81,7 +92,7 @@ Write the sign-in screen and the second-factor prompt in an application's own de
|
|
|
81
92
|
|
|
82
93
|
- Id: `auth/own-design-sign-in`
|
|
83
94
|
- Keywords: `auth`, `custom design`, `design system`, `login`, `own look`, `second factor`, `sign in`, `step up`, `style`, `without vuetify`
|
|
84
|
-
- Owner: `@jskit-ai/auth-web@0.2.
|
|
95
|
+
- Owner: `@jskit-ai/auth-web@0.2.72`
|
|
85
96
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/own-design-sign-in/PATTERN.md)
|
|
86
97
|
- Examples: [example/](../../skills/jskit/references/patterns/auth/own-design-sign-in/example/)
|
|
87
98
|
- Requires: `@jskit-ai/auth-web`, `@jskit-ai/kernel`
|
|
@@ -257,7 +268,7 @@ Add a protected administration surface, settings shell, and semantic navigation
|
|
|
257
268
|
|
|
258
269
|
- Id: `console/console-surface`
|
|
259
270
|
- Keywords: `admin`, `console`, `navigation`, `owner`, `placement`, `settings`, `surface`
|
|
260
|
-
- Owner: `@jskit-ai/console-web@0.1.
|
|
271
|
+
- Owner: `@jskit-ai/console-web@0.1.315`
|
|
261
272
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/console/console-surface/PATTERN.md)
|
|
262
273
|
- Examples: [example/](../../skills/jskit/references/patterns/console/console-surface/example/)
|
|
263
274
|
- Requires: `@jskit-ai/console-core`, `@jskit-ai/console-web`, `@jskit-ai/shell-web`
|
|
@@ -279,7 +290,7 @@ Build a complete application-owned CRUD server package from a migration, a table
|
|
|
279
290
|
|
|
280
291
|
- Id: `crud/crud-feature-package`
|
|
281
292
|
- Keywords: `actions`, `crud`, `database`, `defineCrudFeature`, `json-api`, `migration`, `owns`, `permissions`, `repository`, `routes`, `service`, `table resource`
|
|
282
|
-
- Owner: `@jskit-ai/crud-core@0.2.
|
|
293
|
+
- Owner: `@jskit-ai/crud-core@0.2.66`
|
|
283
294
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/crud/crud-feature-package/PATTERN.md)
|
|
284
295
|
- Examples: [example/](../../skills/jskit/references/patterns/crud/crud-feature-package/example/)
|
|
285
296
|
- Requires: `@jskit-ai/crud-core`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
|
|
@@ -290,7 +301,7 @@ Build a routed CRUD user interface as thin application pages over JSKIT's shared
|
|
|
290
301
|
|
|
291
302
|
- Id: `crud/crud-screen-set`
|
|
292
303
|
- Keywords: `actions`, `add`, `crud`, `delete`, `edit`, `filters`, `list`, `material`, `routes`, `view`, `vue`
|
|
293
|
-
- Owner: `@jskit-ai/http-web@0.2.
|
|
304
|
+
- Owner: `@jskit-ai/http-web@0.2.73`
|
|
294
305
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/crud/crud-screen-set/PATTERN.md)
|
|
295
306
|
- Examples: [example/](../../skills/jskit/references/patterns/crud/crud-screen-set/example/)
|
|
296
307
|
- Requires: `@jskit-ai/http-web`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
|
|
@@ -334,7 +345,7 @@ Wrap a JSKIT web application in a Capacitor Android shell using native Capacitor
|
|
|
334
345
|
|
|
335
346
|
- Id: `mobile/android-application`
|
|
336
347
|
- Keywords: `android`, `capacitor`, `device`, `mobile`, `native`, `shell`, `webview`
|
|
337
|
-
- Owner: `@jskit-ai/mobile-capacitor@0.2.
|
|
348
|
+
- Owner: `@jskit-ai/mobile-capacitor@0.2.64`
|
|
338
349
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/mobile/android-application/PATTERN.md)
|
|
339
350
|
- Examples: [example/](../../skills/jskit/references/patterns/mobile/android-application/example/)
|
|
340
351
|
- Requires: `@capacitor/android`, `@capacitor/app`, `@capacitor/cli`, `@jskit-ai/mobile-capacitor`
|
|
@@ -345,7 +356,7 @@ Add JSKIT realtime events with an optional Redis backplane and an explicit shell
|
|
|
345
356
|
|
|
346
357
|
- Id: `realtime/realtime-application`
|
|
347
358
|
- Keywords: `realtime`, `redis`, `socket.io`, `sockets`, `status`, `websocket`
|
|
348
|
-
- Owner: `@jskit-ai/realtime@0.2.
|
|
359
|
+
- Owner: `@jskit-ai/realtime@0.2.67`
|
|
349
360
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/realtime/realtime-application/PATTERN.md)
|
|
350
361
|
- Examples: [example/](../../skills/jskit/references/patterns/realtime/realtime-application/example/)
|
|
351
362
|
- Requires: `@jskit-ai/realtime`, `@jskit-ai/shell-web`
|
|
@@ -356,7 +367,7 @@ Compose application-owned Google Publisher Tag delivery with the generic rewarde
|
|
|
356
367
|
|
|
357
368
|
- Id: `rewards/google-rewarded`
|
|
358
369
|
- Keywords: `ads`, `google`, `publisher tag`, `rewarded`, `unlock`
|
|
359
|
-
- Owner: `@jskit-ai/rewarded-web@0.2.
|
|
370
|
+
- Owner: `@jskit-ai/rewarded-web@0.2.91`
|
|
360
371
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/rewards/google-rewarded/PATTERN.md)
|
|
361
372
|
- Examples: [example/](../../skills/jskit/references/patterns/rewards/google-rewarded/example/)
|
|
362
373
|
- Requires: `@jskit-ai/rewarded-web`
|
|
@@ -367,7 +378,7 @@ Define a server feature through explicit capabilities and first-class actions, a
|
|
|
367
378
|
|
|
368
379
|
- Id: `server/feature-package`
|
|
369
380
|
- Keywords: `actions`, `aggregate`, `feature`, `handle`, `orchestration`, `owns`, `package`, `provider`, `repository`, `routes`, `server`, `table resource`
|
|
370
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
381
|
+
- Owner: `@jskit-ai/agent-docs@0.1.381`
|
|
371
382
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/server/feature-package/PATTERN.md)
|
|
372
383
|
- Examples: [example/](../../skills/jskit/references/patterns/server/feature-package/example/)
|
|
373
384
|
- Requires: `@jskit-ai/kernel`
|
|
@@ -378,7 +389,7 @@ Compose the JSKIT responsive shell, semantic placements, settings navigation, an
|
|
|
378
389
|
|
|
379
390
|
- Id: `shell/application-shell`
|
|
380
391
|
- Keywords: `adaptive`, `app`, `layout`, `navigation`, `placement`, `responsive`, `settings`, `shell`
|
|
381
|
-
- Owner: `@jskit-ai/shell-web@0.2.
|
|
392
|
+
- Owner: `@jskit-ai/shell-web@0.2.64`
|
|
382
393
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/shell/application-shell/PATTERN.md)
|
|
383
394
|
- Examples: [example/](../../skills/jskit/references/patterns/shell/application-shell/example/)
|
|
384
395
|
- Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
|
|
@@ -389,7 +400,7 @@ Add product routes and shell extensions through file routing, semantic placement
|
|
|
389
400
|
|
|
390
401
|
- Id: `ui/page-and-placement`
|
|
391
402
|
- Keywords: `component`, `navigation`, `outlet`, `page`, `placement`, `routes`, `section`, `shell`, `subpages`, `vue`
|
|
392
|
-
- Owner: `@jskit-ai/shell-web@0.2.
|
|
403
|
+
- Owner: `@jskit-ai/shell-web@0.2.64`
|
|
393
404
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/ui/page-and-placement/PATTERN.md)
|
|
394
405
|
- Examples: [example/](../../skills/jskit/references/patterns/ui/page-and-placement/example/)
|
|
395
406
|
- Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
|
|
@@ -400,7 +411,7 @@ Compose an account settings route and profile, preference, notification, and sig
|
|
|
400
411
|
|
|
401
412
|
- Id: `users/account-settings`
|
|
402
413
|
- Keywords: `account`, `link provider`, `notifications`, `oauth`, `preferences`, `profile`, `settings`, `sign-in methods`, `user`, `vue`
|
|
403
|
-
- Owner: `@jskit-ai/users-web@0.2.
|
|
414
|
+
- Owner: `@jskit-ai/users-web@0.2.99`
|
|
404
415
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/users/account-settings/PATTERN.md)
|
|
405
416
|
- Examples: [example/](../../skills/jskit/references/patterns/users/account-settings/example/)
|
|
406
417
|
- Requires: `@jskit-ai/http-web`, `@jskit-ai/shell-web`, `@jskit-ai/users-core`, `@jskit-ai/users-web`
|
|
@@ -411,7 +422,7 @@ Expose user administration and workspace-scoped member operations through app-ow
|
|
|
411
422
|
|
|
412
423
|
- Id: `users/user-administration-server`
|
|
413
424
|
- Keywords: `account`, `admin`, `member`, `repository`, `resource`, `routes`, `service`, `user`, `workspace`
|
|
414
|
-
- Owner: `@jskit-ai/users-core@0.2.
|
|
425
|
+
- Owner: `@jskit-ai/users-core@0.2.77`
|
|
415
426
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/users/user-administration-server/PATTERN.md)
|
|
416
427
|
- Examples: [example/](../../skills/jskit/references/patterns/users/user-administration-server/example/)
|
|
417
428
|
- Requires: `@jskit-ai/crud-core`, `@jskit-ai/users-core`
|
|
@@ -422,7 +433,7 @@ Configure roles, workspace access policy, invitations, and app-owned invitation
|
|
|
422
433
|
|
|
423
434
|
- Id: `workspaces/workspace-server`
|
|
424
435
|
- Keywords: `access`, `invite`, `membership`, `multitenancy`, `policy`, `role`, `tenancy`, `workspace`
|
|
425
|
-
- Owner: `@jskit-ai/workspaces-core@0.2.
|
|
436
|
+
- Owner: `@jskit-ai/workspaces-core@0.2.77`
|
|
426
437
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/workspaces/workspace-server/PATTERN.md)
|
|
427
438
|
- Examples: [example/](../../skills/jskit/references/patterns/workspaces/workspace-server/example/)
|
|
428
439
|
- Requires: `@jskit-ai/users-core`, `@jskit-ai/workspaces-core`
|
|
@@ -433,7 +444,7 @@ Compose workspace selection, invitation, member administration, settings, and re
|
|
|
433
444
|
|
|
434
445
|
- Id: `workspaces/workspace-surfaces`
|
|
435
446
|
- Keywords: `admin`, `invite`, `member`, `navigation`, `settings`, `surface`, `switcher`, `workspace`
|
|
436
|
-
- Owner: `@jskit-ai/workspaces-web@0.2.
|
|
447
|
+
- Owner: `@jskit-ai/workspaces-web@0.2.99`
|
|
437
448
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/workspaces/workspace-surfaces/PATTERN.md)
|
|
438
449
|
- Examples: [example/](../../skills/jskit/references/patterns/workspaces/workspace-surfaces/example/)
|
|
439
450
|
- Requires: `@jskit-ai/shell-web`, `@jskit-ai/workspaces-core`, `@jskit-ai/workspaces-web`
|