@cogfoundry/loomloom 0.5.0-beta.2 → 0.5.0-beta.3

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.5.0-beta.2 install --agent codex --yes
15
+ npx @cogfoundry/loomloom@0.5.0-beta.3 install --agent codex --yes
16
16
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cogfoundry/loomloom",
3
- "version": "0.5.0-beta.2",
3
+ "version": "0.5.0-beta.3",
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.5.0-beta.2",
26
- "@cogfoundry/loomloom-linux-arm64": "0.5.0-beta.2",
27
- "@cogfoundry/loomloom-darwin-x64": "0.5.0-beta.2",
28
- "@cogfoundry/loomloom-darwin-arm64": "0.5.0-beta.2",
29
- "@cogfoundry/loomloom-win32-x64": "0.5.0-beta.2",
30
- "@cogfoundry/loomloom-win32-arm64": "0.5.0-beta.2"
25
+ "@cogfoundry/loomloom-linux-x64": "0.5.0-beta.3",
26
+ "@cogfoundry/loomloom-linux-arm64": "0.5.0-beta.3",
27
+ "@cogfoundry/loomloom-darwin-x64": "0.5.0-beta.3",
28
+ "@cogfoundry/loomloom-darwin-arm64": "0.5.0-beta.3",
29
+ "@cogfoundry/loomloom-win32-x64": "0.5.0-beta.3",
30
+ "@cogfoundry/loomloom-win32-arm64": "0.5.0-beta.3"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"
package/platforms.json CHANGED
@@ -1,48 +1,48 @@
1
1
  {
2
- "releaseTag": "v0.5.0-beta.2",
3
- "version": "0.5.0-beta.2",
2
+ "releaseTag": "v0.5.0-beta.3",
3
+ "version": "0.5.0-beta.3",
4
4
  "platforms": {
5
5
  "linux-x64": {
6
6
  "package": "@cogfoundry/loomloom-linux-x64",
7
7
  "binary": "bin/loomloom",
8
- "binarySHA256": "5afc225579953a666185595b2f9d8d0af6f75c90b69ee80fa1fbb1bd0737ff7b",
8
+ "binarySHA256": "854a782a332aefa15a038d75283a89850919a70cc821e7d03a7a2452f2ef873c",
9
9
  "archive": "loomloom-linux-amd64.tar.gz",
10
- "archiveSHA256": "89bc002fbb0a33ab2400eb321554c728f683f3665768598d670671bc6f6577ca"
10
+ "archiveSHA256": "c89de2e412e2cc2030e6e9c332dcce254cca6aa3da3bc1edf1db8564f74eba18"
11
11
  },
12
12
  "linux-arm64": {
13
13
  "package": "@cogfoundry/loomloom-linux-arm64",
14
14
  "binary": "bin/loomloom",
15
- "binarySHA256": "c8481880a0cf8991f54b413b79476f1dc2615e66b739e95102762671420103f9",
15
+ "binarySHA256": "ec25d694e04e1f2a7fe683bf8da35b22545724a0f93cfecbbffdc2fc6a9e51bc",
16
16
  "archive": "loomloom-linux-arm64.tar.gz",
17
- "archiveSHA256": "87377eecf90f9b76d3ad823310f7ca3b712c92daf67b9907b4e5bbcb52e99c1e"
17
+ "archiveSHA256": "f8f718985a96e4d937d4220b54ecb98d4b32b4f3aabf6cf58ebae33aea5d79fd"
18
18
  },
19
19
  "darwin-x64": {
20
20
  "package": "@cogfoundry/loomloom-darwin-x64",
21
21
  "binary": "bin/loomloom",
22
- "binarySHA256": "0522ab912542e8b262c552d8d7db25f185efbb2aff43c10b04ccee8e76767006",
22
+ "binarySHA256": "7cd7d4d75726c3cc05f5e95dcb0d3c575239541436362272406a6a3c4bb6573f",
23
23
  "archive": "loomloom-darwin-amd64.tar.gz",
24
- "archiveSHA256": "c5e2222f59b573e1e2a270f554a6719b1d1c14b93d34c8f4c37031bb5103c4d0"
24
+ "archiveSHA256": "107ccfffcdd42a30877c109fc610642f543624a16e1674b47e757ca82355b900"
25
25
  },
26
26
  "darwin-arm64": {
27
27
  "package": "@cogfoundry/loomloom-darwin-arm64",
28
28
  "binary": "bin/loomloom",
29
- "binarySHA256": "1796fab863e1f358f470b03976af33fe8654ca34ca5c0cfddb03e5a0187f1fca",
29
+ "binarySHA256": "a10178659bf7a7040b2470c37f10209ef25646134e4b803134eb79ef35dfba5b",
30
30
  "archive": "loomloom-darwin-arm64.tar.gz",
31
- "archiveSHA256": "fd2b21e0e4675459e9b2a06f4abc0882a454b6c164bbff1a2f45b563c9237b07"
31
+ "archiveSHA256": "25e0db1c534ba4d1aa1a4a79fd061af12660a0dae9b0634d65b7276967e88cc3"
32
32
  },
33
33
  "win32-x64": {
34
34
  "package": "@cogfoundry/loomloom-win32-x64",
35
35
  "binary": "bin/loomloom.exe",
36
- "binarySHA256": "5e07c6eb27b08a4d0617f3d4fbf72d3b4c28e9669e58e9d2edcbd406af4c1344",
36
+ "binarySHA256": "c3fdcf02cdfe8c315d5c126c83444441fe89ed6e2c249499318fc96ca316af70",
37
37
  "archive": "loomloom-windows-amd64.zip",
38
- "archiveSHA256": "4e96d3e7902e2ec7f8b2834ab578bfcad373d86f927a38b8abfcdc973acc182b"
38
+ "archiveSHA256": "f7c8edae29233ea5a1794fc12153357f1624e87ae75db843f96bfa7fdd984814"
39
39
  },
40
40
  "win32-arm64": {
41
41
  "package": "@cogfoundry/loomloom-win32-arm64",
42
42
  "binary": "bin/loomloom.exe",
43
- "binarySHA256": "690549c3d04cf3c774ef6947d32c8a906f75aa2235a5ce37b346bdb3690497f1",
43
+ "binarySHA256": "4f1d32f403f6be89830fab866b307d91103d89adc4236304144971bd7d1515d6",
44
44
  "archive": "loomloom-windows-arm64.zip",
45
- "archiveSHA256": "795765fe21609a6ecaa37adb7f8a3ad8fc83ad021dd8692ac23ca5e4af7c43d7"
45
+ "archiveSHA256": "b229718322efda7e24d605efc935798dfe1bccabae9ff6961ebd06f9d26ea643"
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.
@@ -187,31 +187,18 @@ Before executing any of these, describe the exact business action and ask for ex
187
187
 
188
188
  ## Creator Earnings
189
189
 
190
- Use `creator earnings` for the overview and `creator transactions` for recent line items. Do not show raw JSON unless requested.
190
+ 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.
191
191
 
192
192
  Present:
193
193
 
194
194
  ```text
195
- Here is the earnings overview for your public Market template:
195
+ Here are your posted creator earnings:
196
196
 
197
- Template: <template_display_name>
198
-
199
- Cumulative:
200
- - Calls: <total_call_count>
201
- - Creator call fee: <gross_creator_call_fee>
202
- - Platform commission: <platform_fee>
203
- - Creator net receivable: <creator_net_receivable>
204
-
205
- Settlement:
206
- - Settled: <settled_amount>
207
- - Pending: <pending_amount>
208
- - Failed: <failed_amount>
209
-
210
- Exception:
211
- <failure count and explanation, or no settlement exceptions>
197
+ Total posted: <total_amount>
198
+ Income events: <total_count>
212
199
 
213
200
  Latest 5:
214
- 1. Run <run_id>, net <amount>, status: <settled|failed|pending>
201
+ 1. <occurred_at>, <pay-per-use|subscription>, reference <source_event_id>, <amount>, status posted
215
202
  ```
216
203
 
217
- Show at most five recent transactions by default. If a response field is absent, omit the line or state that it was not returned. Never fabricate amounts, counts, run IDs, or settlement states.
204
+ Show at most five recent events unless the user requests more. If a response field is absent, omit the line or state that it was not returned. Never infer call count from income-event count, and never fabricate amounts, counts, run IDs, or settlement states.
@@ -190,12 +190,13 @@ 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>`
196
197
  - `loomloom listing withdraw <listing-id>`
197
- - `loomloom creator earnings`
198
- - `loomloom creator transactions`
198
+ - `loomloom creator earnings [--source all|pay-per-use|subscription] [--limit 1..100] [--page-token <token>]`
199
+ - `loomloom creator transactions [--source pay-per-use|subscription]`
199
200
  - `loomloom creator review list`
200
201
  - `loomloom creator review get <review-request-id>`
201
202
  - `loomloom creator review withdraw <review-request-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
 
@@ -154,4 +154,6 @@ loomloom creator earnings
154
154
  loomloom creator transactions
155
155
  ```
156
156
 
157
+ `creator earnings` reads actual Billing-posted income and defaults to both pay-per-use settlement and released subscription income. Use `--source pay-per-use` or `--source subscription` to narrow it. It is not a per-call order list. Use `creator transactions` when transaction-level context is required.
158
+
157
159
  All publishing, profile changes, price changes, execution-version changes, unlisting, relisting, and review withdrawals are persistent remote changes and require explicit confirmation before execution.
@@ -1,15 +1,15 @@
1
1
  {
2
- "releaseTag": "v0.5.0-beta.2",
3
- "version": "0.5.0-beta.2",
2
+ "releaseTag": "v0.5.0-beta.3",
3
+ "version": "0.5.0-beta.3",
4
4
  "source": "agent-guidance/loomloom",
5
5
  "files": [
6
6
  {
7
7
  "path": "references/billing.md",
8
- "sha256": "42316e75545d257f3ec4749fd392e1f9ea974b57b533f7e6772af5b848f36893"
8
+ "sha256": "caf4fcbb50e792e5a74916094a796af1f2801d741d0df46271a8b4e730e4b897"
9
9
  },
10
10
  {
11
11
  "path": "references/cli.md",
12
- "sha256": "a01167ab02960290813459ee558b005d5eb3738da14842ed08615054a4e7263b"
12
+ "sha256": "18a38e97f400187c7d47e8ce076beecb14a445f07f93fd69adc7e8b932a38cf4"
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": "58a83bcb9222668ffae553659276bae90c26afcac751873e3f237e398e1a08ab"
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
  }