Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
479 commits
Select commit Hold shift + click to select a range
4f15b00
test(workflows): bring workflow-code fixtures up to the current types
waleedlatif1 Nov 16, 2026
373bc66
fix(workflow-code): an omitted inactive param keeps the stored value
waleedlatif1 Nov 16, 2026
118dd5a
test(workflows): follow the row-lock queue transitively in the apply …
waleedlatif1 Nov 16, 2026
4b367b1
test(workspaces): give same-key tables distinct live names
waleedlatif1 Nov 16, 2026
f61ffb1
test(workflows): fix the workflow source apply e2e folder paths and r…
waleedlatif1 Nov 16, 2026
6443db1
test(workflows): open the Code tab only once the panel is hydrated
waleedlatif1 Nov 16, 2026
cf77afe
docs(workflow-code): cite symbols instead of drifting file line numbe…
waleedlatif1 Nov 16, 2026
2ff27d3
test(workflow-code): drop duplicate and mock-only workflow source tests
waleedlatif1 Nov 16, 2026
0af4e13
test(workflows): seed the workflow source apply e2e fixtures and run …
waleedlatif1 Nov 16, 2026
faf13be
fix(workflow-code): keep a source-cleared advanced field cleared on a…
waleedlatif1 Nov 16, 2026
11de4c5
fix(workflows): gate every tool-input field and a retyped block's kep…
waleedlatif1 Nov 16, 2026
e567739
fix(workflow-code): match stored() tool params to their stored tool b…
waleedlatif1 Nov 16, 2026
81c3211
fix(workflow-code): round-trip a condition row stored with no title
waleedlatif1 Nov 16, 2026
5f20046
fix(workflow-code): treat undeclared fields of a custom block with in…
waleedlatif1 Nov 16, 2026
86c0b2b
fix(cli): print source notes, exit 5 only for stale source, send only…
waleedlatif1 Nov 16, 2026
1cb9696
fix(workflows): list only the credentials the caller can see in the s…
waleedlatif1 Nov 16, 2026
7e35b9c
perf(workflows): cache the workspace source catalog once and overlay …
waleedlatif1 Nov 16, 2026
fc40339
fix(workflows): refuse a source apply over a concurrent non-layout ca…
waleedlatif1 Nov 16, 2026
e04c04d
fix(cli): guard source get --dir against lost edits and foreign files…
waleedlatif1 Nov 16, 2026
a170e64
docs(workflows): document source get guards, create output, notes and…
waleedlatif1 Nov 16, 2026
598beac
fix(workflow-code): make every printed edge() compile back to the sam…
waleedlatif1 Nov 16, 2026
4f29465
fix(workflow-sdk): type the two-argument workflow(name, body) the com…
waleedlatif1 Nov 16, 2026
044fee8
fix(workflows): refuse a taken name on a source create dry run and ta…
waleedlatif1 Nov 16, 2026
e79dec2
docs(workflows): correct the workflow source api reference and call t…
waleedlatif1 Nov 16, 2026
103dc18
fix(workflow-code): keep a stored() tool param where source wrote it
waleedlatif1 Nov 16, 2026
c681564
merge fix/wc-audit-cli: cli audit fixes
waleedlatif1 Nov 16, 2026
610f754
merge fix/wc-audit-server: server audit fixes
waleedlatif1 Nov 16, 2026
da2cf0f
chore(cli): regenerate the v2 api types for the workflow source descr…
waleedlatif1 Nov 16, 2026
99af5e5
fix(workflow-code): redact password params inside raw() tool JSON
waleedlatif1 Nov 16, 2026
e878f79
fix(workflow-code): write source-controlled keys with setOwn in mater…
waleedlatif1 Nov 16, 2026
d9daf2c
fix(workflow-code): type human form fields under submission in JSON refs
waleedlatif1 Nov 16, 2026
81829d0
fix(workflow-code): let only else be true, and report a refused branc…
waleedlatif1 Nov 16, 2026
5a5904b
fix(workflow-code): read the SDK header behind a leading byte order mark
waleedlatif1 Nov 16, 2026
c357b5f
fix(workflow-code): point codeFile hints at ./functions/
waleedlatif1 Nov 16, 2026
36cd213
merge fix/wc-audit-package: package and sdk audit fixes
waleedlatif1 Nov 16, 2026
e041571
fix(workflow-code): refuse NUL and lone surrogates in source, which j…
waleedlatif1 Nov 16, 2026
a45649a
test(workflows): reopen the code tab before checking an apply, since …
waleedlatif1 Nov 16, 2026
ddb73cd
test(workflows): expect the create result's conflict kind
waleedlatif1 Nov 16, 2026
b6052e1
fix(workflow-code): diff what materialize writes, so an unchanged app…
waleedlatif1 Nov 16, 2026
d1b3907
feat(sim-cli): name each modified block and field in a source write's…
waleedlatif1 Nov 16, 2026
980045f
fix(workflow-code): keep the author's function file names in a write'…
waleedlatif1 Nov 16, 2026
798e410
test(sim-cli): type the modified-block fixture of the source write re…
waleedlatif1 Nov 16, 2026
7ed6960
feat(sim-cli): source create on a directory without workflow.ts write…
waleedlatif1 Nov 16, 2026
975f305
fix(sim-cli): fold info findings into one line per code
waleedlatif1 Nov 16, 2026
06d8357
feat(workflow-code): warn on env.NAME the caller's runs cannot resolve
waleedlatif1 Nov 16, 2026
645d28b
fix(workflows): an agent with no tools value is no tools, not a note
waleedlatif1 Nov 16, 2026
a585cfb
fix(workflow-code): a number in a free-text input prints source that …
waleedlatif1 Nov 16, 2026
f5b5477
fix(workflow-sdk): type a human form's fields at the block's top leve…
waleedlatif1 Nov 16, 2026
8f43340
fix(workflow-sdk): type table filters as the shapes the runtime runs
waleedlatif1 Nov 16, 2026
5a9c5fe
merge fix/wc-dogfood: dogfood findings
waleedlatif1 Nov 16, 2026
6d290b9
docs(cli): regenerate the cli reference for the source create starter
waleedlatif1 Nov 16, 2026
240fd15
fix(workflow-code): keep a block's id when source renames its variabl…
waleedlatif1 Nov 16, 2026
cf208cf
fix(workflow-code): warn when a code file $ref names no block, variab…
waleedlatif1 Nov 17, 2026
523040b
fix(workflow-sdk): type table rows as the blocks output them, with ce…
waleedlatif1 Nov 17, 2026
3866929
fix(workflow-code): warn on a $env name in a code file the workspace …
waleedlatif1 Nov 17, 2026
5d6bf3d
fix(workflow-sdk): allow any path depth on an untyped reference
waleedlatif1 Nov 17, 2026
d3b14a6
fix(workflow-code): type the real table blocks' rows by the selected …
waleedlatif1 Nov 17, 2026
e554ccd
test(workflow-sdk): project the SDK fixture catalog from the real reg…
waleedlatif1 Nov 17, 2026
f963745
docs(cli): tell agents a table row's cells are under data
waleedlatif1 Nov 17, 2026
f00e973
fix(cli): refuse source create --dry-run and --yes when workflow.ts i…
waleedlatif1 Nov 17, 2026
9c33ae0
docs(workflows): state the block key rule, drop sim test, complete th…
waleedlatif1 Nov 17, 2026
267fb70
fix(workflow-code): gate the resources manifest's credentials and env…
waleedlatif1 Nov 17, 2026
42ba8df
fix(workflow-code): keep ids through a chain rename and rewrite renam…
waleedlatif1 Nov 17, 2026
9c869f7
merge fix/wc-r3-dx: review findings on the CLI, SDK and docs
waleedlatif1 Nov 17, 2026
ff8d4f2
fix(workflow-code): refresh the Code tab after a workflow rename or a…
waleedlatif1 Nov 17, 2026
4fac31a
fix(workflow-code): bound compile diagnostics and their code frames
waleedlatif1 Nov 17, 2026
68daaa0
fix(workflow-code): cap compiled edges at the v2 graph limit
waleedlatif1 Nov 17, 2026
db17176
perf(utils): find workflow reference tokens in linear time
waleedlatif1 Nov 17, 2026
12d626f
fix(workflow-code): never print or allocate a key from a credential t…
waleedlatif1 Nov 17, 2026
8727f87
fix(workflow-code): refuse references to blocks a token cannot name
waleedlatif1 Nov 17, 2026
f6dec6c
fix(workflow-code): gate retry on blocks that always run once, and dr…
waleedlatif1 Nov 17, 2026
cce172e
fix(workflow-code): skip regex literals when counting bracket depth
waleedlatif1 Nov 17, 2026
1c2de0c
fix(workflow-code): locate an invalid character in a code file
waleedlatif1 Nov 17, 2026
9fedd3e
fix(workflow-code): refuse infinite number literals and warn on lost …
waleedlatif1 Nov 17, 2026
217d243
docs(workflow-code): say entry spans count from after a leading BOM
waleedlatif1 Nov 17, 2026
f6f073e
fix(workflow-code): give v2 source writes their own tighter rate limit
waleedlatif1 Nov 17, 2026
d013392
perf(workflow-code): compute did-you-mean hints only for recorded war…
waleedlatif1 Nov 17, 2026
deae619
refactor(workflow-code): cut long diagnostic text with truncateAtCode…
waleedlatif1 Nov 17, 2026
091e005
merge fix/wc-r3-server: review findings on resource visibility, apply…
waleedlatif1 Nov 17, 2026
9eddb9f
merge fix/wc-r3-compile: review findings on compile limits, refs and …
waleedlatif1 Nov 17, 2026
2d6aa7d
fix(workflow-code): refuse to print a stored graph over the edge cap;…
waleedlatif1 Nov 17, 2026
0e297c3
chore: shrink the unused-exports baseline now that the edge cap is im…
waleedlatif1 Nov 17, 2026
7dc680d
refactor(workflow-code): classify the SDK core exports in one traits …
waleedlatif1 Nov 17, 2026
272ea33
refactor(workflow-code): define the code-file layout once in limits; …
waleedlatif1 Nov 17, 2026
c638de9
refactor(workflow-code): print params from the shared catalog field i…
waleedlatif1 Nov 17, 2026
0face2c
refactor(workflow-code): call catalogBlock directly in the printer
waleedlatif1 Nov 17, 2026
f36061f
refactor(workflow-code): one edge tuple key for every engine
waleedlatif1 Nov 17, 2026
bb03f7c
refactor(workflow-code): walk storable literals with the shared babel…
waleedlatif1 Nov 17, 2026
4967fec
refactor(workflow-code): read and write stored keys through getOwn an…
waleedlatif1 Nov 17, 2026
6fa0f2a
refactor(workflow-types): share the legacy agent, custom block reserv…
waleedlatif1 Nov 17, 2026
aa16688
refactor(workflow-code): one memberSegment for compile and code files
waleedlatif1 Nov 17, 2026
69c0390
refactor(workflow-code): one stored-list decoder in records
waleedlatif1 Nov 17, 2026
3af3f1b
refactor(workflow-code): compare source meta and preserved params wit…
waleedlatif1 Nov 17, 2026
7906193
fix(workflow-code): read and write prototype-named keys as own data i…
waleedlatif1 Nov 17, 2026
7c100cc
refactor(workflow-code): drop annotations.inactive for executableInac…
waleedlatif1 Nov 17, 2026
18f68cb
refactor(workflow-code): keep the inputFormat and condition source fo…
waleedlatif1 Nov 17, 2026
55ec260
refactor(workflow-code): read projected subBlock flags instead of raw…
waleedlatif1 Nov 17, 2026
d2b5ade
refactor(workflow-code): always infer renames when a prev graph exists
waleedlatif1 Nov 17, 2026
ef82c5c
refactor(workflow-code): push diagnostics directly instead of through…
waleedlatif1 Nov 17, 2026
fb2904b
refactor(workflow-code): name the serializer's surface index serializ…
waleedlatif1 Nov 17, 2026
85a32d2
chore(workflow-code): unexport helpers only their own module uses now
waleedlatif1 Nov 17, 2026
0e28f60
merge fix/wc-simplify-x: one SDK core table, shared layout constants,…
waleedlatif1 Nov 17, 2026
2e212dc
fix(workflow-code): never freeze the host timezone into the catalog a…
waleedlatif1 Nov 17, 2026
be32db5
fix(workflows): never seed a viewer-resolved default on server-side b…
waleedlatif1 Nov 17, 2026
14e0f8e
refactor(workflow-code): move the source catalog and resources use ca…
waleedlatif1 Nov 17, 2026
7a5b04e
perf(api): memoize the validated body of an entity-tagged v2 response…
waleedlatif1 Nov 17, 2026
2b50e18
perf(sim-cli): read source files in batches
waleedlatif1 Nov 17, 2026
a23517c
perf(workflow-code): cache not-addable catalog overlays of registry b…
waleedlatif1 Nov 17, 2026
129fafe
refactor(workflow-code): simplify the source apply path and cut its r…
waleedlatif1 Nov 17, 2026
bfc0678
refactor(workflow-code): the Code tab reads layout fields from the pa…
waleedlatif1 Nov 17, 2026
fc22901
merge fix/wc-simplify-pkg: shared field index and helpers, forms in f…
waleedlatif1 Nov 17, 2026
15c4ff7
merge fix/wc-simplify-apps: one canonicalize and digest per apply, re…
waleedlatif1 Nov 17, 2026
1fd54eb
test(workflow-code): replace a wall-clock ratio with a deterministic …
waleedlatif1 Nov 17, 2026
48ea9eb
docs(workflow-code): document exported source APIs and drop stale mea…
waleedlatif1 Nov 17, 2026
bfc6873
feat(workflow-sdk): add a cookbook example of each common block, embe…
waleedlatif1 Nov 17, 2026
2a2e57f
feat(sim-cli): write .sim/examples/cookbook.ts and point the agent gu…
waleedlatif1 Nov 17, 2026
1d0890f
test(workflow-code): type-check and compile the cookbook against the …
waleedlatif1 Nov 17, 2026
563aa04
test(workflow-code): match the rate limiter mock and annotations shap…
waleedlatif1 Nov 17, 2026
c465031
docs(workflow-sdk): point the cookbook at source resources for real r…
waleedlatif1 Nov 17, 2026
7ad956f
merge: agent cookbook (validated by round-3 dogfood)
waleedlatif1 Nov 17, 2026
b723c0a
fix(sim-cli): omit the provisional workflow id from a create dry run
waleedlatif1 Nov 17, 2026
84a1bc2
fix(executor): escape references spliced inside JSON string literals
waleedlatif1 Nov 17, 2026
497ea93
merge: escape references inside JSON string literals
waleedlatif1 Nov 17, 2026
63862f6
docs(workflow-code): move the materialize context TSDoc and narrow sp…
waleedlatif1 Nov 17, 2026
08f2207
fix(scripts): redact URL paths and non-reference angle brackets in th…
waleedlatif1 Nov 17, 2026
c6f9db1
fix(workflow-code): keep canonical nodes out of JSON field data
waleedlatif1 Nov 17, 2026
0f9cf6a
fix(workflow-code): resolve printed variable tokens by own key only
waleedlatif1 Nov 17, 2026
427b073
fix(workflow-code): order blocks by refs anywhere in a tool entry
waleedlatif1 Nov 17, 2026
fdfc2b3
fix(code-tab): refresh the source after a collaborator's field edit
waleedlatif1 Nov 17, 2026
a250f6d
fix(sim-cli): compare source files in their normalized form so CRLF f…
waleedlatif1 Nov 17, 2026
3029419
fix(workflow-code): read and write workflow-keyed records with getOwn…
waleedlatif1 Nov 17, 2026
8803875
fix(workflow-code): write catalog output and entry keys as own proper…
waleedlatif1 Nov 17, 2026
8b8243b
refactor(workflow-code): drop the dead expansion fallbacks in expandB…
waleedlatif1 Nov 17, 2026
33d447e
fix(workflow-code): escape the lock key in the duplicate lock id pointer
waleedlatif1 Nov 17, 2026
b2218e8
refactor(triggers): import SYSTEM_SUBBLOCK_IDS from its definition
waleedlatif1 Nov 17, 2026
27ec565
refactor(serializer): merge the two canonical-index imports
waleedlatif1 Nov 17, 2026
832cf70
fix(sim-cli): take the workspace of source catalog and resources from…
waleedlatif1 Nov 17, 2026
cd61dbf
fix(workflow-code): report a workflow variable declared without a type
waleedlatif1 Nov 17, 2026
abf92b6
fix(audit): catch constructor reached by destructuring in the pure-pa…
waleedlatif1 Nov 17, 2026
56867ec
fix(workflow-code): report a block() call whose type is not a string …
waleedlatif1 Nov 17, 2026
2790117
fix(workflow-code): list only the env names the caller's runs resolve
waleedlatif1 Nov 17, 2026
55c426e
docs(workflows): the code flag is per deployment, and tidy two lines
waleedlatif1 Nov 17, 2026
ba16358
fix(sim-cli): give source apply and create their own exit-code help
waleedlatif1 Nov 17, 2026
cb431f0
refactor(analytics): drop the single-valued entry field from code_tab…
waleedlatif1 Nov 17, 2026
3ec3037
fix(workflow-code): resolve vars.<declared key> through the normalize…
waleedlatif1 Nov 17, 2026
2100e5e
test(workflow-source): name e2e checks by what they test and round th…
waleedlatif1 Nov 17, 2026
122e2c1
docs(workflow-code): describe ENV_CREDENTIAL_TYPES as the excluded en…
waleedlatif1 Nov 17, 2026
9158c56
fix(workflow-code): name a locked container by its block name in refu…
waleedlatif1 Nov 17, 2026
a8d9212
refactor(workflow-code): derive tool-input fields once per gated block
waleedlatif1 Nov 17, 2026
023407e
fix(sim-cli): print each source finding once on a confirmed terminal …
waleedlatif1 Nov 17, 2026
02095d7
refactor(workflow-code): drop the dead orphan-comment sweep in print
waleedlatif1 Nov 17, 2026
3a1c883
fix(audit): report a Biome spawn failure in the golden check instead …
waleedlatif1 Nov 17, 2026
c80d631
fix(workflow-code): never lift a branch row id or inputFormat field i…
waleedlatif1 Nov 17, 2026
5952604
refactor(workflow-code): stop shadowing catalogBlock() with a parameter
waleedlatif1 Nov 17, 2026
f290bf6
refactor(workflow-code): print branch keys with printKey
waleedlatif1 Nov 17, 2026
425bec0
fix(workflow-code): resolve wiring identifiers like references, with …
waleedlatif1 Nov 17, 2026
5f9780c
refactor(workflow-code): type lock diagnostics with the shared LockDi…
waleedlatif1 Nov 17, 2026
7d65257
refactor(workflow-code): merge toolJson and toolParamJson
waleedlatif1 Nov 17, 2026
fe868ca
refactor(workflow-code): share the store-as-text rule between param a…
waleedlatif1 Nov 17, 2026
08dce0e
fix(workflow-code): count a lone high surrogate as 3 UTF-8 bytes
waleedlatif1 Nov 17, 2026
25348b1
fix(sim-cli): align source command results and point them at the agen…
waleedlatif1 Nov 17, 2026
d4b87d6
fix(workflow-code): refuse todo(), stored() and codeFile() in meta.ex…
waleedlatif1 Nov 17, 2026
7619ce1
fix(workflow-source): echo the caller's base from a refused dry run
waleedlatif1 Nov 17, 2026
72a6a08
fix(workflow-code): report a duplicated stored edge once
waleedlatif1 Nov 17, 2026
84abc8d
fix(workflow-source): gate HEAD on the workflow-code flag like GET
waleedlatif1 Nov 17, 2026
5eca114
docs(resource-keys): fix the resolveIds TSDoc wording
waleedlatif1 Nov 17, 2026
13d5520
fix(workflow-code): warn on a loop or parallel count or batch size th…
waleedlatif1 Nov 17, 2026
35cafc8
fix(workflow-code): keep both members of a basic/advanced pair writte…
waleedlatif1 Nov 17, 2026
6a4a325
fix(workflow-code): state the problem in a boolean meta field's messa…
waleedlatif1 Nov 17, 2026
3375716
refactor(sim-cli): read the source directory's lenient JSON files thr…
waleedlatif1 Nov 17, 2026
ed215c8
refactor(workflow-sdk): share the source compiler options between the…
waleedlatif1 Nov 17, 2026
608b60d
refactor(workflow-sdk): generate both embedded texts from one script
waleedlatif1 Nov 17, 2026
0a70d94
fix(workflow-code): hint a template tag or edge() called as a value b…
waleedlatif1 Nov 17, 2026
a448606
refactor(workflow-source): move the diff summary out of source-locate
waleedlatif1 Nov 17, 2026
6e46f1c
docs(workflow-code): document exported types, doc builders and diagno…
waleedlatif1 Nov 17, 2026
ed0c95c
refactor(workflow-sdk): tidy codegen leftovers
waleedlatif1 Nov 17, 2026
dde3f41
fix(workflow-code): refuse a resource or canonical node inside a JSON…
waleedlatif1 Nov 17, 2026
0c51c45
test(workflow-code): state utf8Bytes expectations without TextEncoder
waleedlatif1 Nov 17, 2026
98159be
docs(sim-cli): document each source exit code and wrap long comments
waleedlatif1 Nov 17, 2026
38fa3ab
test(code-tab): drive the refresh debounce with fake timers
waleedlatif1 Nov 17, 2026
ebf8f41
fix(workflow-code): read an invalid stored loop type the way the seri…
waleedlatif1 Nov 17, 2026
b91de50
fix(workflow-code): warn W_MAT_DELETED_SINCE_PULL only when the block…
waleedlatif1 Nov 17, 2026
349bee2
docs(workflow-code): escape the bidi example in SYNTAX.md and documen…
waleedlatif1 Nov 17, 2026
51b67d0
test(sim-cli): assert the workspace-scoped source reads by request URL
waleedlatif1 Nov 17, 2026
8aaa9cb
test(workflow-code): assert a shared code file is read once instead o…
waleedlatif1 Nov 17, 2026
8c268d6
fix(workflow-code): reject string directives at the top level and in …
waleedlatif1 Nov 17, 2026
ef48f96
perf(workflow-code): refuse an oversize entry before scanning it for …
waleedlatif1 Nov 17, 2026
5914213
refactor(workflow-code): tidy compile tool and option diagnostics
waleedlatif1 Nov 17, 2026
7225679
docs(workflow-code): document the compile module's exported APIs and …
waleedlatif1 Nov 17, 2026
47746d7
test(workflow-code): type the invalid loop type fixture as stored blo…
waleedlatif1 Nov 17, 2026
56e5cfb
fix(workflow-code): name a rejected construct in words instead of its…
waleedlatif1 Nov 17, 2026
0b72615
merge: final audit fixes (server)
waleedlatif1 Nov 17, 2026
bd94cc8
merge: final audit fixes (UI, docs, scripts)
waleedlatif1 Nov 17, 2026
1c2e055
refactor(workflows): import SYSTEM_SUBBLOCK_IDS from @sim/workflow-ty…
waleedlatif1 Nov 17, 2026
e46d41e
merge: final audit fixes (SDK, CLI)
waleedlatif1 Nov 17, 2026
957dfd9
docs(workflow-sdk): point the system subblock comment at its real home
waleedlatif1 Nov 17, 2026
b5661f0
merge: final audit fixes (model pipeline)
waleedlatif1 Nov 17, 2026
1eb3d2d
refactor(workflow-code): keep visibleNames private to the compile con…
waleedlatif1 Nov 17, 2026
46f7dcb
fix(workflow-code): keep function code with carriage returns inline
waleedlatif1 Nov 17, 2026
6c29f97
merge: final audit fixes (compile)
waleedlatif1 Nov 17, 2026
4c4cd04
test(workflow-code): share the registry catalog and SDK type-check he…
waleedlatif1 Nov 17, 2026
f7f3c2e
test(workflow-code): one corpus subject setup and sampler
waleedlatif1 Nov 17, 2026
d9db418
test(workflow-code): reuse gate() for the remaining gateSourceDiff cases
waleedlatif1 Nov 17, 2026
edb17b8
docs(workflow-code): TSDoc the remaining exports and rewrap long comm…
waleedlatif1 Nov 17, 2026
dafbd0a
merge: final audit fixes (app code layer)
waleedlatif1 Nov 17, 2026
0afda3f
merge: final audit fixes (print, catalog)
waleedlatif1 Nov 17, 2026
f6fefb0
fix(workflow-code): let valueTree decide which canonical nodes a JSON…
waleedlatif1 Nov 17, 2026
c1f6594
test(workflow-code): type-check against the shared source compiler op…
waleedlatif1 Nov 17, 2026
be3cce6
refactor(workflow-sdk): derive the unwritten subBlock set from the sh…
waleedlatif1 Nov 17, 2026
43aa9a7
docs(workflow-types): drop trailing comments that restate the system …
waleedlatif1 Nov 17, 2026
d88deca
refactor(workflow-code): share one previous-block lookup in materiali…
waleedlatif1 Nov 17, 2026
d0c1f13
refactor(workflow-code): pass edge error hint and block key as option…
waleedlatif1 Nov 17, 2026
af7bce3
refactor(workflow-code): warn on a parallel batch size from the runti…
waleedlatif1 Nov 17, 2026
9d83d4b
refactor(workflow-code): detect a shared branch row id with a Set
waleedlatif1 Nov 17, 2026
0f845e7
test(workflow-code): no printed file carries a raw carriage return
waleedlatif1 Nov 17, 2026
b83dd30
refactor(workflow-code): inline the one-caller sandboxChanged gate pr…
waleedlatif1 Nov 17, 2026
6e122de
refactor(executor): splice reference and env-var placeholders through…
waleedlatif1 Nov 17, 2026
2bed9fc
fix(executor): treat a paired input as JSON text only while its JSON …
waleedlatif1 Nov 17, 2026
1f00e9c
perf(workflow-code): list env names without ciphertext and read works…
waleedlatif1 Nov 17, 2026
fe2793d
refactor(workflow-code): drive the Code tab refresh from one draft-ch…
waleedlatif1 Nov 17, 2026
fecbbf3
revert: keep JSON-field detection by value type, not canonical mode
waleedlatif1 Nov 17, 2026
348b520
chore(workflow-code): cleanup pass: drop an unused subscription optio…
waleedlatif1 Nov 17, 2026
a94d343
test(workflow-code): drop vacuous and duplicate source tests, assert …
waleedlatif1 Nov 17, 2026
c008a6e
test(workflow-code): drop route-level flag-off cases, isolate Code ta…
waleedlatif1 Nov 17, 2026
7100b3f
merge: origin/staging into feat/workflow-code
waleedlatif1 Nov 17, 2026
645242a
fix(workflow-code): lift agent skills to skill(key) and write { skill…
waleedlatif1 Nov 17, 2026
1d12a72
test(workflow-code): exercise lifted agent skills in the round-trip c…
waleedlatif1 Nov 17, 2026
f7c58e4
merge: lift agent skills to skill(key)
waleedlatif1 Nov 17, 2026
c4db700
fix(workflow-code): list skills and custom tools in the source resour…
waleedlatif1 Nov 17, 2026
68de544
feat(workflow-sdk): type skill and custom tool keys from workspace.d.ts
waleedlatif1 Nov 17, 2026
86eca7c
fix(workflow-code): keep built-in skill entries verbatim without an u…
waleedlatif1 Nov 17, 2026
133fd91
test(workflow-code): give the source resources route fixture skills a…
waleedlatif1 Nov 17, 2026
b3f0264
merge: list skills and custom tools in the source resources manifest
waleedlatif1 Nov 17, 2026
c0155c3
chore(workflow-code): regenerate MCP operations and record the CLI do…
waleedlatif1 Nov 17, 2026
6a2a99b
fix(workflow-code): declare attached tool types in the source catalog
waleedlatif1 Nov 17, 2026
78a249d
fix(workflow-code): reject a variable name that does not normalize to…
waleedlatif1 Nov 17, 2026
3c11617
fix(sim-cli): find referenced code files by parsing the entry as comp…
waleedlatif1 Nov 17, 2026
750393d
fix(workflow-code): report a refused dry run as not a no-op
waleedlatif1 Nov 17, 2026
090cbbb
fix(api): document the 415 on the workflow source write routes
waleedlatif1 Nov 17, 2026
ce1b02d
fix(workflow-code): refuse an inputFormat entry that renames its field
waleedlatif1 Nov 17, 2026
4643a95
fix(workflow-code): reject a stored path with text before a bracket i…
waleedlatif1 Nov 17, 2026
363c5db
fix(workflow-code): refuse branch extra that names a modeled row field
waleedlatif1 Nov 17, 2026
4b3c8f4
fix(workflow-code): fail the sdk-names check on a missing credential …
waleedlatif1 Nov 17, 2026
b5ad3c5
fix(workflow-code): record own-key checks when probing a catalog thunk
waleedlatif1 Nov 17, 2026
b34b746
fix(workflow-code): skip the Code tab refresh for resizes and handle …
waleedlatif1 Nov 17, 2026
e3367b4
fix(workflow-code): push a node's children one at a time when walking…
waleedlatif1 Nov 17, 2026
728d233
fix(workflow-code): treat word joiners, the BOM and other invisible f…
waleedlatif1 Nov 17, 2026
43a9a4b
fix(workflow-code): refuse an inputFormat record entry that names no …
waleedlatif1 Nov 17, 2026
97b583a
test(workflow-code): pin the legacy ~n refusal test's key to the dott…
waleedlatif1 Nov 17, 2026
b0c7f03
fix(workflow-code): compare edges as a set in the row-locked layout-o…
waleedlatif1 Nov 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .github/ci-suites.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@
{
"group": "markdown-viewer",
"task": "ci:e2e-markdown-viewer"
},
{
"group": "workflow-code-ui",
"task": "ci:e2e-workflow-code-ui"
}
],
"production": [
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/ci-plan.gql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ query($base: String!, $head: String!) {
"ci:e2e-assistant-actions", "ci:e2e-organization-search",
"ci:e2e-docs-platform",
"ci:e2e-browser-extension", "ci:e2e-project-files", "ci:e2e-mobile", "ci:e2e-seo",
"ci:e2e-markdown-viewer"
"ci:e2e-markdown-viewer", "ci:e2e-workflow-code-ui"
]) {
items {
name
Expand Down
67 changes: 65 additions & 2 deletions .github/scripts/http-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# CI groups, which reuse the production build from `e2e-build`.
# The job extracts it into apps/sim/.next before running these suites.
#
# Usage: http-e2e.sh <scim|cli|stop-after|desktop-inbox|assistant-actions|organization-search|browser-extension|browser-extension-native|browser-extension-navigation|browser-extension-composer|browser-extension-access|project-files|markdown-viewer|mobile|seo> (run from apps/sim)
# Usage: http-e2e.sh <scim|cli|stop-after|desktop-inbox|assistant-actions|organization-search|browser-extension|browser-extension-native|browser-extension-navigation|browser-extension-composer|browser-extension-access|project-files|markdown-viewer|workflow-code-ui|mobile|seo> (run from apps/sim)
#
# The job provides DATABASE_URL, BETTER_AUTH_SECRET and ENCRYPTION_KEY; each group sets the rest of
# its app's environment here. Reports and server logs land in $RUNNER_TEMP/e2e.
Expand All @@ -20,7 +20,7 @@
# telemetry flush runs detached and still writes .next/dev).
set -euo pipefail

group=${1:?usage: http-e2e.sh <scim|cli|stop-after|desktop-inbox|assistant-actions|organization-search|browser-extension|browser-extension-native|browser-extension-navigation|browser-extension-composer|browser-extension-access|project-files|markdown-viewer|mobile|seo>}
group=${1:?usage: http-e2e.sh <scim|cli|stop-after|desktop-inbox|assistant-actions|organization-search|browser-extension|browser-extension-native|browser-extension-navigation|browser-extension-composer|browser-extension-access|project-files|markdown-viewer|workflow-code-ui|mobile|seo>}
report_dir="$RUNNER_TEMP/e2e"
ready_timeout_seconds=600
mkdir -p "$report_dir"
Expand All @@ -34,6 +34,9 @@ realtime_tag=''
realtime_log=''
browsers_pid=''
local_app_url=''
extra_pids=()
extra_tags=()
extra_logs=()
# `dev` or `start`; a group sets it before start_app.
app_server=${E2E_APP_SERVER:-dev}

Expand All @@ -56,6 +59,13 @@ finish() {
tail -n 200 "$server_log"
fi
fi
for i in "${!extra_pids[@]}"; do
bash "$GITHUB_WORKSPACE/.github/scripts/stop-session.sh" "${extra_pids[$i]}" "${extra_tags[$i]}" || status=1
wait "${extra_pids[$i]}" 2>/dev/null || true
if [ "$status" -ne 0 ]; then
tail -n 100 "${extra_logs[$i]}"
fi
done
if [ -n "$realtime_pid" ]; then
bash "$GITHUB_WORKSPACE/.github/scripts/stop-session.sh" "$realtime_pid" "$realtime_tag" || status=1
wait "$realtime_pid" 2>/dev/null || true
Expand Down Expand Up @@ -119,6 +129,27 @@ start_app() {
wait_ready "$server_pid" "$local_app_url/api/health" "$label app"
}

# start_extra_app <name> <port> <label> [env-argument...]: another `next start` of the same build on
# the same database, beside the group's app, for a suite comparing two runtime configurations.
# The `env` arguments adjust its environment (`-u WORKFLOW_CODE` turns that flag off).
start_extra_app() {
local name=$1 port=$2 label=$3
shift 3
if [ "$app_server" != start ]; then
echo "::error::A second app needs the production build (next start)."
exit 1
fi
local tag="$name-$GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT-$$" url="http://127.0.0.1:$port"
local log="$report_dir/$name-next.log"
E2E_APP="$tag" NEXT_PUBLIC_APP_URL="$url" BETTER_AUTH_URL="$url" LOG_LEVEL=INFO setsid env "$@" \
node ../../node_modules/next/dist/bin/next start --hostname 127.0.0.1 --port "$port" \
> "$log" 2>&1 &
extra_pids+=("$!")
extra_tags+=("$tag")
extra_logs+=("$log")
wait_ready "$!" "$url/api/health" "$label app"
}

# start_realtime <name> <port>: the Socket.IO server the app's browser clients connect to, so pages
# render connected rather than under a "Reconnecting..." notification. Start after start_app, which
# exports the app URL the server allows as an origin; NEXT_PUBLIC_SOCKET_URL must already be set
Expand Down Expand Up @@ -163,6 +194,7 @@ case "$group" in
export DB_TX_TRIPWIRE=throw
export NEXT_PUBLIC_CHAT_DISABLED=true
export SIM_LINKS=true
export WORKFLOW_CODE=true
export PEOPLE=true
export CRON_SECRET=people-directory-sync-local-e2e-secret
start_browser_install people chromium
Expand All @@ -179,6 +211,15 @@ case "$group" in
VERSION_COMPARE_E2E_AUTH_SECRET="$BETTER_AUTH_SECRET" \
VERSION_COMPARE_E2E_REPORT_PATH="$report_dir/version-compare-http-report.json" \
bun run test:workflow-version-compare:e2e
WORKFLOW_SOURCE_E2E_BASE_URL="$local_app_url" \
WORKFLOW_SOURCE_E2E_DATABASE_URL="$DATABASE_URL" \
WORKFLOW_SOURCE_E2E_AUTH_SECRET="$BETTER_AUTH_SECRET" \
WORKFLOW_SOURCE_E2E_REPORT_PATH="$report_dir/workflow-source-e2e-report.json" \
bun run test:workflow-source:e2e
WORKFLOW_SOURCE_APPLY_E2E_BASE_URL="$local_app_url" \
WORKFLOW_SOURCE_APPLY_E2E_DATABASE_URL="$DATABASE_URL" \
WORKFLOW_SOURCE_APPLY_E2E_REPORT_PATH="$report_dir/workflow-source-apply-e2e-report.json" \
bun run test:workflow-source-apply:e2e
SIM_LINKS_E2E_BASE_URL="$local_app_url" \
SIM_LINKS_E2E_DATABASE_URL="$DATABASE_URL" \
SIM_LINKS_E2E_AUTH_SECRET="$BETTER_AUTH_SECRET" \
Expand Down Expand Up @@ -331,6 +372,28 @@ JS
bun run test:markdown-viewer:e2e
;;

# Two apps on one build and database: the Code tab's flag on (with realtime, so canvas edits
# persist) and off, for the suite's flag-off and flag-flip checks.
workflow-code-ui)
app_server=start
export NEXT_PUBLIC_FORCE_HOSTED=false
export NEXT_PUBLIC_CHAT_DISABLED=true
export INTERNAL_API_SECRET=workflow-code-ui-http-ci-local-secret-at-least-32-characters
export NEXT_PUBLIC_SOCKET_URL=http://127.0.0.1:3029 SOCKET_SERVER_URL=http://127.0.0.1:3029
export WORKFLOW_CODE=true
start_browser_install workflow-code-ui --only-shell chromium
start_app workflow-code-ui 3028 'workflow Code tab' record-http-status
start_realtime workflow-code-ui 3029
start_extra_app workflow-code-ui-flag-off 3030 'workflow Code tab (flag off)' -u WORKFLOW_CODE
wait_for_browsers
WORKFLOW_CODE_UI_E2E_BASE_URL="$NEXT_PUBLIC_APP_URL" \
WORKFLOW_CODE_UI_E2E_FLAG_OFF_BASE_URL=http://127.0.0.1:3030 \
WORKFLOW_CODE_UI_E2E_DATABASE_URL="$DATABASE_URL" \
WORKFLOW_CODE_UI_E2E_AUTH_SECRET="$BETTER_AUTH_SECRET" \
WORKFLOW_CODE_UI_E2E_REPORT_PATH="$report_dir/workflow-code-ui-report.json" \
bun run test:workflow-code-ui:e2e
;;

# MOBILE_E2E_BROWSER (chromium or webkit) narrows the job to one browser; unset runs both.
mobile)
app_server=start
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,10 @@ jobs:
- name: Migration safety (zero-downtime) audit
run: bun run check:migrations "${{ steps.audit_base.outputs.ref }}"

# A builder name is public API once a workflow file uses it, so sdk-names.json is add-only.
- name: Frozen SDK names audit
run: bun run check:sdk-names-frozen "${{ steps.audit_base.outputs.ref }}"

# Every affected workspace, following the same real task graph as tests. Root/unknown
# changes select all. packages/emcn, packages/utils,
# apps/desktop and apps/docs had no type check in CI at all; apps/sim's
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
"moveWorkflows",
"getWorkflowState",
"getWorkflowOutline",
"getWorkflowSource",
"applyWorkflowSource",
"createWorkflowFromSource",
"getSourceResources",
"replaceWorkflowState",
"applyWorkflowOperations",
"applyWorkflowVariables",
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/api-reference/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ Some endpoints return an unpaginated bounded inventory or a provider-specific pa

## Rate limits

V2 request limits apply to the credential and its user or workspace. Workflow execution also applies separate synchronous/asynchronous execution buckets, quota, and concurrency policy. Plan and deployment configuration determine the effective limits.
V2 request limits apply to the credential and its user or workspace. Workflow execution also applies separate synchronous/asynchronous execution buckets, quota, and concurrency policy. Writing workflow source (applying it, a dry run, or creating a workflow from it) draws on one tighter budget of its own, 20 requests a minute with bursts of up to 40, on every plan. Plan and deployment configuration determine the other limits.

A rate-limited request returns `429`; `Retry-After` gives seconds to wait. Inspect [Billing status](/api-reference/billing/getBillingStatus) for a workspace's current credits and storage. Async mode does not bypass admission or usage limits.

Expand Down
124 changes: 124 additions & 0 deletions apps/docs/content/docs/cli/reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8171,6 +8171,130 @@ sim workflows export <workflowId> [options]

API request and response schemas: [exportWorkflow](/api-reference/workflows/exportWorkflow).

### sim workflows source catalog

Show the block catalog workflow source is checked against

```bash
sim workflows source catalog [options]
```

**Options**

<CommandTable>

| Option | Required | Description |
| --- | --- | --- |
| `--workflow-id <value>` | No | Return the source catalog for this workflow: the workspace catalog plus every block type already placed in it, the ones the caller could not add marked `addable: false`. |

</CommandTable>

API request and response schemas: [getSourceCatalog](/api-reference/catalog/getSourceCatalog).

### sim workflows source resources

List the tables, knowledge bases, credentials, workflows, skills, custom tools and env names source can name

```bash
sim workflows source resources
```

API request and response schemas: [getSourceResources](/api-reference/workflows/getSourceResources).

### sim workflows source get

Show a workflow’s draft as TypeScript source with its identity lock

```bash
sim workflows source get <workflowId> [options]
```

**Arguments**

<CommandTable>

| Argument | Required | Description |
| --- | --- | --- |
| `workflowId` | Yes | Unique workflow identifier. |

</CommandTable>

**Options**

<CommandTable>

| Option | Required | Description |
| --- | --- | --- |
| `--function-code <value>` | No | Where function-block code goes: `files` (default) writes it to `functions/*` files referenced with `codeFile()`; `inline` prints it in tagged templates. Accepted values: `inline`, `files`. |
| `--dir <dir>` | No | Write the source, its lock and SDK type declarations into this directory instead of printing them. |
| `--force` | No | With --dir: replace another workflow's source or edits no apply has saved. |

</CommandTable>

Exit codes with --dir: 0 written; 1 the command failed, or the directory holds another workflow's source (SOURCE_WORKFLOW_MISMATCH) or edits no apply has saved (SOURCE_LOCAL_EDITS: apply them, get into another directory, or pass --force); 7 the workflow is too large to print as source.

API request and response schemas: [getWorkflowSource](/api-reference/workflows/getWorkflowSource).

### sim workflows source apply

Apply a workflow source directory to a workflow draft

```bash
sim workflows source apply <workflowId> [options]
```

**Arguments**

<CommandTable>

| Argument | Required | Description |
| --- | --- | --- |
| `workflowId` | Yes | Workflow whose draft the source replaces |

</CommandTable>

**Options**

<CommandTable>

| Option | Required | Description |
| --- | --- | --- |
| `--dir <dir>` | Yes | Source directory: workflow.ts, functions/*, .sim/lock.json and .sim/base.json. |
| `--dry-run` | No | Check the source and show the outcome without saving or writing files. |
| `-y, --yes` | No | Apply without asking for confirmation. |

</CommandTable>

Exit codes: 0 applied (or a clean dry run); 1 the source has errors (each printed as file:line:column with its frame and hint) or the command failed; 5 the workflow changed since the directory was read (SOURCE_STALE, on a dry run too: get it again, reapply the edit, retry); 6 the workflow or its folder is locked; 7 the source is too large.

API request and response schemas: [applyWorkflowSource](/api-reference/workflows/applyWorkflowSource).

### sim workflows source create

Create a workflow from a workflow source directory

```bash
sim workflows source create [options]
```

**Options**

<CommandTable>

| Option | Required | Description |
| --- | --- | --- |
| `--dir <dir>` | Yes | Source directory: workflow.ts and functions/*. Without workflow.ts, writes a starter and the types instead (an error with --dry-run or --yes). |
| `--dry-run` | No | Check the source and show the outcome without creating anything. |
| `--name <name>` | No | The workflow name (default: the source's). |
| `--folder <path>` | No | The folder to create it in (default: the root). |
| `-y, --yes` | No | Create without asking for confirmation. |

</CommandTable>

Exit codes: 0 created (or a clean dry run, or a starter written); 1 the source has errors (each printed as file:line:column with its frame and hint), the workflow name is taken (SOURCE_NAME_TAKEN: pass --name), or the command failed; 6 the folder is locked; 7 the source is too large.

API request and response schemas: [createWorkflowFromSource](/api-reference/workflows/createWorkflowFromSource), [getSourceCatalog](/api-reference/catalog/getSourceCatalog), [getSourceResources](/api-reference/workflows/getSourceResources).

### sim workflows get

Get workflow
Expand Down
8 changes: 8 additions & 0 deletions apps/docs/content/docs/cli/scripting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,14 @@ Most successful actions exit 0; API, configuration, or argument failures exit 1.
| `3` | Committed operation requires configuration |
| `4` | Wait timed out |

| Code | `sim workflows source apply` or `create` |
| --- | --- |
| `0` | Applied or created, or a dry run with no errors |
| `1` | The source has errors (each printed as `file:line:column` with its frame and hint), or command/request failure |
| `5` | The workflow changed since the directory was read (`409 SOURCE_STALE`): get it again, reapply the edit, and retry |
| `6` | The workflow is locked (`423`) |
| `7` | The source is over the size limits (`413`) |

Both waits default to 3600 seconds; `--wait-timeout 0` waits indefinitely. `SIM_TIMEOUT_SECONDS` independently bounds one API request. A timeout does not cancel the underlying run or operation.

A synchronous or followed workflow run prints its result before exiting 1 for failure/cancellation. A paused run is not failed and can return 0; use `runs wait` or inspect status if your script requires completion. Fetching a failed run or listing runs only reports their state.
Expand Down
Loading
Loading