@cat-factory/prompt-fragments 1.1.44 → 1.1.46
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/README.md +4 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -26,7 +26,10 @@ relevance selector), the `body` (injected text), an optional condensed `brief`
|
|
|
26
26
|
## How it's used
|
|
27
27
|
|
|
28
28
|
- The Worker serves this catalog **read-only** at `GET /prompt-fragments`; the SPA
|
|
29
|
-
shows it in the per-block fragment picker.
|
|
29
|
+
shows it in the per-block fragment picker. `GET /api/v1/prompt-fragments` is the external
|
|
30
|
+
counterpart, and answers from the MERGED tenant catalog rather than this pool: identity and
|
|
31
|
+
metadata only, no `body`, so a headless caller can pick the standards a task is held to
|
|
32
|
+
([public API](https://github.com/kibertoad/cat-factory/blob/main/backend/docs/public-api.md#choosing-the-standards-a-task-is-judged-against)).
|
|
30
33
|
- A block stores selected `fragmentIds[]`; at run time core composes the chosen
|
|
31
34
|
bodies into the system prompt. Each standard is folded as its **own delimited,
|
|
32
35
|
title-labelled block** (`<best-practice-standard id="…" title="…">`) rather than one
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/prompt-fragments",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.46",
|
|
4
4
|
"description": "Curated, versioned best-practice prompt fragments injected into agent system prompts.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@cat-factory/contracts": "0.
|
|
28
|
-
"@cat-factory/kernel": "0.346.
|
|
27
|
+
"@cat-factory/contracts": "0.354.0",
|
|
28
|
+
"@cat-factory/kernel": "0.346.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"typescript": "7.0.2",
|