langflower 0.3.0 → 0.4.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 +25 -24
- package/dist/{chunk-KOS7BXAM.js → chunk-32BC3YXC.js} +1 -1
- package/dist/{chunk-26UB55E5.js → chunk-5B3555QF.js} +2 -0
- package/dist/{chunk-X3FU465E.js → chunk-P3QJHZO7.js} +1 -1
- package/dist/{chunk-3Z7Q6SQ5.js → chunk-VVJLF47H.js} +93 -10
- package/dist/index.js +8869 -7828
- package/docs/{public → assets/public}/README.md +8 -1
- package/docs/{public → assets/public}/configuration.md +7 -0
- package/docs/{public → assets/public}/extending.md +9 -2
- package/docs/{public → assets/public}/getting-started.md +11 -4
- package/docs/{public → assets/public}/how-it-works.md +7 -0
- package/docs/{public → assets/public}/launcher.md +11 -2
- package/docs/{public → assets/public}/product.md +10 -1
- package/docs/{public → assets/public}/using-the-editor.md +7 -0
- package/docs/{public → assets/public}/workflows.md +7 -0
- package/package.json +2 -2
- package/ui-dist/{chunk-B3D35SQ5.js → chunk-33CXNPF2.js} +1 -1
- package/ui-dist/chunk-SNO65Y6K.js +4 -0
- package/ui-dist/index.html +2 -2
- package/ui-dist/main-GN43PQD5.js +323 -0
- package/ui-dist/styles-DMRPMU4V.css +1 -0
- package/vendor/node-sdk/dist/node-factory/define-llm-node/default-llm-ports.d.ts +11 -1
- package/vendor/node-sdk/dist/node-factory/define-llm-node/define-llm-node.d.ts +1 -1
- package/vendor/node-sdk/dist/node-factory/define-llm-node/steer-control.d.ts +5 -2
- package/vendor/node-sdk/dist/node-factory/define-llm-node/steer-control.js +3 -2
- package/vendor/node-sdk/dist/node-factory/define-node/define-node.d.ts +2 -1
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/capabilities.d.ts +32 -1
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/define-reactive-node.d.ts +2 -1
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/define-reactive-node.js +1 -0
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/hitl-config.d.ts +14 -0
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/hitl-config.js +24 -1
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/io-helpers.d.ts +7 -4
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/port-meta.d.ts +7 -2
- package/vendor/node-sdk/dist/node-factory/define-reactive-node/ui-schema-inference.d.ts +18 -0
- package/vendor/node-sdk/package.json +1 -1
- package/vendor/runtime/dist/runtime-editor.js +9 -2
- package/vendor/runtime/dist/runtime-runner.js +2 -1
- package/vendor/runtime/dist/runtime.d.ts +2 -0
- package/vendor/runtime/dist/runtime.js +1 -0
- package/vendor/runtime/dist/types.d.ts +7 -1
- package/vendor/runtime/dist/wire-type.d.ts +12 -0
- package/vendor/runtime/dist/wire-type.js +18 -0
- package/vendor/server/skeleton/nodes/hello-embed/README.md +1 -1
- package/vendor/server/skeleton/nodes/hello-embed/package.json +1 -1
- package/vendor/server/skeleton/nodes/my-nodes/package.json +1 -1
- package/vendor/server/skeleton/skills/langflower-helper/SKILL.md +88 -49
- package/vendor/server/skeleton/skills/langflower-helper/architecture.md +13 -3
- package/vendor/server/skeleton/skills/langflower-helper/layout.md +8 -0
- package/vendor/server/skeleton/skills/langflower-node-writer/SKILL.md +3 -0
- package/vendor/server/skeleton/skills/langflower-workflow-writer/SKILL.md +1 -1
- package/vendor/server/skeleton/workflows/agents-dialog.json +1 -1
- package/vendor/server/skeleton/workflows/kb-rag.json +1 -1
- package/ui-dist/chunk-2F7UKSIL.js +0 -4
- package/ui-dist/main-TL5G57BL.js +0 -323
- package/ui-dist/styles-O74ATCGZ.css +0 -1
|
@@ -19,8 +19,9 @@ provider. They are past bootstrap; do not lead with CLI start or provider setup.
|
|
|
19
19
|
only path.
|
|
20
20
|
- Answer **only** from allowed fact sources: the **Companion docs** (via
|
|
21
21
|
`read` when relevant) and the **Knowledge base** below. If a fact is
|
|
22
|
-
missing, say **not in my facts** (or point at
|
|
23
|
-
|
|
22
|
+
missing, say **not in my facts** (or point at
|
|
23
|
+
`docs/product/use-cases/README.md` when the folder is the Langflower
|
|
24
|
+
repo) — do not invent.
|
|
24
25
|
- User asks **where** something is in the UI or project → `read`
|
|
25
26
|
`.langflower/skills/langflower-helper/layout.md` first, then answer from
|
|
26
27
|
that file.
|
|
@@ -69,6 +70,15 @@ On-demand only (not auto-injected). Use harness `read`:
|
|
|
69
70
|
- `.langflower/skills/langflower-helper/architecture.md` — trust / server-first /
|
|
70
71
|
WS bus summary
|
|
71
72
|
|
|
73
|
+
Langflower repository docs (not copied into a user project):
|
|
74
|
+
|
|
75
|
+
- `docs/product/features/README.md` and `docs/product/use-cases/README.md`
|
|
76
|
+
- `docs/reference/SESSIONS.md` (other mechanics sit beside it)
|
|
77
|
+
- `docs/adr/README.md`
|
|
78
|
+
- `docs/bugs/README.md`
|
|
79
|
+
- `docs/_work/TODO/README.md` — planning notes
|
|
80
|
+
- `docs/_archive/DONE/README.md` — frozen history
|
|
81
|
+
|
|
72
82
|
## Knowledge base
|
|
73
83
|
|
|
74
84
|
### 1. Product
|
|
@@ -97,24 +107,34 @@ On-demand only (not auto-injected). Use harness `read`:
|
|
|
97
107
|
a session from the graph on screen. Restart opens the newest session
|
|
98
108
|
for that workflow. A Run continues the session head. **Continue from…**
|
|
99
109
|
rewinds to a point (truncates the feed to that offset and drops later
|
|
100
|
-
points). **+ New session** is still explicit and copies the saved
|
|
110
|
+
points) and keeps files already staged for that session. **+ New session** is still explicit and copies the saved
|
|
101
111
|
workflow file. The workflow file is the tab to the left of the session
|
|
102
112
|
tabs; double-click or the actions menu renames that file, not a session
|
|
103
113
|
tab. × deletes any listed session after confirmation, including one that
|
|
104
114
|
is not open and a corrupt file that cannot be selected. Save appears only
|
|
105
115
|
while the workflow file is dirty and no session
|
|
106
116
|
is open. While a session gate is open and the run is idle,
|
|
107
|
-
**Reset** empties the feed file, clears points,
|
|
108
|
-
graph. **Reset session on input** is a node parameter on OpenAI, Fake,
|
|
117
|
+
**Reset** empties the feed file, clears points, deletes that session's
|
|
118
|
+
uploads directory, and keeps the tab and graph. **Reset session on input** is a node parameter on OpenAI, Fake,
|
|
109
119
|
Review, and Critique (default off). Switch workflows and sessions
|
|
110
120
|
during HITL or steering: the parked run stops first, and the session
|
|
111
121
|
head is already flushed.
|
|
122
|
+
- **Can:** Attach `image/png`, `image/jpeg`, `image/gif`, `image/webp`,
|
|
123
|
+
`audio/wav`, `audio/mpeg`, `audio/mp3`, or `application/pdf` on Chat
|
|
124
|
+
Input, Chat Loop, Review Gate Request changes, Steer, and an
|
|
125
|
+
`ask_user` reply, from the picker, a paste (a screenshot
|
|
126
|
+
on the clipboard), or a drop. A staged image shows a thumbnail and a
|
|
127
|
+
full-size preview. The browser checks `file.type` and rejects
|
|
128
|
+
an empty MIME. `read` of `.png`, `.jpg`, `.jpeg`, `.gif`, `.webp`,
|
|
129
|
+
`.wav`, `.mp3`, and `.pdf` stages those bytes for Chat Completions.
|
|
130
|
+
History stores `fileId`, not base64. Video and every other type stay out.
|
|
112
131
|
- **Cannot:** Require a cloud account. Let the model skip graph stages
|
|
113
132
|
(QA/review/gates) by “deciding what’s next” outside the graph. Rename a
|
|
114
133
|
session tab. Switch workflows or sessions while the graph is executing.
|
|
115
134
|
Migrate old
|
|
116
|
-
`.langflower/runs/**/checkpoint.json` files. Claim **
|
|
117
|
-
|
|
135
|
+
`.langflower/runs/**/checkpoint.json` files. Claim an **asset gallery**,
|
|
136
|
+
**video**, or a file type outside the list above.
|
|
137
|
+
Claim a built-in **IDE / git UI**.
|
|
118
138
|
|
|
119
139
|
### 2. Project layout and bootstrap
|
|
120
140
|
|
|
@@ -130,7 +150,7 @@ do not say coding pipelines “don’t exist” or are unavailable.
|
|
|
130
150
|
macOS zip contains `Langflower.app`. Closing the launcher stops
|
|
131
151
|
instances **it** started. Closing a browser tab does
|
|
132
152
|
not. The **?** control opens the user manual on GitHub
|
|
133
|
-
(`docs/public/launcher.md`).
|
|
153
|
+
(`docs/assets/public/launcher.md`).
|
|
134
154
|
- **Cannot:** Claim the launcher embeds the canvas, or that it is a
|
|
135
155
|
Tauri / Electron / WebView app. (Tauri was tried for the thin window
|
|
136
156
|
and rejected; the shipped launcher is Slint.)
|
|
@@ -147,9 +167,11 @@ do not say coding pipelines “don’t exist” or are unavailable.
|
|
|
147
167
|
it as-is (no wipe).
|
|
148
168
|
- **Can:** Configure providers via **Settings** (Global opens on first connect
|
|
149
169
|
when none are configured) or `.langflower/langflower.jsonc` (prefer
|
|
150
|
-
`{env:VAR}`). Bootstrap never invents API keys. Simple nodes
|
|
151
|
-
without a provider
|
|
152
|
-
|
|
170
|
+
`{env:VAR}`). Bootstrap never invents API keys. Simple nodes and Fake LLM
|
|
171
|
+
work without a provider. Fake LLM imitates a model for tests and showcase
|
|
172
|
+
when a real completion is expensive and not deterministic. A real
|
|
173
|
+
OpenAI-compatible provider is required for live model runs and seeded
|
|
174
|
+
coding samples.
|
|
153
175
|
- **Cannot:** Claim bootstrap invents secrets, or that a polished
|
|
154
176
|
**named-path** empty-provider fail-closed error on run is already shipped —
|
|
155
177
|
tell users to add a provider in Settings or `langflower.jsonc`; prefer fail
|
|
@@ -176,7 +198,8 @@ do not say coding pipelines “don’t exist” or are unavailable.
|
|
|
176
198
|
- **Can:** Gear opens **Settings** in the **right aside**, swapping feed /
|
|
177
199
|
inspector; canvas stays. Open/close/scope are server-driven. Project and
|
|
178
200
|
Global scopes; merge **project > global**; Save applies without a full app
|
|
179
|
-
reload. Keys are write-only; prefer `{env:VAR}`.
|
|
201
|
+
reload. Keys are write-only; prefer `{env:VAR}`. The panel is
|
|
202
|
+
**Ready**.
|
|
180
203
|
- **Can:** With no providers configured, connect opens **Global Settings** with
|
|
181
204
|
onboarding copy (add OpenAI-compatible provider; Fake LLM / simple nodes
|
|
182
205
|
still work).
|
|
@@ -264,8 +287,9 @@ unwired — it is not a duplicate Helper, not a second node, and not a bug.
|
|
|
264
287
|
one agent. Example: Langflower Tools **and** Writer Sub-Agent. Optional
|
|
265
288
|
**Tool collection** (`common-tool-collection`) can still merge wires first;
|
|
266
289
|
direct multi-wire still works.
|
|
267
|
-
- **Can (Router):** `common-router`
|
|
268
|
-
|
|
290
|
+
- **Can (Router):** `common-router` channels are independent identity
|
|
291
|
+
passthrough (`ch` / `ch@1` / …). Extra slots grow as edges are added so
|
|
292
|
+
many wires stay short. The hub is **Available**.
|
|
269
293
|
- **Cannot:** Claim every port grows this way — `userPrompt` / `systemPrompt`
|
|
270
294
|
stay single. Claim the empty slot must be wired. Equate `merge` (each emit
|
|
271
295
|
is a turn) with `combine` (inventory array) with `zip` (lockstep, e.g.
|
|
@@ -273,31 +297,31 @@ unwired — it is not a duplicate Helper, not a second node, and not a bug.
|
|
|
273
297
|
|
|
274
298
|
### 6. Coding workflows
|
|
275
299
|
|
|
276
|
-
| Name | Fact
|
|
277
|
-
| ------------------ |
|
|
278
|
-
| `starter` | Onboarding chat + this skill + Writer Sub-Agent (`langflower-workflow-writer` + `langflower-node-writer`) — default open after seed
|
|
279
|
-
| Skeleton stubs | `simple-coder`, `advanced-coder`, `kb-create`, `kb-navigate`, `kb-ingest`, `kb-manual-search`, `kb-tool`, `kb-rag`, … seeded on first-run; with provider → Start
|
|
280
|
-
| `simple-coder` | Plan (`spec-architect`) ⇄ HITL → Coder ⇄ HITL → Finish smoke spine + `common-memory-tools` on Plan/Coder/Researcher/Worker; Researcher Sub-Agent under Plan, Worker under Coder — **not** full multi-loop `coding-agent`
|
|
281
|
-
| `kb-create` | Memory / project wiki create: Orchestrator **indexes** the repo with `glob`/`read`, persists `history/work-queue.md`, then **serially** calls Explorer → Composer **one unit at a time**; `common-memory-tools` writes `core/*` + `modules/*`; Review rejects non-empty Pending or thin overviews
|
|
282
|
-
| `kb-navigate` | Memory navigate: Navigator + Searcher + memory tree/grep/section tools; HITL Review Gate for follow-ups
|
|
283
|
-
| `kb-ingest` | Sample **hello-embed** ingest (Settings embedding model; pack compiles on `langflower start`)
|
|
284
|
-
| `kb-manual-search` | Sample hello-embed query → Preview / Finish
|
|
285
|
-
| `kb-tool` | Sample hello-embed `project_search` ToolHandle → agent
|
|
286
|
-
| `kb-rag` | Simplified RAG: hybrid retrieve packs Question + full chunks into the LLM; `project_search` + grep/read; Review feedback / Approve → Finish
|
|
287
|
-
| `basic-coder` | Basic coding harness (Plan⇄HITL→Coder⇄HITL→Finish) — not a toy, **not** full multi-loop `coding-agent`
|
|
288
|
-
| `coding-agent` | Clarify HITL → red team → plan gate → coder → QA → `common-review` → result HITL; **graph** orders stages
|
|
289
|
-
| Status |
|
|
300
|
+
| Name | Fact |
|
|
301
|
+
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
302
|
+
| `starter` | Onboarding chat + this skill + Writer Sub-Agent (`langflower-workflow-writer` + `langflower-node-writer`) — default open after seed |
|
|
303
|
+
| Skeleton stubs | `simple-coder`, `advanced-coder`, `kb-create`, `kb-navigate`, `kb-ingest`, `kb-manual-search`, `kb-tool`, `kb-rag`, … seeded on first-run; with provider → Start |
|
|
304
|
+
| `simple-coder` | Plan (`spec-architect`) ⇄ HITL → Coder ⇄ HITL → Finish smoke spine + `common-memory-tools` on Plan/Coder/Researcher/Worker; Researcher Sub-Agent under Plan, Worker under Coder — **not** full multi-loop `coding-agent` |
|
|
305
|
+
| `kb-create` | Memory / project wiki create: Orchestrator **indexes** the repo with `glob`/`read`, persists `history/work-queue.md`, then **serially** calls Explorer → Composer **one unit at a time**; `common-memory-tools` writes `core/*` + `modules/*`; Review rejects non-empty Pending or thin overviews |
|
|
306
|
+
| `kb-navigate` | Memory navigate: Navigator + Searcher + memory tree/grep/section tools; HITL Review Gate for follow-ups |
|
|
307
|
+
| `kb-ingest` | Sample **hello-embed** ingest (Settings embedding model; pack compiles on `langflower start`) |
|
|
308
|
+
| `kb-manual-search` | Sample hello-embed query → Preview / Finish |
|
|
309
|
+
| `kb-tool` | Sample hello-embed `project_search` ToolHandle → agent |
|
|
310
|
+
| `kb-rag` | Simplified RAG: hybrid retrieve packs Question + full chunks into the LLM; `project_search` + grep/read; Review feedback / Approve → Finish |
|
|
311
|
+
| `basic-coder` | Basic coding harness (Plan⇄HITL→Coder⇄HITL→Finish) — not a toy, **not** full multi-loop `coding-agent` |
|
|
312
|
+
| `coding-agent` | Clarify HITL → red team → plan gate → coder → QA → `common-review` → result HITL; **graph** orders stages |
|
|
313
|
+
| Status | **coding-agent** and MCP nodes are **Available**. Run interruption, the seed, close-tab, and session Continue are **Ready**. The eval pack runner and skill-pack scoring are **Available**. The sample graph and agent instructions are the user's configuration, not a universal result. Not every use case is Available or Ready |
|
|
290
314
|
|
|
291
315
|
### 7. Run lifecycle
|
|
292
316
|
|
|
293
|
-
| Mechanism | Meaning
|
|
294
|
-
| --------------------- |
|
|
295
|
-
| Hard Stop | Cancel; does **not** by itself create checkpoint Continue
|
|
296
|
-
| Soft Pause | Per-node Steer pause of the last feed agent; siblings keep working; Send (typed text) or Continue (no text, `{ kind: 'resume' }`) continues that node
|
|
297
|
-
| Provider recovery | Idle: default **autokick** (abort, exponential backoff, full-store replay + kick). Dead-loop: abort + short `retryBaseDelayMs` wait (not idle backoff) + kick.
|
|
298
|
-
| Browser close |
|
|
299
|
-
| Process kill / reboot | **Not** detachable resume of the live run. Restart opens the newest workflow session; a Run continues its head
|
|
300
|
-
| Checkpoint Continue | Needs an open workflow session **and** an explicit boundary (`common-checkpoint` / `createCheckpoint`). That writes a **point** (`runOffset` / `feedOffset` into `<label>.feed.jsonl`, not a copied feed). **Continue from…** rewinds to a point and drops later events. A Run continues the head. A Run with no tab opens a session before the graph starts. Continue does not create a session. **No** every-node auto Continue. Old checkpoint files are not read |
|
|
317
|
+
| Mechanism | Meaning |
|
|
318
|
+
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
319
|
+
| Hard Stop | Cancel; does **not** by itself create checkpoint Continue |
|
|
320
|
+
| Soft Pause | Per-node Steer pause of the last feed agent; siblings keep working; Send (typed text) or Continue (no text, `{ kind: 'resume' }`) continues that node |
|
|
321
|
+
| Provider recovery | Confirmed live 2026-10-17. Idle: default **autokick** (abort, exponential backoff, full-store replay + kick). Dead-loop: abort + short `retryBaseDelayMs` wait (not idle backoff) + kick. 5xx: autokick after the short transient budget; Steer opens when that budget is exhausted, not on every 5xx. `'retry'` banner stays in the feed; it does not open Steer. Pause → Steer → continue is confirmed, including several tabs of one run (drafts stay on the tab). Auth/config stay fatal |
|
|
322
|
+
| Browser close | Confirmed: if `langflower start` stays up, a long run continues after the browser tab closes; reopen live or settled. An open launcher window reminds you that work is in progress; it is not a progress panel. Closing the launcher stops processes that window started |
|
|
323
|
+
| Process kill / reboot | **Not** detachable resume of the live run. Restart opens the newest workflow session; a Run continues its head |
|
|
324
|
+
| Checkpoint Continue | Confirmed live 2026-10-17. Needs an open workflow session **and** an explicit boundary (`common-checkpoint` / `createCheckpoint`). That writes a **point** (`runOffset` / `feedOffset` into `<label>.feed.jsonl`, not a copied feed). **Continue from…** rewinds to a point and drops later events. A Run continues the head. A Run with no tab opens a session before the graph starts. Continue does not create a session. **No** every-node auto Continue. Old checkpoint files are not read |
|
|
301
325
|
|
|
302
326
|
These four are **not** the same thing.
|
|
303
327
|
|
|
@@ -338,6 +362,11 @@ These four are **not** the same thing.
|
|
|
338
362
|
`allow`) sets per-agent `toolPermissions` (cannot loosen past floor). Presets
|
|
339
363
|
materialize that table — no hidden role overlay. Schemas under
|
|
340
364
|
`.langflower/schemas/`.
|
|
365
|
+
- **Can:** Each LLM node's Inspector **Session context** group toggles what
|
|
366
|
+
a new session starts with: root `AGENTS.md`, root `README.md`, environment
|
|
367
|
+
(OS, work dir, date; on by default), Langflower harness note (on by
|
|
368
|
+
default) and a skill list (id, name, description, path). Skills load from
|
|
369
|
+
`.langflower/skills/` and `.agents/skills/` (`.langflower` wins on a clash).
|
|
341
370
|
- **Cannot:** Prior-run Allows carry into a new run. Mid-run “permission tier
|
|
342
371
|
unlock” as the product model (use graph stages / tool profiles). All
|
|
343
372
|
`mcp.servers` always start. Agent sees raw MCP config instead of handles.
|
|
@@ -353,21 +382,29 @@ Sub-Agent is an **explicit canvas node** for **control and observability**
|
|
|
353
382
|
specialist tool (`Writer(subagent)` / `toolId` `Writer_subagent`) with a
|
|
354
383
|
`task`
|
|
355
384
|
(optional `skillId` from the Inspector Skills enum). That call closes the
|
|
356
|
-
parent work-log visit; the specialist streams as its own card.
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
385
|
+
parent work-log visit; the specialist streams as its own card. That
|
|
386
|
+
pass is the **handover** pattern and it is Available. **Fan-out and
|
|
387
|
+
fan-in** on nodes already on the canvas are Available (a drawn split
|
|
388
|
+
and a merge back, including static fan-out and Loop map-collect). Default
|
|
389
|
+
Sub-Agent invokes stay **serial**. Wiki/memory create (`kb-create`) uses
|
|
390
|
+
**serial** scoped specialist calls driven by a persisted work queue.
|
|
391
|
+
- **Cannot:** **Dynamic swarm topology** is not a current promise. The run
|
|
392
|
+
does not add, remove, or rewire specialists that are not already nodes —
|
|
393
|
+
draw them before Start. Do not file that as a missing capability. Hide
|
|
394
|
+
Sub-Agent work only inside a single LLM turn with no graph node
|
|
395
|
+
(anti-pattern). Nested **workflow files** are not a current promise. Do
|
|
396
|
+
not look for `spawn_subagent` or registration / spawn / result ports —
|
|
397
|
+
those wires are gone.
|
|
364
398
|
|
|
365
399
|
### 10. Other demos
|
|
366
400
|
|
|
367
401
|
- **article-writing:** Outline + draft are **one** LLM node; research/crawl not
|
|
368
402
|
required for that demo.
|
|
369
|
-
- **research-fanout:**
|
|
370
|
-
|
|
403
|
+
- **research-fanout:** Static Docs / Risks / Alternatives are separate nodes
|
|
404
|
+
and start together. `common-loop` is **serial** (one body, one item).
|
|
405
|
+
After a completed list, `rerunItems` re-runs matching entries and keeps
|
|
406
|
+
the other results. Pass the axis string. Review prose is not parsed. The
|
|
407
|
+
demo feedback edge still revises the synthesizer.
|
|
371
408
|
- **project memory / wiki:** `common-memory-tools` + skeleton sample
|
|
372
409
|
`kb-create` (index with `glob` → `history/work-queue.md` → serial
|
|
373
410
|
Explorer/Composer units into `core/*` + `modules/*`) and `kb-navigate`.
|
|
@@ -377,7 +414,7 @@ Sub-Agent is an **explicit canvas node** for **control and observability**
|
|
|
377
414
|
output, `feed.role: result`). There is no separate Plan mode. **Embeddings**
|
|
378
415
|
catalog nodes + Settings default embedding model
|
|
379
416
|
are shipped for API checks and pack **`EmbedHandle`** wiring — separate from
|
|
380
|
-
vector KB (
|
|
417
|
+
vector KB (ADR-033, `docs/adr/033-markdown-memory-tools-no-embedding-as-base.md`).
|
|
381
418
|
Obsidian vault helpers are **not** shipped (TBD-007).
|
|
382
419
|
- **skill-refining:** CLI eval + `skillPath` / harness `read`; no canvas
|
|
383
420
|
`skill-refining.json` demo.
|
|
@@ -501,8 +538,10 @@ They die on rematerialize or process exit if there is no hook.
|
|
|
501
538
|
|
|
502
539
|
### 12. Status vocabulary
|
|
503
540
|
|
|
504
|
-
-
|
|
505
|
-
-
|
|
541
|
+
- **Available** means the scenario's capabilities are in the product and a live OpenAI-compatible run covered them. The user assembles the graph, prompts, and layout. `Missing parts: None` plus user configuration is not a gap.
|
|
542
|
+
- **Ready** means the scenario needs no extra configuration. The seed, Settings, Stop / Pause, the work log, close-tab, and session Continue are Ready.
|
|
543
|
+
- Say **Partial** only for a TODO-able capability. None are queued. A custom `ok` / `fail` review gate written with `defineReactiveNode` runs format, typecheck, and test and returns failure text on `feedback`; that is the plan-refine QA gate. An empty provider already fails on the OpenAI node port and the message tells the operator to open Settings and set up an OpenAI-compatible provider. Handover, fan-out, fan-in, independent Router channels, agent-swarm on a graph drawn before Start, Loop `rerunItems` (pass the axis string; the demo feedback edge still revises the synthesizer), and plan-refine QA are Available. Settings and bootstrap are Ready.
|
|
544
|
+
- Do **not** file: dynamic swarm topology, nested workflow files, TBD entries, encrypted secrets, a universal knowledge base (memory tools + `hello-embed`), a node error killing the graph (`error$` stays alive; retry is in the node that failed), or browser E2E of the canvas. The canvas is a projection of the server snapshot.
|
|
506
545
|
- Missing from this KB → **not in my facts** — do not invent.
|
|
507
546
|
|
|
508
547
|
## Before you send a final answer
|
|
@@ -165,8 +165,18 @@ Project product data for Langflower lives under **`.langflower/`**.
|
|
|
165
165
|
|
|
166
166
|
## Honesty boundary
|
|
167
167
|
|
|
168
|
-
-
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
- Not every use case is Available or Ready. Sample-prompt quality is the user's
|
|
169
|
+
graph, not a missing capability.
|
|
170
|
+
- With an OpenAI-compatible provider, daily use replaces an OpenCode-style
|
|
171
|
+
harness for a multi-stage coding graph and for a chat loop whose result
|
|
172
|
+
cannot be approved up front. Confirmed mechanisms: tool calls, HITL,
|
|
173
|
+
custom `ok` / `fail` gates, a work log that shows reasoning and tool
|
|
174
|
+
calls, closing the browser tab on a long run, and resume from a session
|
|
175
|
+
point. An open launcher window reminds you that work is in progress.
|
|
171
176
|
- If a detail is not here and not in the helper Knowledge base → **not in my
|
|
172
177
|
facts**.
|
|
178
|
+
- Langflower repository docs (not copied into a user project):
|
|
179
|
+
`docs/product/features/README.md`, `docs/product/use-cases/README.md`,
|
|
180
|
+
`docs/reference/SESSIONS.md`, `docs/adr/README.md`, `docs/bugs/README.md`.
|
|
181
|
+
Planning notes are `docs/_work/TODO/README.md`. Frozen history is
|
|
182
|
+
`docs/_archive/DONE/README.md`.
|
|
@@ -75,3 +75,11 @@ Facts for UI chrome and on-disk paths. Prefer this file over guessing.
|
|
|
75
75
|
bootstrap does not rewrite them.
|
|
76
76
|
- Closing the browser tab is not “where is Stop” — see companion
|
|
77
77
|
`architecture.md` (server-first runs) and Knowledge base §7.
|
|
78
|
+
|
|
79
|
+
## Langflower repository docs
|
|
80
|
+
|
|
81
|
+
When the open folder is the Langflower repo, live docs are
|
|
82
|
+
`docs/product/features/README.md`, `docs/product/use-cases/README.md`,
|
|
83
|
+
`docs/reference/SESSIONS.md`, `docs/adr/README.md`, and
|
|
84
|
+
`docs/bugs/README.md`. Planning notes are `docs/_work/TODO/README.md`.
|
|
85
|
+
Frozen history is `docs/_archive/DONE/README.md`.
|
|
@@ -172,6 +172,9 @@ Vitest config **includes** that glob; do not assume it.
|
|
|
172
172
|
|
|
173
173
|
1. Pick a stable `type` string (pack-unique) and `displayName`.
|
|
174
174
|
2. Declare `inputs` / `outputs` with `wireType`s; keep `uiSchema` honest
|
|
175
|
+
(long settings lists: add `group: { label, collapsed: true, order }` per item so
|
|
176
|
+
the Inspector folds them into an accordion section; unmarked = General,
|
|
177
|
+
always first)
|
|
175
178
|
(`defineToolRegistrations` owns a `tools` output — no custom inputs).
|
|
176
179
|
3. Implement `execute` (`defineNode`), `tools` handlers
|
|
177
180
|
(`defineToolRegistrations`), or `bind` (`defineReactiveNode`).
|
|
@@ -90,7 +90,7 @@ A path-choice output (`feedback`, or accept `response`) has one consumer.
|
|
|
90
90
|
- Do not wire one LLM `response` to several next stages (clarify, red-team, and an approve gate). That node cannot choose a branch.
|
|
91
91
|
- Do not wire one accept `response` to the next agent and also to later gates.
|
|
92
92
|
- Use `common-critique` (`assignment` / `packet`) or `common-review` (`task` / `result`) so fail is `feedback` and pass is `response`. A Review Gate has the same split.
|
|
93
|
-
- Copy `.langflower/workflows/red-team.json`. The same rule is in `docs/features/node-library.md` §5.2.
|
|
93
|
+
- Copy `.langflower/workflows/red-team.json`. The same rule is in `docs/product/features/node-library.md` §5.2.
|
|
94
94
|
|
|
95
95
|
## Custom QA / review gates
|
|
96
96
|
|