@cogfoundry/loomloom 0.6.1-beta.2 → 0.6.2-beta.2

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.6.1-beta.2 install --agent codex --yes
15
+ npx @cogfoundry/loomloom@0.6.2-beta.2 install --agent codex --yes
16
16
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cogfoundry/loomloom",
3
- "version": "0.6.1-beta.2",
3
+ "version": "0.6.2-beta.2",
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.6.1-beta.2",
26
- "@cogfoundry/loomloom-linux-arm64": "0.6.1-beta.2",
27
- "@cogfoundry/loomloom-darwin-x64": "0.6.1-beta.2",
28
- "@cogfoundry/loomloom-darwin-arm64": "0.6.1-beta.2",
29
- "@cogfoundry/loomloom-win32-x64": "0.6.1-beta.2",
30
- "@cogfoundry/loomloom-win32-arm64": "0.6.1-beta.2"
25
+ "@cogfoundry/loomloom-linux-x64": "0.6.2-beta.2",
26
+ "@cogfoundry/loomloom-linux-arm64": "0.6.2-beta.2",
27
+ "@cogfoundry/loomloom-darwin-x64": "0.6.2-beta.2",
28
+ "@cogfoundry/loomloom-darwin-arm64": "0.6.2-beta.2",
29
+ "@cogfoundry/loomloom-win32-x64": "0.6.2-beta.2",
30
+ "@cogfoundry/loomloom-win32-arm64": "0.6.2-beta.2"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"
package/platforms.json CHANGED
@@ -1,48 +1,48 @@
1
1
  {
2
- "releaseTag": "v0.6.1-beta.2",
3
- "version": "0.6.1-beta.2",
2
+ "releaseTag": "v0.6.2-beta.2",
3
+ "version": "0.6.2-beta.2",
4
4
  "platforms": {
5
5
  "linux-x64": {
6
6
  "package": "@cogfoundry/loomloom-linux-x64",
7
7
  "binary": "bin/loomloom",
8
- "binarySHA256": "94b96217fcb48a171c608dbabf4c3bb07b41fcb0105f973dec4b8ec58085f4d5",
8
+ "binarySHA256": "2922d52348006eedde250dfb002ebe60bee5370e5cdf98a63d5d253c348dbca2",
9
9
  "archive": "loomloom-linux-amd64.tar.gz",
10
- "archiveSHA256": "6ea161bf35cae12ab69a9b3b4aac08e8eca2a1ba21d21330e1c49f6a366d12c6"
10
+ "archiveSHA256": "3d0505c3a86e7adc7eb20c07302462c544218d20219c0285b8566012b9702a6d"
11
11
  },
12
12
  "linux-arm64": {
13
13
  "package": "@cogfoundry/loomloom-linux-arm64",
14
14
  "binary": "bin/loomloom",
15
- "binarySHA256": "114c88a36309e15ffec33c6b903e1ea5328149e9e17c332b61f7b77e2ffceb8b",
15
+ "binarySHA256": "8e10f893949ce5ec0cca8646b403bdbd6cf4f534832945823c4749ed1fcbe7e1",
16
16
  "archive": "loomloom-linux-arm64.tar.gz",
17
- "archiveSHA256": "b03de3928738e84d42e749989cbf1389acd834efa570fd5062595fe6e2359a7f"
17
+ "archiveSHA256": "e886ddfbc86adc0c2c85ca59f785a65f55d4cdc5506ea55fe9b9ef20774d5404"
18
18
  },
19
19
  "darwin-x64": {
20
20
  "package": "@cogfoundry/loomloom-darwin-x64",
21
21
  "binary": "bin/loomloom",
22
- "binarySHA256": "40d0b342248a8a1b43aec597ae1c1258c6c33744db3618d6235113d12a5dd090",
22
+ "binarySHA256": "3b82e8703b665b01f558c987148f94abe1b8053188a50068ca2f65b7d0420725",
23
23
  "archive": "loomloom-darwin-amd64.tar.gz",
24
- "archiveSHA256": "6ac172b9a45a0a82e0000093bf000b4d6f033591b0efa8d6ae97d68e6e74021b"
24
+ "archiveSHA256": "2ce15fe2c23e0b9451ffc237abaeab5dedb9f59a5252a86fdb6da8c708696250"
25
25
  },
26
26
  "darwin-arm64": {
27
27
  "package": "@cogfoundry/loomloom-darwin-arm64",
28
28
  "binary": "bin/loomloom",
29
- "binarySHA256": "26e69ea221e05120820fadb872bae08b25f59a56f36e53f56ee39db1a107750b",
29
+ "binarySHA256": "b1bb87e8b4eece208bd8228a2aeea013f95eabd39ba1c5e91b94cd750675d5c4",
30
30
  "archive": "loomloom-darwin-arm64.tar.gz",
31
- "archiveSHA256": "a6f0d6100690a982853ef58c0884dc8cb53b2e49d80d244b7fd991ffa0d8652f"
31
+ "archiveSHA256": "8859bd7fd81937907a8dbf0ba7dd6a601c7412e2d52ad8f42d7410188da016c8"
32
32
  },
33
33
  "win32-x64": {
34
34
  "package": "@cogfoundry/loomloom-win32-x64",
35
35
  "binary": "bin/loomloom.exe",
36
- "binarySHA256": "6ee5e83fd6b476345369835553b6f1dc0ab7af759a2c0d901cbdcc1a07257394",
36
+ "binarySHA256": "448e6e6609111f5d99f4a71d9edc9cc9d946e23e47c9832cb41881789caef7c0",
37
37
  "archive": "loomloom-windows-amd64.zip",
38
- "archiveSHA256": "3517a8228bde8a1f8dda5132bdad402365aa63c5900e447f9ef16442677d0775"
38
+ "archiveSHA256": "7c285a9e17160dce412f776a942f715f990d3b632f4f1b13e923d4204da203b2"
39
39
  },
40
40
  "win32-arm64": {
41
41
  "package": "@cogfoundry/loomloom-win32-arm64",
42
42
  "binary": "bin/loomloom.exe",
43
- "binarySHA256": "dad01aaa80a7caf6c276d2355a0c79106aeadc046035270c811395fc2e8b0a15",
43
+ "binarySHA256": "d1162ea78fafeaa7e8bc99725c939902880dc0a6cfa331b364009ca811698c1c",
44
44
  "archive": "loomloom-windows-arm64.zip",
45
- "archiveSHA256": "3a854cf6159f96a64c10549da36d922b0be1d4af461eb69d7185a424f4d60aa3"
45
+ "archiveSHA256": "9a917199224bba9ecfc8130634b3a7f12ac6d4e3a4361993e8b0509f45e1a8e8"
46
46
  }
47
47
  }
48
48
  }
