@cogfoundry/loomloom 0.7.0-beta.1 → 0.7.0
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
|
|
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.7.0
|
|
15
|
+
npx @cogfoundry/loomloom@0.7.0 install --agent codex --yes
|
|
16
16
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cogfoundry/loomloom",
|
|
3
|
-
"version": "0.7.0
|
|
3
|
+
"version": "0.7.0",
|
|
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.7.0
|
|
26
|
-
"@cogfoundry/loomloom-linux-arm64": "0.7.0
|
|
27
|
-
"@cogfoundry/loomloom-darwin-x64": "0.7.0
|
|
28
|
-
"@cogfoundry/loomloom-darwin-arm64": "0.7.0
|
|
29
|
-
"@cogfoundry/loomloom-win32-x64": "0.7.0
|
|
30
|
-
"@cogfoundry/loomloom-win32-arm64": "0.7.0
|
|
25
|
+
"@cogfoundry/loomloom-linux-x64": "0.7.0",
|
|
26
|
+
"@cogfoundry/loomloom-linux-arm64": "0.7.0",
|
|
27
|
+
"@cogfoundry/loomloom-darwin-x64": "0.7.0",
|
|
28
|
+
"@cogfoundry/loomloom-darwin-arm64": "0.7.0",
|
|
29
|
+
"@cogfoundry/loomloom-win32-x64": "0.7.0",
|
|
30
|
+
"@cogfoundry/loomloom-win32-arm64": "0.7.0"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
package/platforms.json
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
{
|
|
2
|
-
"releaseTag": "v0.7.0
|
|
3
|
-
"version": "0.7.0
|
|
2
|
+
"releaseTag": "v0.7.0",
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"platforms": {
|
|
5
5
|
"linux-x64": {
|
|
6
6
|
"package": "@cogfoundry/loomloom-linux-x64",
|
|
7
7
|
"binary": "bin/loomloom",
|
|
8
|
-
"binarySHA256": "
|
|
8
|
+
"binarySHA256": "e1f5d4fc4bc15a96058a14b6bb82dda361d6b7512d81499aa1a0092204462d11",
|
|
9
9
|
"archive": "loomloom-linux-amd64.tar.gz",
|
|
10
|
-
"archiveSHA256": "
|
|
10
|
+
"archiveSHA256": "e514969118e06d1ad4de958bf68e44b955c90169a032b80eca0f0eaa61ec9a27"
|
|
11
11
|
},
|
|
12
12
|
"linux-arm64": {
|
|
13
13
|
"package": "@cogfoundry/loomloom-linux-arm64",
|
|
14
14
|
"binary": "bin/loomloom",
|
|
15
|
-
"binarySHA256": "
|
|
15
|
+
"binarySHA256": "da8ed1b1a41e80357d8b6104ba11efa3665608658c9097e6be84ca98d9642fcb",
|
|
16
16
|
"archive": "loomloom-linux-arm64.tar.gz",
|
|
17
|
-
"archiveSHA256": "
|
|
17
|
+
"archiveSHA256": "e424070a91704b6acfcac27fd5a8a96f9ef3ac740146e246c0f5fa8b8563d7f1"
|
|
18
18
|
},
|
|
19
19
|
"darwin-x64": {
|
|
20
20
|
"package": "@cogfoundry/loomloom-darwin-x64",
|
|
21
21
|
"binary": "bin/loomloom",
|
|
22
|
-
"binarySHA256": "
|
|
22
|
+
"binarySHA256": "13da1b3c45fcb3c5e5f01a88876f613af244310e8af1596abff2d3b703f5799d",
|
|
23
23
|
"archive": "loomloom-darwin-amd64.tar.gz",
|
|
24
|
-
"archiveSHA256": "
|
|
24
|
+
"archiveSHA256": "6efbdc4f2eaa88da249ff829cc4ad6529fe03ff384889a1764ce09ad1fd644b2"
|
|
25
25
|
},
|
|
26
26
|
"darwin-arm64": {
|
|
27
27
|
"package": "@cogfoundry/loomloom-darwin-arm64",
|
|
28
28
|
"binary": "bin/loomloom",
|
|
29
|
-
"binarySHA256": "
|
|
29
|
+
"binarySHA256": "7593a627e95f406877fcc84f7152e241b81e8fd57d659d13a734499338385882",
|
|
30
30
|
"archive": "loomloom-darwin-arm64.tar.gz",
|
|
31
|
-
"archiveSHA256": "
|
|
31
|
+
"archiveSHA256": "68202f433063472159a3e5a39311fa7aebfc92af683d5b4adc702430f28a8d67"
|
|
32
32
|
},
|
|
33
33
|
"win32-x64": {
|
|
34
34
|
"package": "@cogfoundry/loomloom-win32-x64",
|
|
35
35
|
"binary": "bin/loomloom.exe",
|
|
36
|
-
"binarySHA256": "
|
|
36
|
+
"binarySHA256": "49500ecc47bc89e3da4c7a22653d693e81319d8a4a8758f8c7b606cc739e9e1f",
|
|
37
37
|
"archive": "loomloom-windows-amd64.zip",
|
|
38
|
-
"archiveSHA256": "
|
|
38
|
+
"archiveSHA256": "1e9cc10ac7d4b50eb172c2f7041f4b610d9d9316c84c0bba8319953cff91d87c"
|
|
39
39
|
},
|
|
40
40
|
"win32-arm64": {
|
|
41
41
|
"package": "@cogfoundry/loomloom-win32-arm64",
|
|
42
42
|
"binary": "bin/loomloom.exe",
|
|
43
|
-
"binarySHA256": "
|
|
43
|
+
"binarySHA256": "0a5c2793148f29e82636ac32921f6f45a5d2fb697d5864f84683634deb5116e5",
|
|
44
44
|
"archive": "loomloom-windows-arm64.zip",
|
|
45
|
-
"archiveSHA256": "
|
|
45
|
+
"archiveSHA256": "808fffb560424fa3cc36f16757c22500f5bfc9adf8578cb0cc082c3a82d3f26a"
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
package/skill/loomloom/SKILL.md
CHANGED
|
@@ -135,7 +135,7 @@ Business conversation → inspect current LoomLoom Server capabilities
|
|
|
135
135
|
→ only then complete authoring and allow Market publication
|
|
136
136
|
```
|
|
137
137
|
|
|
138
|
-
Before classifying a request, use current Server facts rather than intuition: resolve its input/output modalities with `loomloom capability resolve`, and inspect `authoring-context`, `contracts`, or `model list` when needed. If the supported TemplateSpec and hosted execution can complete the requested work, treat it as LoomLoom-only and do not mention a Skill Package to the creator. Hosted Code Steps and bounded Loops are part of that hosted execution when the target Server accepts them: deterministic data shaping, validation, file transforms with the Python standard library, conditional branches, and bounded quality rework belong in the template, not in a local Skill (see [Code and Loop Steps](references/template-spec.md#code-and-loop-steps)). Treat the work as Agent-assisted when a required capability is not available from the current Server and must be supplied locally, including online search or current information, external websites or APIs, browser interaction, local tools or code that needs network access or
|
|
138
|
+
Before classifying a request, use current Server facts rather than intuition: resolve its input/output modalities with `loomloom capability resolve`, and inspect `authoring-context`, `contracts`, or `model list` when needed. If the supported TemplateSpec and hosted execution can complete the requested work, treat it as LoomLoom-only and do not mention a Skill Package to the creator. Hosted Code Steps and bounded Loops are part of that hosted execution when the target Server accepts them: deterministic data shaping, validation, file, image, and video transforms with the Python standard library and the bundled Pillow, numpy, pydantic, jinja2, and PyAV, conditional branches, and bounded quality rework belong in the template, not in a local Skill (see [Code and Loop Steps](references/template-spec.md#code-and-loop-steps)). Treat the work as Agent-assisted when a required capability is not available from the current Server and must be supplied locally, including online search or current information, external websites or APIs, browser interaction, local tools or code that needs network access or libraries beyond that bundled set, local files, HTML or special-format handling the Server cannot produce, or open-ended runtime decisions.
|
|
139
139
|
|
|
140
140
|
An Agent-assisted package is built by the Agent, not by the CLI. Explain the required Agent-local capabilities and include the local Skill in the TemplatePlan before creating the private template. The actual upload happens only after the template has a `template_id`. Show the package preview, obtain confirmation, and run the default local trial before uploading. Read the private Package Head back and require `validationStatus=passed` before declaring authoring complete or publishing the template to Market. If the creator declines the required local assistance or package upload, or if creation, trial, upload, or validation fails, stop this authoring and publication path; do not publish a template that cannot deliver its promised behavior. Every later package replacement repeats preview, creator confirmation, the default local trial, upload, and validation. Do not present backend package modes or backend-generated packages as user choices.
|
|
141
141
|
|
|
@@ -37,7 +37,7 @@ Treat CLI help and returned service data as authoritative for syntax, IDs, state
|
|
|
37
37
|
Preserve exact values:
|
|
38
38
|
|
|
39
39
|
- `orchestration-input upload` → `inputFileId` → private precheck/run `--input-file-id`
|
|
40
|
-
- hosted submission → `runId` → `run watch`, `run get`, `run result-rows`, `run result-workbook`
|
|
40
|
+
- hosted submission → `runId` → `run watch`, `run get`, `run result-rows`, `run result-workbook`; author debugging → `run step-executions`
|
|
41
41
|
- `listing publish` → `reviewRequestId` → creator review commands
|
|
42
42
|
- `market run` / `market workbook run` → `runTransactionId` and `runId` → usage/run/result commands
|
|
43
43
|
|
|
@@ -169,6 +169,7 @@ the historical version.
|
|
|
169
169
|
- `loomloom run execute <template-id> -f <rows.json-or-jsonl> --client-request-id <id>`
|
|
170
170
|
- `loomloom run list`
|
|
171
171
|
- `loomloom run get <run-id>`
|
|
172
|
+
- `loomloom run step-executions <run-id> [--task-id <id>] [--page-size <n>] [--page-token <token>]` (own template runs only: node inputs/outputs, Code error traceback, Loop rounds)
|
|
172
173
|
- `loomloom run watch <run-id>`
|
|
173
174
|
- `loomloom run result-rows <run-id>`
|
|
174
175
|
- `loomloom run result-workbook <run-id>`
|
|
@@ -255,17 +255,27 @@ loomloom template-spec docs examples
|
|
|
255
255
|
```
|
|
256
256
|
|
|
257
257
|
- Code: `executionBinding.kind=codeProfile` with inline Python `main(inputs)`.
|
|
258
|
-
Omit `profileId`/`profileRevision`
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
258
|
+
Omit `profileId`/`profileRevision` (and `language`/`entrypoint`); the Server
|
|
259
|
+
freezes `python@1`: Python 3.12 with the standard library plus Pillow, numpy,
|
|
260
|
+
pydantic, jinja2, and PyAV. The retired `python-pure@1` and
|
|
261
|
+
`python-image@...` profiles are rejected. Set
|
|
262
|
+
`executionBinding.resourceClass` to `large` only when `standard` (30 s,
|
|
263
|
+
1 GiB) is not enough (120 s, 4 GiB). Declare every input (all are required
|
|
264
|
+
and non-null; omit `required`/`nullable`) and at least one named output. Code
|
|
265
|
+
has no network access; work that needs external APIs, websites, or other
|
|
266
|
+
libraries stays Agent-assisted.
|
|
267
|
+
- Loop: `executionBinding` is `{"kind":"loop"}` (plus an optional `when`); set
|
|
268
|
+
`maxIterations` (1–10), `deadlineSeconds` (1–1800), a non-empty `body`,
|
|
269
|
+
`state`, `outputs`, and `control`. `control.decision` is required and selects
|
|
270
|
+
a body Code string output returning `continue`, `accept`, or `reject`;
|
|
271
|
+
`control.checkpoints` is optional for ending a round early. Never write the
|
|
272
|
+
retired top-level `until` or `decision`; the Server rejects them. Never add
|
|
273
|
+
back edges to `dependsOn`.
|
|
274
|
+
- After a test run, read failures and Loop rounds with
|
|
275
|
+
`loomloom run step-executions <run-id>` (own templates only).
|
|
266
276
|
- Start from the closest valid example (`code-value-artifact`,
|
|
267
277
|
`code-condition`, `bounded-text-loop`, `loop-checkpoint`,
|
|
268
|
-
`loop-business-decision`) and avoid the patterns in the invalid examples.
|
|
278
|
+
`loop-business-decision`, `loop-outer-read-conditional`) and avoid the patterns in the invalid examples.
|
|
269
279
|
- Availability is decided by the target Server, not by the docs: run
|
|
270
280
|
`loomloom template-spec check` against the Server you will save to. If it
|
|
271
281
|
rejects Code or Loop, report that the Server does not offer them yet and
|
package/skill-manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"releaseTag": "v0.7.0
|
|
3
|
-
"version": "0.7.0
|
|
2
|
+
"releaseTag": "v0.7.0",
|
|
3
|
+
"version": "0.7.0",
|
|
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": "12f56197e8d4af19ccbd35772947b506a0a36cda515219814ca1adba49d99f5b"
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
"path": "references/execution.md",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"path": "references/template-spec.md",
|
|
32
|
-
"sha256": "
|
|
32
|
+
"sha256": "0a4a3966b77ca5c1c3891cca315c8790cf9ef522a9ea5ead623cf14b91c12093"
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"path": "references/workflow-preview.md",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"path": "SKILL.md",
|
|
40
|
-
"sha256": "
|
|
40
|
+
"sha256": "b5cb0552ccc663ce7407102b1df24155f39fa9dd88e05d376218fbaad89c3ce4"
|
|
41
41
|
}
|
|
42
42
|
]
|
|
43
43
|
}
|