@jskit-ai/agent-docs 0.1.380 → 0.1.382
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 +79 -1
- package/guide/agent/framework/ui-pass.md +3 -1
- 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 +58 -2
- package/reference/autogen/packages/assistant-runtime.md +9 -1
- package/reference/autogen/packages/shell-web.md +13 -0
- package/reference/autogen/tooling/testUtils.md +3 -2
- package/skills/jskit/references/material-3.md +79 -1
- 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/ui-pass.md +3 -1
|
@@ -1821,6 +1821,7 @@ Exports
|
|
|
1821
1821
|
- `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 })`
|
|
1822
1822
|
Local functions
|
|
1823
1823
|
- `outcomeUnknown(unsaved)`
|
|
1824
|
+
- `outcomeIsUnknown(result)`
|
|
1824
1825
|
- `authorizeTransientCall()`
|
|
1825
1826
|
- `saveTransientCalls()`
|
|
1826
1827
|
- `announceTransientCall()`
|
|
@@ -2051,6 +2052,7 @@ Exports
|
|
|
2051
2052
|
- `writeNdjson`
|
|
2052
2053
|
- `resolveWorkspaceSlug`
|
|
2053
2054
|
- `createServiceToolCatalog`
|
|
2055
|
+
- `readTextPart`
|
|
2054
2056
|
- `MCP_PROTOCOL_VERSIONS`
|
|
2055
2057
|
- `MCP_TOOL_CATALOG_OPTIONS`
|
|
2056
2058
|
- `createMcpToolServer`
|
|
@@ -2070,6 +2072,16 @@ Exports
|
|
|
2070
2072
|
Local functions
|
|
2071
2073
|
- `sdkMessages(messages)`
|
|
2072
2074
|
|
|
2075
|
+
### `src/server/lib/longTextFields.js`
|
|
2076
|
+
Exports
|
|
2077
|
+
- `cutLongTextFields(result, declarations)`
|
|
2078
|
+
- `longTextNote(declarations)`
|
|
2079
|
+
- `normalizeLongTextDeclarations(actionId, value, isReadAction)`
|
|
2080
|
+
Local functions
|
|
2081
|
+
- `parseLongTextPath(actionId, path)`
|
|
2082
|
+
- `cutRecord(record, declaration)`
|
|
2083
|
+
- `cutRecords(value, steps, declaration)`
|
|
2084
|
+
|
|
2073
2085
|
### `src/server/lib/mcpToolServer.js`
|
|
2074
2086
|
Exports
|
|
2075
2087
|
- `MCP_PROTOCOL_VERSIONS`
|
|
@@ -2138,6 +2150,11 @@ Exports
|
|
|
2138
2150
|
Exports
|
|
2139
2151
|
- `createOpenAiCompatibleClient({ enabled = true, apiKey = "", baseUrl = "", model = "", defaultModel = "", provider = "openai", timeoutMs = 120_000, effort = "" } = {})`
|
|
2140
2152
|
|
|
2153
|
+
### `src/server/lib/readFailures.js`
|
|
2154
|
+
Exports
|
|
2155
|
+
- `readFailureFrom(cause)`
|
|
2156
|
+
- `readFailureResult(error)`
|
|
2157
|
+
|
|
2141
2158
|
### `src/server/lib/resolveWorkspaceSlug.js`
|
|
2142
2159
|
Exports
|
|
2143
2160
|
- `resolveWorkspaceSlug(context = {}, actionInput = null)`
|
|
@@ -2151,9 +2168,7 @@ Exports
|
|
|
2151
2168
|
Local functions
|
|
2152
2169
|
- `parseToolPayload(argumentsText)`
|
|
2153
2170
|
- `normalizeNonNegativeInteger(value, fallback)`
|
|
2154
|
-
- `serializedByteLength(value)`
|
|
2155
2171
|
- `createToolError(status, code, message)`
|
|
2156
|
-
- `ensureSerializedSize(value, maxBytes, { code = "assistant_tool_result_too_large", label = "Tool result" } = {})`
|
|
2157
2172
|
- `ensureToolArgumentsSize(argumentsText, maxBytes)`
|
|
2158
2173
|
- `normalizeActionLookupKey(actionId, version)`
|
|
2159
2174
|
- `normalizeDiscoveryQuery(value)`
|
|
@@ -2167,6 +2182,7 @@ Local functions
|
|
|
2167
2182
|
- `stripWorkspaceSlugFromSchema(schema, context = {})`
|
|
2168
2183
|
- `canUseToolOnSurface(entry = {}, context = {})`
|
|
2169
2184
|
- `reportNoToolFailure()`
|
|
2185
|
+
- `resultOwner(context)`
|
|
2170
2186
|
|
|
2171
2187
|
### `src/server/lib/serviceToolEntries.js`
|
|
2172
2188
|
Exports
|
|
@@ -2185,6 +2201,28 @@ Local functions
|
|
|
2185
2201
|
- `normalizeSurfaceList(value)`
|
|
2186
2202
|
- `resolveActionBackedToolEntries(actions, { includeActionsWithoutOutput = false } = {})`
|
|
2187
2203
|
|
|
2204
|
+
### `src/server/lib/textParts.js`
|
|
2205
|
+
Exports
|
|
2206
|
+
- `readTextPart(text, offset, length)`
|
|
2207
|
+
Local functions
|
|
2208
|
+
- `splitsCharacter(text, index)`
|
|
2209
|
+
|
|
2210
|
+
### `src/server/lib/toolResultParts.js`
|
|
2211
|
+
Exports
|
|
2212
|
+
- `KEPT_RESULT_CHARACTERS`
|
|
2213
|
+
- `KEPT_RESULT_MILLISECONDS`
|
|
2214
|
+
- `RESULT_READ_ACTION_ID`
|
|
2215
|
+
- `RESULT_READ_TOOL`
|
|
2216
|
+
- `createToolResultParts({ maxResultBytes, now = Date.now })`
|
|
2217
|
+
Local functions
|
|
2218
|
+
- `pieceWidth(json, index, inString)`
|
|
2219
|
+
- `escapedBytes(json, index, width)`
|
|
2220
|
+
- `pieceAt(json, offset)`
|
|
2221
|
+
- `partEnd(json, start, inString, budget)`
|
|
2222
|
+
- `partNote({ offset, end, total, resultId, readOn })`
|
|
2223
|
+
- `toolResultPart({ json, offset, end, resultId, readOn })`
|
|
2224
|
+
- `resultUnknownError()`
|
|
2225
|
+
|
|
2188
2226
|
### `src/server/types.js`
|
|
2189
2227
|
Exports
|
|
2190
2228
|
- `type ConversationRuntime`
|
|
@@ -2555,3 +2593,21 @@ Local functions
|
|
|
2555
2593
|
### `fixtures/responsive-assistant/vite.config.mjs`
|
|
2556
2594
|
Exports
|
|
2557
2595
|
- None
|
|
2596
|
+
|
|
2597
|
+
### patterns
|
|
2598
|
+
|
|
2599
|
+
### `patterns/model-sized-results/example/packages/inbox/src/server/inbox.js`
|
|
2600
|
+
Exports
|
|
2601
|
+
- `createInbox({ messages })`
|
|
2602
|
+
|
|
2603
|
+
### `patterns/model-sized-results/example/packages/inbox/src/server/inboxActions.js`
|
|
2604
|
+
Exports
|
|
2605
|
+
- `ACTION_READ_MESSAGE_TEXT`
|
|
2606
|
+
- `ACTION_READ_THREAD`
|
|
2607
|
+
- `createInboxActions({ inbox })`
|
|
2608
|
+
|
|
2609
|
+
### `patterns/model-sized-results/example/packages/inbox/src/server/types.js`
|
|
2610
|
+
Exports
|
|
2611
|
+
- `type InboxMessage`
|
|
2612
|
+
- `type InboxMessages`
|
|
2613
|
+
- `type Inbox`
|
|
@@ -156,6 +156,13 @@ Local functions
|
|
|
156
156
|
- `ignoreConversationEvent()`
|
|
157
157
|
- `ignoreSubscriptionError()`
|
|
158
158
|
|
|
159
|
+
### `src/client/support/turnRecovery.js`
|
|
160
|
+
Exports
|
|
161
|
+
- `UNCONFIRMED_TURN_CODE`
|
|
162
|
+
- `askServerToStop(sendStop, endsAt)`
|
|
163
|
+
- `endedWithoutOutcome({ doneStatus, failed, error })`
|
|
164
|
+
- `pauseBeforeReading(attempt, signal)`
|
|
165
|
+
|
|
159
166
|
### `src/client/support/workspaceScopeSupport.js`
|
|
160
167
|
Exports
|
|
161
168
|
- `useWorkspaceWebScopeSupport()`
|
|
@@ -403,7 +410,7 @@ Exports
|
|
|
403
410
|
Local functions
|
|
404
411
|
- `normalizeStreamInput(payload = {})`
|
|
405
412
|
- `savedMessageFields(error)`
|
|
406
|
-
- `streamErrorMessageFields(error
|
|
413
|
+
- `streamErrorMessageFields(error)`
|
|
407
414
|
- `waitUnlessAborted(previous, signal)`
|
|
408
415
|
- `isAbortError(error)`
|
|
409
416
|
- `toCompactJson(value, fallback = "{}")`
|
|
@@ -529,6 +536,7 @@ Exports
|
|
|
529
536
|
Exports
|
|
530
537
|
- `DEFAULT_CONVERSATION_TITLE`
|
|
531
538
|
- `assistantRuntimeConfig`
|
|
539
|
+
- `resolveTurnTimeoutMs(appConfig)`
|
|
532
540
|
|
|
533
541
|
### `src/shared/assistantSurfaces.js`
|
|
534
542
|
Exports
|
|
@@ -144,6 +144,10 @@ Local functions
|
|
|
144
144
|
Exports
|
|
145
145
|
- None
|
|
146
146
|
|
|
147
|
+
### `src/client/components/ShellPageTitleTrailing.vue`
|
|
148
|
+
Exports
|
|
149
|
+
- None
|
|
150
|
+
|
|
147
151
|
### `src/client/components/ShellPrimaryAction.vue`
|
|
148
152
|
Exports
|
|
149
153
|
- None
|
|
@@ -371,6 +375,7 @@ Exports
|
|
|
371
375
|
- `ShellListDetail`
|
|
372
376
|
- `ShellUpButton`
|
|
373
377
|
- `ShellPageTitle`
|
|
378
|
+
- `ShellPageTitleTrailing`
|
|
374
379
|
- `ShellPageActionsTarget`
|
|
375
380
|
- `useShellAppBar`
|
|
376
381
|
- `useShellLayoutState`
|
|
@@ -628,6 +633,7 @@ Exports
|
|
|
628
633
|
- `ICON_BUTTON_WIDTH`
|
|
629
634
|
- `WIDE_BAR_TITLE_FLOOR`
|
|
630
635
|
- `contentWidth(element)`
|
|
636
|
+
- `titleRowWidth(title, wholeTitle)`
|
|
631
637
|
- `wholeTitleWidth(title)`
|
|
632
638
|
- `widthInRow(element)`
|
|
633
639
|
- `widthOfChildren(element)`
|
|
@@ -684,11 +690,14 @@ Exports
|
|
|
684
690
|
Exports
|
|
685
691
|
- `NO_SHELL_NAVIGATION_PRESENTATION`
|
|
686
692
|
- `NO_SHELL_PAGE_ACTIONS_TARGET`
|
|
693
|
+
- `NO_SHELL_PAGE_TITLE_TRAILING_TARGET`
|
|
687
694
|
- `NO_VUETIFY_ICONS`
|
|
688
695
|
- `NO_VUETIFY_LIST`
|
|
689
696
|
- `SHELL_NAVIGATION_PRESENTATION_KEY`
|
|
690
697
|
- `SHELL_PAGE_ACTIONS_ID`
|
|
691
698
|
- `SHELL_PAGE_ACTIONS_TARGET_KEY`
|
|
699
|
+
- `SHELL_PAGE_TITLE_TRAILING_ID`
|
|
700
|
+
- `SHELL_PAGE_TITLE_TRAILING_TARGET_KEY`
|
|
692
701
|
- `VUETIFY_ICONS_KEY`
|
|
693
702
|
- `VUETIFY_LIST_KEY`
|
|
694
703
|
- `filledIconAlias(icon, aliases)`
|
|
@@ -855,6 +864,10 @@ Exports
|
|
|
855
864
|
Local functions
|
|
856
865
|
- `press(name)`
|
|
857
866
|
|
|
867
|
+
### `fixtures/adaptive-shell/src/JobPage.vue`
|
|
868
|
+
Exports
|
|
869
|
+
- None
|
|
870
|
+
|
|
858
871
|
### `fixtures/adaptive-shell/src/LongActionsPage.vue`
|
|
859
872
|
Exports
|
|
860
873
|
- None
|
|
@@ -25,7 +25,7 @@ Exports
|
|
|
25
25
|
- `reservePort()`
|
|
26
26
|
- `sharedBrowserFixture(viteOptions)`
|
|
27
27
|
- `startCapturedProcess(command, args, { cwd, env = {} } = {})`
|
|
28
|
-
- `startViteFixture({ fixtureRoot, configFile = "vite.config.mjs", env = {}, port: requestedPort, cacheDir: requestedCacheDir } = {})`
|
|
28
|
+
- `startViteFixture({ fixtureRoot, configFile = "vite.config.mjs", env = {}, port: requestedPort, cacheDir: requestedCacheDir, devServer = false } = {})`
|
|
29
29
|
- `stopProcess(runtime)`
|
|
30
30
|
Local functions
|
|
31
31
|
- `stopChild(child)`
|
|
@@ -57,4 +57,5 @@ Local functions
|
|
|
57
57
|
Exports
|
|
58
58
|
- None
|
|
59
59
|
Local functions
|
|
60
|
-
- `
|
|
60
|
+
- `serveBuild()`
|
|
61
|
+
- `serveDevelopment()`
|
|
@@ -280,6 +280,8 @@ dialog, chip or FAB.
|
|
|
280
280
|
the whole title, wider bars beside 200px of it (a longer title truncates);
|
|
281
281
|
the rest go there, last first, then top-right items that don't fit, after
|
|
282
282
|
wider bars hide the account's name. Put the most used first.
|
|
283
|
+
- **After the title:** status chips go in `ShellPageTitleTrailing` on large
|
|
284
|
+
windows, else in the content.
|
|
283
285
|
- **Window size classes:** compact under 600 (navigation bar), medium 600–839
|
|
284
286
|
(navigation rail), expanded 840–1199 and large from 1200 (drawer), read from
|
|
285
287
|
`useShellWindowSizeClass()`
|
|
@@ -297,6 +299,15 @@ dialog, chip or FAB.
|
|
|
297
299
|
|
|
298
300
|
## Colour
|
|
299
301
|
|
|
302
|
+
- **Colour roles carry hierarchy, identity and state.** `primary-container`,
|
|
303
|
+
`secondary-container` and `tertiary-container`, with their `on-*` text, mark
|
|
304
|
+
what draws the eye or tells kinds apart: a record's avatar (one container per
|
|
305
|
+
kind, or an app colour's, such as `soups-container`), a section's icon tile,
|
|
306
|
+
the screen's key figure on its own tonal tile, the selected or current item.
|
|
307
|
+
A figure, banner or chip whose meaning is a state takes a status container
|
|
308
|
+
(`error-container`, `warning-container`, `success-container`,
|
|
309
|
+
`info-container`). Primary records are `variant="elevated"` cards that lift
|
|
310
|
+
off a tinted panel (`surface-container`).
|
|
300
311
|
- Use semantic roles through Vuetify props, classes and
|
|
301
312
|
`rgb(var(--v-theme-<role>))`; never a raw colour value in a component.
|
|
302
313
|
- Text in an `on-*` role uses its class or a `color` prop
|
|
@@ -313,6 +324,72 @@ dialog, chip or FAB.
|
|
|
313
324
|
- Keep WCAG AA contrast in both schemes. Use elevation `0` through `5` and
|
|
314
325
|
component variants instead of arbitrary shadows.
|
|
315
326
|
|
|
327
|
+
## A finished screen
|
|
328
|
+
|
|
329
|
+
A screen of text on neutral surfaces, with no icons, no colour role carrying
|
|
330
|
+
meaning and no focal point, is unfinished, even when it breaks no rule on this
|
|
331
|
+
page. A finished screen has:
|
|
332
|
+
|
|
333
|
+
- **Icons:** a leading icon on each list and detail row that names a kind of
|
|
334
|
+
thing (person, company, email, address, date, amount, document); an avatar
|
|
335
|
+
(initials or an icon) in a container colour heading each record, and a tonal
|
|
336
|
+
icon tile heading each section; icons on status chips, and on buttons where
|
|
337
|
+
they help scanning; an icon in every banner and every empty, error and
|
|
338
|
+
blocked state.
|
|
339
|
+
- **Hierarchy:** the key figure or name in a headline or display role, on its
|
|
340
|
+
own tonal tile: `primary-container`, `surface-container-highest` at zero,
|
|
341
|
+
`error-container` with an icon when owing. Labels sit in a quieter role than
|
|
342
|
+
their values: a detail row's value is its title, its label the subtitle.
|
|
343
|
+
- **State in its own container:** a warning is a full-width tonal banner with
|
|
344
|
+
its icon, never a line of small text; a done status is a chip in
|
|
345
|
+
`success-container`.
|
|
346
|
+
- **One focal point in colour per screen;** the rest stays calm on surface
|
|
347
|
+
tones. Colour and icons add to a label, never replace it.
|
|
348
|
+
|
|
349
|
+
Before, text on one grey surface:
|
|
350
|
+
|
|
351
|
+
```vue
|
|
352
|
+
<v-card>
|
|
353
|
+
<v-card-title>{{ client.name }}</v-card-title>
|
|
354
|
+
<v-card-text>
|
|
355
|
+
<div class="text-headline-small">{{ client.balance }}</div><div>Balance</div>
|
|
356
|
+
<div>{{ client.email }}</div><div>Email</div>
|
|
357
|
+
<div>No contact: choose one in Edit.</div>
|
|
358
|
+
</v-card-text>
|
|
359
|
+
<v-card-actions>Quote sent · No invoice yet</v-card-actions>
|
|
360
|
+
</v-card>
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
After (`tileColor` is `error-container` when owing, `surface-container-highest`
|
|
364
|
+
at zero, else `primary-container`):
|
|
365
|
+
|
|
366
|
+
```vue
|
|
367
|
+
<v-card variant="elevated">
|
|
368
|
+
<v-card-item :title="client.name" :subtitle="client.kind">
|
|
369
|
+
<template #prepend><v-avatar color="primary-container" :text="client.initials" /></template>
|
|
370
|
+
</v-card-item>
|
|
371
|
+
<v-card-text>
|
|
372
|
+
<v-card :color="tileColor" class="pa-4">
|
|
373
|
+
<div class="text-label-large">
|
|
374
|
+
<v-icon v-if="client.owing" icon="$error" size="small" />
|
|
375
|
+
{{ client.owing ? "Balance outstanding" : "Balance" }}
|
|
376
|
+
</div>
|
|
377
|
+
<div class="text-headline-medium">{{ client.balance }}</div>
|
|
378
|
+
</v-card>
|
|
379
|
+
<v-list>
|
|
380
|
+
<v-list-item prepend-icon="$person" :title="client.contact" subtitle="Contact" />
|
|
381
|
+
<v-list-item prepend-icon="$mail" :title="client.email" subtitle="Email" />
|
|
382
|
+
<v-list-item prepend-icon="$receiptLong" :title="client.billingAddress" subtitle="Billing address" />
|
|
383
|
+
</v-list>
|
|
384
|
+
<v-alert v-if="!client.contact" type="warning" variant="tonal" text="No contact: choose one in Edit." />
|
|
385
|
+
</v-card-text>
|
|
386
|
+
<v-card-actions>
|
|
387
|
+
<v-chip color="success-container" variant="flat" prepend-icon="$checkCircle">Quote sent</v-chip>
|
|
388
|
+
<v-chip prepend-icon="$schedule">No invoice yet</v-chip>
|
|
389
|
+
</v-card-actions>
|
|
390
|
+
</v-card>
|
|
391
|
+
```
|
|
392
|
+
|
|
316
393
|
## Lists, records and forms
|
|
317
394
|
|
|
318
395
|
- **List:** an M3 search bar, then one row of filter chips, each opening its own
|
|
@@ -483,7 +560,8 @@ Run this behavior-preserving audit over every affected screen:
|
|
|
483
560
|
every rule in Navigation and Up holds.
|
|
484
561
|
3. Find parallel components, duplicated state chrome, page-local themes, raw
|
|
485
562
|
visual constants, CSS against Vuetify internals, nested generic cards,
|
|
486
|
-
borders instead of tones, Material 2 typography,
|
|
563
|
+
borders instead of tones, Material 2 typography, desktop-only layout, and
|
|
564
|
+
screens of text with no icons, colour roles or focal point;
|
|
487
565
|
check states, focus, labels, targets, contrast and reduced motion against
|
|
488
566
|
the rules above.
|
|
489
567
|
4. Correct issues at the narrowest established owner. Consolidate only truly
|
|
@@ -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.382`
|
|
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.382`
|
|
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,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.116`
|
|
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`
|
|
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.108`
|
|
52
|
+
- Read: [PATTERN.md](patterns/assistant/model-sized-results/PATTERN.md)
|
|
53
|
+
- Examples: [example/](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.73`
|
|
63
74
|
- Read: [PATTERN.md](patterns/auth/auth-surface/PATTERN.md)
|
|
64
75
|
- Examples: [example/](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.83`
|
|
74
85
|
- Read: [PATTERN.md](patterns/auth/oidc-sign-in/PATTERN.md)
|
|
75
86
|
- Examples: [example/](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.73`
|
|
85
96
|
- Read: [PATTERN.md](patterns/auth/own-design-sign-in/PATTERN.md)
|
|
86
97
|
- Examples: [example/](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.316`
|
|
261
272
|
- Read: [PATTERN.md](patterns/console/console-surface/PATTERN.md)
|
|
262
273
|
- Examples: [example/](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.67`
|
|
283
294
|
- Read: [PATTERN.md](patterns/crud/crud-feature-package/PATTERN.md)
|
|
284
295
|
- Examples: [example/](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.74`
|
|
294
305
|
- Read: [PATTERN.md](patterns/crud/crud-screen-set/PATTERN.md)
|
|
295
306
|
- Examples: [example/](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.65`
|
|
338
349
|
- Read: [PATTERN.md](patterns/mobile/android-application/PATTERN.md)
|
|
339
350
|
- Examples: [example/](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.68`
|
|
349
360
|
- Read: [PATTERN.md](patterns/realtime/realtime-application/PATTERN.md)
|
|
350
361
|
- Examples: [example/](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.92`
|
|
360
371
|
- Read: [PATTERN.md](patterns/rewards/google-rewarded/PATTERN.md)
|
|
361
372
|
- Examples: [example/](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.382`
|
|
371
382
|
- Read: [PATTERN.md](patterns/server/feature-package/PATTERN.md)
|
|
372
383
|
- Examples: [example/](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.65`
|
|
382
393
|
- Read: [PATTERN.md](patterns/shell/application-shell/PATTERN.md)
|
|
383
394
|
- Examples: [example/](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.65`
|
|
393
404
|
- Read: [PATTERN.md](patterns/ui/page-and-placement/PATTERN.md)
|
|
394
405
|
- Examples: [example/](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.100`
|
|
404
415
|
- Read: [PATTERN.md](patterns/users/account-settings/PATTERN.md)
|
|
405
416
|
- Examples: [example/](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.78`
|
|
415
426
|
- Read: [PATTERN.md](patterns/users/user-administration-server/PATTERN.md)
|
|
416
427
|
- Examples: [example/](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.78`
|
|
426
437
|
- Read: [PATTERN.md](patterns/workspaces/workspace-server/PATTERN.md)
|
|
427
438
|
- Examples: [example/](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.100`
|
|
437
448
|
- Read: [PATTERN.md](patterns/workspaces/workspace-surfaces/PATTERN.md)
|
|
438
449
|
- Examples: [example/](patterns/workspaces/workspace-surfaces/example/)
|
|
439
450
|
- Requires: `@jskit-ai/shell-web`, `@jskit-ai/workspaces-core`, `@jskit-ai/workspaces-web`
|
|
@@ -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.65",
|
|
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.134",
|
|
55
55
|
"@playwright/test": "1.61.1",
|
|
56
56
|
"@vitejs/plugin-vue": "^6.0.7",
|
|
57
57
|
"eslint": "^10.8.0",
|