@@ -52,7 +52,8 @@ Read every required reference for the current intent before answering with busin
52
52
  |---|---|
53
53
  | Install/configure LoomLoom; token, server, platform, balance, console, or `doctor` | [setup.md](references/setup.md), [cli.md](references/cli.md) |
54
54
  | Execute an official or private template; validate, precheck, run, monitor, or retrieve results | [execution.md](references/execution.md), [billing.md](references/billing.md), [cli.md](references/cli.md) |
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) |
55
+ | Create, explain, or version a private template or TemplateSpec | [template-spec.md](references/template-spec.md), [workflow-preview.md](references/workflow-preview.md), [billing.md](references/billing.md), [cli.md](references/cli.md) |
56
+ | Show local workflow edits live, inspect a saved private version in the Web workbench, or return a viewing link | [workflow-preview.md](references/workflow-preview.md), [template-spec.md](references/template-spec.md), [cli.md](references/cli.md) |
56
57
  | Discover, quote, or execute a Market SkillApp | [market.md](references/market.md), [billing.md](references/billing.md), [cli.md](references/cli.md) |
57
58
  | Browse, buy, renew, or inspect subscriptions; create or manage subscription bundles | [market.md](references/market.md), [billing.md](references/billing.md), [cli.md](references/cli.md) |
58
59
  | 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) |
@@ -95,6 +96,19 @@ Download/prepare version-specific input → Validate → Precheck
95
96
 
96
97
  ### Private template authoring
97
98
 
