@cogfoundry/loomloom 0.5.0-beta.3 → 0.5.1

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
@@ -3,7 +3,7 @@
3
3
  npm distribution for the LoomLoom Go CLI.
4
4
 
5
5
  ```sh
6
- npm install -g @cogfoundry/loomloom@beta
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.5.0-beta.3 install --agent codex --yes
15
+ npx @cogfoundry/loomloom@0.5.1 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.3",
3
+ "version": "0.5.1",
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.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"
25
+ "@cogfoundry/loomloom-linux-x64": "0.5.1",
26
+ "@cogfoundry/loomloom-linux-arm64": "0.5.1",
27
+ "@cogfoundry/loomloom-darwin-x64": "0.5.1",
28
+ "@cogfoundry/loomloom-darwin-arm64": "0.5.1",
29
+ "@cogfoundry/loomloom-win32-x64": "0.5.1",
30
+ "@cogfoundry/loomloom-win32-arm64": "0.5.1"
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.3",
3
- "version": "0.5.0-beta.3",
2
+ "releaseTag": "v0.5.1",
3
+ "version": "0.5.1",
4
4
  "platforms": {
5
5
  "linux-x64": {
6
6
  "package": "@cogfoundry/loomloom-linux-x64",
7
7
  "binary": "bin/loomloom",
8
- "binarySHA256": "854a782a332aefa15a038d75283a89850919a70cc821e7d03a7a2452f2ef873c",
8
+ "binarySHA256": "95f7c744d97b60fa23b8e94d417bf7c885fe62802a586ecd33af9c87e190125a",
9
9
  "archive": "loomloom-linux-amd64.tar.gz",
10
- "archiveSHA256": "c89de2e412e2cc2030e6e9c332dcce254cca6aa3da3bc1edf1db8564f74eba18"
10
+ "archiveSHA256": "fea13bac337215e38949efd18685e0e2cd20510814dc9b6c420d680b189a7a12"
11
11
  },
12
12
  "linux-arm64": {
13
13
  "package": "@cogfoundry/loomloom-linux-arm64",
14
14
  "binary": "bin/loomloom",
15
- "binarySHA256": "ec25d694e04e1f2a7fe683bf8da35b22545724a0f93cfecbbffdc2fc6a9e51bc",
15
+ "binarySHA256": "2d4ccb8d54977e53585aa71d554e7709fd985bb3d9a0a30c850eb818afca8484",
16
16
  "archive": "loomloom-linux-arm64.tar.gz",
17
- "archiveSHA256": "f8f718985a96e4d937d4220b54ecb98d4b32b4f3aabf6cf58ebae33aea5d79fd"
17
+ "archiveSHA256": "d861541ee0547107ffce99b0e1630bcfb8de93534161d25ccebe2da1aa7551f1"
18
18
  },
19
19
  "darwin-x64": {
20
20
  "package": "@cogfoundry/loomloom-darwin-x64",
21
21
  "binary": "bin/loomloom",
22
- "binarySHA256": "7cd7d4d75726c3cc05f5e95dcb0d3c575239541436362272406a6a3c4bb6573f",
22
+ "binarySHA256": "73b7ad768eb19dc4a9394a462afae6ace46e02e62abf1e4eb993cf021ef3b37d",
23
23
  "archive": "loomloom-darwin-amd64.tar.gz",
24
- "archiveSHA256": "107ccfffcdd42a30877c109fc610642f543624a16e1674b47e757ca82355b900"
24
+ "archiveSHA256": "c0e56b2206c5998d1dd689152c4dece28ff807432207a9eccebe63f9f3f8136d"
25
25
  },
26
26
  "darwin-arm64": {
27
27
  "package": "@cogfoundry/loomloom-darwin-arm64",
28
28
  "binary": "bin/loomloom",
29
- "binarySHA256": "a10178659bf7a7040b2470c37f10209ef25646134e4b803134eb79ef35dfba5b",
29
+ "binarySHA256": "ac821f7d8e99b99f706a9cc9702ea9d28098158d025664d249c0ab27be7e8b4c",
30
30
  "archive": "loomloom-darwin-arm64.tar.gz",
31
- "archiveSHA256": "25e0db1c534ba4d1aa1a4a79fd061af12660a0dae9b0634d65b7276967e88cc3"
31
+ "archiveSHA256": "4578fe8e4f4b3b4562b73d970cc9fdd0edb7e3ce88d2e05ff06a00f833666795"
32
32
  },
33
33
  "win32-x64": {
34
34
  "package": "@cogfoundry/loomloom-win32-x64",
35
35
  "binary": "bin/loomloom.exe",
36
- "binarySHA256": "c3fdcf02cdfe8c315d5c126c83444441fe89ed6e2c249499318fc96ca316af70",
36
+ "binarySHA256": "edc5b66a4af738771590d9cb073d8563bef665cd11fcdfb3ec35ecf2358cce98",
37
37
  "archive": "loomloom-windows-amd64.zip",
38
- "archiveSHA256": "f7c8edae29233ea5a1794fc12153357f1624e87ae75db843f96bfa7fdd984814"
38
+ "archiveSHA256": "e0150c7dcfc10bf8642fb3378cb316946e4780431cbcf7d95832dd0bdd26b2cf"
39
39
  },
40
40
  "win32-arm64": {
41
41
  "package": "@cogfoundry/loomloom-win32-arm64",
42
42
  "binary": "bin/loomloom.exe",
43
- "binarySHA256": "4f1d32f403f6be89830fab866b307d91103d89adc4236304144971bd7d1515d6",
43
+ "binarySHA256": "ab5000aba73a9747ca1939d6b2c749e3077929b61b0c680c2316e113c402daf5",
44
44
  "archive": "loomloom-windows-arm64.zip",
45
- "archiveSHA256": "b229718322efda7e24d605efc935798dfe1bccabae9ff6961ebd06f9d26ea643"
45
+ "archiveSHA256": "75b3f0de263c48bb5240c526ab3c37a5ccf98bc749e739eeee5249b0c4bfb334"
46
46
  }
47
47
  }
48
48
  }
@@ -187,6 +187,11 @@ the historical version.
187
187
  ### Market creator
188
188
 
189
189
  - `loomloom listing publish <template-id> --template-version-id <id> --display-name <name> --task-fixed-fee <amount>`
190
+ - `loomloom listing publish <template-id> --template-version-id <id> --display-name <name> --task-fixed-fee 0 --pay-per-use=false --subscription=true --subscription-tiers-file <tiers.json>`
191
+ - `loomloom listing payment-settings <listing-id> --pay-per-use=<bool> --subscription=<bool> --expected-revision <revision> [--subscription-tiers-file <tiers.json>]`
192
+ - `loomloom creator bundle list`
193
+ - `loomloom creator bundle show <bundle-id>`
194
+ - `loomloom creator bundle set-tier <bundle-id> --tier monthly|yearly --price <amount> --currency CNY --enabled=<bool> --expected-revision <bundle-revision>`
190
195
  - `loomloom listing list`
191
196
  - `loomloom listing show <listing-id>`
192
197
  - `loomloom listing versions <listing-id>`
@@ -103,6 +103,86 @@ 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
+ ### Configure initial subscription prices
107
+
108
+ `--subscription=true` enables the automatic single-SkillBot subscription mode.
109
+ `--task-fixed-fee` is the creator's per-call fee, not a subscription price.
110
+ For a new Listing, provide initial prices in the same publication request:
111
+
112
+ ```bash
113
+ loomloom listing publish <template-id> \
114
+ --template-version-id <id> \
115
+ --display-name <name> \
116
+ --task-fixed-fee 0 \
117
+ --pay-per-use=false \
118
+ --subscription=true \
119
+ --subscription-tiers-file <tiers.json>
120
+ ```
121
+
122
+ Publication requires an explicit per-call fee even when pay-per-use is disabled;
123
+ the `0` above is that fee, not the subscription amount.
124
+
125
+ The file is a JSON array of `tierType`, `price`, and `enabled` objects:
126
+
127
+ ```json
128
+ [
129
+ {"tierType":"monthly","price":{"amount":"0.01","currency":"CNY"},"enabled":true},
130
+ {"tierType":"yearly","price":{"amount":"0.02","currency":"CNY"},"enabled":false}
131
+ ]
132
+ ```
133
+
134
+ Use each supported type (`monthly`, `yearly`) at most once. Prices are CNY decimal
135
+ strings, non-negative with at most four decimal places; zero is legal and must
136
+ be explicit. `enabled` must be an explicit boolean. Invalid files fail locally
137
+ before any HTTP request; an explicit `null` or empty array is rejected rather
138
+ than silently interpreted as omitted. No flag means no initial tier field.
139
+ The Server rejects subscription mode without an enabled tier with HTTP 409,
140
+ code `subscription_tier_required`, including all-disabled input; CLI exit is
141
+ non-zero. Do not interpret a failed submission as a created or approved Listing.
142
+
143
+ `listing payment-settings` accepts the same file only to initialize a missing
144
+ or empty automatic bundle. Pass both mode booleans explicitly and the current
145
+ payment-settings revision. The Server rejects attempts to overwrite existing
146
+ prices. Use `creator bundle set-tier` and the current bundle revision for later
147
+ price or enabled-state changes. These two revision counters are distinct.
148
+ Do not retry a conflict with a guessed or automatically incremented revision.
149
+
150
+ Existing Listing publications cannot carry this initial-tier flag. Omit
151
+ unchanged payment flags when publishing a new version to preserve saved modes;
152
+ existing subscription configuration is still checked by the Server.
153
+
154
+ After publication, read `creator review get <review-request-id>` and the saved
155
+ automatic bundle (`creator bundle list`, then `creator bundle show <bundle-id>`).
156
+ Match `sourceListingId` and verify actual amounts, currency, enabled state, and
157
+ revision. A pending review or draft bundle is not approval or availability for
158
+ purchase. Initialization keeps the automatic bundle draft; authorized formal
159
+ approval or explicit bundle publication is a separate step. Profile/Skill
160
+ Package reviews must not be treated as formal subscription publication.
161
+
162
+ ### Confirm duplicate names before publishing
163
+
164
+ 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.
165
+
166
+ - No matching names: the CLI continues with the normal submission.
167
+ - Matching names: the CLI displays all matches, including their IDs, names, and states, and requires confirmation. Duplicate names are allowed.
168
+ - 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.
169
+
170
+ 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`).
171
+
172
+ 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.
173
+
174
+ Only after the user confirms:
175
+
176
+ ```bash
177
+ loomloom listing publish <template-id> \
178
+ --template-version-id <id> \
179
+ --display-name <name> \
180
+ --task-fixed-fee <amount> \
181
+ --confirm-name-warning
182
+ ```
183
+
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 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.
185
+
106
186
  ### Change only the price
107
187
 
108
188
  Publish to the same Listing with:
@@ -1,6 +1,6 @@
1
1
  {
2
- "releaseTag": "v0.5.0-beta.3",
3
- "version": "0.5.0-beta.3",
2
+ "releaseTag": "v0.5.1",
3
+ "version": "0.5.1",
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": "18a38e97f400187c7d47e8ce076beecb14a445f07f93fd69adc7e8b932a38cf4"
12
+ "sha256": "9262435fa228dec295f14ca3f84c031a7c2404c9fef8676d63022d03edaab586"
13
13
  },
14
14
  {
15
15
  "path": "references/execution.md",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  {
23
23
  "path": "references/market.md",
24
- "sha256": "58a83bcb9222668ffae553659276bae90c26afcac751873e3f237e398e1a08ab"
24
+ "sha256": "5d33322289015b8287412d002ba3806cdd47b7bb4655502d230044979a623709"
25
25
  },
26
26
  {
27
27
  "path": "references/setup.md",