@jskit-ai/agent-docs 0.1.375 → 0.1.376
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 +15 -5
- package/guide/agent/app-extras/assistant.md +10 -1
- 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 +19 -19
- package/reference/autogen/packages/assistant-core.md +13 -3
- package/reference/autogen/packages/assistant-runtime.md +1 -0
- package/skills/jskit/references/pattern-index.md +19 -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 +1 -1
- package/skills/jskit/references/patterns/auth/accounts-hub/example/package.json +1 -1
- package/skills/jskit/references/patterns/auth/oidc-sign-in/example/package.json +1 -1
|
@@ -1535,13 +1535,14 @@ client-supplied scope directly into storage. Apply the same authorization to
|
|
|
1535
1535
|
history, sends, stops, deletion and attachment reads. The memory reference
|
|
1536
1536
|
adapter requires a nonempty string; other adapters may use structured scopes.
|
|
1537
1537
|
|
|
1538
|
-
Each callback receives these asynchronous operations. The first
|
|
1538
|
+
Each callback receives these asynchronous operations. The first eight serve the
|
|
1539
1539
|
transcript service. All the others are mandatory for `createConversationRuntime()`:
|
|
1540
1540
|
|
|
1541
1541
|
| Transaction operation | Contract |
|
|
1542
1542
|
| --- | --- |
|
|
1543
1543
|
| `listTurnIds()` | Stable IDs in oldest-to-newest order; include all stored turns. |
|
|
1544
1544
|
| `readTurn(id)` | Detached turn snapshot in the client model above, or null if absent. |
|
|
1545
|
+
| `listTurnFacts()` | Optional. For every turn `listTurnIds()` lists, in that order, `{ turnId, roles, hasMessages, completedEnvelope }` as `readTurn` would give them, read without copying any turn: `roles` names which of `system`, `user` and `assistant` the turn holds, in that order; `hasMessages` whether it holds any message; `completedEnvelope` whether its `metadata.runtime` has `origin: "application"` and `completedEnvelope: true`. A write's own uncommitted changes are included. With it, a presentation or `pageUnit: "messages"` page reads only the turns it returns; without it, such a page reads every turn. |
|
|
1545
1546
|
| `nextTurnId()` | Allocate an ID after the current tail under the write lock. |
|
|
1546
1547
|
| `hasMessage(messageId)` | Check uniqueness across the whole scoped conversation. |
|
|
1547
1548
|
| `findMessageTurnId(messageId)` | Optional. The turn ID holding that message, or an empty string; lets identity lookups avoid reading every turn. |
|
|
@@ -1597,7 +1598,9 @@ await verifyConversationStorageContract(storage, { runtime: true });
|
|
|
1597
1598
|
```
|
|
1598
1599
|
|
|
1599
1600
|
Those checks cover scoped isolation, concurrent duplicate writes, stable
|
|
1600
|
-
ordering, pagination, final replacement, attachments and detached reads
|
|
1601
|
+
ordering, pagination, final replacement, attachments and detached reads, and,
|
|
1602
|
+
for a transaction that offers `listTurnFacts()`, that its facts agree with
|
|
1603
|
+
`readTurn` for every turn, inside a rolled-back write too when `runtime: true`. An
|
|
1601
1604
|
adapter selected with `runtime: true` also checks all metadata operations, scope
|
|
1602
1605
|
isolation, patch preservation, combined transcript/metadata rollback, reading the
|
|
1603
1606
|
turns after a turn and the saved, scoped and rolled-back compaction summary. Use a
|
|
@@ -2551,9 +2554,16 @@ status information; after some steps, the engine's account ends the reply instea
|
|
|
2551
2554
|
Admission precedes every model call. The first resolves the authorized connection,
|
|
2552
2555
|
checks access and admits the request; every later call (steps, checks, summaries,
|
|
2553
2556
|
accounts) authorizes the same connection again and stops the reply when access is
|
|
2554
|
-
gone. A
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
+
gone. A reply reasons at the conversation's `effort`, else the one its connection
|
|
2558
|
+
declares (an AI integration's `settings.effort`, or the client's `effort`), sent
|
|
2559
|
+
on every call (steps, checks, summaries, accounts) as the AI SDK's standard
|
|
2560
|
+
reasoning setting in each provider's own field. Without one, the reply's steps
|
|
2561
|
+
ask for reasoning at high effort: adaptive thinking for Anthropic-format models,
|
|
2562
|
+
and `reasoning_effort: "high"` alone for DeepSeek models in the OpenAI style,
|
|
2563
|
+
which some OpenAI-compatible hosts need before they reason; other providers keep
|
|
2564
|
+
their own default, and the checks, summaries and accounts do not reason. A
|
|
2565
|
+
connection's effort outside the engine's levels is refused before any model call.
|
|
2566
|
+
The system prompt is the configured
|
|
2557
2567
|
instructions, then the summary. The engine's state note with the current UTC time
|
|
2558
2568
|
follows the conversation as its last message, so the provider's prompt cache keeps
|
|
2559
2569
|
the whole history from one turn to the next.
|
|
@@ -273,7 +273,11 @@ assistantServer: {
|
|
|
273
273
|
```
|
|
274
274
|
|
|
275
275
|
`aiIntegrationId` is the default. `aiIntegrationIds` is an optional allowlist for
|
|
276
|
-
user selection.
|
|
276
|
+
user selection. The integration may declare `settings.effort` (`none`,
|
|
277
|
+
`minimal`, `low`, `medium`, `high` or `xhigh`) to set how hard its replies
|
|
278
|
+
reason; without one the engine's default applies, which asks DeepSeek and
|
|
279
|
+
Anthropic-format models to reason at high effort. Some OpenAI-compatible hosts
|
|
280
|
+
reason only when asked: set an effort for a reasoning model served there. For a fixed agent, omit that list and hide its model control.
|
|
277
281
|
For selection, pass allowed `{ id, label }` choices to the client. Client values
|
|
278
282
|
never extend the server allowlist. Resolution runs for each request, so account
|
|
279
283
|
isolation, key rotation and disconnect remain the existing resolver's job.
|
|
@@ -287,6 +291,11 @@ The ordinary action-tool loop stays the runtime's owner; the SDK does not execut
|
|
|
287
291
|
application tools. Provider availability and account entitlement still come from
|
|
288
292
|
the provider. Existing `aiConfigPrefix` environment configuration is supported
|
|
289
293
|
when no integration is selected; that path rejects client integration overrides.
|
|
294
|
+
Its surface entry may set `effort` the same way, or `<PREFIX>_AI_EFFORT` in the
|
|
295
|
+
environment, which wins. A model on an OpenAI-compatible host that reasons only
|
|
296
|
+
when asked, such as DeepSeek V4.1 Flash on DeepInfra, is configured as
|
|
297
|
+
`provider: "deepseek"` with the host's `baseUrl`: its replies send
|
|
298
|
+
`reasoning_effort: "high"`, or the configured effort.
|
|
290
299
|
|
|
291
300
|
The `assistant/assistant-surface` pattern includes a concrete AI capability and
|
|
292
301
|
integration file. The published `assistant-core/examples/conversation` template
|
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.376`
|
|
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.376`
|
|
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.110`
|
|
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 @@ Run one OpenID Connect sign-in for all of an owner's apps as its own JSKIT proje
|
|
|
48
48
|
|
|
49
49
|
- Id: `auth/accounts-hub`
|
|
50
50
|
- Keywords: `accounts hub`, `auth`, `authentication`, `issuer`, `master login`, `oidc`, `openid connect`, `single sign-on`, `sso`
|
|
51
|
-
- Owner: `@jskit-ai/oidc-issuer-core@0.1.
|
|
51
|
+
- Owner: `@jskit-ai/oidc-issuer-core@0.1.65`
|
|
52
52
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/accounts-hub/PATTERN.md)
|
|
53
53
|
- Examples: [example/](../../skills/jskit/references/patterns/auth/accounts-hub/example/)
|
|
54
54
|
- Requires: `@jskit-ai/oidc-issuer-core`
|
|
@@ -70,7 +70,7 @@ Let people sign in with the accounts they already have in an accounts hub or ano
|
|
|
70
70
|
|
|
71
71
|
- Id: `auth/oidc-sign-in`
|
|
72
72
|
- 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.
|
|
73
|
+
- Owner: `@jskit-ai/auth-provider-oidc-core@0.2.81`
|
|
74
74
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/oidc-sign-in/PATTERN.md)
|
|
75
75
|
- Examples: [example/](../../skills/jskit/references/patterns/auth/oidc-sign-in/example/)
|
|
76
76
|
- Requires: `@jskit-ai/auth-provider-oidc-core`, `@jskit-ai/auth-web`
|
|
@@ -103,7 +103,7 @@ Resolve an administrator environment key or an individual user's grant, then use
|
|
|
103
103
|
|
|
104
104
|
- Id: `connectors/ai-connections`
|
|
105
105
|
- Keywords: `ai`, `api-key`, `cli`, `environment`, `free`, `models`, `ownership`, `zai`, `zen`
|
|
106
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
106
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
107
107
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/ai-connections/PATTERN.md)
|
|
108
108
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/ai-connections/example/)
|
|
109
109
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -114,7 +114,7 @@ Compose provider operations, authorization and encrypted file storage from a CLI
|
|
|
114
114
|
|
|
115
115
|
- Id: `connectors/api-key-connection`
|
|
116
116
|
- Keywords: `api-key`, `clay`, `cli`, `clickhouse`, `connectors`, `dbt`, `files`, `firecrawl`, `granola`, `integrations`, `metrics`, `prestashop`, `resend`, `semantic-layer`, `semrush`, `x-twitter`
|
|
117
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
117
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
118
118
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/api-key-connection/PATTERN.md)
|
|
119
119
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/api-key-connection/example/)
|
|
120
120
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -125,7 +125,7 @@ Compose token-based MCP discovery and explicitly authorized tool calls using the
|
|
|
125
125
|
|
|
126
126
|
- Id: `connectors/assistant-mcp`
|
|
127
127
|
- Keywords: `assistant`, `cli`, `connectors`, `files`, `integrations`, `mcp`, `n8n`, `sanity`
|
|
128
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
128
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
129
129
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/assistant-mcp/PATTERN.md)
|
|
130
130
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/assistant-mcp/example/)
|
|
131
131
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -136,7 +136,7 @@ Configure assistant OAuth clients, then compose existing state, encrypted file g
|
|
|
136
136
|
|
|
137
137
|
- Id: `connectors/assistant-mcp-oauth`
|
|
138
138
|
- Keywords: `amplitude`, `assistant`, `atlassian`, `canva`, `cli`, `client metadata`, `confidence`, `connectors`, `figma`, `files`, `granola`, `hex`, `mcp`, `miro`, `oauth`
|
|
139
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
139
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
140
140
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/assistant-mcp-oauth/PATTERN.md)
|
|
141
141
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/assistant-mcp-oauth/example/)
|
|
142
142
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -147,7 +147,7 @@ Compose signed AWS operations, file configuration and application authorization
|
|
|
147
147
|
|
|
148
148
|
- Id: `connectors/aws-storage-queries`
|
|
149
149
|
- Keywords: `athena`, `aws`, `cli`, `connectors`, `files`, `iam`, `queries`, `s3`, `storage`, `sts`
|
|
150
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
150
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
151
151
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/aws-storage-queries/PATTERN.md)
|
|
152
152
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/aws-storage-queries/example/)
|
|
153
153
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -169,7 +169,7 @@ Compose the shared connector runtime for event delivery while leaving workflow c
|
|
|
169
169
|
|
|
170
170
|
- Id: `connectors/event-delivery`
|
|
171
171
|
- Keywords: `cli`, `connectors`, `events`, `files`, `inngest`, `integrations`, `workflows`
|
|
172
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
172
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
173
173
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/event-delivery/PATTERN.md)
|
|
174
174
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/event-delivery/example/)
|
|
175
175
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -180,7 +180,7 @@ Wire service-account grants, file storage, explicit message actions and public b
|
|
|
180
180
|
|
|
181
181
|
- Id: `connectors/firebase-messaging`
|
|
182
182
|
- Keywords: `cli`, `connectors`, `fcm`, `files`, `firebase`, `integrations`, `jwt`, `notifications`, `push`, `service-account`, `vapid`
|
|
183
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
183
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
184
184
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/firebase-messaging/PATTERN.md)
|
|
185
185
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/firebase-messaging/example/)
|
|
186
186
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -191,7 +191,7 @@ Compose reviewed Search campaigns with project-owned Google OAuth and portable s
|
|
|
191
191
|
|
|
192
192
|
- Id: `connectors/google-ads-search`
|
|
193
193
|
- Keywords: `ads`, `campaigns`, `cli`, `connectors`, `conversion`, `google`, `search`
|
|
194
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
194
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
195
195
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/google-ads-search/PATTERN.md)
|
|
196
196
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/google-ads-search/example/)
|
|
197
197
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -202,7 +202,7 @@ Compose provider consent, verification and encrypted file persistence from an ap
|
|
|
202
202
|
|
|
203
203
|
- Id: `connectors/oauth-connection`
|
|
204
204
|
- Keywords: `accounting`, `assistant permissions`, `books`, `cli`, `client credentials`, `connectors`, `consent`, `crm`, `databricks`, `developer token`, `fabric`, `files`, `gaql`, `google ads`, `graphql`, `integrations`, `linkedin`, `microsoft`, `oauth`, `powerpoint`, `salesforce`, `service principal`, `shopify`, `soql`, `staffing`, `tiktok`, `twitch`, `wave`, `word`, `wordpress`, `workday`, `xero`, `zoho`
|
|
205
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
205
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
206
206
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/oauth-connection/PATTERN.md)
|
|
207
207
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/oauth-connection/example/)
|
|
208
208
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -213,7 +213,7 @@ Compose a sequential catalogue batch and preserve partial success for applicatio
|
|
|
213
213
|
|
|
214
214
|
- Id: `connectors/paddle-catalogue`
|
|
215
215
|
- Keywords: `batch`, `paddle`, `payments`, `prices`, `products`
|
|
216
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
216
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
217
217
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/paddle-catalogue/PATTERN.md)
|
|
218
218
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/paddle-catalogue/example/)
|
|
219
219
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -224,7 +224,7 @@ Resolve a publishable image key deliberately and use the shared URL library in a
|
|
|
224
224
|
|
|
225
225
|
- Id: `connectors/public-image`
|
|
226
226
|
- Keywords: `cli`, `connectors`, `files`, `images`, `integrations`, `logo-dev`, `public-key`
|
|
227
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
227
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
228
228
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/public-image/PATTERN.md)
|
|
229
229
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/public-image/example/)
|
|
230
230
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -235,7 +235,7 @@ Compose file configuration, Redshift Data API operations and application query o
|
|
|
235
235
|
|
|
236
236
|
- Id: `connectors/redshift-queries`
|
|
237
237
|
- Keywords: `aws`, `cli`, `connectors`, `files`, `iam`, `provisioned`, `redshift`, `serverless`, `sql`, `warehouse`
|
|
238
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
238
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
239
239
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/redshift-queries/PATTERN.md)
|
|
240
240
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/redshift-queries/example/)
|
|
241
241
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -246,7 +246,7 @@ Use the shared scanner runtime from a CLI or a host worker with portable configu
|
|
|
246
246
|
|
|
247
247
|
- Id: `connectors/source-scanning`
|
|
248
248
|
- Keywords: `cancellation`, `cli`, `connectors`, `integrations`, `scanning`, `security`, `source`, `wiz`, `worker`
|
|
249
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
249
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
250
250
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/source-scanning/PATTERN.md)
|
|
251
251
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/source-scanning/example/)
|
|
252
252
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -367,7 +367,7 @@ Define a server feature through explicit capabilities and first-class actions, a
|
|
|
367
367
|
|
|
368
368
|
- Id: `server/feature-package`
|
|
369
369
|
- Keywords: `actions`, `aggregate`, `feature`, `handle`, `orchestration`, `owns`, `package`, `provider`, `repository`, `routes`, `server`, `table resource`
|
|
370
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
370
|
+
- Owner: `@jskit-ai/agent-docs@0.1.376`
|
|
371
371
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/server/feature-package/PATTERN.md)
|
|
372
372
|
- Examples: [example/](../../skills/jskit/references/patterns/server/feature-package/example/)
|
|
373
373
|
- Requires: `@jskit-ai/kernel`
|
|
@@ -1765,6 +1765,7 @@ Exports
|
|
|
1765
1765
|
Local functions
|
|
1766
1766
|
- `conversationMessageStorageKey({ role, at, messageId } = {})`
|
|
1767
1767
|
- `conversationMessageIndex(record)`
|
|
1768
|
+
- `savedTurnFacts(turnId, turn)`
|
|
1768
1769
|
|
|
1769
1770
|
### `src/server/conversation/streams.js`
|
|
1770
1771
|
Exports
|
|
@@ -1795,10 +1796,12 @@ Local functions
|
|
|
1795
1796
|
### `src/server/conversation/transcript.js`
|
|
1796
1797
|
Exports
|
|
1797
1798
|
- `createConversationTranscript({ storage, clock = currentDate, applicationTurns = false })`
|
|
1799
|
+
- `conversationTurnFacts(turn)`
|
|
1798
1800
|
- `hasMessages(turn)`
|
|
1799
1801
|
- `isCompletedEnvelopeTurn(turn)`
|
|
1800
1802
|
Local functions
|
|
1801
1803
|
- `currentDate()`
|
|
1804
|
+
- `shownTurns(transaction, presentation)`
|
|
1802
1805
|
|
|
1803
1806
|
### `src/server/hosts/claudeHistory.js`
|
|
1804
1807
|
Exports
|
|
@@ -2004,6 +2007,7 @@ Exports
|
|
|
2004
2007
|
- `SUPPORTED_AI_PROVIDERS`
|
|
2005
2008
|
- `DEFAULT_AI_PROVIDER`
|
|
2006
2009
|
- `createAiConnectionClient`
|
|
2010
|
+
- `AI_REASONING_EFFORTS`
|
|
2007
2011
|
- `DEFAULT_AI_TIMEOUT_MS`
|
|
2008
2012
|
- `normalizeOptionalHttpUrl`
|
|
2009
2013
|
- `normalizeTimeoutMs`
|
|
@@ -2029,7 +2033,7 @@ Exports
|
|
|
2029
2033
|
|
|
2030
2034
|
### `src/server/lib/aiConnectionClient.js`
|
|
2031
2035
|
Exports
|
|
2032
|
-
- `createAiConnectionClient(connection, { fetch, timeoutMs = 120_000, maxOutputTokens, effort, reportUnavailableToolCalls = false } = {})`
|
|
2036
|
+
- `createAiConnectionClient(connection, { fetch, timeoutMs = 120_000, maxOutputTokens, effort = connection?.effort, reportUnavailableToolCalls = false } = {})`
|
|
2033
2037
|
Local functions
|
|
2034
2038
|
- `sdkMessages(messages)`
|
|
2035
2039
|
|
|
@@ -2058,7 +2062,7 @@ Local functions
|
|
|
2058
2062
|
|
|
2059
2063
|
### `src/server/lib/providers/anthropicClient.js`
|
|
2060
2064
|
Exports
|
|
2061
|
-
- `createAnthropicClient({ enabled = true, apiKey = "", baseUrl = "", model = "", timeoutMs = 120_000 } = {})`
|
|
2065
|
+
- `createAnthropicClient({ enabled = true, apiKey = "", baseUrl = "", model = "", timeoutMs = 120_000, effort = "" } = {})`
|
|
2062
2066
|
- `DEFAULT_ANTHROPIC_MODEL`
|
|
2063
2067
|
- `DEFAULT_ANTHROPIC_BASE_URL`
|
|
2064
2068
|
Local functions
|
|
@@ -2074,6 +2078,7 @@ Exports
|
|
|
2074
2078
|
- `SUPPORTED_AI_PROVIDERS`
|
|
2075
2079
|
- `DEFAULT_AI_PROVIDER`
|
|
2076
2080
|
- `DEFAULT_AI_TIMEOUT_MS`
|
|
2081
|
+
- `AI_REASONING_EFFORTS`
|
|
2077
2082
|
- `normalizeProvider(provider)`
|
|
2078
2083
|
- `normalizeTimeoutMs(value, fallback = DEFAULT_AI_TIMEOUT_MS)`
|
|
2079
2084
|
- `normalizeModel(value, fallback = "")`
|
|
@@ -2098,7 +2103,7 @@ Exports
|
|
|
2098
2103
|
|
|
2099
2104
|
### `src/server/lib/providers/openAiCompatibleClient.js`
|
|
2100
2105
|
Exports
|
|
2101
|
-
- `createOpenAiCompatibleClient({ enabled = true, apiKey = "", baseUrl = "", model = "", defaultModel = "", provider = "openai", timeoutMs = 120_000 } = {})`
|
|
2106
|
+
- `createOpenAiCompatibleClient({ enabled = true, apiKey = "", baseUrl = "", model = "", defaultModel = "", provider = "openai", timeoutMs = 120_000, effort = "" } = {})`
|
|
2102
2107
|
|
|
2103
2108
|
### `src/server/lib/resolveWorkspaceSlug.js`
|
|
2104
2109
|
Exports
|
|
@@ -2275,7 +2280,10 @@ Local functions
|
|
|
2275
2280
|
### `src/shared/conversation/pagination.js`
|
|
2276
2281
|
Exports
|
|
2277
2282
|
- `CONVERSATION_LOG_PAGE_LIMIT`
|
|
2283
|
+
- `CONVERSATION_LOG_PAGE_ROLES`
|
|
2278
2284
|
- `conversationLogPageStart(turns, limit, end = turns.length)`
|
|
2285
|
+
- `conversationLogPageWindow(entries, { beforeTurnId = "", limit = 0 } = {})`
|
|
2286
|
+
- `conversationLogPageTurns(turns, window)`
|
|
2279
2287
|
- `conversationLogPage(turns, { beforeTurnId = "", limit = 0 } = {})`
|
|
2280
2288
|
- `normalizeConversationLogPagination(pagination = {})`
|
|
2281
2289
|
- `normalizeConversationLogPage(payload = {})`
|
|
@@ -2420,6 +2428,8 @@ Exports
|
|
|
2420
2428
|
### `src/testing/conversationStorageContract.js`
|
|
2421
2429
|
Exports
|
|
2422
2430
|
- `verifyConversationStorageContract(storage, { runtime = false } = {})`
|
|
2431
|
+
Local functions
|
|
2432
|
+
- `turnFactsAndReads(transaction)`
|
|
2423
2433
|
|
|
2424
2434
|
### `src/testing/nativeCodex.js`
|
|
2425
2435
|
Exports
|
|
@@ -458,6 +458,7 @@ Exports
|
|
|
458
458
|
Local functions
|
|
459
459
|
- `normalizeSettingsUpdatePermission(value, targetSurfaceId)`
|
|
460
460
|
- `normalizeMaxToolBytes(entry, key, targetSurfaceId)`
|
|
461
|
+
- `normalizeEffort(value, name)`
|
|
461
462
|
- `readPrefixedEnvValue(env = {}, prefix = "", key = "")`
|
|
462
463
|
|
|
463
464
|
### `src/server/support/assistantStreamWriter.js`
|
|
@@ -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.376`
|
|
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.376`
|
|
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.110`
|
|
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 @@ Run one OpenID Connect sign-in for all of an owner's apps as its own JSKIT proje
|
|
|
48
48
|
|
|
49
49
|
- Id: `auth/accounts-hub`
|
|
50
50
|
- Keywords: `accounts hub`, `auth`, `authentication`, `issuer`, `master login`, `oidc`, `openid connect`, `single sign-on`, `sso`
|
|
51
|
-
- Owner: `@jskit-ai/oidc-issuer-core@0.1.
|
|
51
|
+
- Owner: `@jskit-ai/oidc-issuer-core@0.1.65`
|
|
52
52
|
- Read: [PATTERN.md](patterns/auth/accounts-hub/PATTERN.md)
|
|
53
53
|
- Examples: [example/](patterns/auth/accounts-hub/example/)
|
|
54
54
|
- Requires: `@jskit-ai/oidc-issuer-core`
|
|
@@ -70,7 +70,7 @@ Let people sign in with the accounts they already have in an accounts hub or ano
|
|
|
70
70
|
|
|
71
71
|
- Id: `auth/oidc-sign-in`
|
|
72
72
|
- 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.
|
|
73
|
+
- Owner: `@jskit-ai/auth-provider-oidc-core@0.2.81`
|
|
74
74
|
- Read: [PATTERN.md](patterns/auth/oidc-sign-in/PATTERN.md)
|
|
75
75
|
- Examples: [example/](patterns/auth/oidc-sign-in/example/)
|
|
76
76
|
- Requires: `@jskit-ai/auth-provider-oidc-core`, `@jskit-ai/auth-web`
|
|
@@ -103,7 +103,7 @@ Resolve an administrator environment key or an individual user's grant, then use
|
|
|
103
103
|
|
|
104
104
|
- Id: `connectors/ai-connections`
|
|
105
105
|
- Keywords: `ai`, `api-key`, `cli`, `environment`, `free`, `models`, `ownership`, `zai`, `zen`
|
|
106
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
106
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
107
107
|
- Read: [PATTERN.md](patterns/connectors/ai-connections/PATTERN.md)
|
|
108
108
|
- Examples: [example/](patterns/connectors/ai-connections/example/)
|
|
109
109
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -114,7 +114,7 @@ Compose provider operations, authorization and encrypted file storage from a CLI
|
|
|
114
114
|
|
|
115
115
|
- Id: `connectors/api-key-connection`
|
|
116
116
|
- Keywords: `api-key`, `clay`, `cli`, `clickhouse`, `connectors`, `dbt`, `files`, `firecrawl`, `granola`, `integrations`, `metrics`, `prestashop`, `resend`, `semantic-layer`, `semrush`, `x-twitter`
|
|
117
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
117
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
118
118
|
- Read: [PATTERN.md](patterns/connectors/api-key-connection/PATTERN.md)
|
|
119
119
|
- Examples: [example/](patterns/connectors/api-key-connection/example/)
|
|
120
120
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -125,7 +125,7 @@ Compose token-based MCP discovery and explicitly authorized tool calls using the
|
|
|
125
125
|
|
|
126
126
|
- Id: `connectors/assistant-mcp`
|
|
127
127
|
- Keywords: `assistant`, `cli`, `connectors`, `files`, `integrations`, `mcp`, `n8n`, `sanity`
|
|
128
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
128
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
129
129
|
- Read: [PATTERN.md](patterns/connectors/assistant-mcp/PATTERN.md)
|
|
130
130
|
- Examples: [example/](patterns/connectors/assistant-mcp/example/)
|
|
131
131
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -136,7 +136,7 @@ Configure assistant OAuth clients, then compose existing state, encrypted file g
|
|
|
136
136
|
|
|
137
137
|
- Id: `connectors/assistant-mcp-oauth`
|
|
138
138
|
- Keywords: `amplitude`, `assistant`, `atlassian`, `canva`, `cli`, `client metadata`, `confidence`, `connectors`, `figma`, `files`, `granola`, `hex`, `mcp`, `miro`, `oauth`
|
|
139
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
139
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
140
140
|
- Read: [PATTERN.md](patterns/connectors/assistant-mcp-oauth/PATTERN.md)
|
|
141
141
|
- Examples: [example/](patterns/connectors/assistant-mcp-oauth/example/)
|
|
142
142
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -147,7 +147,7 @@ Compose signed AWS operations, file configuration and application authorization
|
|
|
147
147
|
|
|
148
148
|
- Id: `connectors/aws-storage-queries`
|
|
149
149
|
- Keywords: `athena`, `aws`, `cli`, `connectors`, `files`, `iam`, `queries`, `s3`, `storage`, `sts`
|
|
150
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
150
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
151
151
|
- Read: [PATTERN.md](patterns/connectors/aws-storage-queries/PATTERN.md)
|
|
152
152
|
- Examples: [example/](patterns/connectors/aws-storage-queries/example/)
|
|
153
153
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -169,7 +169,7 @@ Compose the shared connector runtime for event delivery while leaving workflow c
|
|
|
169
169
|
|
|
170
170
|
- Id: `connectors/event-delivery`
|
|
171
171
|
- Keywords: `cli`, `connectors`, `events`, `files`, `inngest`, `integrations`, `workflows`
|
|
172
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
172
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
173
173
|
- Read: [PATTERN.md](patterns/connectors/event-delivery/PATTERN.md)
|
|
174
174
|
- Examples: [example/](patterns/connectors/event-delivery/example/)
|
|
175
175
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -180,7 +180,7 @@ Wire service-account grants, file storage, explicit message actions and public b
|
|
|
180
180
|
|
|
181
181
|
- Id: `connectors/firebase-messaging`
|
|
182
182
|
- Keywords: `cli`, `connectors`, `fcm`, `files`, `firebase`, `integrations`, `jwt`, `notifications`, `push`, `service-account`, `vapid`
|
|
183
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
183
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
184
184
|
- Read: [PATTERN.md](patterns/connectors/firebase-messaging/PATTERN.md)
|
|
185
185
|
- Examples: [example/](patterns/connectors/firebase-messaging/example/)
|
|
186
186
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -191,7 +191,7 @@ Compose reviewed Search campaigns with project-owned Google OAuth and portable s
|
|
|
191
191
|
|
|
192
192
|
- Id: `connectors/google-ads-search`
|
|
193
193
|
- Keywords: `ads`, `campaigns`, `cli`, `connectors`, `conversion`, `google`, `search`
|
|
194
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
194
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
195
195
|
- Read: [PATTERN.md](patterns/connectors/google-ads-search/PATTERN.md)
|
|
196
196
|
- Examples: [example/](patterns/connectors/google-ads-search/example/)
|
|
197
197
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -202,7 +202,7 @@ Compose provider consent, verification and encrypted file persistence from an ap
|
|
|
202
202
|
|
|
203
203
|
- Id: `connectors/oauth-connection`
|
|
204
204
|
- Keywords: `accounting`, `assistant permissions`, `books`, `cli`, `client credentials`, `connectors`, `consent`, `crm`, `databricks`, `developer token`, `fabric`, `files`, `gaql`, `google ads`, `graphql`, `integrations`, `linkedin`, `microsoft`, `oauth`, `powerpoint`, `salesforce`, `service principal`, `shopify`, `soql`, `staffing`, `tiktok`, `twitch`, `wave`, `word`, `wordpress`, `workday`, `xero`, `zoho`
|
|
205
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
205
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
206
206
|
- Read: [PATTERN.md](patterns/connectors/oauth-connection/PATTERN.md)
|
|
207
207
|
- Examples: [example/](patterns/connectors/oauth-connection/example/)
|
|
208
208
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -213,7 +213,7 @@ Compose a sequential catalogue batch and preserve partial success for applicatio
|
|
|
213
213
|
|
|
214
214
|
- Id: `connectors/paddle-catalogue`
|
|
215
215
|
- Keywords: `batch`, `paddle`, `payments`, `prices`, `products`
|
|
216
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
216
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
217
217
|
- Read: [PATTERN.md](patterns/connectors/paddle-catalogue/PATTERN.md)
|
|
218
218
|
- Examples: [example/](patterns/connectors/paddle-catalogue/example/)
|
|
219
219
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -224,7 +224,7 @@ Resolve a publishable image key deliberately and use the shared URL library in a
|
|
|
224
224
|
|
|
225
225
|
- Id: `connectors/public-image`
|
|
226
226
|
- Keywords: `cli`, `connectors`, `files`, `images`, `integrations`, `logo-dev`, `public-key`
|
|
227
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
227
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
228
228
|
- Read: [PATTERN.md](patterns/connectors/public-image/PATTERN.md)
|
|
229
229
|
- Examples: [example/](patterns/connectors/public-image/example/)
|
|
230
230
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -235,7 +235,7 @@ Compose file configuration, Redshift Data API operations and application query o
|
|
|
235
235
|
|
|
236
236
|
- Id: `connectors/redshift-queries`
|
|
237
237
|
- Keywords: `aws`, `cli`, `connectors`, `files`, `iam`, `provisioned`, `redshift`, `serverless`, `sql`, `warehouse`
|
|
238
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
238
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
239
239
|
- Read: [PATTERN.md](patterns/connectors/redshift-queries/PATTERN.md)
|
|
240
240
|
- Examples: [example/](patterns/connectors/redshift-queries/example/)
|
|
241
241
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -246,7 +246,7 @@ Use the shared scanner runtime from a CLI or a host worker with portable configu
|
|
|
246
246
|
|
|
247
247
|
- Id: `connectors/source-scanning`
|
|
248
248
|
- Keywords: `cancellation`, `cli`, `connectors`, `integrations`, `scanning`, `security`, `source`, `wiz`, `worker`
|
|
249
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
249
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.68`
|
|
250
250
|
- Read: [PATTERN.md](patterns/connectors/source-scanning/PATTERN.md)
|
|
251
251
|
- Examples: [example/](patterns/connectors/source-scanning/example/)
|
|
252
252
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -367,7 +367,7 @@ Define a server feature through explicit capabilities and first-class actions, a
|
|
|
367
367
|
|
|
368
368
|
- Id: `server/feature-package`
|
|
369
369
|
- Keywords: `actions`, `aggregate`, `feature`, `handle`, `orchestration`, `owns`, `package`, `provider`, `repository`, `routes`, `server`, `table resource`
|
|
370
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
370
|
+
- Owner: `@jskit-ai/agent-docs@0.1.376`
|
|
371
371
|
- Read: [PATTERN.md](patterns/server/feature-package/PATTERN.md)
|
|
372
372
|
- Examples: [example/](patterns/server/feature-package/example/)
|
|
373
373
|
- Requires: `@jskit-ai/kernel`
|