@jskit-ai/agent-docs 0.1.216 → 0.1.218
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 +11 -0
- package/guide/agent/app-setup/upgrading-jskit.md +18 -0
- package/package.json +1 -1
- package/patterns/minimal-foundation/example/package.json +1 -1
- package/patterns/shell-foundation/example/package.json +1 -1
- package/reference/autogen/PATTERN_INDEX.md +4 -4
- package/reference/autogen/packages/assistant-core.md +5 -1
- package/reference/autogen/tooling/jskit-catalog.md +2 -2
- package/skills/jskit/references/pattern-index.md +4 -4
- package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +1 -1
- package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +1 -1
|
@@ -2045,6 +2045,17 @@ receipt inspection and native preservation. Presentation pagination filters befo
|
|
|
2045
2045
|
selecting the page, so its counts and cursors describe the visible product turns.
|
|
2046
2046
|
Caller data or JSON-looking text cannot mark a turn as internal.
|
|
2047
2047
|
|
|
2048
|
+
For browser history, the server can also select `pageUnit: "messages"` when
|
|
2049
|
+
calling `readConversationLogPage` or a bound conversation's `read`. The limit
|
|
2050
|
+
then counts user, assistant and system messages separately; reasoning and
|
|
2051
|
+
commentary remain visible without consuming it. The default still counts whole
|
|
2052
|
+
stored turns for internal consumers. Follow the returned `nextBeforeTurnId`
|
|
2053
|
+
verbatim: it can identify a boundary between a request and answer in one turn.
|
|
2054
|
+
The supplied browser binding merges those partial turns and keeps the same
|
|
2055
|
+
boundary through live updates and refreshes. This projection never rewrites
|
|
2056
|
+
stored messages. The shared browser page-size default is ten; the application
|
|
2057
|
+
host selects the paging unit and its initial limit.
|
|
2058
|
+
|
|
2048
2059
|
Native continuity uses those same product rows for history versions and API
|
|
2049
2060
|
briefings while retaining raw canonical envelopes in storage. An application
|
|
2050
2061
|
coordinator can pass trusted top-level `completedEnvelope: true` and
|
|
@@ -119,6 +119,24 @@ composed application manifest and let resolution identify its actual consumers.
|
|
|
119
119
|
The installed-graph check does not replace application-owned non-JSKIT version
|
|
120
120
|
validation or the original root lockfile checks.
|
|
121
121
|
|
|
122
|
+
### Explicit development sources
|
|
123
|
+
|
|
124
|
+
Hosts composing selected source checkouts can pass `sourcePackages`, an explicit
|
|
125
|
+
package-name-to-directory map, to both `checkProject` and `checkInstalledGraph`.
|
|
126
|
+
The former exempts only these replaced names from published declaration and
|
|
127
|
+
root lock/installed-version comparisons. Pass the corresponding **materialized**
|
|
128
|
+
directories to the latter: it validates package identity and required dependencies,
|
|
129
|
+
rejects resolution outside each selected real path, and still rejects duplicate
|
|
130
|
+
singleton runtimes, including identical-version copies. Selected source versions
|
|
131
|
+
and their consumer ranges need not match the published catalog.
|
|
132
|
+
|
|
133
|
+
Always run both stages. Source preflight alone does not prove a usable graph.
|
|
134
|
+
The host still validates external dependency compatibility and prepared exports.
|
|
135
|
+
Unselected packages retain ordinary checks. This programmatic development option
|
|
136
|
+
does not modify manifests or locks, change release pins, or relax CLI/update/CI
|
|
137
|
+
defaults. A missing selected checkout must fail; it is not permission to choose a
|
|
138
|
+
published package instead.
|
|
139
|
+
|
|
122
140
|
## Enforce the graph in CI
|
|
123
141
|
|
|
124
142
|
Run this after `npm ci`, and include it in the application's normal verifier:
|
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.218`
|
|
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.218`
|
|
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.1.
|
|
40
|
+
- Owner: `@jskit-ai/assistant-runtime@0.1.217`
|
|
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`
|
|
@@ -323,7 +323,7 @@ Define a server feature through explicit capabilities and first-class actions, a
|
|
|
323
323
|
|
|
324
324
|
- Id: `server/feature-package`
|
|
325
325
|
- Keywords: `actions`, `feature`, `json-rest`, `knex`, `orchestration`, `package`, `provider`, `repository`, `routes`, `server`
|
|
326
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
326
|
+
- Owner: `@jskit-ai/agent-docs@0.1.218`
|
|
327
327
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/server/feature-package/PATTERN.md)
|
|
328
328
|
- Examples: [example/](../../skills/jskit/references/patterns/server/feature-package/example/)
|
|
329
329
|
- Requires: `@jskit-ai/kernel`
|
|
@@ -306,7 +306,7 @@ Exports
|
|
|
306
306
|
- `deleteClaudeConversationHistory({ configRoot, workdir, conversationId })`
|
|
307
307
|
- `retireClaudeConversationHistory({ configRoot, binding, beforeDelete, requireIdle, signal })`
|
|
308
308
|
- `claudeHistoryPath({ configRoot, workdir, conversationId })`
|
|
309
|
-
- `claudeMessageBlocks(frame, { includeNested = false } = {})`
|
|
309
|
+
- `claudeMessageBlocks(frame, { includeNested = false, commentary = false } = {})`
|
|
310
310
|
- `readClaudeHistory(options)`
|
|
311
311
|
- `requireClaudeSessionId(id)`
|
|
312
312
|
- `archivedClaudeProjectDirectory(workdir)`
|
|
@@ -1036,6 +1036,7 @@ Local functions
|
|
|
1036
1036
|
### `src/server/conversation/providers/scoped.js`
|
|
1037
1037
|
Exports
|
|
1038
1038
|
- `runScopedConversationTurn({ operations, scope = {}, input = {}, context: options = {}, executionProfile: profileSnapshot } = {})`
|
|
1039
|
+
- `projectStoredPersistentConversation(options)`
|
|
1039
1040
|
- `readPersistentConversation(options)`
|
|
1040
1041
|
- `startPersistentConversationTurn(options)`
|
|
1041
1042
|
- `inspectPersistentConversationAdmission(options)`
|
|
@@ -1048,6 +1049,7 @@ Local functions
|
|
|
1048
1049
|
- `qualifyTranscript(turns, record, response, receipts)`
|
|
1049
1050
|
- `publishTranscript({ sessionId, store, receipts, publish }, context, record, turns, response = {})`
|
|
1050
1051
|
- `streamMessage({ sessionId, store, projection, publish }, context, record, event)`
|
|
1052
|
+
- `projectPersistentConversation(options, context, record, response, turns)`
|
|
1051
1053
|
|
|
1052
1054
|
### `src/server/conversation/runtime.js`
|
|
1053
1055
|
Exports
|
|
@@ -1551,6 +1553,8 @@ Local functions
|
|
|
1551
1553
|
### `src/shared/conversation/pagination.js`
|
|
1552
1554
|
Exports
|
|
1553
1555
|
- `CONVERSATION_LOG_PAGE_LIMIT`
|
|
1556
|
+
- `conversationLogPageStart(turns, limit, end = turns.length)`
|
|
1557
|
+
- `conversationLogPage(turns, { beforeTurnId = "", limit = 0 } = {})`
|
|
1554
1558
|
- `normalizeConversationLogPagination(pagination = {})`
|
|
1555
1559
|
- `normalizeConversationLogPage(payload = {})`
|
|
1556
1560
|
- `mergeConversationLogPages(pages = [])`
|
|
@@ -63,8 +63,8 @@ Exports
|
|
|
63
63
|
- `CHECK_SCRIPT`
|
|
64
64
|
- `DEPENDENCY_FIELDS`
|
|
65
65
|
- `UPDATE_SCRIPT`
|
|
66
|
-
- `checkProject({ projectRoot = process.cwd(), catalog, additionalManifests = [], checkInstalled = false } = {})`
|
|
67
|
-
- `checkInstalledGraph({ catalog, manifestPaths = [] } = {})`
|
|
66
|
+
- `checkProject({ projectRoot = process.cwd(), catalog, additionalManifests = [], checkInstalled = false, sourcePackages = {} } = {})`
|
|
67
|
+
- `checkInstalledGraph({ catalog, manifestPaths = [], sourcePackages = {} } = {})`
|
|
68
68
|
- `resolveInstalledPackage(consumerDirectory, packageId)`
|
|
69
69
|
- `collectLockInstallations(packageLock = {})`
|
|
70
70
|
- `discoverProjectManifests(projectRoot, additionalManifests = [])`
|
|
@@ -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.218`
|
|
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.218`
|
|
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.1.
|
|
40
|
+
- Owner: `@jskit-ai/assistant-runtime@0.1.217`
|
|
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`
|
|
@@ -323,7 +323,7 @@ Define a server feature through explicit capabilities and first-class actions, a
|
|
|
323
323
|
|
|
324
324
|
- Id: `server/feature-package`
|
|
325
325
|
- Keywords: `actions`, `feature`, `json-rest`, `knex`, `orchestration`, `package`, `provider`, `repository`, `routes`, `server`
|
|
326
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
326
|
+
- Owner: `@jskit-ai/agent-docs@0.1.218`
|
|
327
327
|
- Read: [PATTERN.md](patterns/server/feature-package/PATTERN.md)
|
|
328
328
|
- Examples: [example/](patterns/server/feature-package/example/)
|
|
329
329
|
- Requires: `@jskit-ai/kernel`
|