99
+ Read [workflow-preview.md](references/workflow-preview.md). For new or modified
100
+ private templates, normally prepare a preview after confirming the plan:
101
+ start `template-spec preview <spec.json>` in a retained tool session before or
102
+ during writing, return its `viewUrl` promptly, and keep that session running while
103
+ editing. Tell the user viewing is optional. Skip this step if the user declines;
104
+ if the CLI or execution tool cannot support it, explain the limitation and
105
+ continue normal local authoring without claiming there is a live preview.
106
+ This step neither saves nor runs the draft. After saving, use
107
+ the save result’s `viewUrl`; if unavailable, retry only
108
+ `template-spec view-link <template-id> <version-id>` with the returned exact IDs;
109
+ stop the retained preview when editing finishes. For viewing an already saved
110
+ version, use view-link directly without a watcher.
111
+
98
112
  ```text
99
113
  Business conversation → inspect current LoomLoom Server capabilities
100
114
  → decide LoomLoom-only or Agent-assisted
@@ -288,5 +302,6 @@ The mode never covers persistent or high-impact operations: creating or versioni
288
302
  - [Market and SkillApps](references/market.md) — Listings, public input, buyer and creator workflows, price/version changes.
289
303
  - [Billing and confirmation](references/billing.md) — fee fields, currency, confirmation templates, settlement, earnings.
290
304
  - [Template authoring](references/template-spec.md) — TemplatePlan conversation, usage modes, TemplateSpec modeling and creation.
305
+ - [Workflow viewing](references/workflow-preview.md) — optional live file previews, retained Agent sessions, saved-version links, authentication and cleanup.
291
306
  - [Agent Skill Packages](references/local-skills.md) — Agent-created private packages, public ZIP install/update, and package review binding.
292
307
  - [CLI and errors](references/cli.md) — syntax sources, ID chaining, recovery rules, complete capability inventory.
@@ -109,6 +109,8 @@ On successful `login --output json`, the `token` field is masked and is not a re
109
109
  - `loomloom template-spec get <template-id>`
110
110
  - `loomloom template-spec versions <template-id>`
111
111
  - `loomloom template-spec get-version <template-id> <version-id> [-f spec.json]`
112
+ - `loomloom template-spec preview <spec.json> [--viewer-url <HTTPS bootstrap>] [--no-open] [--title <title>]`
113
+ - `loomloom template-spec view-link <template-id> <version-id>`
112
114
  - `loomloom template-spec download-workbook <template-id> <version-id>`
113
115
  - `loomloom template-spec validate-workbook <template-id> <version-id> <xlsx-path>`
114
116
  - `loomloom template-spec precheck-workbook <template-id> <version-id> <xlsx-path>`
@@ -124,6 +126,12 @@ authoring eligibility, not balance, channel capacity, or instantaneous provider
124
126
  availability. Agents should use the returned match before choosing lower-level
125
127
  commands.
126
128
 
129
+ `template-spec preview --output json` is a long-running NDJSON stream, not a
130
+ single JSON response. Keep its process alive while editing; return `ready.viewUrl`
131
+ before waiting for completion. It does not save or run the draft. Read
132
+ [workflow-preview.md](workflow-preview.md) for lifecycle, errors, and cleanup.
133
+ `view-link` returns one exact saved version's link and needs no active preview.
134
+
127
135
  `template-spec authoring-context` is the lower-level target-environment query
128
136
  for all Capability Profiles. For a dynamic Profile it returns the stable
129
137
  `profileId`, fixed input/output `definition`, current operational default and
@@ -6,6 +6,7 @@ Use this reference when creating, modifying, versioning, or explaining a private
6
6
 
7
7
  - [Documentation sources](#documentation-sources)
8
8
  - [Conversation flow](#conversation-flow)
9
+ - [Optional workflow viewing](#optional-workflow-viewing)
9
10
  - [Usage mode](#usage-mode)
10
11
  - [TemplatePlan](#templateplan)
11
12
  - [Modeling and input rules](#modeling-and-input-rules)
@@ -68,6 +69,24 @@ When a user describes a reusable workflow:
68
69
 
69
70
  Offer options when asking questions and include a reasonable default.
70
71
 
72
+ ## Optional Workflow Viewing
73
+
74
+ Read [workflow-preview.md](workflow-preview.md). Normally prepare a preview for
75
+ new or modified private templates unless the user declines. After confirming the TemplatePlan, start
76
+ `loomloom template-spec preview ./draft.json --output json` in a retained tool
77
+ session. Give the user `ready.viewUrl` immediately and continue editing the same
78
+ file while the process stays alive. Incomplete JSON can be synchronized.
79
+ For edits to an existing private version, fetch that exact version to a local file first.
80
+ The preview link works only on the CLI computer and does not require browser login.
81
+ Viewing is optional; preview failure does not invalidate the local draft.
82
+ Explain unsupported CLI/Server/tool limitations and continue normal local authoring;
83
+ do not fabricate a link or switch the selected environment.
84
+ Still run `check` and obtain the normal creation confirmation. After saving,
85
+ call `template-spec view-link` with the returned exact template/version IDs
86
+ and stop the retained watcher when editing is complete. Preview content is
87
+ cleared on end/expiry. For an already saved version, use view-link directly:
88
+ do not download and re-upload it merely to view it.
89
+
71
90
  ## Usage Mode
72
91
 
73
92
  For multi-role, multi-step, multi-perspective, multi-style, or multi-channel templates, ask:
@@ -0,0 +1,32 @@
1
+ # Workflow viewing
2
+
3
+ Configure the deployment's real HTTPS bootstrap with
4
+ `LOOMLOOM_VIEWER_BOOTSTRAP_URL` or `preview --viewer-url`. Do not invent a hosted
5
+ address. For local edits, start `loomloom template-spec preview <spec.json>
6
+ --no-open --output json` in a retained tool process. Give the user the complete
7
+ ready.viewUrl and keep the process alive while editing. It works on that computer.
8
+
9
+ The CLI supplies only a tiny local startup page and a protected JSON snapshot.
10
+ The browser loads public Workbench JS/CSS directly, then renders locally. The
11
+ CLI never downloads or embeds the UI. Draft content, node information and local
12
+ credentials are not sent to any remote API. No cloud token, login, contract query,
13
+ Redis, upload, save or model execution occurs. Missing model metadata stays
14
+ unverified; a diagram does not mean the workflow passed validation.
15
+
16
+ Use a regular UTF-8 file up to 1 MiB. Missing/incomplete files produce explicit
17
+ waiting or parse states and recover on edits. NDJSON ready, synced, waiting and
18
+ ended describe local preview only. Do not log draft text or the private local
19
+ URL to telemetry. Closing a tab does not stop CLI; stop only this retained
20
+ process when finished. The page detects disconnection, but do not promise that
21
+ previously received browser data is erased. Refresh works with the original
22
+ fragment while the CLI is alive; restarting needs the new link.
23
+
24
+ If public UI assets are unavailable, report the loading error; do not switch to
25
+ an embedded resource package, cloud upload or automatic execution. No published
26
+ viewer URL or fully offline operation is assumed.
27
+
28
+ For saved versions, normal confirmation/validation/persistence rules still
29
+ apply. Use `loomloom template-spec view-link <template-id> <version-id>` with
30
+ exact IDs; its online link requires the owner to log in and is independent of
31
+ local preview. A view-link failure never undoes a successful save; retry only
32
+ the read, never the save mutation.
@@ -1,6 +1,6 @@
1
1
  {
2
- "releaseTag": "v0.6.1-beta.2",
3
- "version": "0.6.1-beta.2",
2
+ "releaseTag": "v0.6.2-beta.2",
3
+ "version": "0.6.2-beta.2",
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": "1ffb608fe2dc84926877cbb0a57a4717ec681eb56ad05e315755955c8e0fb37d"
12
+ "sha256": "e5a927433427637a596812281179c8de82bb92904a6cb1e46c657168e2e24ce6"
13
13
  },
14
14
  {
15
15
  "path": "references/execution.md",
@@ -29,11 +29,15 @@
29
29
  },
30
30
  {
31
31
  "path": "references/template-spec.md",
32
- "sha256": "2c1c1368956e07983c01329568bfee7e19d2586f2f0db00e3b6584b01a9361b6"
32
+ "sha256": "66d81e6640b98aa7b577445f82d3be6154583df87fc322a3dee5f492d0ecc345"
33
+ },
34
+ {
35
+ "path": "references/workflow-preview.md",
36
+ "sha256": "cb98938b8a4a25a42fff151bd2057c80f1507cbe56571d9a527520293f92f22d"
33
37
  },
34
38
  {
35
39
  "path": "SKILL.md",
36
- "sha256": "c638ff95f0d126fe67210eea032ba626e9b15f53c4d5b9cf79b5e4a5368c1073"
40
+ "sha256": "c7f6661e02fbacc1e890472a3a51a0c1e8cc38dcb003d4048cc636886cd56ce4"
37
41
  }
38
42
  ]
39
43
  }