@cogfoundry/loomloom 0.6.0-beta.1 → 0.6.0
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 +2 -2
- package/package.json +7 -7
- package/platforms.json +14 -14
- package/skill/loomloom/SKILL.md +55 -17
- package/skill/loomloom/references/billing.md +11 -1
- package/skill/loomloom/references/cli.md +62 -3
- package/skill/loomloom/references/local-skills.md +3 -3
- package/skill/loomloom/references/market.md +227 -21
- package/skill/loomloom/references/setup.md +14 -1
- package/skill/loomloom/references/template-spec.md +23 -3
- package/skill/loomloom/references/workflow-preview.md +86 -0
- package/skill-manifest.json +13 -9
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
npm distribution for the LoomLoom Go CLI.
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
|
-
npm install -g @cogfoundry/loomloom
|
|
6
|
+
npm install -g @cogfoundry/loomloom
|
|
7
7
|
loomloom --version
|
|
8
8
|
```
|
|
9
9
|
|
|
@@ -12,5 +12,5 @@ GitHub Release assets remain the binary source of truth. The launcher selects an
|
|
|
12
12
|
To install the matching general LoomLoom Skill for one explicit Agent, run:
|
|
13
13
|
|
|
14
14
|
```sh
|
|
15
|
-
npx @cogfoundry/loomloom@0.6.0
|
|
15
|
+
npx @cogfoundry/loomloom@0.6.0 install --agent codex --yes
|
|
16
16
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cogfoundry/loomloom",
|
|
3
|
-
"version": "0.6.0
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "LoomLoom CLI for defining, compiling, executing, and managing AI work as software",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"LICENSE"
|
|
23
23
|
],
|
|
24
24
|
"optionalDependencies": {
|
|
25
|
-
"@cogfoundry/loomloom-linux-x64": "0.6.0
|
|
26
|
-
"@cogfoundry/loomloom-linux-arm64": "0.6.0
|
|
27
|
-
"@cogfoundry/loomloom-darwin-x64": "0.6.0
|
|
28
|
-
"@cogfoundry/loomloom-darwin-arm64": "0.6.0
|
|
29
|
-
"@cogfoundry/loomloom-win32-x64": "0.6.0
|
|
30
|
-
"@cogfoundry/loomloom-win32-arm64": "0.6.0
|
|
25
|
+
"@cogfoundry/loomloom-linux-x64": "0.6.0",
|
|
26
|
+
"@cogfoundry/loomloom-linux-arm64": "0.6.0",
|
|
27
|
+
"@cogfoundry/loomloom-darwin-x64": "0.6.0",
|
|
28
|
+
"@cogfoundry/loomloom-darwin-arm64": "0.6.0",
|
|
29
|
+
"@cogfoundry/loomloom-win32-x64": "0.6.0",
|
|
30
|
+
"@cogfoundry/loomloom-win32-arm64": "0.6.0"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
package/platforms.json
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
{
|
|
2
|
-
"releaseTag": "v0.6.0
|
|
3
|
-
"version": "0.6.0
|
|
2
|
+
"releaseTag": "v0.6.0",
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"platforms": {
|
|
5
5
|
"linux-x64": {
|
|
6
6
|
"package": "@cogfoundry/loomloom-linux-x64",
|
|
7
7
|
"binary": "bin/loomloom",
|
|
8
|
-
"binarySHA256": "
|
|
8
|
+
"binarySHA256": "fdcbf56ade02e0d2954df4bdb2c138cf8d13d8c9c87bd12cebf601ac3cb20c9b",
|
|
9
9
|
"archive": "loomloom-linux-amd64.tar.gz",
|
|
10
|
-
"archiveSHA256": "
|
|
10
|
+
"archiveSHA256": "c8f2422f1c62ba68c10bf5129ec053fa15881f78696b067c66ebc856a435f570"
|
|
11
11
|
},
|
|
12
12
|
"linux-arm64": {
|
|
13
13
|
"package": "@cogfoundry/loomloom-linux-arm64",
|
|
14
14
|
"binary": "bin/loomloom",
|
|
15
|
-
"binarySHA256": "
|
|
15
|
+
"binarySHA256": "f097120f57bf085bc22dda6bf4f54e79ac5efbaf4f062556be106de83d126952",
|
|
16
16
|
"archive": "loomloom-linux-arm64.tar.gz",
|
|
17
|
-
"archiveSHA256": "
|
|
17
|
+
"archiveSHA256": "e4481ed5eb96432f649491205cbbbc278b4dd78da5b42e3ee55a0c9af6764144"
|
|
18
18
|
},
|
|
19
19
|
"darwin-x64": {
|
|
20
20
|
"package": "@cogfoundry/loomloom-darwin-x64",
|
|
21
21
|
"binary": "bin/loomloom",
|
|
22
|
-
"binarySHA256": "
|
|
22
|
+
"binarySHA256": "7bbcf9bad31962e5f5ba0abc8367727e9c517261465bc3bf3e9774ce43cdfc97",
|
|
23
23
|
"archive": "loomloom-darwin-amd64.tar.gz",
|
|
24
|
-
"archiveSHA256": "
|
|
24
|
+
"archiveSHA256": "745d165a53955e39815d0179f3c69e60cefc2786eb5ac169f79da253be5040ab"
|
|
25
25
|
},
|
|
26
26
|
"darwin-arm64": {
|
|
27
27
|
"package": "@cogfoundry/loomloom-darwin-arm64",
|
|
28
28
|
"binary": "bin/loomloom",
|
|
29
|
-
"binarySHA256": "
|
|
29
|
+
"binarySHA256": "4c555ab35a9ef59e7bd7c462c2a4d84ca6f66e9d11fed515d7cabc64efa3b70f",
|
|
30
30
|
"archive": "loomloom-darwin-arm64.tar.gz",
|
|
31
|
-
"archiveSHA256": "
|
|
31
|
+
"archiveSHA256": "eb658c613ff1f45cd9bd5e782334a3ae3664fccfda1cbd6f0af563b2d4dfebce"
|
|
32
32
|
},
|
|
33
33
|
"win32-x64": {
|
|
34
34
|
"package": "@cogfoundry/loomloom-win32-x64",
|
|
35
35
|
"binary": "bin/loomloom.exe",
|
|
36
|
-
"binarySHA256": "
|
|
36
|
+
"binarySHA256": "4c73de1144469df9571292fc7fa6689388f2fbcd6387820ad7ba209e1a9bea89",
|
|
37
37
|
"archive": "loomloom-windows-amd64.zip",
|
|
38
|
-
"archiveSHA256": "
|
|
38
|
+
"archiveSHA256": "d452268df09d87eb4112334a1324c2d0bf83d8a68856fa7a65b243e82a716ceb"
|
|
39
39
|
},
|
|
40
40
|
"win32-arm64": {
|
|
41
41
|
"package": "@cogfoundry/loomloom-win32-arm64",
|
|
42
42
|
"binary": "bin/loomloom.exe",
|
|
43
|
-
"binarySHA256": "
|
|
43
|
+
"binarySHA256": "239363db597f0a9696d229dded4e60e207572df1b63ad92b793b13a1922eb0e8",
|
|
44
44
|
"archive": "loomloom-windows-arm64.zip",
|
|
45
|
-
"archiveSHA256": "
|
|
45
|
+
"archiveSHA256": "0d23930847b5a80157f5cfdd9034da3d0f9398f018e241ed80ebc42df3d262dd"
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
package/skill/loomloom/SKILL.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: loomloom
|
|
3
|
-
description: Use this skill when the user mentions LoomLoom, loomloom, batch generation, batch processing, batch tasks, batch execution, template execution, template submission, Excel submission, template download, Excel validation, run results, result download, run id, task status, execution status, official templates, private templates, TemplateSpec, Excel/workbook templates, Market
|
|
3
|
+
description: Use this skill when the user mentions LoomLoom, loomloom, batch generation, batch processing, batch tasks, batch execution, template execution, template submission, Excel submission, template download, Excel validation, run results, result download, run id, task status, execution status, official templates, private templates, TemplateSpec, Excel/workbook templates, Market SkillApps, template market, public templates, SkillApp, listing, unlisting, relisting, price changes, fixed task fees, subscription bundles, subscription purchase and renewal, publishing to the Market, review submission, review status, creator earnings, template earnings, usage, orders, call records, installing LoomLoom, doctor, token, server, or when the user clearly wants multi-row input to produce batch outputs.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# loomloom
|
|
7
7
|
|
|
8
|
-
LoomLoom is a template-based AI workflow platform for structured, repeatable AI work. Use it for batch or table-shaped generation, official and private template execution, TemplateSpec authoring, Market
|
|
8
|
+
LoomLoom is a template-based AI workflow platform for structured, repeatable AI work. Use it for batch or table-shaped generation, official and private template execution, TemplateSpec authoring, Market SkillApps, subscriptions and bundle management, creator listing management, local Agent Skill installation, run monitoring, and result retrieval.
|
|
9
9
|
|
|
10
|
-
Do not use LoomLoom for ordinary one-off writing or chat unless the user explicitly asks for LoomLoom, templates, Excel/workbook input, a Market
|
|
10
|
+
Do not use LoomLoom for ordinary one-off writing or chat unless the user explicitly asks for LoomLoom, templates, Excel/workbook input, a Market SkillApp, or batch/table-shaped processing.
|
|
11
11
|
|
|
12
12
|
## Install And Update LoomLoom
|
|
13
13
|
|
|
@@ -19,6 +19,12 @@ When asked to install or update LoomLoom:
|
|
|
19
19
|
4. Do not guess a Skill root or fall back to another Agent's directory. If the current Agent or root is unknown, ask the user for it.
|
|
20
20
|
5. Verify either the npm setup success result or `<agent-skill-root>/loomloom/SKILL.md` after the explicit-directory path.
|
|
21
21
|
|
|
22
|
+
`npm install -g` updates only the CLI. When the user wants Agent authoring,
|
|
23
|
+
install the matching Skill for the explicit Agent as well. For a Beta, use the
|
|
24
|
+
exact requested version in the setup command; `loomloom update` follows stable
|
|
25
|
+
`latest`. See [setup.md](references/setup.md) and
|
|
26
|
+
[workflow-preview.md](references/workflow-preview.md) for viewer configuration.
|
|
27
|
+
|
|
22
28
|
## Core Objects
|
|
23
29
|
|
|
24
30
|
Choose the product object before choosing a command:
|
|
@@ -31,18 +37,18 @@ Private template ── user-created through TemplateSpec
|
|
|
31
37
|
├─ optional private Agent Skill Package Head
|
|
32
38
|
└─ Submitted to Market review
|
|
33
39
|
└─ Listing Version (immutable publish snapshot)
|
|
34
|
-
└─ Approved and executable as a
|
|
40
|
+
└─ Approved and executable as a SkillApp
|
|
35
41
|
```
|
|
36
42
|
|
|
37
43
|
- Use `template` and `run` for official templates.
|
|
38
44
|
- Use `template-spec` to author, version, and directly execute private templates.
|
|
39
|
-
- Use `market` when a buyer discovers, quotes, or runs a paid
|
|
40
|
-
- Use `listing` and `creator review` when a creator publishes or manages a
|
|
45
|
+
- Use `market` when a buyer discovers, quotes, or runs a paid SkillApp.
|
|
46
|
+
- Use `listing` and `creator review` when a creator publishes or manages a SkillApp.
|
|
41
47
|
- A Listing is the Market shelf object. Buyers call the Listing; they do not hold a Listing Version.
|
|
42
|
-
- There is no separate "public template" resource. User-facing "public Market template" means a Market
|
|
43
|
-
- `asset list` aggregates private templates and Market
|
|
48
|
+
- There is no separate "public template" resource. User-facing "public Market template" means a Market SkillApp.
|
|
49
|
+
- `asset list` aggregates private templates and Market SkillApps; it does not include official templates.
|
|
44
50
|
|
|
45
|
-
When "template" is ambiguous, clarify whether the user means an official template, their private template, or a Market
|
|
51
|
+
When "template" is ambiguous, clarify whether the user means an official template, their private template, or a Market SkillApp.
|
|
46
52
|
|
|
47
53
|
## Intent Routing
|
|
48
54
|
|
|
@@ -52,15 +58,17 @@ Read every required reference for the current intent before answering with busin
|
|
|
52
58
|
|---|---|
|
|
53
59
|
| Install/configure LoomLoom; token, server, platform, balance, console, or `doctor` | [setup.md](references/setup.md), [cli.md](references/cli.md) |
|
|
54
60
|
| Execute an official or private template; validate, precheck, run, monitor, or retrieve results | [execution.md](references/execution.md), [billing.md](references/billing.md), [cli.md](references/cli.md) |
|
|
55
|
-
| Create, explain, or version a private template or TemplateSpec | [template-spec.md](references/template-spec.md), [billing.md](references/billing.md), [cli.md](references/cli.md) |
|
|
56
|
-
|
|
|
61
|
+
| Create, explain, or version a private template or TemplateSpec | [template-spec.md](references/template-spec.md), [workflow-preview.md](references/workflow-preview.md), [billing.md](references/billing.md), [cli.md](references/cli.md) |
|
|
62
|
+
| Show local workflow edits live, inspect a saved private version in the Web workbench, or return a viewing link | [workflow-preview.md](references/workflow-preview.md), [template-spec.md](references/template-spec.md), [cli.md](references/cli.md) |
|
|
63
|
+
| Discover, quote, or execute a Market SkillApp | [market.md](references/market.md), [billing.md](references/billing.md), [cli.md](references/cli.md) |
|
|
64
|
+
| Browse, buy, renew, or inspect subscriptions; create or manage subscription bundles | [market.md](references/market.md), [billing.md](references/billing.md), [cli.md](references/cli.md) |
|
|
57
65
|
| Publish, change price/version/profile, list/unlist/relist, review, usage, settlement, or earnings | [market.md](references/market.md), [billing.md](references/billing.md), [cli.md](references/cli.md) |
|
|
58
66
|
| Manage Skill Packages or install local Agent Skills | [local-skills.md](references/local-skills.md), [cli.md](references/cli.md) |
|
|
59
67
|
| Diagnose a failure, ambiguous response, missing ID, or command syntax | [cli.md](references/cli.md) plus the relevant domain reference above |
|
|
60
68
|
|
|
61
69
|
Whenever a task involves fees, quote/precheck, currency, balance, confirmation, paid execution, failure, cancellation, partial completion, usage, settlement, or creator earnings, read `billing.md` before answering or acting.
|
|
62
70
|
|
|
63
|
-
When the user asks to accomplish a task with a Market
|
|
71
|
+
When the user asks to accomplish a task with a Market SkillApp or official template, also read [local-skills.md](references/local-skills.md) for installation commands and result handling.
|
|
64
72
|
|
|
65
73
|
## High-Level Workflows
|
|
66
74
|
|
|
@@ -94,10 +102,30 @@ Download/prepare version-specific input → Validate → Precheck
|
|
|
94
102
|
|
|
95
103
|
### Private template authoring
|
|
96
104
|
|
|
105
|
+
Read [workflow-preview.md](references/workflow-preview.md). For a new or modified
|
|
106
|
+
private template, generate the local draft, start `template-spec preview` in a
|
|
107
|
+
retained process, and immediately return the complete `ready.viewUrl` as a
|
|
108
|
+
clickable draft link before continuing validation or saving. Keep that process
|
|
109
|
+
alive during review and edits. Preview uses the ShengSuanYun production viewer
|
|
110
|
+
by default; check any explicit override without changing the API Key or Server.
|
|
111
|
+
`ready` confirms the local service started, not that the browser loaded or
|
|
112
|
+
rendered the viewer.
|
|
113
|
+
|
|
114
|
+
Offer draft review before creation; skip it when the user explicitly declines or
|
|
115
|
+
has already authorized saving without review. If the viewer cannot load or the
|
|
116
|
+
tool cannot retain the preview process, explain the limitation and resolve it or
|
|
117
|
+
offer review of the local JSON; do not silently substitute a saved-version page
|
|
118
|
+
or claim that a draft page exists. Preserve the user's existing authorization.
|
|
119
|
+
After saving, return the separate saved-version link from the save result or
|
|
120
|
+
retry only `template-spec view-link` with the exact returned IDs. For an already
|
|
121
|
+
saved version, use view-link directly. Stop only the retained preview process
|
|
122
|
+
when editing is finished.
|
|
123
|
+
|
|
97
124
|
```text
|
|
98
125
|
Business conversation → inspect current LoomLoom Server capabilities
|
|
99
126
|
→ decide LoomLoom-only or Agent-assisted
|
|
100
|
-
→ TemplatePlan → User confirms plan → Generate TemplateSpec
|
|
127
|
+
→ TemplatePlan → User confirms plan → Generate local TemplateSpec draft
|
|
128
|
+
→ Start local preview → Immediately return draft link → User reviews/edits
|
|
101
129
|
→ Check with the current LoomLoom Server → User confirms creation
|
|
102
130
|
→ Create or append a version
|
|
103
131
|
→ LoomLoom-only: continue normally; do not raise Skill Package with the creator
|
|
@@ -202,7 +230,7 @@ Discover Listing → Inspect public schema → Select Listing → Explicit use r
|
|
|
202
230
|
→ User confirms → Run through Listing → Usage/results
|
|
203
231
|
```
|
|
204
232
|
|
|
205
|
-
When the user requests use of a Market
|
|
233
|
+
When the user requests use of a Market SkillApp, identify the Listing and automatically install its Skill Package into the current Agent's Skill root. For Market execution, prepare input according to the Listing's public schema, obtain a quote, and present the estimated cost for confirmation before running through the Listing, following `billing.md`. Briefly explain any installation failure.
|
|
206
234
|
|
|
207
235
|
### Market creator
|
|
208
236
|
|
|
@@ -213,6 +241,15 @@ Select a successfully run private version → Explain intended change
|
|
|
213
241
|
|
|
214
242
|
Changing only the price and changing the execution version are different operations; follow `market.md`.
|
|
215
243
|
|
|
244
|
+
### Subscriptions and bundles
|
|
245
|
+
|
|
246
|
+
For buyers, inspect the published bundle and selected monthly/yearly price,
|
|
247
|
+
show the purchase or renewal action, obtain confirmation, and then submit with
|
|
248
|
+
the displayed bundle revision and a stable request ID. Inspect the returned
|
|
249
|
+
subscription separately from execution; buying a subscription does not run a
|
|
250
|
+
SkillApp. For creators, follow `market.md` to manage automatic single-SkillApp
|
|
251
|
+
bundles or create, configure, and publish manual bundles.
|
|
252
|
+
|
|
216
253
|
### Local Agent Skill
|
|
217
254
|
|
|
218
255
|
```text
|
|
@@ -236,9 +273,9 @@ Determine the current platform only from the user's explicit selection or a succ
|
|
|
236
273
|
4. **Confirm every run by default.** Show the current server-provided estimate and obtain explicit confirmation in the current conversation before creating a hosted run, except during an explicitly activated Test Execution Mode defined below.
|
|
237
274
|
5. **Reconfirm changed input.** If input changes after validation, estimate, or confirmation, validate and estimate again and obtain a new confirmation. Tell the user that the changed input must be re-estimated and reconfirmed.
|
|
238
275
|
6. **Use execution IDs safely.** Every newly confirmed execution gets a new `client-request-id`. Reuse one only for an identical retry of the same confirmed request after an ambiguous failure.
|
|
239
|
-
7. **Do not bypass Market.** Execute a
|
|
276
|
+
7. **Do not bypass Market.** Execute a SkillApp through its Listing and public schema. Never expose or reconstruct hidden prompts, steps, mappings, TemplateSpec, or private execution logic.
|
|
240
277
|
8. **Respect order locking.** Market resolves the current sellable Listing Version when creating the order and locks that version and price for the order.
|
|
241
|
-
9. **Confirm persistent changes.** Creating or versioning a template, publishing or changing a Listing, unlisting/relisting,
|
|
278
|
+
9. **Confirm persistent changes.** Creating or versioning a template, publishing or changing a Listing, unlisting/relisting, withdrawing review, buying/renewing a subscription, and changing or publishing a subscription bundle require explicit confirmation.
|
|
242
279
|
10. **Do not invent facts.** Never guess IDs, versions, flags, currency, fee fields, server state, hidden step IDs, settlement outcomes, or URLs.
|
|
243
280
|
11. **Use current sources of truth.** Use CLI help for syntax, CLI-bundled TemplateSpec docs for the contract, downloaded workbooks for input shape, and returned service fields for state and IDs.
|
|
244
281
|
12. **Keep technical details internal by default.** Translate raw JSON and backend fields into business language unless the user asks for CLI/API details.
|
|
@@ -275,8 +312,9 @@ The mode never covers persistent or high-impact operations: creating or versioni
|
|
|
275
312
|
|
|
276
313
|
- [Setup and security](references/setup.md) — installation, `doctor`, credentials, platform messages, console, token/host safety.
|
|
277
314
|
- [Template execution](references/execution.md) — official/private workbook and JSON flows, runs, results, artifacts, large files.
|
|
278
|
-
- [Market and
|
|
315
|
+
- [Market and SkillApps](references/market.md) — Listings, public input, buyer and creator workflows, price/version changes.
|
|
279
316
|
- [Billing and confirmation](references/billing.md) — fee fields, currency, confirmation templates, settlement, earnings.
|
|
280
317
|
- [Template authoring](references/template-spec.md) — TemplatePlan conversation, usage modes, TemplateSpec modeling and creation.
|
|
318
|
+
- [Workflow viewing](references/workflow-preview.md) — optional live file previews, retained Agent sessions, saved-version links, authentication and cleanup.
|
|
281
319
|
- [Agent Skill Packages](references/local-skills.md) — Agent-created private packages, public ZIP install/update, and package review binding.
|
|
282
320
|
- [CLI and errors](references/cli.md) — syntax sources, ID chaining, recovery rules, complete capability inventory.
|
|
@@ -131,7 +131,7 @@ Please confirm whether to execute.
|
|
|
131
131
|
Reply: Confirm
|
|
132
132
|
```
|
|
133
133
|
|
|
134
|
-
### Public Market template /
|
|
134
|
+
### Public Market template / SkillApp
|
|
135
135
|
|
|
136
136
|
```text
|
|
137
137
|
This will make a paid call to a public Market template. Please confirm the fee before execution.
|
|
@@ -182,9 +182,19 @@ Before executing any of these, describe the exact business action and ask for ex
|
|
|
182
182
|
- `listing relist`
|
|
183
183
|
- `listing withdraw`
|
|
184
184
|
- `creator review withdraw`
|
|
185
|
+
- `listing update-skill-package`
|
|
186
|
+
- `creator bundle create`, `update`, `add-item`, `set-tier`, `publish`, and `unlist`
|
|
187
|
+
- `market subscribe --confirm`, `subscription buy --confirm`, and `subscription renew --confirm`
|
|
185
188
|
|
|
186
189
|
"Describe the exact action" means explain what will change in business language. It does not require displaying the raw CLI command.
|
|
187
190
|
|
|
191
|
+
For subscription purchase or renewal, show the selected bundle, tier, current
|
|
192
|
+
price/currency, returned duration, and bundle revision before confirmation.
|
|
193
|
+
The preview without `--confirm` reads public pricing; it is not an execution
|
|
194
|
+
quote. Subscription payment waives applicable creator call fees during the
|
|
195
|
+
entitlement period; model/API usage remains billed separately. Quote and
|
|
196
|
+
confirm any later hosted execution through the normal execution flow.
|
|
197
|
+
|
|
188
198
|
## Creator Earnings
|
|
189
199
|
|
|
190
200
|
Use `creator earnings` for actual posted income and `creator transactions` for transaction facts. `creator earnings` defaults to `--source all`; `--source pay-per-use` selects posted settlement events and `--source subscription` selects subscription income only after release. A pay-per-use income event can aggregate a settlement window, so it is not necessarily one row per call. Locked subscription accruals are not posted income. Do not show raw JSON unless requested.
|
|
@@ -67,6 +67,7 @@ Keep raw field names for internal command chaining, not ordinary user summaries.
|
|
|
67
67
|
- `loomloom login [--no-browser] [--login-timeout <duration>]`
|
|
68
68
|
- `loomloom logout`
|
|
69
69
|
- `loomloom doctor`
|
|
70
|
+
- `loomloom balance`
|
|
70
71
|
- `loomloom doctor --server <url> [--name <profile>] --output json`
|
|
71
72
|
- `loomloom server list`
|
|
72
73
|
- `loomloom server use <name-or-server>`
|
|
@@ -108,6 +109,8 @@ On successful `login --output json`, the `token` field is masked and is not a re
|
|
|
108
109
|
- `loomloom template-spec get <template-id>`
|
|
109
110
|
- `loomloom template-spec versions <template-id>`
|
|
110
111
|
- `loomloom template-spec get-version <template-id> <version-id> [-f spec.json]`
|
|
112
|
+
- `loomloom template-spec preview <spec.json> [--viewer-url <HTTPS bootstrap>] [--no-open] [--title <title>]`
|
|
113
|
+
- `loomloom template-spec view-link <template-id> <version-id>`
|
|
111
114
|
- `loomloom template-spec download-workbook <template-id> <version-id>`
|
|
112
115
|
- `loomloom template-spec validate-workbook <template-id> <version-id> <xlsx-path>`
|
|
113
116
|
- `loomloom template-spec precheck-workbook <template-id> <version-id> <xlsx-path>`
|
|
@@ -123,6 +126,14 @@ authoring eligibility, not balance, channel capacity, or instantaneous provider
|
|
|
123
126
|
availability. Agents should use the returned match before choosing lower-level
|
|
124
127
|
commands.
|
|
125
128
|
|
|
129
|
+
`template-spec preview --output json` is a long-running NDJSON stream, not a
|
|
130
|
+
single JSON response. Keep its process alive while editing; return `ready.viewUrl`
|
|
131
|
+
before waiting for completion. Preview uses the ShengSuanYun production viewer
|
|
132
|
+
by default; `--viewer-url` overrides `LOOMLOOM_VIEWER_BOOTSTRAP_URL`, which
|
|
133
|
+
overrides that default. It does not save or run the draft. Read
|
|
134
|
+
[workflow-preview.md](workflow-preview.md) for lifecycle, errors, and cleanup.
|
|
135
|
+
`view-link` returns one exact saved version's link and needs no active preview.
|
|
136
|
+
|
|
126
137
|
`template-spec authoring-context` is the lower-level target-environment query
|
|
127
138
|
for all Capability Profiles. For a dynamic Profile it returns the stable
|
|
128
139
|
`profileId`, fixed input/output `definition`, current operational default and
|
|
@@ -169,12 +180,12 @@ the historical version.
|
|
|
169
180
|
- `loomloom model list --step-type <step-type>`
|
|
170
181
|
- `loomloom asset list`
|
|
171
182
|
|
|
172
|
-
`asset list` aggregates private templates and Market
|
|
183
|
+
`asset list` aggregates private templates and Market SkillApps; it does not include official templates.
|
|
173
184
|
|
|
174
185
|
### Market buyer and usage
|
|
175
186
|
|
|
176
|
-
- `loomloom market list`
|
|
177
|
-
- `loomloom market show <
|
|
187
|
+
- `loomloom market list [--keyword <text>] [--category <code>] [--sort-by default|usage|newest] [--page <n>] [--page-size <1-15>]`
|
|
188
|
+
- `loomloom market show <resource-id> [--source market|official]`
|
|
178
189
|
- `loomloom market quote <listing-id> --input-file <request.json>`
|
|
179
190
|
- `loomloom market run <listing-id> --input-file <request.json> --confirm --client-request-id <id>`
|
|
180
191
|
- `loomloom market workbook download <listing-id> --output-file <xlsx>`
|
|
@@ -184,6 +195,31 @@ the historical version.
|
|
|
184
195
|
- `loomloom usage list`
|
|
185
196
|
- `loomloom usage get <run-transaction-id>`
|
|
186
197
|
|
|
198
|
+
### Subscription buyers
|
|
199
|
+
|
|
200
|
+
- `loomloom market bundle list [--creator-id <user-id>] [--name <name>]`
|
|
201
|
+
- `loomloom market bundle show <bundle-id>`
|
|
202
|
+
- `loomloom market bundle items <bundle-id>`
|
|
203
|
+
- `loomloom market subscribe <listing-id> --tier monthly|yearly [--confirm --expected-revision <bundle-revision> --client-request-id <id>]`
|
|
204
|
+
- `loomloom subscription list`
|
|
205
|
+
- `loomloom subscription show <subscription-id>`
|
|
206
|
+
- `loomloom subscription items <subscription-id> [--snapshot]`
|
|
207
|
+
- `loomloom subscription buy <bundle-id> --tier monthly|yearly [--confirm --expected-revision <bundle-revision> --client-request-id <id>]`
|
|
208
|
+
- `loomloom subscription renew <subscription-id> --tier monthly|yearly [--confirm --expected-revision <bundle-revision> --client-request-id <id>]`
|
|
209
|
+
|
|
210
|
+
Without `--confirm`, purchase and renewal commands return the selected tier and
|
|
211
|
+
bundle for price inspection without submitting a purchase. Read `market.md`
|
|
212
|
+
and `billing.md` before confirming a purchase or renewal. Renewal takes a
|
|
213
|
+
subscription ID, while purchase takes a bundle ID; `market subscribe` resolves
|
|
214
|
+
the Listing's automatic bundle. `subscription items --snapshot` reads the
|
|
215
|
+
immutable purchase membership rather than current bundle members.
|
|
216
|
+
|
|
217
|
+
Subscription and bundle lists, `market bundle items`,
|
|
218
|
+
`creator bundle list-available`, `creator bundle items`, and
|
|
219
|
+
`subscription items` use `--page-size` (default 20,
|
|
220
|
+
1–100) and `--page-token`. Read `nextPageToken` from the previous response;
|
|
221
|
+
these commands do not use `market list`'s page-number pagination.
|
|
222
|
+
|
|
187
223
|
### Market creator
|
|
188
224
|
|
|
189
225
|
- `loomloom listing publish <template-id> --template-version-id <id> --display-name <name> --task-fixed-fee <amount>`
|
|
@@ -192,10 +228,18 @@ the historical version.
|
|
|
192
228
|
- `loomloom creator bundle list`
|
|
193
229
|
- `loomloom creator bundle show <bundle-id>`
|
|
194
230
|
- `loomloom creator bundle set-tier <bundle-id> --tier monthly|yearly --price <amount> --currency CNY --enabled=<bool> --expected-revision <bundle-revision>`
|
|
231
|
+
- `loomloom creator bundle list-available`
|
|
232
|
+
- `loomloom creator bundle create --name <name> --client-request-id <id> [--description <text>]`
|
|
233
|
+
- `loomloom creator bundle items <bundle-id>`
|
|
234
|
+
- `loomloom creator bundle update <bundle-id> --name <name> --expected-revision <bundle-revision> [--description <text>]`
|
|
235
|
+
- `loomloom creator bundle add-item <bundle-id> --listing-id <listing-id> --expected-revision <bundle-revision>`
|
|
236
|
+
- `loomloom creator bundle publish <bundle-id> --expected-revision <bundle-revision>`
|
|
237
|
+
- `loomloom creator bundle unlist <bundle-id> --expected-revision <bundle-revision> [--reason <text>]`
|
|
195
238
|
- `loomloom listing list`
|
|
196
239
|
- `loomloom listing show <listing-id>`
|
|
197
240
|
- `loomloom listing versions <listing-id>`
|
|
198
241
|
- `loomloom listing download-skill-package <listing-id> --version-id <skill-package-version-id> --output-file <zip>`
|
|
242
|
+
- `loomloom listing update-skill-package <listing-id> [--skill-package-archive-hash <hash> --skill-package-validation-id <id>] [--request-id <id>]`
|
|
199
243
|
- `loomloom listing update <listing-id>`
|
|
200
244
|
- `loomloom listing unlist <listing-id>`
|
|
201
245
|
- `loomloom listing relist <listing-id>`
|
|
@@ -206,6 +250,21 @@ the historical version.
|
|
|
206
250
|
- `loomloom creator review get <review-request-id>`
|
|
207
251
|
- `loomloom creator review withdraw <review-request-id>`
|
|
208
252
|
|
|
253
|
+
`listing publish` and `listing update` accept `--category`, `--target-audience`,
|
|
254
|
+
`--problem-solved`, repeatable `--scenario`, `--not-suitable-for`, and
|
|
255
|
+
`--update-summary` for review. Read `market.md` for omission, clearing, merging,
|
|
256
|
+
and the pending-category readback limitation.
|
|
257
|
+
|
|
258
|
+
`creator bundle list` also accepts `--name` and `--status draft|published|unlisted`.
|
|
259
|
+
Read current bundle revision before each mutation; it is distinct from the
|
|
260
|
+
Listing's payment-settings revision. `add-item` accepts repeated `--listing-id`
|
|
261
|
+
flags or comma-separated IDs and applies only to manual bundles. `update`
|
|
262
|
+
requires a name and sends an empty description when `--description` is omitted;
|
|
263
|
+
pass the current description explicitly to preserve it. Follow `market.md` for
|
|
264
|
+
bundle creation, publication, and existing-subscription behavior. Read
|
|
265
|
+
`local-skills.md` before `listing update-skill-package`; archive hash and
|
|
266
|
+
validation ID must be supplied together, and omission selects `auto` mode.
|
|
267
|
+
|
|
209
268
|
### Local Agent Skills
|
|
210
269
|
|
|
211
270
|
- `loomloom skill package private upload <template-id> --file <agent-created.zip>`
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Agent Skill Packages
|
|
2
2
|
|
|
3
|
-
Use this reference for a private template that needs local Agent capabilities, downloading private or creator Skill Package ZIPs, and when a user explicitly asks their current Agent to install or use an official template or Market
|
|
3
|
+
Use this reference for a private template that needs local Agent capabilities, downloading private or creator Skill Package ZIPs, and when a user explicitly asks their current Agent to install or use an official template or Market SkillApp.
|
|
4
4
|
|
|
5
|
-
Local package installation is not template execution. It must not create a run, quote/precheck execution cost, call a Market
|
|
5
|
+
Local package installation is not template execution. It must not create a run, quote/precheck execution cost, call a Market SkillApp, or create billable model/API usage.
|
|
6
6
|
|
|
7
7
|
## Contents
|
|
8
8
|
|
|
@@ -75,7 +75,7 @@ Both commands only save the ZIP; they do not extract, install, or execute it. Fo
|
|
|
75
75
|
|
|
76
76
|
## Consumer: official-template and Market packages
|
|
77
77
|
|
|
78
|
-
Requests to accomplish a task with an official template or Market
|
|
78
|
+
Requests to accomplish a task with an official template or Market SkillApp include its installation preparation. For example, "use this SkillApp to review my document" triggers installation once the target is identified. A request solely to browse, explain, or quote follows the discovery or quotation workflow.
|
|
79
79
|
|
|
80
80
|
Determine the current Agent's Skill root from its runtime configuration or supported conventions. If the root cannot be determined, ask for that missing information. Run the appropriate command with this directory:
|
|
81
81
|
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
# Market And
|
|
1
|
+
# Market And SkillApps
|
|
2
2
|
|
|
3
|
-
Use this reference for Market discovery and execution,
|
|
3
|
+
Use this reference for Market discovery and execution, SkillApps, Listings, Listing Versions, public input schemas, publishing, price changes, execution-version changes, listing lifecycle, and creator review.
|
|
4
4
|
|
|
5
5
|
For quotes, confirmation wording, currency, settlement, failure/cancellation, and creator earnings, also read `billing.md`. For exact command discovery and error recovery, also read `cli.md`.
|
|
6
6
|
|
|
7
7
|
## Contents
|
|
8
8
|
|
|
9
9
|
- [Core objects](#core-objects)
|
|
10
|
+
- [Unified catalog](#unified-catalog)
|
|
10
11
|
- [Buyer flow](#buyer-flow)
|
|
12
|
+
- [Subscription buyer flow](#subscription-buyer-flow)
|
|
11
13
|
- [Creator flow](#creator-flow)
|
|
14
|
+
- [Creator subscription bundles](#creator-subscription-bundles)
|
|
12
15
|
|
|
13
16
|
## Core Objects
|
|
14
17
|
|
|
@@ -17,41 +20,77 @@ Private template
|
|
|
17
20
|
└─ Private template version
|
|
18
21
|
└─ Submitted for Market review
|
|
19
22
|
└─ Listing Version (immutable publish snapshot)
|
|
20
|
-
└─ Approved and executable by buyers as a
|
|
23
|
+
└─ Approved and executable by buyers as a SkillApp
|
|
21
24
|
```
|
|
22
25
|
|
|
23
|
-
- **
|
|
26
|
+
- **SkillApp** is the public, paid, executable form of an approved private template version.
|
|
24
27
|
- **Listing** is the Market shelf object that buyers discover and call.
|
|
25
28
|
- **Listing Version** is an immutable execution snapshot copied from a private template version at publish time.
|
|
26
|
-
- There is no separate "public template" resource. In user-facing language, "public Market template" may refer to a
|
|
27
|
-
- Later changes to a private template do not automatically change a live
|
|
29
|
+
- There is no separate "public template" resource. In user-facing language, "public Market template" may refer to a SkillApp, but internally it remains a Listing/SkillApp.
|
|
30
|
+
- Later changes to a private template do not automatically change a live SkillApp.
|
|
28
31
|
|
|
29
32
|
Buyers call the Listing, not a version they hold. When the order is created, the service resolves the current sellable Listing Version and locks that version and its price for the order. A quote does not require the agent to pass a version into execution.
|
|
30
33
|
|
|
31
34
|
Never bypass Market by directly running the underlying private template version.
|
|
32
35
|
|
|
33
|
-
##
|
|
36
|
+
## Unified Catalog
|
|
34
37
|
|
|
35
|
-
|
|
38
|
+
The existing `market list` and `market show` commands use the current unified
|
|
39
|
+
public directory, containing official templates and Market SkillApps:
|
|
36
40
|
|
|
37
41
|
```bash
|
|
38
|
-
loomloom market list
|
|
42
|
+
loomloom market list --keyword "writing" --sort-by usage --page 1 --page-size 15
|
|
43
|
+
loomloom market list --category <category-code>
|
|
39
44
|
loomloom market show <listing-id>
|
|
45
|
+
loomloom market show <template-slug> --source official
|
|
40
46
|
```
|
|
41
47
|
|
|
42
|
-
|
|
48
|
+
`source + resourceId` identifies a directory entry. `market show` defaults to
|
|
49
|
+
`--source market`; select `--source official` for an official template slug.
|
|
50
|
+
Route official execution to `template`, and Market execution to `market`.
|
|
51
|
+
Always inspect the selected resource's detail before preparing input.
|
|
52
|
+
|
|
53
|
+
`market list` uses one-based pages, with page sizes 1–15 and sort modes
|
|
54
|
+
`default`, `usage`, or `newest`. The Server ranks pinned entries first for every
|
|
55
|
+
sort. Search is a literal substring in name, description or category label, at
|
|
56
|
+
most 200 Unicode characters. Read `totalCount`, `page`, and `pageSize`;
|
|
57
|
+
`--page-token`, `--order-by` and `--limit` are removed from this command.
|
|
58
|
+
Creator listing and subscription pagination keep their own existing contracts.
|
|
59
|
+
|
|
60
|
+
Read enabled category codes and labels from `market list`'s `categoryOptions`
|
|
61
|
+
(or its text category table), including categories with no matching entries.
|
|
62
|
+
Categories are dynamic and single-select, not arbitrary tags or a compiled
|
|
63
|
+
list. If the directory fails, report the error; never invent category options.
|
|
64
|
+
`successfulTaskCount` counts successful tasks across versions and differs from
|
|
65
|
+
`trust.runCount` (successful run batches).
|
|
66
|
+
|
|
67
|
+
Public detail includes value, fields, instructions, samples, outputs, Skill
|
|
68
|
+
Package availability and `pricing`. List fees are `invocationFee`; detail fees
|
|
69
|
+
are `pricing.creatorFee`. A zero creator fee does not imply free model
|
|
70
|
+
execution. Subscription offers are public prices, not an execution quote or
|
|
71
|
+
personal entitlement. Preserve `subscriptionOffersStatus` (`available`,
|
|
72
|
+
`unavailable`, or `notApplicable`) and nullable `payPerUseEnabled`; null does not
|
|
73
|
+
mean payment is disabled. Subscription purchase waives creator call fees,
|
|
74
|
+
while model fees remain billed by actual usage. Use `market quote` or workbook
|
|
75
|
+
quote for the actual user's execution estimate.
|
|
76
|
+
|
|
77
|
+
## Buyer Flow
|
|
43
78
|
|
|
44
79
|
### Public input boundary
|
|
45
80
|
|
|
46
|
-
Build buyer input
|
|
81
|
+
Build buyer input from `market show`'s current public `input.fields`:
|
|
47
82
|
|
|
48
|
-
- Use `fields[].
|
|
83
|
+
- Use `fields[].name` for user-facing prompts.
|
|
49
84
|
- Use `fields[].key` as the submitted input key.
|
|
50
|
-
- Use `fields[].
|
|
51
|
-
-
|
|
52
|
-
- Use `
|
|
53
|
-
|
|
54
|
-
|
|
85
|
+
- Use `fields[].type` for the public type and `fields[].required` for required input.
|
|
86
|
+
- Present `fields[].options` as allowed choices without guessing or changing them.
|
|
87
|
+
- Use top-level `instructions` and `sampleRows[].values` as filling guidance and examples.
|
|
88
|
+
|
|
89
|
+
The CLI's quote/run validation and local Skill export still read the backend's
|
|
90
|
+
public execution schema contract (`inputSchemaSnapshot`). Unified detail is a
|
|
91
|
+
presentation projection and omits execution-specific fields such as defaults
|
|
92
|
+
and limits; it must not replace that validation contract. Commands handle
|
|
93
|
+
schema retrieval and current-version binding internally.
|
|
55
94
|
|
|
56
95
|
Do not reveal, reconstruct, infer, or submit hidden `taskInputs`, `workflowDefinition`, `templateSpec`, internal prompts, internal step IDs, or private mappings.
|
|
57
96
|
|
|
@@ -90,6 +129,66 @@ Do not show raw request JSON unless the user explicitly asks for JSON/API detail
|
|
|
90
129
|
|
|
91
130
|
Use `usage list` and `usage get <run-transaction-id>` for the buyer's own calls and settlement.
|
|
92
131
|
|
|
132
|
+
## Subscription Buyer Flow
|
|
133
|
+
|
|
134
|
+
Use `market bundle list`, `market bundle show <bundle-id>`, and
|
|
135
|
+
`market bundle items <bundle-id>` to inspect published subscription bundles,
|
|
136
|
+
their enabled monthly/yearly prices, and current SkillApp members. The list
|
|
137
|
+
supports `--creator-id` and `--name` filters. `market show` can also return
|
|
138
|
+
subscription offers covering the selected Listing, including manual bundles.
|
|
139
|
+
|
|
140
|
+
Preview a purchase before requesting confirmation:
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
loomloom subscription buy <bundle-id> --tier monthly
|
|
144
|
+
# For the Listing's automatic single-SkillApp bundle:
|
|
145
|
+
loomloom market subscribe <listing-id> --tier monthly
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
Without `--confirm`, these commands return the selected tier and bundle without
|
|
149
|
+
creating a subscription. Show the actual tier price/currency, duration, covered
|
|
150
|
+
SkillApps, and current bundle revision. An unavailable offer or failed preview
|
|
151
|
+
does not authorize a purchase. After the user confirms that exact purchase:
|
|
152
|
+
|
|
153
|
+
```bash
|
|
154
|
+
loomloom subscription buy <bundle-id> --tier monthly \
|
|
155
|
+
--confirm --expected-revision <bundle-revision> --client-request-id <id>
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
The `market subscribe` shortcut accepts the same confirmation/revision/request-ID
|
|
159
|
+
flags and resolves only the Listing's automatic bundle. Use `subscription buy`
|
|
160
|
+
with a bundle ID for a selected manual bundle. The revision is the bundle's
|
|
161
|
+
current revision, not a Listing version or payment-settings revision. If the
|
|
162
|
+
price/revision changes, inspect it again and obtain a new confirmation; do not
|
|
163
|
+
guess a revision or silently accept a different price. Reuse the request ID
|
|
164
|
+
only for an identical retry of the same confirmed purchase after checking state.
|
|
165
|
+
|
|
166
|
+
Use `subscription list`, `subscription show <subscription-id>`, and
|
|
167
|
+
`subscription items <subscription-id>` to read the buyer's own subscription
|
|
168
|
+
state and current members. Add `--snapshot` to `subscription items` to inspect
|
|
169
|
+
the immutable membership at purchase. Keep bundle IDs and subscription IDs
|
|
170
|
+
distinct, and verify returned state rather than treating command success as
|
|
171
|
+
proof of active entitlement.
|
|
172
|
+
|
|
173
|
+
Renew an expired subscription with its subscription ID:
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
loomloom subscription renew <subscription-id> --tier yearly
|
|
177
|
+
# After inspecting the current price and obtaining confirmation:
|
|
178
|
+
loomloom subscription renew <subscription-id> --tier yearly \
|
|
179
|
+
--confirm --expected-revision <bundle-revision> --client-request-id <id>
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
The unconfirmed renewal reads the existing subscription's bundle and current
|
|
183
|
+
price; it does not charge or renew it. Purchasing or renewing does not execute
|
|
184
|
+
a SkillApp. Use the normal Market quote/confirmation/run flow for execution;
|
|
185
|
+
subscription coverage waives applicable creator call fees, while model/API
|
|
186
|
+
usage remains separately billed. Follow `billing.md` for confirmation wording.
|
|
187
|
+
|
|
188
|
+
Bundle and subscription lists/items use token pagination: `--page-size` defaults
|
|
189
|
+
to 20 with range 1–100; pass the returned `nextPageToken` as `--page-token` to
|
|
190
|
+
continue. `subscription show` and bundle `show` do not take pagination flags.
|
|
191
|
+
|
|
93
192
|
## Creator Flow
|
|
94
193
|
|
|
95
194
|
Publish a private template version:
|
|
@@ -101,11 +200,11 @@ loomloom listing publish <template-id> \
|
|
|
101
200
|
--task-fixed-fee <amount>
|
|
102
201
|
```
|
|
103
202
|
|
|
104
|
-
The
|
|
203
|
+
The Server decides the required trial evidence for the deployed review policy. First publication, execution changes and a new ZIP candidate use execution review; static profile or price updates may use static review without a new mandatory trial. Do not claim one successful run is sufficient for every deployed policy. Use normal currency units such as `--task-fixed-fee 0.5`; the CLI converts them to backend units. A successful request returns a `reviewRequestId` with a pending review state.
|
|
105
204
|
|
|
106
205
|
### Configure initial subscription prices
|
|
107
206
|
|
|
108
|
-
`--subscription=true` enables the automatic single-
|
|
207
|
+
`--subscription=true` enables the automatic single-SkillApp subscription mode.
|
|
109
208
|
`--task-fixed-fee` is the creator's per-call fee, not a subscription price.
|
|
110
209
|
For a new Listing, provide initial prices in the same publication request:
|
|
111
210
|
|
|
@@ -159,9 +258,78 @@ purchase. Initialization keeps the automatic bundle draft; authorized formal
|
|
|
159
258
|
approval or explicit bundle publication is a separate step. Profile/Skill
|
|
160
259
|
Package reviews must not be treated as formal subscription publication.
|
|
161
260
|
|
|
261
|
+
### Creator Subscription Bundles
|
|
262
|
+
|
|
263
|
+
Automatic bundles belong to one Listing and are initialized through its
|
|
264
|
+
publication or `listing payment-settings`; identify them by `sourceListingId`.
|
|
265
|
+
Manual bundles are explicitly created and can contain multiple eligible
|
|
266
|
+
creator-owned SkillApps. Use `creator bundle list` (optionally `--name` and
|
|
267
|
+
`--status draft|published|unlisted`), `show <bundle-id>`, and `items <bundle-id>`
|
|
268
|
+
to inspect both kinds. `list-available` returns eligible owned SkillApps for
|
|
269
|
+
manual bundle membership; select by Listing ID, not by display name.
|
|
270
|
+
|
|
271
|
+
After explaining the intended bundle and obtaining confirmation, create a
|
|
272
|
+
manual draft and read its returned ID and revision:
|
|
273
|
+
|
|
274
|
+
```bash
|
|
275
|
+
loomloom creator bundle list-available
|
|
276
|
+
loomloom creator bundle create --name "Writing tools" \
|
|
277
|
+
--description "A bundle of writing SkillApps" --client-request-id <id>
|
|
278
|
+
loomloom creator bundle show <bundle-id>
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
`create` requires a non-empty name and request ID. Reuse that ID only for the
|
|
282
|
+
same creation payload when retrying an ambiguous result; inspect creator
|
|
283
|
+
bundle state before retrying. Creation alone does not make the draft sellable.
|
|
284
|
+
|
|
285
|
+
Add eligible members, configure at least one enabled tier, and publish as
|
|
286
|
+
separately confirmed changes:
|
|
287
|
+
|
|
288
|
+
```bash
|
|
289
|
+
loomloom creator bundle add-item <bundle-id> \
|
|
290
|
+
--listing-id <listing-a> --listing-id <listing-b> \
|
|
291
|
+
--expected-revision <current-bundle-revision>
|
|
292
|
+
loomloom creator bundle set-tier <bundle-id> --tier monthly \
|
|
293
|
+
--price <amount> --currency CNY --enabled=true \
|
|
294
|
+
--expected-revision <current-bundle-revision>
|
|
295
|
+
loomloom creator bundle publish <bundle-id> \
|
|
296
|
+
--expected-revision <current-bundle-revision>
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
Read the returned revision or `creator bundle show` after each successful
|
|
300
|
+
mutation before the next command; the placeholders above are not one reusable
|
|
301
|
+
revision. On conflict, refresh and explain the changed state rather than
|
|
302
|
+
incrementing a revision or retrying automatically. `add-item` supports repeated
|
|
303
|
+
or comma-separated `--listing-id` values, operates only on manual bundles, and
|
|
304
|
+
adds the requested members atomically. Do not invent a remove-item command.
|
|
305
|
+
Publication requires members, an enabled monthly/yearly tier, and the Server's
|
|
306
|
+
current availability checks. Zero subscription price is valid; model/API
|
|
307
|
+
execution is still billed separately.
|
|
308
|
+
|
|
309
|
+
To edit a bundle's name and description:
|
|
310
|
+
|
|
311
|
+
```bash
|
|
312
|
+
loomloom creator bundle update <bundle-id> --name <name> \
|
|
313
|
+
--description <description> --expected-revision <bundle-revision>
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
The current CLI requires `--name` and sends an empty description if
|
|
317
|
+
`--description` is omitted. Read and pass the existing description explicitly
|
|
318
|
+
to preserve it. Tier price/enabled changes use `set-tier` and the current bundle
|
|
319
|
+
revision, including for automatic bundles with existing prices. These are
|
|
320
|
+
immediate bundle changes, not Listing review requests, and do not reprice
|
|
321
|
+
already purchased subscriptions.
|
|
322
|
+
|
|
323
|
+
Use `creator bundle unlist <bundle-id> --expected-revision <bundle-revision>`
|
|
324
|
+
to close sales; optional `--reason` defaults to `creator_unlisted`. Existing
|
|
325
|
+
subscription entitlements remain. `publish` reopens the same bundle subject to
|
|
326
|
+
current checks; it is not `listing relist`. Verify saved bundle state after
|
|
327
|
+
either action. See `cli.md` for all ten creator bundle subcommands and token
|
|
328
|
+
pagination, and `billing.md` for confirmation requirements.
|
|
329
|
+
|
|
162
330
|
### Confirm duplicate names before publishing
|
|
163
331
|
|
|
164
|
-
When creating a new Listing (without `--listing-id`), `listing publish` checks the authenticated creator's Market
|
|
332
|
+
When creating a new Listing (without `--listing-id`), `listing publish` checks the authenticated creator's Market SkillApps across all states, including pending review and unlisted entries. Private templates are excluded. Matching ignores outer whitespace and case, but preserves internal whitespace. Updating an existing Listing with `--listing-id` skips this check.
|
|
165
333
|
|
|
166
334
|
- No matching names: the CLI continues with the normal submission.
|
|
167
335
|
- Matching names: the CLI displays all matches, including their IDs, names, and states, and requires confirmation. Duplicate names are allowed.
|
|
@@ -181,7 +349,45 @@ loomloom listing publish <template-id> \
|
|
|
181
349
|
--confirm-name-warning
|
|
182
350
|
```
|
|
183
351
|
|
|
184
|
-
The flag still performs the check and prints warnings; it allows submission to continue after either kind of warning. It does not bypass the
|
|
352
|
+
The flag still performs the check and prints warnings; it allows submission to continue after either kind of warning. It does not bypass the Server's trial-evidence policy, other validation, or review. A successful submission is a pending review request, not an approved public listing. `Unimplemented` concerns the check service's RPC availability; verify the target environment and deployed services separately from trial-run validation.
|
|
353
|
+
|
|
354
|
+
### Submit category and public details
|
|
355
|
+
|
|
356
|
+
Read `market list` categoryOptions before selecting an enabled code. Add these optional
|
|
357
|
+
flags to `listing publish` or `listing update`:
|
|
358
|
+
|
|
359
|
+
```bash
|
|
360
|
+
loomloom listing update <listing-id> \
|
|
361
|
+
--category <category-code> \
|
|
362
|
+
--target-audience "Content teams" \
|
|
363
|
+
--problem-solved "Create first drafts" \
|
|
364
|
+
--scenario "News articles" --scenario "Emails" \
|
|
365
|
+
--not-suitable-for "Legal advice" \
|
|
366
|
+
--update-summary "Clarified audience and use cases"
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
`--category` submits one code for review. Omitting it preserves the effective
|
|
370
|
+
classification; an explicit empty code is rejected and cannot clear it. The
|
|
371
|
+
Server verifies that the code exists and is enabled. Approval applies the
|
|
372
|
+
candidate; rejection leaves the effective classification unchanged. There is
|
|
373
|
+
no creator `--tags`, `--pin-position`, category-label edit, or category-directory
|
|
374
|
+
management command.
|
|
375
|
+
|
|
376
|
+
The four public value fields map to `value.targetAudience`, `problemSolved`,
|
|
377
|
+
`scenarios`, and `notSuitableFor`. The CLI merges only explicit value flags with
|
|
378
|
+
the current owner-visible value so omitted siblings survive. `--scenario` is
|
|
379
|
+
repeatable and keeps commas within a scenario; `--scenario ""` clears the list.
|
|
380
|
+
Explicit empty text flags clear their corresponding value field. Re-publishing
|
|
381
|
+
an existing Listing preserves its current value unless a value flag changes it.
|
|
382
|
+
Name, description and task fee retain their existing publish flag behavior.
|
|
383
|
+
|
|
384
|
+
Both submission paths replace an existing pending request with a new one;
|
|
385
|
+
inspect pending review state before resubmitting. Submission does not approve
|
|
386
|
+
or list the candidate. `listing show` exposes the effective category and
|
|
387
|
+
unlisting reason. At the audited backend revision, creator review list/get
|
|
388
|
+
omit the pending category and request type from HTTP responses; do not use the
|
|
389
|
+
effective Listing category as proof of the submitted candidate. Report that
|
|
390
|
+
readback limitation, and verify effective classification after approval.
|
|
185
391
|
|
|
186
392
|
### Change only the price
|
|
187
393
|
|
|
@@ -25,11 +25,24 @@ Use this reference for installation, `doctor`, browser login, explicit API Token
|
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
The npm setup command delegates the selected Agent's Skill root to the `skills` manager, copies the matching official Skill bundled in that npm package, and verifies that the selected Agent reports `loomloom`. In an Agent or non-interactive session, `--agent` is required; never ask the manager to install for every detected Agent.
|
|
28
|
+
- For a specific Beta, install the CLI and matching Skill from the **same exact
|
|
29
|
+
version**, for example:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npx @cogfoundry/loomloom@0.6.2-beta.3 install --agent codex --yes
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Use the explicitly selected Agent id. Verify the installed Skill includes
|
|
36
|
+
`references/workflow-preview.md`; the CLI version alone does not establish
|
|
37
|
+
the Skill version. A CLI-only `npm install -g` leaves existing Skills unchanged.
|
|
38
|
+
Local draft preview uses the built-in ShengSuanYun production viewer without
|
|
39
|
+
changing the API Key/Server. See [workflow-preview.md](workflow-preview.md)
|
|
40
|
+
for explicit viewer overrides and browser resource checks.
|
|
28
41
|
- For an Agent previously installed by that npm setup command, update both the npm CLI and its matching copied Skill explicitly:
|
|
29
42
|
```bash
|
|
30
43
|
loomloom update --agent <agent-id>
|
|
31
44
|
```
|
|
32
|
-
It only acts on a recorded npm setup receipt. It must not take over a shell, PowerShell, or Homebrew installation, and it must not guess an Agent directory.
|
|
45
|
+
This follows stable `latest`, not the Beta channel. It only acts on a recorded npm setup receipt. It must not take over a shell, PowerShell, or Homebrew installation, and it must not guess an Agent directory.
|
|
33
46
|
- For shell or PowerShell installation, determine the current Agent's supported Skill root from its runtime configuration or official conventions. Use `<agent-skill-root>/loomloom` as the complete destination and pass it with `--skill-dir` or `-SkillDir`.
|
|
34
47
|
- `--skill-dir` selects the Agent that receives the Skill; it is not the CLI binary directory. Do not use another Agent's directory as a fallback. In particular, `~/.codex/skills/loomloom` is for Codex only; a WorkBuddy target uses `~/.workbuddy/skills/loomloom`.
|
|
35
48
|
- If the explicit-directory path's current Agent Skill root is unknown, ask the user for it. After installation, verify that `<agent-skill-root>/loomloom/SKILL.md` exists.
|
|
@@ -6,6 +6,7 @@ Use this reference when creating, modifying, versioning, or explaining a private
|
|
|
6
6
|
|
|
7
7
|
- [Documentation sources](#documentation-sources)
|
|
8
8
|
- [Conversation flow](#conversation-flow)
|
|
9
|
+
- [Draft preview and review](#draft-preview-and-review)
|
|
9
10
|
- [Usage mode](#usage-mode)
|
|
10
11
|
- [TemplatePlan](#templateplan)
|
|
11
12
|
- [Modeling and input rules](#modeling-and-input-rules)
|
|
@@ -60,14 +61,33 @@ When a user describes a reusable workflow:
|
|
|
60
61
|
8. Draft a TemplatePlan first.
|
|
61
62
|
9. Show the TemplatePlan and wait for confirmation.
|
|
62
63
|
10. Generate TemplateSpec only after plan confirmation.
|
|
63
|
-
11.
|
|
64
|
+
11. Start local preview and return its draft link immediately, following
|
|
65
|
+
[workflow-preview.md](workflow-preview.md). Allow the user to review and edit
|
|
66
|
+
before saving; respect an explicit decision to skip review.
|
|
67
|
+
12. Run `loomloom template-spec check <spec.json>` against the same selected
|
|
64
68
|
Server where the version will be created. This is the server-authoritative
|
|
65
69
|
contract check, not an offline schema check.
|
|
66
|
-
|
|
67
|
-
|
|
70
|
+
13. Obtain creation authorization if it has not already been given.
|
|
71
|
+
14. Create only within that authorization and return the saved-version link
|
|
72
|
+
separately from the local draft link.
|
|
68
73
|
|
|
69
74
|
Offer options when asking questions and include a reasonable default.
|
|
70
75
|
|
|
76
|
+
## Draft Preview And Review
|
|
77
|
+
|
|
78
|
+
The local draft link is part of the normal authoring handoff. Follow
|
|
79
|
+
[workflow-preview.md](workflow-preview.md) for configuration, the retained
|
|
80
|
+
`--no-open --output json` process, immediate link delivery, and failure handling.
|
|
81
|
+
For edits to an existing private version, fetch that exact version to a local
|
|
82
|
+
file first. Preview neither saves the draft nor validates model execution.
|
|
83
|
+
|
|
84
|
+
After review, check against the intended Server and create within the user's
|
|
85
|
+
authorization. Return the saved-version link with its exact IDs; it does not
|
|
86
|
+
replace the earlier draft link. Stop the watcher when editing is complete.
|
|
87
|
+
The preview stops accepting requests on exit; do not promise erasure of data
|
|
88
|
+
already received by the browser. For an already saved version, use `view-link`
|
|
89
|
+
directly without downloading and re-uploading it just to view it.
|
|
90
|
+
|
|
71
91
|
## Usage Mode
|
|
72
92
|
|
|
73
93
|
For multi-role, multi-step, multi-perspective, multi-style, or multi-channel templates, ask:
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# Workflow viewing
|
|
2
|
+
|
|
3
|
+
## Viewer default and overrides
|
|
4
|
+
|
|
5
|
+
Preview defaults to the ShengSuanYun production viewer:
|
|
6
|
+
|
|
7
|
+
`https://www.shengsuanyun.com/zh/loomloom/workbench/viewer/v1/bootstrap.js`
|
|
8
|
+
|
|
9
|
+
No viewer configuration is required for this default. Resolution is explicit
|
|
10
|
+
`--viewer-url` first, then a non-empty `LOOMLOOM_VIEWER_BOOTSTRAP_URL`, then the
|
|
11
|
+
built-in production URL. Empty or whitespace-only environment values use the
|
|
12
|
+
default; existing non-empty overrides remain effective. Explicit invalid
|
|
13
|
+
overrides fail rather than silently choosing another viewer.
|
|
14
|
+
|
|
15
|
+
The viewer setting is independent of the cloud Server, profile, login and API
|
|
16
|
+
Key. The default does not switch the selected API platform. For another viewer
|
|
17
|
+
deployment, obtain its published HTTPS `/viewer/v1/bootstrap.js` address and
|
|
18
|
+
pass `--viewer-url`; do not infer one from the API Server. The viewer is trusted
|
|
19
|
+
executable code: check JavaScript MIME type, anonymous CORS and compatibility
|
|
20
|
+
when diagnosing resource failures. HTTP 200 containing HTML is not a working
|
|
21
|
+
viewer. Changing persistent shell configuration still requires the user's
|
|
22
|
+
authorization; exported overrides must reach the retained preview process.
|
|
23
|
+
|
|
24
|
+
## Hand off the local draft
|
|
25
|
+
|
|
26
|
+
1. After the plan is approved, generate a regular UTF-8 draft file (up to 1 MiB).
|
|
27
|
+
To modify a saved version, export that exact version first.
|
|
28
|
+
2. Start the command in a retained tool process:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
loomloom template-spec preview ./draft.json --no-open --output json
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
This uses the production viewer unless explicitly overridden. Keep the
|
|
35
|
+
process alive; do not run it in a short-lived shell that terminates child
|
|
36
|
+
processes on return.
|
|
37
|
+
3. Wait for the NDJSON event whose `type` is `ready`. Immediately send its full
|
|
38
|
+
`viewUrl`, including `#token=...`, as a clickable **local draft preview** link
|
|
39
|
+
in the user-facing reply, before further validation or save operations. Do
|
|
40
|
+
not leave it only in tool output. Say that it works on the CLI computer while
|
|
41
|
+
this process remains running. `ready` proves only local startup; only browser
|
|
42
|
+
observation can establish that public resources loaded and the graph rendered.
|
|
43
|
+
4. Keep editing the same file during review. Follow `synced` and `waiting`
|
|
44
|
+
events, and report parsing or file issues honestly. Still run server `check`
|
|
45
|
+
before saving; a diagram is not proof of execution validity.
|
|
46
|
+
5. Save within the user's authorization after review, unless review was
|
|
47
|
+
explicitly declined or saving without it was already authorized. Return the
|
|
48
|
+
**saved-version page** separately. Stop only this preview process when done.
|
|
49
|
+
|
|
50
|
+
If startup fails, return the specific cause promptly. Check invalid overrides
|
|
51
|
+
and CLI version when configuration differs from the documented default. If
|
|
52
|
+
assets fail to load, report that browser state. If the tool cannot retain a
|
|
53
|
+
process, explain that a live link cannot be kept available. Resolve the issue or offer
|
|
54
|
+
local JSON review and obtain the user's decision before bypassing requested
|
|
55
|
+
visual review. Do not create remotely just to obtain a link, invent a link, or
|
|
56
|
+
silently replace a requested draft page with a saved-version page.
|
|
57
|
+
|
|
58
|
+
## Privacy and lifecycle
|
|
59
|
+
|
|
60
|
+
The CLI serves a tiny loopback startup page and protected JSON snapshot. The
|
|
61
|
+
browser loads public JS/CSS directly over HTTPS and renders locally. The CLI
|
|
62
|
+
never downloads or embeds UI resources. No cloud token, login, contract query,
|
|
63
|
+
Redis, upload, save or model execution is used by preview. Missing model metadata
|
|
64
|
+
stays unverified. Drafts and local session credentials stay on this computer.
|
|
65
|
+
|
|
66
|
+
Give the private local URL only to the user for this session; do not put it in
|
|
67
|
+
telemetry, logs or reports. Closing a tab does not stop CLI. Refresh uses the
|
|
68
|
+
original fragment; restarting CLI requires its new link. On exit the service
|
|
69
|
+
closes and the page can detect disconnection, but do not promise that browser
|
|
70
|
+
data already received is erased. There is no cloud draft expiry or storage.
|
|
71
|
+
|
|
72
|
+
## Saved versions
|
|
73
|
+
|
|
74
|
+
Use `loomloom template-spec view-link <template-id> <version-id>` with exact IDs
|
|
75
|
+
for an already saved version. Its online page requires owner login and is
|
|
76
|
+
independent of the local draft page. Successful save responses can include
|
|
77
|
+
`viewUrl`; if unavailable, retry only this read, never the successful mutation.
|
|
78
|
+
|
|
79
|
+
## CLI and Skill versions
|
|
80
|
+
|
|
81
|
+
`npm install -g` updates only the CLI. An existing Agent Skill can remain stale.
|
|
82
|
+
For a requested Beta, install both from that exact version with
|
|
83
|
+
`npx @cogfoundry/loomloom@<version> install --agent <agent-id> --yes`, then verify
|
|
84
|
+
the selected Agent's installed Skill and its `references/workflow-preview.md`.
|
|
85
|
+
See [setup.md](setup.md). Do not use stable `latest` or `loomloom update` to
|
|
86
|
+
select a Beta, and do not install into every Agent.
|
package/skill-manifest.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
-
"releaseTag": "v0.6.0
|
|
3
|
-
"version": "0.6.0
|
|
2
|
+
"releaseTag": "v0.6.0",
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"source": "agent-guidance/loomloom",
|
|
5
5
|
"files": [
|
|
6
6
|
{
|
|
7
7
|
"path": "references/billing.md",
|
|
8
|
-
"sha256": "
|
|
8
|
+
"sha256": "41a86a510154d5813d6a30c6a67440699f8a76629e3dbd430be05c60b056f735"
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
11
|
"path": "references/cli.md",
|
|
12
|
-
"sha256": "
|
|
12
|
+
"sha256": "faa8bc80fbc2f51ee526f6849b659aa589d335625dcbd27b1a4315f09e4154fe"
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
"path": "references/execution.md",
|
|
@@ -17,23 +17,27 @@
|
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"path": "references/local-skills.md",
|
|
20
|
-
"sha256": "
|
|
20
|
+
"sha256": "bffdf567936069f559eb77c27926e2a698b54b79180a39f512cae1fc6e482e15"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"path": "references/market.md",
|
|
24
|
-
"sha256": "
|
|
24
|
+
"sha256": "bfa7ffc7a958029277955215da1ad017577fbf72cb09a86883958dad8b574b2e"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"path": "references/setup.md",
|
|
28
|
-
"sha256": "
|
|
28
|
+
"sha256": "ceae1d8e3fbe62a9dd4d8388cf3828da186b0ecadc0fc70fb71e6921dc0a4757"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"path": "references/template-spec.md",
|
|
32
|
-
"sha256": "
|
|
32
|
+
"sha256": "a3d4f5722a61de3c476e5aab8415fce30d1a2655eafcae4243b65ee3025402f2"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"path": "references/workflow-preview.md",
|
|
36
|
+
"sha256": "b6e66a05728d87e10920c6b4b7f78b473d8fd0c62f96d816f025321842c2affe"
|
|
33
37
|
},
|
|
34
38
|
{
|
|
35
39
|
"path": "SKILL.md",
|
|
36
|
-
"sha256": "
|
|
40
|
+
"sha256": "7d1a533b1b6feb97e2b664310395cdb9d322fb88a093c06b27996fd5723303be"
|
|
37
41
|
}
|
|
38
42
|
]
|
|
39
43
|
}
|