@jskit-ai/agent-docs 0.1.367 → 0.1.368
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 -3
- package/guide/agent/app-extras/assistant.md +5 -2
- 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/agent.md +7 -1
- 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
|
@@ -2514,9 +2514,21 @@ eighth identical call in a row tells the model it is not making progress.
|
|
|
2514
2514
|
A finished reply gets the engine's checks. Each sends it back once to carry on from
|
|
2515
2515
|
its own steps: raw markup (nothing in it ran), a reply that stops at announcing
|
|
2516
2516
|
its next step, and, when neither ran, a claimed action that the reply's own
|
|
2517
|
-
actions do not support (one short model call compares them).
|
|
2518
|
-
|
|
2519
|
-
|
|
2517
|
+
actions do not support (one short model call compares them). A claim the check
|
|
2518
|
+
names is judged again, in one more short call, on the passages of the reply's own
|
|
2519
|
+
action results that best match it, read in full rather than the check's short
|
|
2520
|
+
excerpt: one the reply passes on from a record it read, such as an email saying
|
|
2521
|
+
the documents were forwarded to the vessel at 08:35, even in other words, does
|
|
2522
|
+
not send it back. A claim in the first person singular ("I forwarded it…") is
|
|
2523
|
+
always the assistant's own, and one that no action result speaks to stands
|
|
2524
|
+
without that call.
|
|
2525
|
+
The completion metadata names the check as `check`. A reply that ends with the
|
|
2526
|
+
engine's own account of where it got to is never sent back as stopping short.
|
|
2527
|
+
The reply a check sends back has already streamed, so its redo takes its place:
|
|
2528
|
+
the redo's first message, the progress of a step that calls actions or the
|
|
2529
|
+
answer itself, is published under the sent-back answer's id, and the runtime
|
|
2530
|
+
replaces that text where it is. The person never sees the sent-back answer
|
|
2531
|
+
beside its redo, and the saved turn does not keep it.
|
|
2520
2532
|
|
|
2521
2533
|
A reply runs at most `limits.maxSteps` steps (default 40, the engine's limit for
|
|
2522
2534
|
work with app tools). Out of steps, or past the engine's 15-minute reply deadline,
|
|
@@ -829,8 +829,11 @@ words, before the write runs. A reply that runs
|
|
|
829
829
|
out of steps ends with the model's own account of what it did and what is left.
|
|
830
830
|
The engine's checks send a reply back once when it leaks markup, stops at
|
|
831
831
|
announcing its next step (“Let me query…”), or claims an action no tool
|
|
832
|
-
performed
|
|
833
|
-
|
|
832
|
+
performed, and the redo takes the sent-back reply's place on screen. A fact the
|
|
833
|
+
reply passes on from a record an action read (an email saying the documents were
|
|
834
|
+
forwarded to the vessel at 08:35), even in its own words, is not a claim: the
|
|
835
|
+
check judges it on the record's own passages. Long conversations are summarised
|
|
836
|
+
rather than refused; see the conversation runtime guide.
|
|
834
837
|
|
|
835
838
|
Every request carries the current date and time in UTC in the engine's state
|
|
836
839
|
note, so no turn needs an extra action to learn it, and no action runs before
|
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.368`
|
|
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.368`
|
|
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.102`
|
|
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`
|
|
@@ -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.368`
|
|
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`
|
|
@@ -24,10 +24,16 @@ Exports
|
|
|
24
24
|
- `withoutClosingWords(transcript)`
|
|
25
25
|
- `withoutMarkup(text)`
|
|
26
26
|
- `toolRecord(transcript = [], events = [], app = "The app")`
|
|
27
|
-
- `unsupportedClaims({ model, reply, record })`
|
|
27
|
+
- `unsupportedClaims({ model, reply, record, transcript })`
|
|
28
28
|
- `stoppedShort(text)`
|
|
29
29
|
- `LEAKED_MARKUP`
|
|
30
30
|
- `reportsActions(text)`
|
|
31
|
+
Local functions
|
|
32
|
+
- `stems(text)`
|
|
33
|
+
- `leaves(value, key = "")`
|
|
34
|
+
- `passages(transcript)`
|
|
35
|
+
- `evidence(claim, all, budget)`
|
|
36
|
+
- `reportedClaims({ model, reply, claims, transcript })`
|
|
31
37
|
|
|
32
38
|
### `src/server/context.js`
|
|
33
39
|
Exports
|
|
@@ -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.368`
|
|
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.368`
|
|
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.102`
|
|
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`
|
|
@@ -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.368`
|
|
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`
|