@cogfoundry/loomloom 0.4.7 → 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 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.7 install --agent codex --yes
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.7",
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.7",
26
- "@cogfoundry/loomloom-linux-arm64": "0.4.7",
27
- "@cogfoundry/loomloom-darwin-x64": "0.4.7",
28
- "@cogfoundry/loomloom-darwin-arm64": "0.4.7",
29
- "@cogfoundry/loomloom-win32-x64": "0.4.7",
30
- "@cogfoundry/loomloom-win32-arm64": "0.4.7"
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.7",
3
- "version": "0.4.7",
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": "ad225637dd07fe1b6ead624c4d3f877f997171f7257ec4ce06f3ba5a2228e827",
8
+ "binarySHA256": "6cde13451a2bbf1b841920e41ce6fc1b20cf6fdd7817a2898cc114516fc6981e",
9
9
  "archive": "loomloom-linux-amd64.tar.gz",
10
- "archiveSHA256": "c894d59350a20c404b00bc6abf50b628db9100c24cd211a5818c3f5c5787f8d8"
10
+ "archiveSHA256": "4b1f2f7c13b849cad891b468f9982f773610ed861bc90a295fc5c8c1e49f08f3"
11
11
  },
12
12
  "linux-arm64": {
13
13
  "package": "@cogfoundry/loomloom-linux-arm64",
14
14
  "binary": "bin/loomloom",
15
- "binarySHA256": "140e6962bc63ae0720b5ab03b4a2fc2e7281689b2b69ee0dd5f13102103f34a3",
15
+ "binarySHA256": "b120cbe8c7d7411a32cde8ef220871411f2698322436503de9970ac3fdbe8f5b",
16
16
  "archive": "loomloom-linux-arm64.tar.gz",
17
- "archiveSHA256": "199394c66eb4a7741c4f90c81516479226ecb3961f5ac559aa87e9644c49583f"
17
+ "archiveSHA256": "c7d730ae4a3dd3ba91897bf8950f6624cd30a0f6645b2319ddcd1ed0096baf68"
18
18
  },
19
19
  "darwin-x64": {
20
20
  "package": "@cogfoundry/loomloom-darwin-x64",
21
21
  "binary": "bin/loomloom",
22
- "binarySHA256": "84f5efc4eade1804e4035b3c3a7e44f6eac583116dbf8ae614c680d4646cff81",
22
+ "binarySHA256": "9acace1cd00fb82bf4a0fea0c27d340c1984f39f22333ee3744a5c27e01b3511",
23
23
  "archive": "loomloom-darwin-amd64.tar.gz",
24
- "archiveSHA256": "a7d70b0c723dcf1f047ba4be63e92c6eb92fa7a8d94afe048462898aafa61769"
24
+ "archiveSHA256": "640770dc998225abc67ab289319fd350a780dc712fb4700deb30a363a19947b9"
25
25
  },
26
26
  "darwin-arm64": {
27
27
  "package": "@cogfoundry/loomloom-darwin-arm64",
28
28
  "binary": "bin/loomloom",
29
- "binarySHA256": "1009e2f6cb9bbbbc77b439596258ea2ec191db669ef3b2609053cd41b5d95f41",
29
+ "binarySHA256": "d5d39c053aa5ab3d2b1a7e83314a67d0c5b68bbb058b60611c75fef79b971006",
30
30
  "archive": "loomloom-darwin-arm64.tar.gz",
31
- "archiveSHA256": "fbd8a0f6342835669f614bc8c06285b6cbf80ed2ec26a2fcab240bc03a01df3e"
31
+ "archiveSHA256": "04086e9a7e43861e119856e61a9e0a7d61e0117e560dd06a8cc5c85a827d961f"
32
32
  },
33
33
  "win32-x64": {
34
34
  "package": "@cogfoundry/loomloom-win32-x64",
35
35
  "binary": "bin/loomloom.exe",
36
- "binarySHA256": "a1b29b9227f15100be6583253cac32b547792f4d9578873a2e955215d8bd9fc9",
36
+ "binarySHA256": "1a9dc7253c639c79fd988e7339e24c494a95b8e5cdfd6630dd161568c4640052",
37
37
  "archive": "loomloom-windows-amd64.zip",
38
- "archiveSHA256": "75042b0d981e9a7ed392b2e5f49a5119ae47e953b6c77a4f0234414ef50a4ff4"
38
+ "archiveSHA256": "22170666718c74f834b877761462e8a0d7271cdee39282bc96a277c9ed1900a6"
39
39
  },
