@cogfoundry/loomloom 0.4.8 → 0.4.10
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 +1 -1
- package/package.json +7 -7
- package/platforms.json +14 -14
- package/skill/loomloom/SKILL.md +9 -5
- package/skill/loomloom/references/cli.md +8 -0
- package/skill/loomloom/references/local-skills.md +38 -6
- package/skill/loomloom/references/market.md +24 -0
- package/skill-manifest.json +6 -6
package/README.md
CHANGED
|
@@ -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.4.
|
|
15
|
+
npx @cogfoundry/loomloom@0.4.10 install --agent codex --yes
|
|
16
16
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cogfoundry/loomloom",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.10",
|
|
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.4.
|
|
26
|
-
"@cogfoundry/loomloom-linux-arm64": "0.4.
|
|
27
|
-
"@cogfoundry/loomloom-darwin-x64": "0.4.
|
|
28
|
-
"@cogfoundry/loomloom-darwin-arm64": "0.4.
|
|
29
|
-
"@cogfoundry/loomloom-win32-x64": "0.4.
|
|
30
|
-
"@cogfoundry/loomloom-win32-arm64": "0.4.
|
|
25
|
+
"@cogfoundry/loomloom-linux-x64": "0.4.10",
|
|
26
|
+
"@cogfoundry/loomloom-linux-arm64": "0.4.10",
|
|
27
|
+
"@cogfoundry/loomloom-darwin-x64": "0.4.10",
|
|
28
|
+
"@cogfoundry/loomloom-darwin-arm64": "0.4.10",
|
|
29
|
+
"@cogfoundry/loomloom-win32-x64": "0.4.10",
|
|
30
|
+
"@cogfoundry/loomloom-win32-arm64": "0.4.10"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
package/platforms.json
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
{
|
|
2
|
-
"releaseTag": "v0.4.
|
|
3
|
-
"version": "0.4.
|
|
2
|
+
"releaseTag": "v0.4.10",
|
|
3
|
+
"version": "0.4.10",
|
|
4
4
|
"platforms": {
|
|
5
5
|
"linux-x64": {
|
|
6
6
|
"package": "@cogfoundry/loomloom-linux-x64",
|
|
7
7
|
"binary": "bin/loomloom",
|
|
8
|
-
"binarySHA256": "
|
|
8
|
+
"binarySHA256": "6cde13451a2bbf1b841920e41ce6fc1b20cf6fdd7817a2898cc114516fc6981e",
|
|
9
9
|
"archive": "loomloom-linux-amd64.tar.gz",
|
|
10
|
-
"archiveSHA256": "
|
|
10
|
+
"archiveSHA256": "4b1f2f7c13b849cad891b468f9982f773610ed861bc90a295fc5c8c1e49f08f3"
|
|
11
11
|
},
|
|
12
12
|
"linux-arm64": {
|
|
13
13
|
"package": "@cogfoundry/loomloom-linux-arm64",
|
|
14
14
|
"binary": "bin/loomloom",
|
|
15
|
-
"binarySHA256": "
|
|
15
|
+
"binarySHA256": "b120cbe8c7d7411a32cde8ef220871411f2698322436503de9970ac3fdbe8f5b",
|
|
16
16
|
"archive": "loomloom-linux-arm64.tar.gz",
|
|
17
|
-
"archiveSHA256": "
|
|
17
|
+
"archiveSHA256": "c7d730ae4a3dd3ba91897bf8950f6624cd30a0f6645b2319ddcd1ed0096baf68"
|
|
18
18
|
},
|
|
19
19
|
"darwin-x64": {
|
|
20
20
|
"package": "@cogfoundry/loomloom-darwin-x64",
|
|
21
21
|
"binary": "bin/loomloom",
|
|
22
|
-
"binarySHA256": "
|
|
22
|
+
"binarySHA256": "9acace1cd00fb82bf4a0fea0c27d340c1984f39f22333ee3744a5c27e01b3511",
|
|
23
23
|
"archive": "loomloom-darwin-amd64.tar.gz",
|
|
24
|
-
"archiveSHA256": "
|
|
24
|
+
"archiveSHA256": "640770dc998225abc67ab289319fd350a780dc712fb4700deb30a363a19947b9"
|
|
25
25
|
},
|
|
26
26
|
"darwin-arm64": {
|
|
27
27
|
"package": "@cogfoundry/loomloom-darwin-arm64",
|
|
28
28
|
"binary": "bin/loomloom",
|
|
29
|
-
"binarySHA256": "
|
|
29
|
+
"binarySHA256": "d5d39c053aa5ab3d2b1a7e83314a67d0c5b68bbb058b60611c75fef79b971006",
|
|
30
30
|
"archive": "loomloom-darwin-arm64.tar.gz",
|
|
31
|
-
"archiveSHA256": "
|
|
31
|
+
"archiveSHA256": "04086e9a7e43861e119856e61a9e0a7d61e0117e560dd06a8cc5c85a827d961f"
|
|
32
32
|
},
|
|
33
33
|
"win32-x64": {
|
|
34
34
|
"package": "@cogfoundry/loomloom-win32-x64",
|
|
35
35
|
"binary": "bin/loomloom.exe",
|
|
36
|
-
"binarySHA256": "
|
|
36
|
+
"binarySHA256": "1a9dc7253c639c79fd988e7339e24c494a95b8e5cdfd6630dd161568c4640052",
|
|
37
37
|
"archive": "loomloom-windows-amd64.zip",
|
|
38
|
-
"archiveSHA256": "
|
|
38
|
+
"archiveSHA256": "22170666718c74f834b877761462e8a0d7271cdee39282bc96a277c9ed1900a6"
|
|
39
39
|
},
|
|
40
40
|
"win32-arm64": {
|
|
41
41
|
"package": "@cogfoundry/loomloom-win32-arm64",
|
|
42
42
|
"binary": "bin/loomloom.exe",
|
|
43
|
-
"binarySHA256": "
|
|
43
|
+
"binarySHA256": "8a3341939b03dfadf59653b41b1bf8e30a5017db8e4f7e84fb2099a82c9785b4",
|
|
44
44
|
"archive": "loomloom-windows-arm64.zip",
|
|
45
|
-
"archiveSHA256": "
|
|
45
|
+
"archiveSHA256": "c3d092ae0105f7dfc96aae5129e1cfde37b0fda52df4eb58abdb964a4f0551bf"
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
package/skill/loomloom/SKILL.md
CHANGED
|
@@ -55,16 +55,18 @@ Read every required reference for the current intent before answering with busin
|
|
|
55
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
56
|
| Discover, quote, or execute a Market SkillBot | [market.md](references/market.md), [billing.md](references/billing.md), [cli.md](references/cli.md) |
|
|
57
57
|
| 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
|
-
|
|
|
58
|
+
| Manage Skill Packages or install local Agent Skills | [local-skills.md](references/local-skills.md), [cli.md](references/cli.md) |
|
|
59
59
|
| Diagnose a failure, ambiguous response, missing ID, or command syntax | [cli.md](references/cli.md) plus the relevant domain reference above |
|
|
60
60
|
|
|
61
61
|
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
62
|
|
|
63
|
+
When the user asks to accomplish a task with a Market SkillBot or official template, also read [local-skills.md](references/local-skills.md) for installation commands and result handling.
|
|
64
|
+
|
|
63
65
|
## High-Level Workflows
|
|
64
66
|
|
|
65
67
|
### Official template
|
|
66
68
|
|
|
67
|
-
When the user
|
|
69
|
+
When the user requests use of an official template, identify the target and automatically install its Skill Package into the current Agent's Skill root. For template execution, prepare and validate the input, obtain the current estimate through precheck, and present the estimated cost for confirmation before submission, following `billing.md`. Briefly explain any installation failure.
|
|
68
70
|
|
|
69
71
|
Default workbook flow:
|
|
70
72
|
|
|
@@ -200,7 +202,7 @@ Discover Listing → Inspect public schema → Select Listing → Explicit use r
|
|
|
200
202
|
→ User confirms → Run through Listing → Usage/results
|
|
201
203
|
```
|
|
202
204
|
|
|
203
|
-
|
|
205
|
+
When the user requests use of a Market SkillBot, 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.
|
|
204
206
|
|
|
205
207
|
### Market creator
|
|
206
208
|
|
|
@@ -214,8 +216,10 @@ Changing only the price and changing the execution version are different operati
|
|
|
214
216
|
### Local Agent Skill
|
|
215
217
|
|
|
216
218
|
```text
|
|
217
|
-
|
|
218
|
-
→
|
|
219
|
+
Install/use request → Identify target and current Agent's Skill root
|
|
220
|
+
→ Run installation command
|
|
221
|
+
→ CLI downloads ZIP as needed, verifies it, and extracts it beneath the Skill root
|
|
222
|
+
→ Package installed or already up to date
|
|
219
223
|
```
|
|
220
224
|
|
|
221
225
|
This automatic package installation does not authorize a paid run. Creator package uploads remain a separate, explicitly confirmed flow.
|
|
@@ -190,6 +190,7 @@ the historical version.
|
|
|
190
190
|
- `loomloom listing list`
|
|
191
191
|
- `loomloom listing show <listing-id>`
|
|
192
192
|
- `loomloom listing versions <listing-id>`
|
|
193
|
+
- `loomloom listing download-skill-package <listing-id> --version-id <skill-package-version-id> --output-file <zip>`
|
|
193
194
|
- `loomloom listing update <listing-id>`
|
|
194
195
|
- `loomloom listing unlist <listing-id>`
|
|
195
196
|
- `loomloom listing relist <listing-id>`
|
|
@@ -204,8 +205,15 @@ the historical version.
|
|
|
204
205
|
|
|
205
206
|
- `loomloom skill package private upload <template-id> --file <agent-created.zip>`
|
|
206
207
|
- `loomloom skill package private show <template-id>`
|
|
208
|
+
- `loomloom skill package private download <template-id> --output-file <zip>`
|
|
207
209
|
- `loomloom skill package private detach <template-id> [--expected-archive-hash <hash> --expected-validation-id <id>]`
|
|
208
210
|
- `loomloom skill package install market <listing-id> --skill-root <current-agent-skill-root>`
|
|
209
211
|
- `loomloom skill package install official <template-slug> --skill-root <current-agent-skill-root>`
|
|
212
|
+
|
|
213
|
+
#### Legacy wrappers (compatibility)
|
|
214
|
+
|
|
215
|
+
These commands belong to the local-wrapper workflow described in [local-skills.md](local-skills.md). Use the ZIP commands above for Market and official-template package installation; wrapper uninstall does not support installed ZIP packages.
|
|
216
|
+
|
|
217
|
+
- `loomloom skill install market <listing-id> --agent <agent> --output-dir <dir>`
|
|
210
218
|
- `loomloom skill install template-spec <template-id> <version-id> --agent <agent> --output-dir <dir>`
|
|
211
219
|
- `loomloom skill uninstall --dir <skill-dir>`
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
# Agent Skill Packages
|
|
2
2
|
|
|
3
|
-
Use this reference for a private template that needs local Agent capabilities, and when a user explicitly asks their current Agent to install or use an official template or Market SkillBot.
|
|
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 SkillBot.
|
|
4
4
|
|
|
5
5
|
Local package installation is not template execution. It must not create a run, quote/precheck execution cost, call a Market SkillBot, or create billable model/API usage.
|
|
6
6
|
|
|
7
|
+
## Contents
|
|
8
|
+
|
|
9
|
+
- [Creator: private template with Agent capabilities](#creator-private-template-with-agent-capabilities)
|
|
10
|
+
- [Download a ZIP without installation](#download-a-zip-without-installation)
|
|
11
|
+
- [Consumer: official-template and Market packages](#consumer-official-template-and-market-packages)
|
|
12
|
+
- [Market publication](#market-publication)
|
|
13
|
+
|
|
7
14
|
## Creator: private template with Agent capabilities
|
|
8
15
|
|
|
9
16
|
Before deciding whether a private template needs a local Skill, determine what the current LoomLoom Server can author and execute. Resolve the requested input/output modalities with `loomloom capability resolve`; inspect `template-spec authoring-context`, `template-spec contracts`, or `model list` when needed. Do not classify work from its title or apparent simplicity alone.
|
|
@@ -47,22 +54,47 @@ loomloom skill package private detach <template-id> \
|
|
|
47
54
|
|
|
48
55
|
Use `--expected-archive-hash` and `--expected-validation-id` for a replacement or detachment whenever a current Head exists, so a stale Agent cannot overwrite another change. Detachment only removes the current package binding; it does not delete the private template, template versions, or historical ZIP archives. Before detaching, explain this effect and obtain the creator's explicit confirmation.
|
|
49
56
|
|
|
57
|
+
## Download a ZIP without installation
|
|
58
|
+
|
|
59
|
+
To save the current package associated with one of the user's private templates:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
loomloom skill package private download <template-id> --output-file <package.zip>
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
To save a specific Skill Package version belonging to one of the user's own Listings:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
loomloom listing download-skill-package <listing-id> \
|
|
69
|
+
--version-id <skill-package-version-id> --output-file <package.zip>
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
`--version-id` identifies a Skill Package version, not a Listing or template version. Read it from the Server, for example `skillPackage.skillPackageVersionId` or `skillPackageReview.pending.id` in `loomloom listing show <listing-id> --output json`. The Server controls access, including to non-public package versions.
|
|
73
|
+
|
|
74
|
+
Both commands only save the ZIP; they do not extract, install, or execute it. For output options, consult the command's `--help`.
|
|
75
|
+
|
|
50
76
|
## Consumer: official-template and Market packages
|
|
51
77
|
|
|
52
|
-
|
|
78
|
+
Requests to accomplish a task with an official template or Market SkillBot include its installation preparation. For example, "use this SkillBot 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.
|
|
53
79
|
|
|
54
|
-
|
|
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:
|
|
55
81
|
|
|
56
82
|
```bash
|
|
57
83
|
loomloom skill package install market <listing-id> --skill-root <current-agent-skill-root>
|
|
58
84
|
loomloom skill package install official <template-slug> --skill-root <current-agent-skill-root>
|
|
59
85
|
```
|
|
60
86
|
|
|
61
|
-
|
|
87
|
+
These `skill package install` commands install the backend-provided package. The older wrapper commands remain available as a separate compatibility workflow: `skill install market` generates local calling instructions for a Listing, while `skill install template-spec` does so for an exact private template version without requiring an existing ZIP. These instructions call hosted execution; they do not download its workflow for local execution. `skill uninstall` only removes wrappers generated by those commands, not packages installed by `skill package install`. Downloading a private template's existing ZIP does not replace private-wrapper generation.
|
|
88
|
+
|
|
89
|
+
The CLI checks the local version, downloads the Skill Package ZIP when needed, verifies it, and extracts it into a Skill directory beneath the supplied Skill root. Installation success or `unchanged=true` means the Skill Package is available locally in the returned `dir`. Run the installation command even when the package may already be installed; the CLI decides whether an update is needed.
|
|
90
|
+
|
|
91
|
+
Proceed with this preparation as part of the user's use request. Keep progress messages focused on the task and any decisions needed from the user. Paid execution follows the separate quote/precheck and confirmation rules in `billing.md`.
|
|
62
92
|
|
|
63
|
-
|
|
93
|
+
### Installation exceptions
|
|
64
94
|
|
|
65
|
-
|
|
95
|
+
- A command error means installation failed. Briefly explain the reported problem. The CLI preserves the previous local package on failure.
|
|
96
|
+
- `available=false` means installation was skipped. Explain the returned reason in the user's language: `listing_not_listed` means the Listing is not currently listed; `package_removed` means its package was removed; `distribution_blocked` means distribution is blocked; `distribution_unavailable` means distribution is not currently available. An unfamiliar reason should be reported without guessing its meaning.
|
|
97
|
+
- For Market packages, the installation command automatically attempts to obtain an available ZIP. When no published ZIP exists (`no_published_package`), it requests the download endpoint, which can generate the ZIP on demand. The CLI verifies and installs the returned ZIP; report the final installation result. Report no installable package only when the service explicitly indicates that none is available; other errors follow the failure handling above. For official templates, an unavailable package is reported as skipped.
|
|
66
98
|
|
|
67
99
|
## Market publication
|
|
68
100
|
|
|
@@ -103,6 +103,30 @@ loomloom listing publish <template-id> \
|
|
|
103
103
|
|
|
104
104
|
The private template version must already have one successful run. 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
105
|
|
|
106
|
+
### Confirm duplicate names before publishing
|
|
107
|
+
|
|
108
|
+
When creating a new Listing (without `--listing-id`), `listing publish` checks the authenticated creator's Market SkillBots 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.
|
|
109
|
+
|
|
110
|
+
- No matching names: the CLI continues with the normal submission.
|
|
111
|
+
- Matching names: the CLI displays all matches, including their IDs, names, and states, and requires confirmation. Duplicate names are allowed.
|
|
112
|
+
- Check failure, including `Unimplemented`: the CLI warns that the result is unknown and requires confirmation. Do not describe this as no duplicates or as a failed template trial run.
|
|
113
|
+
|
|
114
|
+
In an interactive terminal, only `y` or `yes` confirms. Enter, refusal, EOF, or the independent five-minute confirmation timeout cancels submission. Name checking and subsequent submission each have their own HTTP timeout (default 30 seconds, controlled by `--timeout`).
|
|
115
|
+
|
|
116
|
+
Agent and other non-interactive calls do not receive a `y/N` prompt. On a duplicate-name warning or check failure, the CLI exits and asks for `--confirm-name-warning`. Explain the warning to the user and obtain explicit confirmation before retrying the same command with that flag. For a failed check, explicitly say that duplicate names could not be checked. Do not add the flag automatically to bypass a warning, and do not substitute a public Market search for the creator-scoped check.
|
|
117
|
+
|
|
118
|
+
Only after the user confirms:
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
loomloom listing publish <template-id> \
|
|
122
|
+
--template-version-id <id> \
|
|
123
|
+
--display-name <name> \
|
|
124
|
+
--task-fixed-fee <amount> \
|
|
125
|
+
--confirm-name-warning
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
The flag still performs the check and prints warnings; it allows submission to continue after either kind of warning. It does not bypass the successful trial-run requirement, other server 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.
|
|
129
|
+
|
|
106
130
|
### Change only the price
|
|
107
131
|
|
|
108
132
|
Publish to the same Listing with:
|
package/skill-manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"releaseTag": "v0.4.
|
|
3
|
-
"version": "0.4.
|
|
2
|
+
"releaseTag": "v0.4.10",
|
|
3
|
+
"version": "0.4.10",
|
|
4
4
|
"source": "agent-guidance/loomloom",
|
|
5
5
|
"files": [
|
|
6
6
|
{
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
11
|
"path": "references/cli.md",
|
|
12
|
-
"sha256": "
|
|
12
|
+
"sha256": "b369d4357e4b525da4e173da927732800cb8f749d8435cb0dbd8cc8a98f689d9"
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
"path": "references/execution.md",
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"path": "references/local-skills.md",
|
|
20
|
-
"sha256": "
|
|
20
|
+
"sha256": "b00bfa6395467b3ffdfa1be8ed35ab58196548a7ae34ea4c356a69fd1a160ee0"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"path": "references/market.md",
|
|
24
|
-
"sha256": "
|
|
24
|
+
"sha256": "95f14567318e23f618442a54e907c6b77995cafaf5c8f0dee337385c37972f56"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"path": "references/setup.md",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"path": "SKILL.md",
|
|
36
|
-
"sha256": "
|
|
36
|
+
"sha256": "6061d879499c75954b3af3aa2d89066db16bda70f8eec875ff107aad509cc8ea"
|
|
37
37
|
}
|
|
38
38
|
]
|
|
39
39
|
}
|