@cogfoundry/loomloom 0.5.0 → 0.5.2-beta.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
6
+ npm install -g @cogfoundry/loomloom@beta
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 install --agent codex --yes
15
+ npx @cogfoundry/loomloom@0.5.2-beta.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",
3
+ "version": "0.5.2-beta.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",
26
- "@cogfoundry/loomloom-linux-arm64": "0.5.0",
27
- "@cogfoundry/loomloom-darwin-x64": "0.5.0",
28
- "@cogfoundry/loomloom-darwin-arm64": "0.5.0",
29
- "@cogfoundry/loomloom-win32-x64": "0.5.0",
30
- "@cogfoundry/loomloom-win32-arm64": "0.5.0"
25
+ "@cogfoundry/loomloom-linux-x64": "0.5.2-beta.1",
26
+ "@cogfoundry/loomloom-linux-arm64": "0.5.2-beta.1",
27
+ "@cogfoundry/loomloom-darwin-x64": "0.5.2-beta.1",
28
+ "@cogfoundry/loomloom-darwin-arm64": "0.5.2-beta.1",
29
+ "@cogfoundry/loomloom-win32-x64": "0.5.2-beta.1",
30
+ "@cogfoundry/loomloom-win32-arm64": "0.5.2-beta.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",
3
- "version": "0.5.0",
2
+ "releaseTag": "v0.5.2-beta.1",
3
+ "version": "0.5.2-beta.1",
4
4
  "platforms": {
5
5
  "linux-x64": {
6
6
  "package": "@cogfoundry/loomloom-linux-x64",
7
7
  "binary": "bin/loomloom",
8
- "binarySHA256": "a119ee2d7391005ef87d40b6b9ce0b942a5d01a7347f77c37643bd4bea5bed35",
8
+ "binarySHA256": "390d3008a2d77063d6f49b43b27908556f7b6935d2344bfce60846478bff7ba4",
9
9
  "archive": "loomloom-linux-amd64.tar.gz",
10
- "archiveSHA256": "41b87d9ed283dc70b96c335b99315a80af630d2ba979db12eb33e7f0b85964db"
10
+ "archiveSHA256": "21089f786d64d9da399bc955fc3603284a7a5f79c50cf2d07299d4dd40deaeb6"
11
11
  },
12
12
  "linux-arm64": {
13
13
  "package": "@cogfoundry/loomloom-linux-arm64",
14
14
  "binary": "bin/loomloom",
15
- "binarySHA256": "46c0d604eb1718fdbb213a5b0992e406356e3211042e12198b3e3e25b4a2e4d2",
15
+ "binarySHA256": "e2d803797e77f68f4efef908fcf23a30e9c60eb74de1ffe90aac5bef09aeebdc",
16
16
  "archive": "loomloom-linux-arm64.tar.gz",
17
- "archiveSHA256": "35f502107e3f09cfc8ca940aac4af25765f2510b9ad13154589ad619316e952f"
17
+ "archiveSHA256": "c464c2e4105f58d01e5f7612748c1dec72d7fdfc13bb3fed2b27eaa242cbf070"
18
18
  },
19
19
  "darwin-x64": {
20
20
  "package": "@cogfoundry/loomloom-darwin-x64",
21
21
  "binary": "bin/loomloom",
22
- "binarySHA256": "122618780ef5b35438363e3aeafe699bafeaf8d6a9f545e2b19822cdc15052b8",
22
+ "binarySHA256": "4b2e5731035adfeeb61bd2d45e41dd413d6c50a5f0a97944d4d8b3a971bb9541",
23
23
  "archive": "loomloom-darwin-amd64.tar.gz",
24
- "archiveSHA256": "e31255846c0f13718f227ab11e967d212d33d3afd6815194e7673d92bb3f3fe7"
24
+ "archiveSHA256": "c868023107a7fb1bf98d5d861001179d4e3e735f366bcec47b5921756e685697"
25
25
  },
26
26
  "darwin-arm64": {
27
27
  "package": "@cogfoundry/loomloom-darwin-arm64",
28
28
  "binary": "bin/loomloom",
29
- "binarySHA256": "58710dad7cc11af58fdd21f7b4468a771b4f6b6697482ba2311c0119492d0ea1",
29
+ "binarySHA256": "cfd7b9f1799332cb5fb726cb9e8111e47f702c675606254569a4ca06f002f59b",
30
30
  "archive": "loomloom-darwin-arm64.tar.gz",
31
- "archiveSHA256": "e1b2e110d98c2f747034a175b96898ead822d4a6a9015108ed6a27e2ba084eda"
31
+ "archiveSHA256": "cc9dc7c855e169d7adefef816c49a84affa7ce597734ede83ea0047f8a09e0ca"
32
32
  },
33
33
  "win32-x64": {
34
34
  "package": "@cogfoundry/loomloom-win32-x64",
35
35
  "binary": "bin/loomloom.exe",
36
- "binarySHA256": "2e0a2955492f02b3dba8c1a4d1de7ec3ac6bedfc5bd83b2e0049832a9234db78",
36
+ "binarySHA256": "5ff38a6c6a064063d1be2c3c61f2b41d2e79f036eca8e0cf0afdb5f3e8c767e3",
37
37
  "archive": "loomloom-windows-amd64.zip",
38
- "archiveSHA256": "33a8ea711b9df694d78ddbb218a43c5f5d31f8685d2e9474f76216db793d4d9c"
38
+ "archiveSHA256": "d40c1601d38a6e4be034d537c326d421baf793d550647f4c961ae73ad1abeacb"
39
39
  },
40
40
  "win32-arm64": {
41
41
  "package": "@cogfoundry/loomloom-win32-arm64",
42
42
  "binary": "bin/loomloom.exe",
43
- "binarySHA256": "d110d85db992f25aa7c3e11e725c2c1b583cc41a27bf52f3ee6f22829d4c3c6b",
43
+ "binarySHA256": "daed4bd192ad7995e78ac3f00a3babad9570ddfa08b3c38b641fcb7507a6baf0",
44
44
  "archive": "loomloom-windows-arm64.zip",
45
- "archiveSHA256": "f2138fdc9bb648b1e51452cd46943e818363b008c48fbb369f03955d5655ebf9"
45
+ "archiveSHA256": "da43eb63f5a7fe3b747ec72a0d1bb8dccc9affcd5e7619a75694b29956627d21"
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,62 @@ 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
+
106
162
  ### Confirm duplicate names before publishing
107
163
 
108
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.
@@ -1,6 +1,6 @@
1
1
  {
2
- "releaseTag": "v0.5.0",
3
- "version": "0.5.0",
2
+ "releaseTag": "v0.5.2-beta.1",
3
+ "version": "0.5.2-beta.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": "defa33a811f7fb05d270b8cdbde7dfe24b9d2a3c4cf478fd0cfce2eecc743d1b"
24
+ "sha256": "5d33322289015b8287412d002ba3806cdd47b7bb4655502d230044979a623709"
25
25
  },
26
26
  {
27
27
  "path": "references/setup.md",