40
40
  "win32-arm64": {
41
41
  "package": "@cogfoundry/loomloom-win32-arm64",
42
42
  "binary": "bin/loomloom.exe",
43
- "binarySHA256": "87a19da57a50093b3ed4a208b27f7e8cbc940c3209cad9f93766a3b86e80159c",
43
+ "binarySHA256": "8a3341939b03dfadf59653b41b1bf8e30a5017db8e4f7e84fb2099a82c9785b4",
44
44
  "archive": "loomloom-windows-arm64.zip",
45
- "archiveSHA256": "ba1764d724c8f3fb67944c2c5fd40415713010864dbe6a92021ec3e64e27ee0f"
45
+ "archiveSHA256": "c3d092ae0105f7dfc96aae5129e1cfde37b0fda52df4eb58abdb964a4f0551bf"
46
46
  }
47
47
  }
48
48
  }
@@ -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
- | Install or uninstall a LoomLoom template as a local Agent Skill | [local-skills.md](references/local-skills.md), [cli.md](references/cli.md) |
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 explicitly asks to use a selected official template, first check or install its public Skill Package in the current Agent's Skill root. Do this after the template is identified and before downloading its workbook, reading its concrete input schema, quoting, or executing. Listing or explaining official templates alone does not authorize installation. If the package check reports no public ZIP, continue with the normal LoomLoom cloud workflow.
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
- Only after the user explicitly says to install or use a selected Market SkillBot, check or install its public Skill Package in the current Agent's Skill root. Do this before preparing the actual input or executing; browsing, explaining, and quoting do not authorize installation. If the package check reports no public ZIP, continue with the normal Market cloud workflow. Package installation does not authorize a paid run.
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
- Explicit install/use request → Agent identifies its own Skill root
218
- → Download current public ZIP → validate and atomically install/update
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
- Only trigger package installation when the user clearly tells the current Agent to **install** or **use** a selected official template or Market SkillBot. Listing, browsing, quoting, explaining, or merely showing it does not authorize installation. Once the template slug or Listing ID is known and the user has made that explicit request, check or install the package before downloading a workbook, reading the concrete input schema, preparing actual input, quoting, or executing.
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
- The Agent determines its own Skill root. Do not hard-code Codex, Claude, or OpenClaw paths, and do not ask the user to choose a platform-specific destination. Pass the root to the CLI:
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
- Do not use `loomloom skill install market`. It is a legacy local-wrapper generator retained only for compatibility; it does not download the reviewed backend ZIP and is not the Market SkillBot installation flow.
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
- This is an automatic action after the user's explicit install/use request: do not ask a second confirmation. First read the public package summary; do not skip this check. If no public ZIP is available, do not download or trigger package generation; continue with the normal LoomLoom cloud workflow. When a public ZIP is available, compare its `archiveHash` with the current Agent's local `.loomloom-package.json`: if it matches, keep the installed Skill; if it differs, download, verify, and atomically replace the same-source local Skill directory. A same-name directory owned by another source or not managed by LoomLoom is a name conflict and must not be overwritten. Package Skill names must remain stable across versions. If download, validation, extraction, or replacement fails, retain the previous local package.
93
+ ### Installation exceptions
64
94
 
65
- If the public package is unavailable, do not install anything and do not treat the SkillBot as unexecutable: continue with the normal LoomLoom cloud workflow.
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:
@@ -1,6 +1,6 @@
1
1
  {
2
- "releaseTag": "v0.4.7",
3
- "version": "0.4.7",
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": "a01167ab02960290813459ee558b005d5eb3738da14842ed08615054a4e7263b"
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": "86272be4a95c6a4355ce1e48410d0d02ef067e04509fa36babbf121f6aa29ebd"
20
+ "sha256": "b00bfa6395467b3ffdfa1be8ed35ab58196548a7ae34ea4c356a69fd1a160ee0"
21
21
  },
22
22
  {
23
23
  "path": "references/market.md",
24
- "sha256": "89f32d1d163a73452347f674300867e05e08c682ae84031ebe188813fc81fa2a"
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": "02b93b4f840aa3a80356f4f7d52acce2297b8696eee1a76c0ffa0cab8cd60540"
36
+ "sha256": "6061d879499c75954b3af3aa2d89066db16bda70f8eec875ff107aad509cc8ea"
37
37
  }
38
38
  ]
39
39
  }