@womp/spark-agent 15.2.0 → 15.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.
Files changed (43) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/agent-run.d.ts +1 -1
  3. package/dist/capabilities/materials.js +17 -15
  4. package/dist/generated/account-declarations.d.ts +1 -1
  5. package/dist/generated/account-declarations.js +1 -1
  6. package/dist/generated/asset-import-declarations.d.ts +1 -1
  7. package/dist/generated/asset-import-declarations.js +1 -1
  8. package/dist/generated/assets-declarations.d.ts +1 -1
  9. package/dist/generated/assets-declarations.js +1 -1
  10. package/dist/generated/flow-declarations.d.ts +1 -1
  11. package/dist/generated/flow-declarations.js +1 -1
  12. package/dist/generated/flow-runs-declarations.d.ts +1 -1
  13. package/dist/generated/flow-runs-declarations.js +1 -1
  14. package/dist/generated/geometry-declarations.d.ts +1 -1
  15. package/dist/generated/geometry-declarations.js +1 -1
  16. package/dist/generated/knowledge-declarations.d.ts +1 -1
  17. package/dist/generated/knowledge-declarations.js +1 -1
  18. package/dist/generated/materials-declarations.d.ts +1 -1
  19. package/dist/generated/materials-declarations.js +1 -1
  20. package/dist/generated/openscad-declarations.d.ts +1 -1
  21. package/dist/generated/openscad-declarations.js +1 -1
  22. package/dist/generated/operations-declarations.d.ts +1 -1
  23. package/dist/generated/operations-declarations.js +1 -1
  24. package/dist/generated/print-declarations.d.ts +1 -1
  25. package/dist/generated/print-declarations.js +1 -1
  26. package/dist/generated/scene-declarations.d.ts +1 -1
  27. package/dist/generated/scene-declarations.js +1 -1
  28. package/dist/generated/texture-import-declarations.d.ts +1 -1
  29. package/dist/generated/texture-import-declarations.js +1 -1
  30. package/dist/intent-bench-cases.d.ts +8 -1
  31. package/dist/intent-bench-cases.js +90 -0
  32. package/dist/intent-bench-cli.js +1 -1
  33. package/dist/intent-bench.js +3 -0
  34. package/dist/materials/flowir.d.ts +3 -2
  35. package/dist/materials/flowir.js +27 -19
  36. package/dist/materials/lift.js +11 -6
  37. package/dist/materials/schemas/materials-dialect.json +26 -248
  38. package/dist/models.d.ts +7 -0
  39. package/dist/models.js +9 -0
  40. package/dist/pricing.js +5 -0
  41. package/dist/prompt.d.ts +1 -1
  42. package/dist/prompt.js +16 -1
  43. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,41 @@ Notable changes to `@womp/spark-agent`, newest first. Versions follow
4
4
  [Semantic Versioning](https://semver.org/). Add an entry with each version bump; describe what
5
5
  changed for hosts and users, and how to migrate across breaking changes.
6
6
 
7
+ ## 15.4.0 — 2026-10-27
8
+
9
+ ### Added
10
+
11
+ - GPT-6.1 Terra (`gpt-6.1-terra`) is a Spark chat model, with its pricing.
12
+
13
+ ### Changed
14
+
15
+ - The `procedural-materials` skill (v20) is about 24% smaller (31.4 KB to 23.9 KB as `read_skill`
16
+ returns it): its guidance keeps every rule and number in fewer words, the FlowIR reference
17
+ documents math in two nodes instead of 29, and its declarations are compact (below).
18
+ - Material FlowIR writes math as `Math Operation=<op> First=… Second=…` and
19
+ `ScalarMath Operation=Add|Subtract|Multiply|Divide First=… Second=…`, matching the native Math
20
+ node. `Clamp` is available for every operation, and operations that read two operands reject a
21
+ missing `Second`. `readProgram` returns this form. The earlier per-operation nodes, such as
22
+ `MathSine Value=…` or `ScalarAdd`, no longer compile.
23
+ - Every skill's generated TypeScript declarations are about 21% smaller (49.6 KB to 39.2 KB across
24
+ all skills): keys are unquoted, optional members omit `| undefined`, `false | true` is `boolean`,
25
+ arrays of simple types use `T[]`, and objects that fit on one line stay there. The declared types
26
+ are unchanged; hosts that pin skill text in parity fixtures need to update them.
27
+
28
+ ## 15.3.0 — 2026-10-27
29
+
30
+ ### Changed
31
+
32
+ - Spark makes no sexual content for any user, whatever their 18+ setting: no sexual anatomy, no
33
+ enlarging body parts for sexual appeal, no sexual stories or lore. It judges intent from the
34
+ whole conversation, so a neutral-looking request such as "make the butt bigger" is refused in a
35
+ sexual thread, and consent claims do not change that; unrelated requests proceed. Refusals are one
36
+ sentence, without a lecture or a substitute. Before, gpt-6-luna enlarged body parts on request in
37
+ beta thread 2805085 and generated images for "make a penis" and a sexualized child-coded figure.
38
+ The rule is static prompt text, so prompt caching is unaffected.
39
+ - `intent-bench` has a `safety` group: the requests of beta thread 2805085 replayed turn by turn,
40
+ fresh explicit and child-coded requests, and neutral controls. Cases can seed scene nodes.
41
+
7
42
  ## 15.2.0 — 2026-10-26
8
43
 
9
44
  ### Changed
@@ -8,7 +8,7 @@ export declare function parseAgentRunArgs(args: string[]): {
8
8
  output: string | undefined;
9
9
  images: string[];
10
10
  settings: {
11
- modelId: "gpt-6-astra" | "gpt-6.1-sol" | "gpt-6-sol" | "gpt-6-luna" | "gemini-3.8-flash" | "claude-opus-5-5" | "claude-fable-5";
11
+ modelId: "gpt-6-astra" | "gpt-6.1-sol" | "gpt-6.1-terra" | "gpt-6-sol" | "gpt-6-luna" | "gemini-3.8-flash" | "claude-opus-5-5" | "claude-fable-5";
12
12
  reasoningEffort: ReasoningEffort;
13
13
  };
14
14
  } | null;
@@ -8,22 +8,24 @@ export function createMaterialsCapability(host, captures) {
8
8
  skills: [
9
9
  {
10
10
  name: "procedural-materials",
11
- version: "19",
11
+ version: "20",
12
12
  description: "Author procedural surfaces with FlowIR, calibrate mapping, edit controls, clone, assign and inspect materials.",
13
- instructions: `Use womp.materials for procedural surface appearance. Supply a complete FlowIR program to writeProgram({cloneFrom,layerIndex:0,source,objectIds}) for an isolated material, or {materialId,layerIndex,source} to edit one existing layer. The FlowIR language and supported nodes are documented below; the backend resolves native operations, slot indices, enums and binary payloads, so supported nodes need no descriptor inspection.
14
- read() lists material IDs and direct users. Editing an existing material affects every reference, including procedural geometry references that are not listed; cloneFrom creates an independent copy and isolates shared shader storage automatically. writeProgram preserves base properties and unrelated layers. readProgram(materialId,layerIndex) returns editable source, or null with diagnostics when the native graph cannot be represented safely. Preserve unrelated statements and parameter names. Compatible panel overrides migrate by name and type; reset overrides are reported. Each write returns the current parameter handles (reference IDs with complete value/color pairs): use them after every writeProgram, replacement or reset, and refine controls alone with write({materialId,constants}), preserving the counterpart field. A null constant resets it and returns a new handle.
15
- Coordinates: public X maps to negative renderer Z, public Y to renderer Y, public Z to negative renderer X. World positions use native scene units (1 unit is 25 mm); object positions follow carrier coordinates and ancestor transforms. Compensate non-uniform dimensions and transforms in the mapping, never by modifying geometry, and keep physical feature size consistent with all channels aligned; distinguish intended directional anatomy from smeared stretching.
16
- Colors: author linear RGB in 0..1. Decode display/reference colors with (channel/255)**2.2; preserve already-linear colors and scalar channels. IncomingMaterial's primary, secondary and subsurface colors are display-encoded in layer 0 (decode with MathPower Second=2.2 before calculating with them or writing them back) and linear in later layers; connect decoded colors to keep color while changing only finish. Linear literals and decoded texture colors need no layer correction.
17
- Nodes: ScalarNoise for grayscale fields, VectorNoise for coordinate distortion, ScalarAdd/Subtract/Multiply/Divide for scalar controls. catalog({includeTextures:true}) lists texture paths for PredefinedTexture; refresh it after resource changes. Ports marked literal require written values: ColorRamp stops and ProjectionModeSelector options cannot be wired. Parameters become editable panel controls; const values stay internal; OutputMaterial literals are lowered to connected values automatically.
18
- Aim for the highest fidelity, quality and detail resolution these capabilities support.
19
- 1. Inspect: in one execution, collect target IDs, material users, units, dimensions, bounds and ancestor transforms.
20
- 2. Probe every new material before building its final structure. Create, assign and inspect in one execution recipe({pattern:'grid',coordinateSpace:'object',featureSize:1,colorA:{x:0.45,y:0.35,z:0.2},colorB:{x:0.02,y:0.02,z:0.02},roughnessA:0.45,roughnessB:0.45,relief:'height',reliefScale:0.0003}) written with write({cloneFrom:materialId,layers:[graph],objectIds}); choose the base color for the target. Its major lines every 1 unit and lower-contrast minor lines every 0.1 unit show spacing, stretch, orientation and relief on the relevant faces; correct unintended distortion without changing geometry or transforms. reliefScale is native shading-normal strength, not millimeters (0.0003 is the tested starting strength for this grid); the final OutputHeight.Scale depends on height slope and feature spacing, not on probe values. Replace the probe completely, preserving other material users and assignments.
21
- 3. Plan: decompose the description or reference into broad variation, defining structure and fine grain, recording each component's relative scale, shape, direction, distribution, edge character, contrast and color/roughness/relief contribution. Apply text overrides while keeping the remaining reference features, and separate reference illumination from intrinsic structure. Give microstructure its own scale and strength so dominant motifs do not obscure it.
22
- 4. Build all components and finish channels together in one FlowIR program, using explicit math, palettes and masks for defining features. For textured surfaces, apply the tested readability adjustment once in this first construction: bump scale ×1.25, palette saturation ×1.15, palette lightness ×0.95 and scalar feature contrast ×1.15 around 0.5, clamped to 0..1. Apply color factors in display encoding, then decode back to linear RGB; native HSL inputs are additive offsets. Never compound it during refinement or add a pass for it. Explicit flat, muted or pale requests take precedence; keep reference hues, defining features and the requested finish. These factors are a starting point, not optimum values.
23
- Weight defining height and fine-noise height independently: raising all bump together can erase coherent highlights and turn gloss matte. Relief follows height slope, so finer spacing, sharper edges and more octaves strengthen normals at the same scale; calibrated ranges describe particular fields, not quality ceilings. Adjust palette saturation/lightness separately from feature coverage and edge contrast, using bounded scalar remaps before palettes or masked blends and checking for clipped colors and changed coverage. Keep intrinsic color separate from illumination, preserving natural low-saturation features and coherent highlights. Use roughness variation for finish breakup and signed height profiles for real ridges and cavities; a dark spot alone is not a pit.
24
- 5. Inspect: write each candidate and inspect it jointly in one execution. inspect() waits for compilation and returns joint views when available; status() reports only global queues and does not prove visual success. Read only queueSettled, timedOut, status and the emitted frames. Look at complementary overall, close and grazing views under the existing lighting, geometry and render settings. Match tonal contrast and reflectivity through highlight width, strength and breakup. Confirm every planned feature is visibly resolved (a fine-noise node does not prove fine grain) and that defining relief reads through lighting at the intended viewing distance, not only through its color mask. Subpixel features cannot be resolved by more strength or octaves. If relief destroys the requested sheen, rebalance that feature's height or frequency before compensating with roughness.
25
- 6. Refine: name the largest visible mismatch, its relevant scales and the expected correction. Wrong topology or shape needs construction changes; wrong spacing, color, roughness or relief needs parameter changes. Change related controls together with the returned handles and inspect once. For a structural edit, read, patch, write and inspect in the same execution; read graphs only for a previously unknown material or to recover stale handles. Compare each candidate with the best inspected version at the same views and restore the better graph if a change weakens a defining feature. If tuning does not improve a mismatch, change its construction instead of repeating strength changes. Continue while a specific supported correction is likely to fix a substantial mismatch; stop when the result meets the request or edits stop helping. Never end on an uninspected edit; include final assignment and preservation checks in the final inspection.
26
- Print only the IDs, diagnostics, controls and observations needed for the next step; keep full graphs and source local.
13
+ instructions: `Use womp.materials for procedural surfaces, written as FlowIR (reference below); listed nodes need no catalog inspection.
14
+ - writeProgram({cloneFrom,layerIndex:0,source,objectIds}) writes an isolated copy, shader storage included. {materialId,layerIndex,source} edits that layer for every user, including procedural geometry references read() does not list. Base properties and other layers are kept.
15
+ - readProgram(materialId,layerIndex) returns editable source, or null with diagnostics; keep unrelated statements and parameter names.
16
+ - Params become panel controls whose overrides survive rewrites by name and type (resets are reported); consts stay internal. Each write returns the current parameter handles: refine controls alone with write({materialId,constants}) using them, keeping the counterpart value/color field; null resets one and returns a new handle.
17
+ - ScalarNoise suits grayscale fields, VectorNoise coordinate distortion, ScalarMath scalar controls. catalog({includeTextures:true}) lists PredefinedTexture paths (refreshTextures after resource changes). ColorRamp stops and ProjectionModeSelector options must be literals.
18
+ Coordinates: public X is renderer -Z, Z is renderer -X; 1 world unit is 25 mm; object positions follow ancestor transforms. Compensate non-uniform dimensions in the mapping, never in geometry, keeping feature size physical, channels aligned and only intended directional stretch.
19
+ Colors are linear RGB 0..1: decode display colors with (c/255)**2.2. IncomingMaterial colors are display-encoded in layer 0 (decode with Math Operation=Power Second=2.2 before use) and linear in later layers; wire decoded colors through to change only finish.
20
+ Aim for the highest fidelity and detail supported:
21
+ 1. Survey targets in one execution: IDs, material users, dimensions, bounds, ancestor transforms.
22
+ 2. Probe each new material in one execution: write({cloneFrom:materialId,layers:[await womp.materials.recipe({pattern:'grid',coordinateSpace:'object',featureSize:1,colorA:{x:0.45,y:0.35,z:0.2},colorB:{x:0.02,y:0.02,z:0.02},roughnessA:0.45,roughnessB:0.45,relief:'height',reliefScale:0.0003})],objectIds}) with a base color suited to the target, then inspect. Lines every 1 unit, fainter every 0.1, reveal spacing, stretch, orientation and relief; fix unintended distortion in the mapping. reliefScale is a probe strength; the final OutputHeight.Scale depends on height slope and feature spacing. Then replace the probe completely, keeping other users and assignments.
23
+ 3. Plan broad variation, defining structure and fine grain: each one's scale, shape, direction, distribution, edges, contrast and color/roughness/relief role. Text overrides the reference; keep its other features and separate its lighting from intrinsic structure. Give microstructure its own scale and strength.
24
+ 4. Build every component and channel in one program with explicit math, palettes and masks. For textured surfaces apply once, in this first build only: bump ×1.25, palette saturation ×1.15 and lightness ×0.95 (in display encoding, then decode), scalar feature contrast ×1.15 around 0.5 clamped to 0..1. Explicit flat, muted or pale requests win; keep reference hues and the requested finish. HSL inputs are additive offsets.
25
+ Weight defining and fine-noise height separately: raising all bump erases coherent highlights and turns gloss matte. Finer spacing, sharper edges and more octaves strengthen normals at the same Scale. Tune saturation/lightness apart from coverage and edge contrast, with bounded remaps before palettes or masked blends, without clipping. Keep intrinsic color apart from illumination, preserving natural low-saturation features. Use roughness variation for finish breakup and signed height for ridges and cavities; a dark spot alone is not a pit.
26
+ 5. Inspect each candidate in the same execution as its write: inspect() waits for compilation (status() proves nothing visual); read only queueSettled, timedOut, status and the frames. Use overall, close and grazing views under the existing lighting. Match contrast and reflectivity through highlight width, strength and breakup. Confirm every planned feature is visibly resolved (a fine-noise node is not fine grain) and defining relief reads through lighting, not only color; strength or octaves cannot resolve subpixel features. If relief kills the requested sheen, rebalance its height or frequency before roughness.
27
+ 6. Refine: name the largest visible mismatch and the expected correction. Wrong shape or topology needs construction changes; wrong spacing, color, roughness or relief needs parameter changes, made together through the handles. For structural edits read, patch, write and inspect in one execution; reread only unknown materials or stale handles. Compare with the best inspected candidate at the same views and restore it if a defining feature weakens. When tuning stops helping, change construction. Stop when the result meets the request or edits stop helping; never end on an uninspected edit, and check assignment and preservation in the final inspection.
28
+ Print only what the next step needs; keep full graphs and source local.
27
29
 
28
30
  ${materialFlowirReference()}`,
29
31
  declarations: WOMP_MATERIALS_DECLARATIONS,
@@ -1 +1 @@
1
- export declare const WOMP_ACCOUNT_DECLARATIONS = "declare const womp: { account: {\n\"read\": ((options: {\n\"sections\": Array<\"profile\" | \"teams\" | \"credits\" | \"subscription\" | \"billing\" | \"orders\" | \"cart\" | \"projects\" | \"notifications\" | \"workflows\">;\n\"from\"?: undefined | number;\n\"count\"?: undefined | number;\n}) => Promise<{\n\"provenance\": {\n\"kind\": \"live\";\n\"observedAt\": string;\n} | {\n\"kind\": \"fixture\";\n\"profile\": \"demo-account\";\n\"fictional\": true;\n};\n\"profile\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n} | {\n\"status\": \"available\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"data\": {\n\"userId\": string;\n\"name\": string;\n\"email\"?: undefined | null | string;\n\"biography\"?: undefined | null | string;\n\"picture\"?: undefined | null | string;\n\"isPro\"?: undefined | false | true;\n\"subStatus\"?: undefined | null | string;\n\"verified\"?: undefined | false | true;\n\"tier\"?: undefined | number;\n\"roles\"?: undefined | string;\n\"permissions\"?: undefined | string;\n\"projectCount\"?: undefined | number;\n\"publicProjectCount\"?: undefined | number;\n\"followerCount\"?: undefined | number;\n\"followeeCount\"?: undefined | number;\n\"totalLikeCount\"?: undefined | number;\n\"point\"?: undefined | number;\n\"thisWeekPoint\"?: undefined | number;\n\"createdAt\"?: undefined | string;\n\"lastEditedAt\"?: undefined | string;\n\"addresses\"?: undefined | Array<{\n\"name\": string;\n\"city\": string;\n\"country\": string;\n\"line1\": string;\n\"line2\"?: undefined | null | string;\n\"postalCode\": string;\n\"state\"?: undefined | null | string;\n\"phoneNumber\"?: undefined | null | string;\n}>;\n\"badges\"?: undefined | Array<{\n\"id\": string;\n\"description\": string;\n\"symbol\": string;\n}>;\n};\n};\n\"teams\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n} | {\n\"status\": \"available\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"data\": Array<{\n\"teamId\": string;\n\"name\": string;\n\"roles\": string;\n\"accepted\": false | true;\n\"memberCount\"?: undefined | number;\n\"seats\"?: undefined | number;\n}>;\n};\n\"credits\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n} | {\n\"status\": \"available\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"data\": Array<{\n\"unit\": \"aip\" | \"3dpd\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"available\": number;\n\"subscription\": number;\n\"periodical\": number;\n\"canUseSubscriptionCredit\": false | true;\n\"buckets\": Array<{\n\"net\": number;\n\"originalNet\": number;\n\"activeSubscriptionId\": null | string;\n\"periodicalFrom\": null | string;\n\"transactionId\": null | string;\n\"transactionFrom\": null | string;\n}>;\n}>;\n};\n\"subscription\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n} | {\n\"status\": \"available\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"data\": null | {\n\"id\": number;\n\"status\": string;\n\"period\": string;\n\"createdAt\": string;\n\"trialEndAt\"?: undefined | null | string;\n\"endAt\"?: undefined | null | string;\n\"cancelAt\"?: undefined | null | string;\n\"canceledAt\"?: undefined | null | string;\n\"endedAt\"?: undefined | null | string;\n\"price\"?: undefined | number;\n};\n};\n\"billing\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n} | {\n\"status\": \"available\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"data\": {\n\"balance\": number;\n\"history\": {\n\"items\": Array<{\n\"invoiceId\": string;\n\"amountPaid\": number;\n\"paymentDate\": string;\n\"paymentStatus\": string;\n\"description\": null | string;\n\"via\": string;\n}>;\n\"from\": number;\n\"nextFrom\": null | number;\n\"totalCount\"?: undefined | number;\n};\n\"upcoming\": null | {\n\"amountDue\": number;\n\"total\": number;\n\"dueDate\": string;\n\"lines\": Array<{\n\"amount\": number;\n\"description\": null | string;\n}>;\n};\n\"paymentMethods\": Array<{\n\"type\": string;\n\"brand\"?: undefined | string;\n\"last4\"?: undefined | string;\n\"default\": false | true;\n\"status\"?: undefined | string;\n}>;\n};\n};\n\"orders\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n} | {\n\"status\": \"available\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"data\": {\n\"items\": Array<{\n\"id\": number;\n\"status\": number;\n\"statusName\": string;\n\"totalCost\": number;\n\"shippingCost\": number;\n\"shippingService\"?: undefined | null | string;\n\"createdAt\": string;\n\"deliveredAt\"?: undefined | null | string;\n\"clientShippingStartedAt\"?: undefined | null | string;\n\"clientShippingDays\"?: undefined | null | number;\n\"orderItems\": Array<{\n\"id\": number;\n\"title\": string;\n\"projectId\": null | number;\n\"projectTitle\"?: undefined | null | string;\n\"quantity\": number;\n\"status\": number;\n\"materialName\"?: undefined | null | string;\n\"color\"?: undefined | null | string;\n\"surface\"?: undefined | null | string;\n\"previewUrl\"?: undefined | null | string;\n\"pricings\"?: undefined | null | Array<{\n\"selected\": false | true;\n\"salePrice\": number;\n\"discount\"?: undefined | number;\n\"needPro\"?: undefined | false | true;\n}>;\n}>;\n\"addrTo\"?: undefined | null | {\n\"name\": string;\n\"city\": string;\n\"country\": string;\n\"line1\": string;\n\"line2\"?: undefined | null | string;\n\"postalCode\": string;\n\"state\"?: undefined | null | string;\n\"phoneNumber\"?: undefined | null | string;\n};\n\"shipments\"?: undefined | Array<{\n\"carrier\"?: undefined | string;\n\"trackingNumber\": string;\n\"trackingStatus\": string;\n}>;\n}>;\n\"from\": number;\n\"nextFrom\": null | number;\n\"totalCount\"?: undefined | number;\n};\n};\n\"cart\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n} | {\n\"status\": \"available\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"data\": {\n\"items\": Array<{\n\"id\": number;\n\"title\": string;\n\"projectId\": null | number;\n\"projectTitle\"?: undefined | null | string;\n\"quantity\": number;\n\"status\": number;\n\"materialName\"?: undefined | null | string;\n\"color\"?: undefined | null | string;\n\"surface\"?: undefined | null | string;\n\"previewUrl\"?: undefined | null | string;\n\"pricings\"?: undefined | null | Array<{\n\"selected\": false | true;\n\"salePrice\": number;\n\"discount\"?: undefined | number;\n\"needPro\"?: undefined | false | true;\n}>;\n}>;\n\"from\": number;\n\"nextFrom\": null | number;\n\"totalCount\"?: undefined | number;\n};\n};\n\"projects\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n} | {\n\"status\": \"available\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"data\": {\n\"items\": Array<{\n\"id\": number;\n\"title\": string;\n\"userId\"?: undefined | string;\n\"teamId\"?: undefined | null | string;\n\"public\": false | true;\n\"createdAt\"?: undefined | string;\n\"updatedAt\"?: undefined | string;\n\"thumbnailUrl\"?: undefined | null | string;\n\"labels\"?: undefined | Array<string>;\n}>;\n\"from\": number;\n\"nextFrom\": null | number;\n\"totalCount\"?: undefined | number;\n};\n};\n\"notifications\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n} | {\n\"status\": \"available\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"data\": {\n\"items\": Array<{\n\"id\": number;\n\"type\": string;\n\"read\": false | true;\n\"seen\": false | true;\n\"createdAt\": string;\n\"details\": {\n[key: string]: unknown;\n};\n}>;\n\"from\": number;\n\"nextFrom\": null | number;\n\"totalCount\"?: undefined | number;\n};\n};\n\"workflows\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n} | {\n\"status\": \"available\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"data\": {\n\"items\": Array<{\n\"id\": number;\n\"name\": string;\n\"type\": string;\n\"description\"?: undefined | null | string;\n\"capabilities\"?: undefined | Array<string>;\n}>;\n\"from\": number;\n\"nextFrom\": null | number;\n\"totalCount\"?: undefined | number;\n};\n};\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
1
+ export declare const WOMP_ACCOUNT_DECLARATIONS = "declare const womp: { account: {\nread: ((options: {\nsections: Array<\"profile\" | \"teams\" | \"credits\" | \"subscription\" | \"billing\" | \"orders\" | \"cart\" | \"projects\" | \"notifications\" | \"workflows\">;\nfrom?: number;\ncount?: number;\n}) => Promise<{\nprovenance: { kind: \"live\"; observedAt: string; } | { kind: \"fixture\"; profile: \"demo-account\"; fictional: true; };\nprofile?: { status: \"unavailable\"; reason: string; } | {\nstatus: \"available\";\nscope: { userId: string; teamId: null | string; };\ndata: {\nuserId: string;\nname: string;\nemail?: null | string;\nbiography?: null | string;\npicture?: null | string;\nisPro?: boolean;\nsubStatus?: null | string;\nverified?: boolean;\ntier?: number;\nroles?: string;\npermissions?: string;\nprojectCount?: number;\npublicProjectCount?: number;\nfollowerCount?: number;\nfolloweeCount?: number;\ntotalLikeCount?: number;\npoint?: number;\nthisWeekPoint?: number;\ncreatedAt?: string;\nlastEditedAt?: string;\naddresses?: {\nname: string;\ncity: string;\ncountry: string;\nline1: string;\nline2?: null | string;\npostalCode: string;\nstate?: null | string;\nphoneNumber?: null | string;\n}[];\nbadges?: { id: string; description: string; symbol: string; }[];\n};\n};\nteams?: { status: \"unavailable\"; reason: string; } | {\nstatus: \"available\";\nscope: { userId: string; teamId: null | string; };\ndata: {\nteamId: string;\nname: string;\nroles: string;\naccepted: boolean;\nmemberCount?: number;\nseats?: number;\n}[];\n};\ncredits?: { status: \"unavailable\"; reason: string; } | {\nstatus: \"available\";\nscope: { userId: string; teamId: null | string; };\ndata: {\nunit: \"aip\" | \"3dpd\";\nscope: { userId: string; teamId: null | string; };\navailable: number;\nsubscription: number;\nperiodical: number;\ncanUseSubscriptionCredit: boolean;\nbuckets: {\nnet: number;\noriginalNet: number;\nactiveSubscriptionId: null | string;\nperiodicalFrom: null | string;\ntransactionId: null | string;\ntransactionFrom: null | string;\n}[];\n}[];\n};\nsubscription?: { status: \"unavailable\"; reason: string; } | {\nstatus: \"available\";\nscope: { userId: string; teamId: null | string; };\ndata: null | {\nid: number;\nstatus: string;\nperiod: string;\ncreatedAt: string;\ntrialEndAt?: null | string;\nendAt?: null | string;\ncancelAt?: null | string;\ncanceledAt?: null | string;\nendedAt?: null | string;\nprice?: number;\n};\n};\nbilling?: { status: \"unavailable\"; reason: string; } | {\nstatus: \"available\";\nscope: { userId: string; teamId: null | string; };\ndata: {\nbalance: number;\nhistory: {\nitems: {\ninvoiceId: string;\namountPaid: number;\npaymentDate: string;\npaymentStatus: string;\ndescription: null | string;\nvia: string;\n}[];\nfrom: number;\nnextFrom: null | number;\ntotalCount?: number;\n};\nupcoming: null | {\namountDue: number;\ntotal: number;\ndueDate: string;\nlines: { amount: number; description: null | string; }[];\n};\npaymentMethods: { type: string; brand?: string; last4?: string; default: boolean; status?: string; }[];\n};\n};\norders?: { status: \"unavailable\"; reason: string; } | {\nstatus: \"available\";\nscope: { userId: string; teamId: null | string; };\ndata: {\nitems: {\nid: number;\nstatus: number;\nstatusName: string;\ntotalCost: number;\nshippingCost: number;\nshippingService?: null | string;\ncreatedAt: string;\ndeliveredAt?: null | string;\nclientShippingStartedAt?: null | string;\nclientShippingDays?: null | number;\norderItems: {\nid: number;\ntitle: string;\nprojectId: null | number;\nprojectTitle?: null | string;\nquantity: number;\nstatus: number;\nmaterialName?: null | string;\ncolor?: null | string;\nsurface?: null | string;\npreviewUrl?: null | string;\npricings?: null | { selected: boolean; salePrice: number; discount?: number; needPro?: boolean; }[];\n}[];\naddrTo?: null | {\nname: string;\ncity: string;\ncountry: string;\nline1: string;\nline2?: null | string;\npostalCode: string;\nstate?: null | string;\nphoneNumber?: null | string;\n};\nshipments?: { carrier?: string; trackingNumber: string; trackingStatus: string; }[];\n}[];\nfrom: number;\nnextFrom: null | number;\ntotalCount?: number;\n};\n};\ncart?: { status: \"unavailable\"; reason: string; } | {\nstatus: \"available\";\nscope: { userId: string; teamId: null | string; };\ndata: {\nitems: {\nid: number;\ntitle: string;\nprojectId: null | number;\nprojectTitle?: null | string;\nquantity: number;\nstatus: number;\nmaterialName?: null | string;\ncolor?: null | string;\nsurface?: null | string;\npreviewUrl?: null | string;\npricings?: null | { selected: boolean; salePrice: number; discount?: number; needPro?: boolean; }[];\n}[];\nfrom: number;\nnextFrom: null | number;\ntotalCount?: number;\n};\n};\nprojects?: { status: \"unavailable\"; reason: string; } | {\nstatus: \"available\";\nscope: { userId: string; teamId: null | string; };\ndata: {\nitems: {\nid: number;\ntitle: string;\nuserId?: string;\nteamId?: null | string;\npublic: boolean;\ncreatedAt?: string;\nupdatedAt?: string;\nthumbnailUrl?: null | string;\nlabels?: string[];\n}[];\nfrom: number;\nnextFrom: null | number;\ntotalCount?: number;\n};\n};\nnotifications?: { status: \"unavailable\"; reason: string; } | {\nstatus: \"available\";\nscope: { userId: string; teamId: null | string; };\ndata: {\nitems: {\nid: number;\ntype: string;\nread: boolean;\nseen: boolean;\ncreatedAt: string;\ndetails: { [key: string]: unknown; };\n}[];\nfrom: number;\nnextFrom: null | number;\ntotalCount?: number;\n};\n};\nworkflows?: { status: \"unavailable\"; reason: string; } | {\nstatus: \"available\";\nscope: { userId: string; teamId: null | string; };\ndata: {\nitems: { id: number; name: string; type: string; description?: null | string; capabilities?: string[]; }[];\nfrom: number;\nnextFrom: null | number;\ntotalCount?: number;\n};\n};\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
@@ -1,3 +1,3 @@
1
1
  // Generated by scripts/generate-skill-declarations.mjs.
2
2
  // prettier-ignore
3
- export const WOMP_ACCOUNT_DECLARATIONS = "declare const womp: { account: {\n\"read\": ((options: {\n\"sections\": Array<\"profile\" | \"teams\" | \"credits\" | \"subscription\" | \"billing\" | \"orders\" | \"cart\" | \"projects\" | \"notifications\" | \"workflows\">;\n\"from\"?: undefined | number;\n\"count\"?: undefined | number;\n}) => Promise<{\n\"provenance\": {\n\"kind\": \"live\";\n\"observedAt\": string;\n} | {\n\"kind\": \"fixture\";\n\"profile\": \"demo-account\";\n\"fictional\": true;\n};\n\"profile\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n} | {\n\"status\": \"available\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"data\": {\n\"userId\": string;\n\"name\": string;\n\"email\"?: undefined | null | string;\n\"biography\"?: undefined | null | string;\n\"picture\"?: undefined | null | string;\n\"isPro\"?: undefined | false | true;\n\"subStatus\"?: undefined | null | string;\n\"verified\"?: undefined | false | true;\n\"tier\"?: undefined | number;\n\"roles\"?: undefined | string;\n\"permissions\"?: undefined | string;\n\"projectCount\"?: undefined | number;\n\"publicProjectCount\"?: undefined | number;\n\"followerCount\"?: undefined | number;\n\"followeeCount\"?: undefined | number;\n\"totalLikeCount\"?: undefined | number;\n\"point\"?: undefined | number;\n\"thisWeekPoint\"?: undefined | number;\n\"createdAt\"?: undefined | string;\n\"lastEditedAt\"?: undefined | string;\n\"addresses\"?: undefined | Array<{\n\"name\": string;\n\"city\": string;\n\"country\": string;\n\"line1\": string;\n\"line2\"?: undefined | null | string;\n\"postalCode\": string;\n\"state\"?: undefined | null | string;\n\"phoneNumber\"?: undefined | null | string;\n}>;\n\"badges\"?: undefined | Array<{\n\"id\": string;\n\"description\": string;\n\"symbol\": string;\n}>;\n};\n};\n\"teams\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n} | {\n\"status\": \"available\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"data\": Array<{\n\"teamId\": string;\n\"name\": string;\n\"roles\": string;\n\"accepted\": false | true;\n\"memberCount\"?: undefined | number;\n\"seats\"?: undefined | number;\n}>;\n};\n\"credits\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n} | {\n\"status\": \"available\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"data\": Array<{\n\"unit\": \"aip\" | \"3dpd\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"available\": number;\n\"subscription\": number;\n\"periodical\": number;\n\"canUseSubscriptionCredit\": false | true;\n\"buckets\": Array<{\n\"net\": number;\n\"originalNet\": number;\n\"activeSubscriptionId\": null | string;\n\"periodicalFrom\": null | string;\n\"transactionId\": null | string;\n\"transactionFrom\": null | string;\n}>;\n}>;\n};\n\"subscription\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n} | {\n\"status\": \"available\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"data\": null | {\n\"id\": number;\n\"status\": string;\n\"period\": string;\n\"createdAt\": string;\n\"trialEndAt\"?: undefined | null | string;\n\"endAt\"?: undefined | null | string;\n\"cancelAt\"?: undefined | null | string;\n\"canceledAt\"?: undefined | null | string;\n\"endedAt\"?: undefined | null | string;\n\"price\"?: undefined | number;\n};\n};\n\"billing\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n} | {\n\"status\": \"available\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"data\": {\n\"balance\": number;\n\"history\": {\n\"items\": Array<{\n\"invoiceId\": string;\n\"amountPaid\": number;\n\"paymentDate\": string;\n\"paymentStatus\": string;\n\"description\": null | string;\n\"via\": string;\n}>;\n\"from\": number;\n\"nextFrom\": null | number;\n\"totalCount\"?: undefined | number;\n};\n\"upcoming\": null | {\n\"amountDue\": number;\n\"total\": number;\n\"dueDate\": string;\n\"lines\": Array<{\n\"amount\": number;\n\"description\": null | string;\n}>;\n};\n\"paymentMethods\": Array<{\n\"type\": string;\n\"brand\"?: undefined | string;\n\"last4\"?: undefined | string;\n\"default\": false | true;\n\"status\"?: undefined | string;\n}>;\n};\n};\n\"orders\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n} | {\n\"status\": \"available\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"data\": {\n\"items\": Array<{\n\"id\": number;\n\"status\": number;\n\"statusName\": string;\n\"totalCost\": number;\n\"shippingCost\": number;\n\"shippingService\"?: undefined | null | string;\n\"createdAt\": string;\n\"deliveredAt\"?: undefined | null | string;\n\"clientShippingStartedAt\"?: undefined | null | string;\n\"clientShippingDays\"?: undefined | null | number;\n\"orderItems\": Array<{\n\"id\": number;\n\"title\": string;\n\"projectId\": null | number;\n\"projectTitle\"?: undefined | null | string;\n\"quantity\": number;\n\"status\": number;\n\"materialName\"?: undefined | null | string;\n\"color\"?: undefined | null | string;\n\"surface\"?: undefined | null | string;\n\"previewUrl\"?: undefined | null | string;\n\"pricings\"?: undefined | null | Array<{\n\"selected\": false | true;\n\"salePrice\": number;\n\"discount\"?: undefined | number;\n\"needPro\"?: undefined | false | true;\n}>;\n}>;\n\"addrTo\"?: undefined | null | {\n\"name\": string;\n\"city\": string;\n\"country\": string;\n\"line1\": string;\n\"line2\"?: undefined | null | string;\n\"postalCode\": string;\n\"state\"?: undefined | null | string;\n\"phoneNumber\"?: undefined | null | string;\n};\n\"shipments\"?: undefined | Array<{\n\"carrier\"?: undefined | string;\n\"trackingNumber\": string;\n\"trackingStatus\": string;\n}>;\n}>;\n\"from\": number;\n\"nextFrom\": null | number;\n\"totalCount\"?: undefined | number;\n};\n};\n\"cart\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n} | {\n\"status\": \"available\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"data\": {\n\"items\": Array<{\n\"id\": number;\n\"title\": string;\n\"projectId\": null | number;\n\"projectTitle\"?: undefined | null | string;\n\"quantity\": number;\n\"status\": number;\n\"materialName\"?: undefined | null | string;\n\"color\"?: undefined | null | string;\n\"surface\"?: undefined | null | string;\n\"previewUrl\"?: undefined | null | string;\n\"pricings\"?: undefined | null | Array<{\n\"selected\": false | true;\n\"salePrice\": number;\n\"discount\"?: undefined | number;\n\"needPro\"?: undefined | false | true;\n}>;\n}>;\n\"from\": number;\n\"nextFrom\": null | number;\n\"totalCount\"?: undefined | number;\n};\n};\n\"projects\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n} | {\n\"status\": \"available\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"data\": {\n\"items\": Array<{\n\"id\": number;\n\"title\": string;\n\"userId\"?: undefined | string;\n\"teamId\"?: undefined | null | string;\n\"public\": false | true;\n\"createdAt\"?: undefined | string;\n\"updatedAt\"?: undefined | string;\n\"thumbnailUrl\"?: undefined | null | string;\n\"labels\"?: undefined | Array<string>;\n}>;\n\"from\": number;\n\"nextFrom\": null | number;\n\"totalCount\"?: undefined | number;\n};\n};\n\"notifications\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n} | {\n\"status\": \"available\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"data\": {\n\"items\": Array<{\n\"id\": number;\n\"type\": string;\n\"read\": false | true;\n\"seen\": false | true;\n\"createdAt\": string;\n\"details\": {\n[key: string]: unknown;\n};\n}>;\n\"from\": number;\n\"nextFrom\": null | number;\n\"totalCount\"?: undefined | number;\n};\n};\n\"workflows\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n} | {\n\"status\": \"available\";\n\"scope\": {\n\"userId\": string;\n\"teamId\": null | string;\n};\n\"data\": {\n\"items\": Array<{\n\"id\": number;\n\"name\": string;\n\"type\": string;\n\"description\"?: undefined | null | string;\n\"capabilities\"?: undefined | Array<string>;\n}>;\n\"from\": number;\n\"nextFrom\": null | number;\n\"totalCount\"?: undefined | number;\n};\n};\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
3
+ export const WOMP_ACCOUNT_DECLARATIONS = "declare const womp: { account: {\nread: ((options: {\nsections: Array<\"profile\" | \"teams\" | \"credits\" | \"subscription\" | \"billing\" | \"orders\" | \"cart\" | \"projects\" | \"notifications\" | \"workflows\">;\nfrom?: number;\ncount?: number;\n}) => Promise<{\nprovenance: { kind: \"live\"; observedAt: string; } | { kind: \"fixture\"; profile: \"demo-account\"; fictional: true; };\nprofile?: { status: \"unavailable\"; reason: string; } | {\nstatus: \"available\";\nscope: { userId: string; teamId: null | string; };\ndata: {\nuserId: string;\nname: string;\nemail?: null | string;\nbiography?: null | string;\npicture?: null | string;\nisPro?: boolean;\nsubStatus?: null | string;\nverified?: boolean;\ntier?: number;\nroles?: string;\npermissions?: string;\nprojectCount?: number;\npublicProjectCount?: number;\nfollowerCount?: number;\nfolloweeCount?: number;\ntotalLikeCount?: number;\npoint?: number;\nthisWeekPoint?: number;\ncreatedAt?: string;\nlastEditedAt?: string;\naddresses?: {\nname: string;\ncity: string;\ncountry: string;\nline1: string;\nline2?: null | string;\npostalCode: string;\nstate?: null | string;\nphoneNumber?: null | string;\n}[];\nbadges?: { id: string; description: string; symbol: string; }[];\n};\n};\nteams?: { status: \"unavailable\"; reason: string; } | {\nstatus: \"available\";\nscope: { userId: string; teamId: null | string; };\ndata: {\nteamId: string;\nname: string;\nroles: string;\naccepted: boolean;\nmemberCount?: number;\nseats?: number;\n}[];\n};\ncredits?: { status: \"unavailable\"; reason: string; } | {\nstatus: \"available\";\nscope: { userId: string; teamId: null | string; };\ndata: {\nunit: \"aip\" | \"3dpd\";\nscope: { userId: string; teamId: null | string; };\navailable: number;\nsubscription: number;\nperiodical: number;\ncanUseSubscriptionCredit: boolean;\nbuckets: {\nnet: number;\noriginalNet: number;\nactiveSubscriptionId: null | string;\nperiodicalFrom: null | string;\ntransactionId: null | string;\ntransactionFrom: null | string;\n}[];\n}[];\n};\nsubscription?: { status: \"unavailable\"; reason: string; } | {\nstatus: \"available\";\nscope: { userId: string; teamId: null | string; };\ndata: null | {\nid: number;\nstatus: string;\nperiod: string;\ncreatedAt: string;\ntrialEndAt?: null | string;\nendAt?: null | string;\ncancelAt?: null | string;\ncanceledAt?: null | string;\nendedAt?: null | string;\nprice?: number;\n};\n};\nbilling?: { status: \"unavailable\"; reason: string; } | {\nstatus: \"available\";\nscope: { userId: string; teamId: null | string; };\ndata: {\nbalance: number;\nhistory: {\nitems: {\ninvoiceId: string;\namountPaid: number;\npaymentDate: string;\npaymentStatus: string;\ndescription: null | string;\nvia: string;\n}[];\nfrom: number;\nnextFrom: null | number;\ntotalCount?: number;\n};\nupcoming: null | {\namountDue: number;\ntotal: number;\ndueDate: string;\nlines: { amount: number; description: null | string; }[];\n};\npaymentMethods: { type: string; brand?: string; last4?: string; default: boolean; status?: string; }[];\n};\n};\norders?: { status: \"unavailable\"; reason: string; } | {\nstatus: \"available\";\nscope: { userId: string; teamId: null | string; };\ndata: {\nitems: {\nid: number;\nstatus: number;\nstatusName: string;\ntotalCost: number;\nshippingCost: number;\nshippingService?: null | string;\ncreatedAt: string;\ndeliveredAt?: null | string;\nclientShippingStartedAt?: null | string;\nclientShippingDays?: null | number;\norderItems: {\nid: number;\ntitle: string;\nprojectId: null | number;\nprojectTitle?: null | string;\nquantity: number;\nstatus: number;\nmaterialName?: null | string;\ncolor?: null | string;\nsurface?: null | string;\npreviewUrl?: null | string;\npricings?: null | { selected: boolean; salePrice: number; discount?: number; needPro?: boolean; }[];\n}[];\naddrTo?: null | {\nname: string;\ncity: string;\ncountry: string;\nline1: string;\nline2?: null | string;\npostalCode: string;\nstate?: null | string;\nphoneNumber?: null | string;\n};\nshipments?: { carrier?: string; trackingNumber: string; trackingStatus: string; }[];\n}[];\nfrom: number;\nnextFrom: null | number;\ntotalCount?: number;\n};\n};\ncart?: { status: \"unavailable\"; reason: string; } | {\nstatus: \"available\";\nscope: { userId: string; teamId: null | string; };\ndata: {\nitems: {\nid: number;\ntitle: string;\nprojectId: null | number;\nprojectTitle?: null | string;\nquantity: number;\nstatus: number;\nmaterialName?: null | string;\ncolor?: null | string;\nsurface?: null | string;\npreviewUrl?: null | string;\npricings?: null | { selected: boolean; salePrice: number; discount?: number; needPro?: boolean; }[];\n}[];\nfrom: number;\nnextFrom: null | number;\ntotalCount?: number;\n};\n};\nprojects?: { status: \"unavailable\"; reason: string; } | {\nstatus: \"available\";\nscope: { userId: string; teamId: null | string; };\ndata: {\nitems: {\nid: number;\ntitle: string;\nuserId?: string;\nteamId?: null | string;\npublic: boolean;\ncreatedAt?: string;\nupdatedAt?: string;\nthumbnailUrl?: null | string;\nlabels?: string[];\n}[];\nfrom: number;\nnextFrom: null | number;\ntotalCount?: number;\n};\n};\nnotifications?: { status: \"unavailable\"; reason: string; } | {\nstatus: \"available\";\nscope: { userId: string; teamId: null | string; };\ndata: {\nitems: {\nid: number;\ntype: string;\nread: boolean;\nseen: boolean;\ncreatedAt: string;\ndetails: { [key: string]: unknown; };\n}[];\nfrom: number;\nnextFrom: null | number;\ntotalCount?: number;\n};\n};\nworkflows?: { status: \"unavailable\"; reason: string; } | {\nstatus: \"available\";\nscope: { userId: string; teamId: null | string; };\ndata: {\nitems: { id: number; name: string; type: string; description?: null | string; capabilities?: string[]; }[];\nfrom: number;\nnextFrom: null | number;\ntotalCount?: number;\n};\n};\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
@@ -1 +1 @@
1
- export declare const WOMP_ASSET_IMPORT_DECLARATIONS = "declare const womp: { assets: {\n\"importMesh\": ((request: {\n\"key\": string;\n\"source\": {\n\"id\": string;\n\"mediaType\": string;\n\"name\"?: undefined | string;\n};\n\"destination\": \"scene\" | \"library\";\n} & {\n\"ifNoAnswer\"?: undefined | \"import\" | \"skip\";\n}) => Promise<{\n\"key\": string;\n\"status\": \"ready\" | \"completed\" | \"unknown\" | \"processing\" | \"partial\" | \"cancelled\" | \"failed\";\n\"tasks\": Array<{\n\"id\": number;\n\"projectId\": null | number;\n\"status\": string;\n\"fileName\"?: undefined | string;\n\"error\"?: undefined | string;\n}>;\n\"assets\": Array<{\n\"id\": number;\n\"projectId\": null | number;\n\"type\": \"mesh\" | \"field\" | \"decal\";\n}>;\n\"objectIds\": Array<number>;\n\"omittedFiles\"?: undefined | Array<{\n\"fileName\": string;\n\"projectId\": null | number;\n}>;\n\"reason\"?: undefined | string;\n\"unanswered\"?: undefined | true;\n}>);\n\"retryMeshImport\": ((request: {\n\"key\": string;\n\"fileName\": string;\n}) => Promise<{\n\"key\": string;\n\"status\": \"ready\" | \"completed\" | \"unknown\" | \"processing\" | \"partial\" | \"cancelled\" | \"failed\";\n\"tasks\": Array<{\n\"id\": number;\n\"projectId\": null | number;\n\"status\": string;\n\"fileName\"?: undefined | string;\n\"error\"?: undefined | string;\n}>;\n\"assets\": Array<{\n\"id\": number;\n\"projectId\": null | number;\n\"type\": \"mesh\" | \"field\" | \"decal\";\n}>;\n\"objectIds\": Array<number>;\n\"omittedFiles\"?: undefined | Array<{\n\"fileName\": string;\n\"projectId\": null | number;\n}>;\n\"reason\"?: undefined | string;\n\"unanswered\"?: undefined | true;\n}>);\n\"importImage\": ((request: {\n\"key\": string;\n\"source\": {\n\"id\": string;\n\"mediaType\": string;\n\"name\"?: undefined | string;\n};\n\"destination\": \"scene\" | \"library\";\n} & {\n\"kind\": \"image-plane\" | \"sticker\";\n\"removeBackground\"?: undefined | false | true;\n}) => Promise<{\n\"key\": string;\n\"status\": \"ready\" | \"completed\" | \"unknown\" | \"processing\" | \"partial\" | \"cancelled\" | \"failed\";\n\"tasks\": Array<{\n\"id\": number;\n\"projectId\": null | number;\n\"status\": string;\n\"fileName\"?: undefined | string;\n\"error\"?: undefined | string;\n}>;\n\"assets\": Array<{\n\"id\": number;\n\"projectId\": null | number;\n\"type\": \"mesh\" | \"field\" | \"decal\";\n}>;\n\"objectIds\": Array<number>;\n\"omittedFiles\"?: undefined | Array<{\n\"fileName\": string;\n\"projectId\": null | number;\n}>;\n\"reason\"?: undefined | string;\n\"unanswered\"?: undefined | true;\n}>);\n\"readImport\": ((key: string) => Promise<{\n\"key\": string;\n\"status\": \"ready\" | \"completed\" | \"unknown\" | \"processing\" | \"partial\" | \"cancelled\" | \"failed\";\n\"tasks\": Array<{\n\"id\": number;\n\"projectId\": null | number;\n\"status\": string;\n\"fileName\"?: undefined | string;\n\"error\"?: undefined | string;\n}>;\n\"assets\": Array<{\n\"id\": number;\n\"projectId\": null | number;\n\"type\": \"mesh\" | \"field\" | \"decal\";\n}>;\n\"objectIds\": Array<number>;\n\"omittedFiles\"?: undefined | Array<{\n\"fileName\": string;\n\"projectId\": null | number;\n}>;\n\"reason\"?: undefined | string;\n\"unanswered\"?: undefined | true;\n}>);\n\"finishImport\": ((key: string, options?: undefined | {\n\"timeoutMs\"?: undefined | number;\n}) => Promise<{\n\"key\": string;\n\"status\": \"ready\" | \"completed\" | \"unknown\" | \"processing\" | \"partial\" | \"cancelled\" | \"failed\";\n\"tasks\": Array<{\n\"id\": number;\n\"projectId\": null | number;\n\"status\": string;\n\"fileName\"?: undefined | string;\n\"error\"?: undefined | string;\n}>;\n\"assets\": Array<{\n\"id\": number;\n\"projectId\": null | number;\n\"type\": \"mesh\" | \"field\" | \"decal\";\n}>;\n\"objectIds\": Array<number>;\n\"omittedFiles\"?: undefined | Array<{\n\"fileName\": string;\n\"projectId\": null | number;\n}>;\n\"reason\"?: undefined | string;\n\"unanswered\"?: undefined | true;\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
1
+ export declare const WOMP_ASSET_IMPORT_DECLARATIONS = "declare const womp: { assets: {\nimportMesh: ((request: {\nkey: string;\nsource: { id: string; mediaType: string; name?: string; };\ndestination: \"scene\" | \"library\";\n} & { ifNoAnswer?: \"import\" | \"skip\"; }) => Promise<{\nkey: string;\nstatus: \"ready\" | \"completed\" | \"unknown\" | \"processing\" | \"partial\" | \"cancelled\" | \"failed\";\ntasks: { id: number; projectId: null | number; status: string; fileName?: string; error?: string; }[];\nassets: { id: number; projectId: null | number; type: \"mesh\" | \"field\" | \"decal\"; }[];\nobjectIds: number[];\nomittedFiles?: { fileName: string; projectId: null | number; }[];\nreason?: string;\nunanswered?: true;\n}>);\nretryMeshImport: ((request: { key: string; fileName: string; }) => Promise<{\nkey: string;\nstatus: \"ready\" | \"completed\" | \"unknown\" | \"processing\" | \"partial\" | \"cancelled\" | \"failed\";\ntasks: { id: number; projectId: null | number; status: string; fileName?: string; error?: string; }[];\nassets: { id: number; projectId: null | number; type: \"mesh\" | \"field\" | \"decal\"; }[];\nobjectIds: number[];\nomittedFiles?: { fileName: string; projectId: null | number; }[];\nreason?: string;\nunanswered?: true;\n}>);\nimportImage: ((request: {\nkey: string;\nsource: { id: string; mediaType: string; name?: string; };\ndestination: \"scene\" | \"library\";\n} & { kind: \"image-plane\" | \"sticker\"; removeBackground?: boolean; }) => Promise<{\nkey: string;\nstatus: \"ready\" | \"completed\" | \"unknown\" | \"processing\" | \"partial\" | \"cancelled\" | \"failed\";\ntasks: { id: number; projectId: null | number; status: string; fileName?: string; error?: string; }[];\nassets: { id: number; projectId: null | number; type: \"mesh\" | \"field\" | \"decal\"; }[];\nobjectIds: number[];\nomittedFiles?: { fileName: string; projectId: null | number; }[];\nreason?: string;\nunanswered?: true;\n}>);\nreadImport: ((key: string) => Promise<{\nkey: string;\nstatus: \"ready\" | \"completed\" | \"unknown\" | \"processing\" | \"partial\" | \"cancelled\" | \"failed\";\ntasks: { id: number; projectId: null | number; status: string; fileName?: string; error?: string; }[];\nassets: { id: number; projectId: null | number; type: \"mesh\" | \"field\" | \"decal\"; }[];\nobjectIds: number[];\nomittedFiles?: { fileName: string; projectId: null | number; }[];\nreason?: string;\nunanswered?: true;\n}>);\nfinishImport: ((key: string, options?: { timeoutMs?: number; }) => Promise<{\nkey: string;\nstatus: \"ready\" | \"completed\" | \"unknown\" | \"processing\" | \"partial\" | \"cancelled\" | \"failed\";\ntasks: { id: number; projectId: null | number; status: string; fileName?: string; error?: string; }[];\nassets: { id: number; projectId: null | number; type: \"mesh\" | \"field\" | \"decal\"; }[];\nobjectIds: number[];\nomittedFiles?: { fileName: string; projectId: null | number; }[];\nreason?: string;\nunanswered?: true;\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
@@ -1,3 +1,3 @@
1
1
  // Generated by scripts/generate-skill-declarations.mjs.
2
2
  // prettier-ignore
3
- export const WOMP_ASSET_IMPORT_DECLARATIONS = "declare const womp: { assets: {\n\"importMesh\": ((request: {\n\"key\": string;\n\"source\": {\n\"id\": string;\n\"mediaType\": string;\n\"name\"?: undefined | string;\n};\n\"destination\": \"scene\" | \"library\";\n} & {\n\"ifNoAnswer\"?: undefined | \"import\" | \"skip\";\n}) => Promise<{\n\"key\": string;\n\"status\": \"ready\" | \"completed\" | \"unknown\" | \"processing\" | \"partial\" | \"cancelled\" | \"failed\";\n\"tasks\": Array<{\n\"id\": number;\n\"projectId\": null | number;\n\"status\": string;\n\"fileName\"?: undefined | string;\n\"error\"?: undefined | string;\n}>;\n\"assets\": Array<{\n\"id\": number;\n\"projectId\": null | number;\n\"type\": \"mesh\" | \"field\" | \"decal\";\n}>;\n\"objectIds\": Array<number>;\n\"omittedFiles\"?: undefined | Array<{\n\"fileName\": string;\n\"projectId\": null | number;\n}>;\n\"reason\"?: undefined | string;\n\"unanswered\"?: undefined | true;\n}>);\n\"retryMeshImport\": ((request: {\n\"key\": string;\n\"fileName\": string;\n}) => Promise<{\n\"key\": string;\n\"status\": \"ready\" | \"completed\" | \"unknown\" | \"processing\" | \"partial\" | \"cancelled\" | \"failed\";\n\"tasks\": Array<{\n\"id\": number;\n\"projectId\": null | number;\n\"status\": string;\n\"fileName\"?: undefined | string;\n\"error\"?: undefined | string;\n}>;\n\"assets\": Array<{\n\"id\": number;\n\"projectId\": null | number;\n\"type\": \"mesh\" | \"field\" | \"decal\";\n}>;\n\"objectIds\": Array<number>;\n\"omittedFiles\"?: undefined | Array<{\n\"fileName\": string;\n\"projectId\": null | number;\n}>;\n\"reason\"?: undefined | string;\n\"unanswered\"?: undefined | true;\n}>);\n\"importImage\": ((request: {\n\"key\": string;\n\"source\": {\n\"id\": string;\n\"mediaType\": string;\n\"name\"?: undefined | string;\n};\n\"destination\": \"scene\" | \"library\";\n} & {\n\"kind\": \"image-plane\" | \"sticker\";\n\"removeBackground\"?: undefined | false | true;\n}) => Promise<{\n\"key\": string;\n\"status\": \"ready\" | \"completed\" | \"unknown\" | \"processing\" | \"partial\" | \"cancelled\" | \"failed\";\n\"tasks\": Array<{\n\"id\": number;\n\"projectId\": null | number;\n\"status\": string;\n\"fileName\"?: undefined | string;\n\"error\"?: undefined | string;\n}>;\n\"assets\": Array<{\n\"id\": number;\n\"projectId\": null | number;\n\"type\": \"mesh\" | \"field\" | \"decal\";\n}>;\n\"objectIds\": Array<number>;\n\"omittedFiles\"?: undefined | Array<{\n\"fileName\": string;\n\"projectId\": null | number;\n}>;\n\"reason\"?: undefined | string;\n\"unanswered\"?: undefined | true;\n}>);\n\"readImport\": ((key: string) => Promise<{\n\"key\": string;\n\"status\": \"ready\" | \"completed\" | \"unknown\" | \"processing\" | \"partial\" | \"cancelled\" | \"failed\";\n\"tasks\": Array<{\n\"id\": number;\n\"projectId\": null | number;\n\"status\": string;\n\"fileName\"?: undefined | string;\n\"error\"?: undefined | string;\n}>;\n\"assets\": Array<{\n\"id\": number;\n\"projectId\": null | number;\n\"type\": \"mesh\" | \"field\" | \"decal\";\n}>;\n\"objectIds\": Array<number>;\n\"omittedFiles\"?: undefined | Array<{\n\"fileName\": string;\n\"projectId\": null | number;\n}>;\n\"reason\"?: undefined | string;\n\"unanswered\"?: undefined | true;\n}>);\n\"finishImport\": ((key: string, options?: undefined | {\n\"timeoutMs\"?: undefined | number;\n}) => Promise<{\n\"key\": string;\n\"status\": \"ready\" | \"completed\" | \"unknown\" | \"processing\" | \"partial\" | \"cancelled\" | \"failed\";\n\"tasks\": Array<{\n\"id\": number;\n\"projectId\": null | number;\n\"status\": string;\n\"fileName\"?: undefined | string;\n\"error\"?: undefined | string;\n}>;\n\"assets\": Array<{\n\"id\": number;\n\"projectId\": null | number;\n\"type\": \"mesh\" | \"field\" | \"decal\";\n}>;\n\"objectIds\": Array<number>;\n\"omittedFiles\"?: undefined | Array<{\n\"fileName\": string;\n\"projectId\": null | number;\n}>;\n\"reason\"?: undefined | string;\n\"unanswered\"?: undefined | true;\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
3
+ export const WOMP_ASSET_IMPORT_DECLARATIONS = "declare const womp: { assets: {\nimportMesh: ((request: {\nkey: string;\nsource: { id: string; mediaType: string; name?: string; };\ndestination: \"scene\" | \"library\";\n} & { ifNoAnswer?: \"import\" | \"skip\"; }) => Promise<{\nkey: string;\nstatus: \"ready\" | \"completed\" | \"unknown\" | \"processing\" | \"partial\" | \"cancelled\" | \"failed\";\ntasks: { id: number; projectId: null | number; status: string; fileName?: string; error?: string; }[];\nassets: { id: number; projectId: null | number; type: \"mesh\" | \"field\" | \"decal\"; }[];\nobjectIds: number[];\nomittedFiles?: { fileName: string; projectId: null | number; }[];\nreason?: string;\nunanswered?: true;\n}>);\nretryMeshImport: ((request: { key: string; fileName: string; }) => Promise<{\nkey: string;\nstatus: \"ready\" | \"completed\" | \"unknown\" | \"processing\" | \"partial\" | \"cancelled\" | \"failed\";\ntasks: { id: number; projectId: null | number; status: string; fileName?: string; error?: string; }[];\nassets: { id: number; projectId: null | number; type: \"mesh\" | \"field\" | \"decal\"; }[];\nobjectIds: number[];\nomittedFiles?: { fileName: string; projectId: null | number; }[];\nreason?: string;\nunanswered?: true;\n}>);\nimportImage: ((request: {\nkey: string;\nsource: { id: string; mediaType: string; name?: string; };\ndestination: \"scene\" | \"library\";\n} & { kind: \"image-plane\" | \"sticker\"; removeBackground?: boolean; }) => Promise<{\nkey: string;\nstatus: \"ready\" | \"completed\" | \"unknown\" | \"processing\" | \"partial\" | \"cancelled\" | \"failed\";\ntasks: { id: number; projectId: null | number; status: string; fileName?: string; error?: string; }[];\nassets: { id: number; projectId: null | number; type: \"mesh\" | \"field\" | \"decal\"; }[];\nobjectIds: number[];\nomittedFiles?: { fileName: string; projectId: null | number; }[];\nreason?: string;\nunanswered?: true;\n}>);\nreadImport: ((key: string) => Promise<{\nkey: string;\nstatus: \"ready\" | \"completed\" | \"unknown\" | \"processing\" | \"partial\" | \"cancelled\" | \"failed\";\ntasks: { id: number; projectId: null | number; status: string; fileName?: string; error?: string; }[];\nassets: { id: number; projectId: null | number; type: \"mesh\" | \"field\" | \"decal\"; }[];\nobjectIds: number[];\nomittedFiles?: { fileName: string; projectId: null | number; }[];\nreason?: string;\nunanswered?: true;\n}>);\nfinishImport: ((key: string, options?: { timeoutMs?: number; }) => Promise<{\nkey: string;\nstatus: \"ready\" | \"completed\" | \"unknown\" | \"processing\" | \"partial\" | \"cancelled\" | \"failed\";\ntasks: { id: number; projectId: null | number; status: string; fileName?: string; error?: string; }[];\nassets: { id: number; projectId: null | number; type: \"mesh\" | \"field\" | \"decal\"; }[];\nobjectIds: number[];\nomittedFiles?: { fileName: string; projectId: null | number; }[];\nreason?: string;\nunanswered?: true;\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
@@ -1 +1 @@
1
- export declare const WOMP_ASSETS_DECLARATIONS = "declare const womp: { assets: {\n\"list\": ((options?: undefined | {\n\"from\"?: undefined | number;\n\"count\"?: undefined | number;\n\"messageId\"?: undefined | number;\n\"kind\"?: undefined | \"mesh\" | \"image\" | \"file\";\n\"source\"?: undefined | \"uploaded\" | \"input\" | \"generated\" | \"agent\";\n}) => Promise<{\n\"items\": Array<{\n\"artifact\": {\n\"id\": string;\n\"mediaType\": string;\n\"name\"?: undefined | string;\n};\n\"messageId\": number;\n\"kind\": \"mesh\" | \"image\" | \"file\";\n\"source\": \"uploaded\" | \"input\" | \"generated\" | \"agent\";\n}>;\n\"nextFrom\": null | number;\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
1
+ export declare const WOMP_ASSETS_DECLARATIONS = "declare const womp: { assets: {\nlist: ((options?: {\nfrom?: number;\ncount?: number;\nmessageId?: number;\nkind?: \"mesh\" | \"image\" | \"file\";\nsource?: \"uploaded\" | \"input\" | \"generated\" | \"agent\";\n}) => Promise<{\nitems: {\nartifact: { id: string; mediaType: string; name?: string; };\nmessageId: number;\nkind: \"mesh\" | \"image\" | \"file\";\nsource: \"uploaded\" | \"input\" | \"generated\" | \"agent\";\n}[];\nnextFrom: null | number;\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
@@ -1,3 +1,3 @@
1
1
  // Generated by scripts/generate-skill-declarations.mjs.
2
2
  // prettier-ignore
3
- export const WOMP_ASSETS_DECLARATIONS = "declare const womp: { assets: {\n\"list\": ((options?: undefined | {\n\"from\"?: undefined | number;\n\"count\"?: undefined | number;\n\"messageId\"?: undefined | number;\n\"kind\"?: undefined | \"mesh\" | \"image\" | \"file\";\n\"source\"?: undefined | \"uploaded\" | \"input\" | \"generated\" | \"agent\";\n}) => Promise<{\n\"items\": Array<{\n\"artifact\": {\n\"id\": string;\n\"mediaType\": string;\n\"name\"?: undefined | string;\n};\n\"messageId\": number;\n\"kind\": \"mesh\" | \"image\" | \"file\";\n\"source\": \"uploaded\" | \"input\" | \"generated\" | \"agent\";\n}>;\n\"nextFrom\": null | number;\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
3
+ export const WOMP_ASSETS_DECLARATIONS = "declare const womp: { assets: {\nlist: ((options?: {\nfrom?: number;\ncount?: number;\nmessageId?: number;\nkind?: \"mesh\" | \"image\" | \"file\";\nsource?: \"uploaded\" | \"input\" | \"generated\" | \"agent\";\n}) => Promise<{\nitems: {\nartifact: { id: string; mediaType: string; name?: string; };\nmessageId: number;\nkind: \"mesh\" | \"image\" | \"file\";\nsource: \"uploaded\" | \"input\" | \"generated\" | \"agent\";\n}[];\nnextFrom: null | number;\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
@@ -1 +1 @@
1
- export declare const WOMP_FLOW_DECLARATIONS = "declare const womp: { flow: {\n\"read\": (() => Promise<{\n\"flowId\": string;\n\"source\": null | string;\n\"revision\": string;\n\"preservedInputs\": {\n[key: string]: Array<string>;\n};\n\"diagnostics\": Array<string>;\n}>);\n\"write\": ((options: {\n\"source\": string;\n\"expectedRevision\": string;\n}) => Promise<{\n\"status\": \"applied\" | \"rejected\" | \"unchanged\";\n\"flowId\": string;\n\"revision\": string;\n\"diagnostics\": Array<string>;\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
1
+ export declare const WOMP_FLOW_DECLARATIONS = "declare const womp: { flow: {\nread: (() => Promise<{\nflowId: string;\nsource: null | string;\nrevision: string;\npreservedInputs: { [key: string]: string[]; };\ndiagnostics: string[];\n}>);\nwrite: ((options: { source: string; expectedRevision: string; }) => Promise<{\nstatus: \"applied\" | \"rejected\" | \"unchanged\";\nflowId: string;\nrevision: string;\ndiagnostics: string[];\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
@@ -1,3 +1,3 @@
1
1
  // Generated by scripts/generate-skill-declarations.mjs.
2
2
  // prettier-ignore
3
- export const WOMP_FLOW_DECLARATIONS = "declare const womp: { flow: {\n\"read\": (() => Promise<{\n\"flowId\": string;\n\"source\": null | string;\n\"revision\": string;\n\"preservedInputs\": {\n[key: string]: Array<string>;\n};\n\"diagnostics\": Array<string>;\n}>);\n\"write\": ((options: {\n\"source\": string;\n\"expectedRevision\": string;\n}) => Promise<{\n\"status\": \"applied\" | \"rejected\" | \"unchanged\";\n\"flowId\": string;\n\"revision\": string;\n\"diagnostics\": Array<string>;\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
3
+ export const WOMP_FLOW_DECLARATIONS = "declare const womp: { flow: {\nread: (() => Promise<{\nflowId: string;\nsource: null | string;\nrevision: string;\npreservedInputs: { [key: string]: string[]; };\ndiagnostics: string[];\n}>);\nwrite: ((options: { source: string; expectedRevision: string; }) => Promise<{\nstatus: \"applied\" | \"rejected\" | \"unchanged\";\nflowId: string;\nrevision: string;\ndiagnostics: string[];\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
@@ -1 +1 @@
1
- export declare const WOMP_FLOW_RUNS_DECLARATIONS = "declare const womp: { flowRuns: {\n\"describe\": (() => Promise<{\n\"projectId\": number;\n\"snapshotId\": string;\n\"inputs\": Array<{\n\"nodeId\": string;\n\"typeId\": string;\n\"valueType\": string;\n\"value\": unknown;\n\"required\": false | true;\n}>;\n\"outputs\": Array<{\n\"nodeId\": string;\n\"typeId\": string;\n}>;\n\"liveRun\": null | {\n\"runId\": string;\n\"trigger\": string;\n};\n}>);\n\"run\": ((options?: undefined | {\n\"inputs\"?: undefined | {\n[key: string]: unknown;\n};\n\"copy\"?: undefined | false | true;\n\"deleteCopy\"?: undefined | false | true;\n}) => Promise<{\n\"runId\": string;\n\"status\": string;\n\"repeated\": false | true;\n\"projectId\": number;\n\"sourceProjectId\": null | number;\n\"projectUrl\": null | string;\n\"deleteCopy\": false | true;\n\"copyDeletedAt\": null | string;\n\"failedNodes\"?: undefined | Array<{\n\"nodeId\": string;\n\"label\": string;\n\"reason\"?: undefined | string;\n}>;\n}>);\n\"status\": ((runId: string) => Promise<{\n\"runId\": string;\n\"status\": string;\n\"outputs\": unknown;\n\"error\": null | string;\n\"errorCode\": null | string;\n\"reported\": null | \"now\" | \"earlier\";\n\"projectId\": number;\n\"sourceProjectId\": null | number;\n\"projectUrl\": null | string;\n\"deleteCopy\": false | true;\n\"copyDeletedAt\": null | string;\n\"failedNodes\"?: undefined | Array<{\n\"nodeId\": string;\n\"label\": string;\n\"reason\"?: undefined | string;\n}>;\n}>);\n\"wait\": ((runId: string, seconds?: undefined | number) => Promise<{\n\"runId\": string;\n\"status\": string;\n\"outputs\": unknown;\n\"error\": null | string;\n\"errorCode\": null | string;\n\"reported\": null | \"now\" | \"earlier\";\n\"projectId\": number;\n\"sourceProjectId\": null | number;\n\"projectUrl\": null | string;\n\"deleteCopy\": false | true;\n\"copyDeletedAt\": null | string;\n\"failedNodes\"?: undefined | Array<{\n\"nodeId\": string;\n\"label\": string;\n\"reason\"?: undefined | string;\n}>;\n}>);\n\"cancel\": ((runId: string) => Promise<{\n\"runId\": string;\n\"status\": string;\n\"cancelled\": false | true;\n}>);\n\"deleteCopy\": ((runId: string) => Promise<{\n\"runId\": string;\n\"copyDeletedAt\": string;\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
1
+ export declare const WOMP_FLOW_RUNS_DECLARATIONS = "declare const womp: { flowRuns: {\ndescribe: (() => Promise<{\nprojectId: number;\nsnapshotId: string;\ninputs: { nodeId: string; typeId: string; valueType: string; value: unknown; required: boolean; }[];\noutputs: { nodeId: string; typeId: string; }[];\nliveRun: null | { runId: string; trigger: string; };\n}>);\nrun: ((options?: { inputs?: { [key: string]: unknown; }; copy?: boolean; deleteCopy?: boolean; }) => Promise<{\nrunId: string;\nstatus: string;\nrepeated: boolean;\nprojectId: number;\nsourceProjectId: null | number;\nprojectUrl: null | string;\ndeleteCopy: boolean;\ncopyDeletedAt: null | string;\nfailedNodes?: { nodeId: string; label: string; reason?: string; }[];\n}>);\nstatus: ((runId: string) => Promise<{\nrunId: string;\nstatus: string;\noutputs: unknown;\nerror: null | string;\nerrorCode: null | string;\nreported: null | \"now\" | \"earlier\";\nprojectId: number;\nsourceProjectId: null | number;\nprojectUrl: null | string;\ndeleteCopy: boolean;\ncopyDeletedAt: null | string;\nfailedNodes?: { nodeId: string; label: string; reason?: string; }[];\n}>);\nwait: ((runId: string, seconds?: number) => Promise<{\nrunId: string;\nstatus: string;\noutputs: unknown;\nerror: null | string;\nerrorCode: null | string;\nreported: null | \"now\" | \"earlier\";\nprojectId: number;\nsourceProjectId: null | number;\nprojectUrl: null | string;\ndeleteCopy: boolean;\ncopyDeletedAt: null | string;\nfailedNodes?: { nodeId: string; label: string; reason?: string; }[];\n}>);\ncancel: ((runId: string) => Promise<{ runId: string; status: string; cancelled: boolean; }>);\ndeleteCopy: ((runId: string) => Promise<{ runId: string; copyDeletedAt: string; }>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
@@ -1,3 +1,3 @@
1
1
  // Generated by scripts/generate-skill-declarations.mjs.
2
2
  // prettier-ignore
3
- export const WOMP_FLOW_RUNS_DECLARATIONS = "declare const womp: { flowRuns: {\n\"describe\": (() => Promise<{\n\"projectId\": number;\n\"snapshotId\": string;\n\"inputs\": Array<{\n\"nodeId\": string;\n\"typeId\": string;\n\"valueType\": string;\n\"value\": unknown;\n\"required\": false | true;\n}>;\n\"outputs\": Array<{\n\"nodeId\": string;\n\"typeId\": string;\n}>;\n\"liveRun\": null | {\n\"runId\": string;\n\"trigger\": string;\n};\n}>);\n\"run\": ((options?: undefined | {\n\"inputs\"?: undefined | {\n[key: string]: unknown;\n};\n\"copy\"?: undefined | false | true;\n\"deleteCopy\"?: undefined | false | true;\n}) => Promise<{\n\"runId\": string;\n\"status\": string;\n\"repeated\": false | true;\n\"projectId\": number;\n\"sourceProjectId\": null | number;\n\"projectUrl\": null | string;\n\"deleteCopy\": false | true;\n\"copyDeletedAt\": null | string;\n\"failedNodes\"?: undefined | Array<{\n\"nodeId\": string;\n\"label\": string;\n\"reason\"?: undefined | string;\n}>;\n}>);\n\"status\": ((runId: string) => Promise<{\n\"runId\": string;\n\"status\": string;\n\"outputs\": unknown;\n\"error\": null | string;\n\"errorCode\": null | string;\n\"reported\": null | \"now\" | \"earlier\";\n\"projectId\": number;\n\"sourceProjectId\": null | number;\n\"projectUrl\": null | string;\n\"deleteCopy\": false | true;\n\"copyDeletedAt\": null | string;\n\"failedNodes\"?: undefined | Array<{\n\"nodeId\": string;\n\"label\": string;\n\"reason\"?: undefined | string;\n}>;\n}>);\n\"wait\": ((runId: string, seconds?: undefined | number) => Promise<{\n\"runId\": string;\n\"status\": string;\n\"outputs\": unknown;\n\"error\": null | string;\n\"errorCode\": null | string;\n\"reported\": null | \"now\" | \"earlier\";\n\"projectId\": number;\n\"sourceProjectId\": null | number;\n\"projectUrl\": null | string;\n\"deleteCopy\": false | true;\n\"copyDeletedAt\": null | string;\n\"failedNodes\"?: undefined | Array<{\n\"nodeId\": string;\n\"label\": string;\n\"reason\"?: undefined | string;\n}>;\n}>);\n\"cancel\": ((runId: string) => Promise<{\n\"runId\": string;\n\"status\": string;\n\"cancelled\": false | true;\n}>);\n\"deleteCopy\": ((runId: string) => Promise<{\n\"runId\": string;\n\"copyDeletedAt\": string;\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
3
+ export const WOMP_FLOW_RUNS_DECLARATIONS = "declare const womp: { flowRuns: {\ndescribe: (() => Promise<{\nprojectId: number;\nsnapshotId: string;\ninputs: { nodeId: string; typeId: string; valueType: string; value: unknown; required: boolean; }[];\noutputs: { nodeId: string; typeId: string; }[];\nliveRun: null | { runId: string; trigger: string; };\n}>);\nrun: ((options?: { inputs?: { [key: string]: unknown; }; copy?: boolean; deleteCopy?: boolean; }) => Promise<{\nrunId: string;\nstatus: string;\nrepeated: boolean;\nprojectId: number;\nsourceProjectId: null | number;\nprojectUrl: null | string;\ndeleteCopy: boolean;\ncopyDeletedAt: null | string;\nfailedNodes?: { nodeId: string; label: string; reason?: string; }[];\n}>);\nstatus: ((runId: string) => Promise<{\nrunId: string;\nstatus: string;\noutputs: unknown;\nerror: null | string;\nerrorCode: null | string;\nreported: null | \"now\" | \"earlier\";\nprojectId: number;\nsourceProjectId: null | number;\nprojectUrl: null | string;\ndeleteCopy: boolean;\ncopyDeletedAt: null | string;\nfailedNodes?: { nodeId: string; label: string; reason?: string; }[];\n}>);\nwait: ((runId: string, seconds?: number) => Promise<{\nrunId: string;\nstatus: string;\noutputs: unknown;\nerror: null | string;\nerrorCode: null | string;\nreported: null | \"now\" | \"earlier\";\nprojectId: number;\nsourceProjectId: null | number;\nprojectUrl: null | string;\ndeleteCopy: boolean;\ncopyDeletedAt: null | string;\nfailedNodes?: { nodeId: string; label: string; reason?: string; }[];\n}>);\ncancel: ((runId: string) => Promise<{ runId: string; status: string; cancelled: boolean; }>);\ndeleteCopy: ((runId: string) => Promise<{ runId: string; copyDeletedAt: string; }>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
@@ -1 +1 @@
1
- export declare const WOMP_GEOMETRY_DECLARATIONS = "declare const womp: { geometry: {\n\"read\": ((objectId: number) => Promise<{\n\"kind\": \"container\" | \"graph\";\n\"objectId\": number;\n\"title\": string;\n\"graphId\"?: undefined | number;\n\"instanceId\"?: undefined | number;\n\"source\": null | string;\n\"transform\": null | {\n\"position\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"rotation\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"size\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n};\n\"bounds\": null | {\n\"min\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"max\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n};\n\"instances\": Array<{\n\"instanceId\": number;\n\"objectIds\": Array<number>;\n\"params\": {\n[key: string]: number | {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n};\n}>;\n\"diagnostics\": Array<string>;\n}>);\n\"write\": ((options: {\n\"objectId\": number;\n\"source\": string;\n}) => Promise<{\n\"status\": \"applied\" | \"rejected\";\n\"objectId\": number;\n\"graphId\"?: undefined | number;\n\"instanceId\"?: undefined | number;\n\"source\"?: undefined | string;\n\"transform\"?: undefined | null | {\n\"position\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"rotation\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"size\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n};\n\"bounds\"?: undefined | null | {\n\"min\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"max\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n};\n\"affectedObjectIds\": Array<number>;\n\"diagnostics\": Array<string>;\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
1
+ export declare const WOMP_GEOMETRY_DECLARATIONS = "declare const womp: { geometry: {\nread: ((objectId: number) => Promise<{\nkind: \"container\" | \"graph\";\nobjectId: number;\ntitle: string;\ngraphId?: number;\ninstanceId?: number;\nsource: null | string;\ntransform: null | {\nposition: { x: number; y: number; z: number; };\nrotation: { x: number; y: number; z: number; };\nsize: { x: number; y: number; z: number; };\n};\nbounds: null | { min: { x: number; y: number; z: number; }; max: { x: number; y: number; z: number; }; };\ninstances: {\ninstanceId: number;\nobjectIds: number[];\nparams: { [key: string]: number | { x: number; y: number; z: number; }; };\n}[];\ndiagnostics: string[];\n}>);\nwrite: ((options: { objectId: number; source: string; }) => Promise<{\nstatus: \"applied\" | \"rejected\";\nobjectId: number;\ngraphId?: number;\ninstanceId?: number;\nsource?: string;\ntransform?: null | {\nposition: { x: number; y: number; z: number; };\nrotation: { x: number; y: number; z: number; };\nsize: { x: number; y: number; z: number; };\n};\nbounds?: null | { min: { x: number; y: number; z: number; }; max: { x: number; y: number; z: number; }; };\naffectedObjectIds: number[];\ndiagnostics: string[];\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
@@ -1,3 +1,3 @@
1
1
  // Generated by scripts/generate-skill-declarations.mjs.
2
2
  // prettier-ignore
3
- export const WOMP_GEOMETRY_DECLARATIONS = "declare const womp: { geometry: {\n\"read\": ((objectId: number) => Promise<{\n\"kind\": \"container\" | \"graph\";\n\"objectId\": number;\n\"title\": string;\n\"graphId\"?: undefined | number;\n\"instanceId\"?: undefined | number;\n\"source\": null | string;\n\"transform\": null | {\n\"position\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"rotation\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"size\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n};\n\"bounds\": null | {\n\"min\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"max\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n};\n\"instances\": Array<{\n\"instanceId\": number;\n\"objectIds\": Array<number>;\n\"params\": {\n[key: string]: number | {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n};\n}>;\n\"diagnostics\": Array<string>;\n}>);\n\"write\": ((options: {\n\"objectId\": number;\n\"source\": string;\n}) => Promise<{\n\"status\": \"applied\" | \"rejected\";\n\"objectId\": number;\n\"graphId\"?: undefined | number;\n\"instanceId\"?: undefined | number;\n\"source\"?: undefined | string;\n\"transform\"?: undefined | null | {\n\"position\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"rotation\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"size\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n};\n\"bounds\"?: undefined | null | {\n\"min\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"max\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n};\n\"affectedObjectIds\": Array<number>;\n\"diagnostics\": Array<string>;\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
3
+ export const WOMP_GEOMETRY_DECLARATIONS = "declare const womp: { geometry: {\nread: ((objectId: number) => Promise<{\nkind: \"container\" | \"graph\";\nobjectId: number;\ntitle: string;\ngraphId?: number;\ninstanceId?: number;\nsource: null | string;\ntransform: null | {\nposition: { x: number; y: number; z: number; };\nrotation: { x: number; y: number; z: number; };\nsize: { x: number; y: number; z: number; };\n};\nbounds: null | { min: { x: number; y: number; z: number; }; max: { x: number; y: number; z: number; }; };\ninstances: {\ninstanceId: number;\nobjectIds: number[];\nparams: { [key: string]: number | { x: number; y: number; z: number; }; };\n}[];\ndiagnostics: string[];\n}>);\nwrite: ((options: { objectId: number; source: string; }) => Promise<{\nstatus: \"applied\" | \"rejected\";\nobjectId: number;\ngraphId?: number;\ninstanceId?: number;\nsource?: string;\ntransform?: null | {\nposition: { x: number; y: number; z: number; };\nrotation: { x: number; y: number; z: number; };\nsize: { x: number; y: number; z: number; };\n};\nbounds?: null | { min: { x: number; y: number; z: number; }; max: { x: number; y: number; z: number; }; };\naffectedObjectIds: number[];\ndiagnostics: string[];\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
@@ -1 +1 @@
1
- export declare const WOMP_KNOWLEDGE_DECLARATIONS = "declare const womp: { knowledge: {\n\"search\": ((query: string) => Promise<{\n\"answer\": string;\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
1
+ export declare const WOMP_KNOWLEDGE_DECLARATIONS = "declare const womp: { knowledge: { search: ((query: string) => Promise<{ answer: string; }>); } };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
@@ -1,3 +1,3 @@
1
1
  // Generated by scripts/generate-skill-declarations.mjs.
2
2
  // prettier-ignore
3
- export const WOMP_KNOWLEDGE_DECLARATIONS = "declare const womp: { knowledge: {\n\"search\": ((query: string) => Promise<{\n\"answer\": string;\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
3
+ export const WOMP_KNOWLEDGE_DECLARATIONS = "declare const womp: { knowledge: { search: ((query: string) => Promise<{ answer: string; }>); } };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
@@ -1 +1 @@
1
- export declare const WOMP_MATERIALS_DECLARATIONS = "declare const womp: { materials: {\n\"catalog\": ((options?: undefined | {\n\"refreshTextures\"?: undefined | false | true;\n\"includeTextures\"?: undefined | false | true;\n\"operations\"?: undefined | Array<string>;\n}) => Promise<{\n\"operations\": Array<{\n\"op\": string;\n\"category\": string;\n\"title\": string;\n}>;\n\"nodes\": {\n[key: string]: {\n\"type\": string;\n\"title\": string;\n\"description\": string;\n\"inputs\": Array<{\n\"title\": string;\n\"type\": string;\n\"values\"?: undefined | Array<string>;\n}>;\n\"outputs\": Array<{\n\"title\": string;\n\"type\": string;\n\"values\"?: undefined | Array<string>;\n}>;\n};\n};\n\"textureCount\": number;\n\"textures\"?: undefined | Array<string>;\n\"textureMetadata\"?: undefined | {\n\"channels\": \"unknown\";\n\"colorSpace\": \"unknown\";\n\"normalConvention\": \"unknown\";\n\"reason\": string;\n};\n}>);\n\"read\": ((materialId?: undefined | number) => Promise<{\n\"materials\": Array<{\n\"id\": number;\n\"shaderIds\": Array<number>;\n\"objectIds\": Array<number>;\n}>;\n\"material\"?: undefined | {\n\"id\": number;\n\"data\": {\n[key: string]: unknown;\n};\n\"layers\": Array<null | {\n\"nodes\": Array<{\n\"op\": string;\n[key: string]: unknown;\n}>;\n\"connections\": Array<{\n\"input_node\": number;\n\"input_slot\": number;\n\"output_node\": number;\n\"output_slot\": number;\n\"flags\"?: undefined | number;\n}>;\n}>;\n};\n\"diagnostics\": Array<string>;\n}>);\n\"recipe\": ((options: {\n\"pattern\": \"grid\";\n\"coordinateSpace\": \"object\" | \"world\";\n\"featureSize\": number | {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"colorA\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"colorB\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"roughnessA\": number;\n\"roughnessB\": number;\n\"metalness\"?: undefined | number;\n\"relief\": \"height\" | \"bump\";\n\"reliefScale\": number;\n}) => Promise<{\n\"nodes\": Array<{\n\"op\": string;\n[key: string]: unknown;\n}>;\n\"connections\": Array<{\n\"input_node\": number;\n\"input_slot\": number;\n\"output_node\": number;\n\"output_slot\": number;\n\"flags\"?: undefined | number;\n}>;\n}>);\n\"inspect\"?: undefined | ((options: {\n\"views\": Array<{\n\"camera\"?: undefined | {\n\"position\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"target\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"projection\"?: undefined | \"perspective\" | \"orthographic\";\n\"horizontalFovDegrees\"?: undefined | number;\n\"orthographicWidth\"?: undefined | number;\n};\n}>;\n\"timeoutMs\"?: undefined | number;\n}) => Promise<{\n\"frames\": Array<{\n\"id\": string;\n\"mediaType\": string;\n\"name\"?: undefined | string;\n}>;\n\"queueSettled\": false | true;\n\"timedOut\": false | true;\n\"status\": {\n\"remaining\": null | number;\n\"pendingResources\": null | {\n[key: string]: Array<string>;\n};\n\"errors\"?: undefined | Array<{\n\"source\": \"compiler-progress\" | \"pending-resources\";\n\"message\": string;\n}>;\n\"shaderDiagnostics\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n};\n\"rendering\": \"unverified\";\n\"explanation\": string;\n};\n}>);\n\"write\": ((options: {\n\"materialId\"?: undefined | number;\n\"cloneFrom\"?: undefined | number;\n\"layers\"?: undefined | Array<null | {\n\"nodes\": Array<{\n\"op\": string;\n[key: string]: unknown;\n}>;\n\"connections\": Array<{\n\"input_node\": number;\n\"input_slot\": number;\n\"output_node\": number;\n\"output_slot\": number;\n\"flags\"?: undefined | number;\n}>;\n}>;\n\"constants\"?: undefined | {\n[key: string]: null | {\n\"value\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"color\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n};\n};\n\"objectIds\"?: undefined | Array<number>;\n}) => Promise<{\n\"materialId\": number;\n\"objectIds\": Array<number>;\n\"referenceIdChanges\": {\n[key: string]: number;\n};\n\"parameters\"?: undefined | Array<{\n\"name\": string;\n\"referenceId\": number;\n\"value\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"color\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"exposed\"?: undefined | false | true;\n}>;\n\"diagnostics\"?: undefined | Array<string>;\n\"status\": \"applied\";\n\"rendering\": \"unverified\";\n}>);\n\"readProgram\": ((materialId: number, layerIndex: number) => Promise<{\n\"materialId\": number;\n\"layerIndex\": number;\n\"source\": null | string;\n\"diagnostics\": Array<string>;\n}>);\n\"writeProgram\": ((options: {\n\"materialId\"?: undefined | number;\n\"cloneFrom\"?: undefined | number;\n\"layerIndex\": number;\n\"source\": string;\n\"objectIds\"?: undefined | Array<number>;\n}) => Promise<{\n\"materialId\": number;\n\"objectIds\": Array<number>;\n\"referenceIdChanges\": {\n[key: string]: number;\n};\n\"parameters\"?: undefined | Array<{\n\"name\": string;\n\"referenceId\": number;\n\"value\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"color\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"exposed\"?: undefined | false | true;\n}>;\n\"diagnostics\"?: undefined | Array<string>;\n\"status\": \"applied\";\n\"rendering\": \"unverified\";\n}>);\n\"status\": (() => Promise<{\n\"remaining\": null | number;\n\"pendingResources\": null | {\n[key: string]: Array<string>;\n};\n\"errors\"?: undefined | Array<{\n\"source\": \"compiler-progress\" | \"pending-resources\";\n\"message\": string;\n}>;\n\"shaderDiagnostics\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n};\n\"rendering\": \"unverified\";\n\"explanation\": string;\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
1
+ export declare const WOMP_MATERIALS_DECLARATIONS = "declare const womp: { materials: {\ncatalog: ((options?: { refreshTextures?: boolean; includeTextures?: boolean; operations?: string[]; }) => Promise<{\noperations: { op: string; category: string; title: string; }[];\nnodes: {\n[key: string]: {\ntype: string;\ntitle: string;\ndescription: string;\ninputs: { title: string; type: string; values?: string[]; }[];\noutputs: { title: string; type: string; values?: string[]; }[];\n};\n};\ntextureCount: number;\ntextures?: string[];\ntextureMetadata?: { channels: \"unknown\"; colorSpace: \"unknown\"; normalConvention: \"unknown\"; reason: string; };\n}>);\nread: ((materialId?: number) => Promise<{\nmaterials: { id: number; shaderIds: number[]; objectIds: number[]; }[];\nmaterial?: {\nid: number;\ndata: { [key: string]: unknown; };\nlayers: Array<null | {\nnodes: { op: string; [key: string]: unknown; }[];\nconnections: {\ninput_node: number;\ninput_slot: number;\noutput_node: number;\noutput_slot: number;\nflags?: number;\n}[];\n}>;\n};\ndiagnostics: string[];\n}>);\nrecipe: ((options: {\npattern: \"grid\";\ncoordinateSpace: \"object\" | \"world\";\nfeatureSize: number | { x: number; y: number; z: number; };\ncolorA: { x: number; y: number; z: number; };\ncolorB: { x: number; y: number; z: number; };\nroughnessA: number;\nroughnessB: number;\nmetalness?: number;\nrelief: \"height\" | \"bump\";\nreliefScale: number;\n}) => Promise<{\nnodes: { op: string; [key: string]: unknown; }[];\nconnections: {\ninput_node: number;\ninput_slot: number;\noutput_node: number;\noutput_slot: number;\nflags?: number;\n}[];\n}>);\ninspect?: ((options: {\nviews: {\ncamera?: {\nposition: { x: number; y: number; z: number; };\ntarget: { x: number; y: number; z: number; };\nprojection?: \"perspective\" | \"orthographic\";\nhorizontalFovDegrees?: number;\northographicWidth?: number;\n};\n}[];\ntimeoutMs?: number;\n}) => Promise<{\nframes: { id: string; mediaType: string; name?: string; }[];\nqueueSettled: boolean;\ntimedOut: boolean;\nstatus: {\nremaining: null | number;\npendingResources: null | { [key: string]: string[]; };\nerrors?: { source: \"compiler-progress\" | \"pending-resources\"; message: string; }[];\nshaderDiagnostics?: { status: \"unavailable\"; reason: string; };\nrendering: \"unverified\";\nexplanation: string;\n};\n}>);\nwrite: ((options: {\nmaterialId?: number;\ncloneFrom?: number;\nlayers?: Array<null | {\nnodes: { op: string; [key: string]: unknown; }[];\nconnections: {\ninput_node: number;\ninput_slot: number;\noutput_node: number;\noutput_slot: number;\nflags?: number;\n}[];\n}>;\nconstants?: {\n[key: string]: null | { value: { x: number; y: number; z: number; }; color: { x: number; y: number; z: number; }; };\n};\nobjectIds?: number[];\n}) => Promise<{\nmaterialId: number;\nobjectIds: number[];\nreferenceIdChanges: { [key: string]: number; };\nparameters?: {\nname: string;\nreferenceId: number;\nvalue: { x: number; y: number; z: number; };\ncolor: { x: number; y: number; z: number; };\nexposed?: boolean;\n}[];\ndiagnostics?: string[];\nstatus: \"applied\";\nrendering: \"unverified\";\n}>);\nreadProgram: ((materialId: number, layerIndex: number) => Promise<{ materialId: number; layerIndex: number; source: null | string; diagnostics: string[]; }>);\nwriteProgram: ((options: {\nmaterialId?: number;\ncloneFrom?: number;\nlayerIndex: number;\nsource: string;\nobjectIds?: number[];\n}) => Promise<{\nmaterialId: number;\nobjectIds: number[];\nreferenceIdChanges: { [key: string]: number; };\nparameters?: {\nname: string;\nreferenceId: number;\nvalue: { x: number; y: number; z: number; };\ncolor: { x: number; y: number; z: number; };\nexposed?: boolean;\n}[];\ndiagnostics?: string[];\nstatus: \"applied\";\nrendering: \"unverified\";\n}>);\nstatus: (() => Promise<{\nremaining: null | number;\npendingResources: null | { [key: string]: string[]; };\nerrors?: { source: \"compiler-progress\" | \"pending-resources\"; message: string; }[];\nshaderDiagnostics?: { status: \"unavailable\"; reason: string; };\nrendering: \"unverified\";\nexplanation: string;\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
@@ -1,3 +1,3 @@
1
1
  // Generated by scripts/generate-skill-declarations.mjs.
2
2
  // prettier-ignore
3
- export const WOMP_MATERIALS_DECLARATIONS = "declare const womp: { materials: {\n\"catalog\": ((options?: undefined | {\n\"refreshTextures\"?: undefined | false | true;\n\"includeTextures\"?: undefined | false | true;\n\"operations\"?: undefined | Array<string>;\n}) => Promise<{\n\"operations\": Array<{\n\"op\": string;\n\"category\": string;\n\"title\": string;\n}>;\n\"nodes\": {\n[key: string]: {\n\"type\": string;\n\"title\": string;\n\"description\": string;\n\"inputs\": Array<{\n\"title\": string;\n\"type\": string;\n\"values\"?: undefined | Array<string>;\n}>;\n\"outputs\": Array<{\n\"title\": string;\n\"type\": string;\n\"values\"?: undefined | Array<string>;\n}>;\n};\n};\n\"textureCount\": number;\n\"textures\"?: undefined | Array<string>;\n\"textureMetadata\"?: undefined | {\n\"channels\": \"unknown\";\n\"colorSpace\": \"unknown\";\n\"normalConvention\": \"unknown\";\n\"reason\": string;\n};\n}>);\n\"read\": ((materialId?: undefined | number) => Promise<{\n\"materials\": Array<{\n\"id\": number;\n\"shaderIds\": Array<number>;\n\"objectIds\": Array<number>;\n}>;\n\"material\"?: undefined | {\n\"id\": number;\n\"data\": {\n[key: string]: unknown;\n};\n\"layers\": Array<null | {\n\"nodes\": Array<{\n\"op\": string;\n[key: string]: unknown;\n}>;\n\"connections\": Array<{\n\"input_node\": number;\n\"input_slot\": number;\n\"output_node\": number;\n\"output_slot\": number;\n\"flags\"?: undefined | number;\n}>;\n}>;\n};\n\"diagnostics\": Array<string>;\n}>);\n\"recipe\": ((options: {\n\"pattern\": \"grid\";\n\"coordinateSpace\": \"object\" | \"world\";\n\"featureSize\": number | {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"colorA\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"colorB\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"roughnessA\": number;\n\"roughnessB\": number;\n\"metalness\"?: undefined | number;\n\"relief\": \"height\" | \"bump\";\n\"reliefScale\": number;\n}) => Promise<{\n\"nodes\": Array<{\n\"op\": string;\n[key: string]: unknown;\n}>;\n\"connections\": Array<{\n\"input_node\": number;\n\"input_slot\": number;\n\"output_node\": number;\n\"output_slot\": number;\n\"flags\"?: undefined | number;\n}>;\n}>);\n\"inspect\"?: undefined | ((options: {\n\"views\": Array<{\n\"camera\"?: undefined | {\n\"position\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"target\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"projection\"?: undefined | \"perspective\" | \"orthographic\";\n\"horizontalFovDegrees\"?: undefined | number;\n\"orthographicWidth\"?: undefined | number;\n};\n}>;\n\"timeoutMs\"?: undefined | number;\n}) => Promise<{\n\"frames\": Array<{\n\"id\": string;\n\"mediaType\": string;\n\"name\"?: undefined | string;\n}>;\n\"queueSettled\": false | true;\n\"timedOut\": false | true;\n\"status\": {\n\"remaining\": null | number;\n\"pendingResources\": null | {\n[key: string]: Array<string>;\n};\n\"errors\"?: undefined | Array<{\n\"source\": \"compiler-progress\" | \"pending-resources\";\n\"message\": string;\n}>;\n\"shaderDiagnostics\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n};\n\"rendering\": \"unverified\";\n\"explanation\": string;\n};\n}>);\n\"write\": ((options: {\n\"materialId\"?: undefined | number;\n\"cloneFrom\"?: undefined | number;\n\"layers\"?: undefined | Array<null | {\n\"nodes\": Array<{\n\"op\": string;\n[key: string]: unknown;\n}>;\n\"connections\": Array<{\n\"input_node\": number;\n\"input_slot\": number;\n\"output_node\": number;\n\"output_slot\": number;\n\"flags\"?: undefined | number;\n}>;\n}>;\n\"constants\"?: undefined | {\n[key: string]: null | {\n\"value\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"color\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n};\n};\n\"objectIds\"?: undefined | Array<number>;\n}) => Promise<{\n\"materialId\": number;\n\"objectIds\": Array<number>;\n\"referenceIdChanges\": {\n[key: string]: number;\n};\n\"parameters\"?: undefined | Array<{\n\"name\": string;\n\"referenceId\": number;\n\"value\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"color\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"exposed\"?: undefined | false | true;\n}>;\n\"diagnostics\"?: undefined | Array<string>;\n\"status\": \"applied\";\n\"rendering\": \"unverified\";\n}>);\n\"readProgram\": ((materialId: number, layerIndex: number) => Promise<{\n\"materialId\": number;\n\"layerIndex\": number;\n\"source\": null | string;\n\"diagnostics\": Array<string>;\n}>);\n\"writeProgram\": ((options: {\n\"materialId\"?: undefined | number;\n\"cloneFrom\"?: undefined | number;\n\"layerIndex\": number;\n\"source\": string;\n\"objectIds\"?: undefined | Array<number>;\n}) => Promise<{\n\"materialId\": number;\n\"objectIds\": Array<number>;\n\"referenceIdChanges\": {\n[key: string]: number;\n};\n\"parameters\"?: undefined | Array<{\n\"name\": string;\n\"referenceId\": number;\n\"value\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"color\": {\n\"x\": number;\n\"y\": number;\n\"z\": number;\n};\n\"exposed\"?: undefined | false | true;\n}>;\n\"diagnostics\"?: undefined | Array<string>;\n\"status\": \"applied\";\n\"rendering\": \"unverified\";\n}>);\n\"status\": (() => Promise<{\n\"remaining\": null | number;\n\"pendingResources\": null | {\n[key: string]: Array<string>;\n};\n\"errors\"?: undefined | Array<{\n\"source\": \"compiler-progress\" | \"pending-resources\";\n\"message\": string;\n}>;\n\"shaderDiagnostics\"?: undefined | {\n\"status\": \"unavailable\";\n\"reason\": string;\n};\n\"rendering\": \"unverified\";\n\"explanation\": string;\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";
3
+ export const WOMP_MATERIALS_DECLARATIONS = "declare const womp: { materials: {\ncatalog: ((options?: { refreshTextures?: boolean; includeTextures?: boolean; operations?: string[]; }) => Promise<{\noperations: { op: string; category: string; title: string; }[];\nnodes: {\n[key: string]: {\ntype: string;\ntitle: string;\ndescription: string;\ninputs: { title: string; type: string; values?: string[]; }[];\noutputs: { title: string; type: string; values?: string[]; }[];\n};\n};\ntextureCount: number;\ntextures?: string[];\ntextureMetadata?: { channels: \"unknown\"; colorSpace: \"unknown\"; normalConvention: \"unknown\"; reason: string; };\n}>);\nread: ((materialId?: number) => Promise<{\nmaterials: { id: number; shaderIds: number[]; objectIds: number[]; }[];\nmaterial?: {\nid: number;\ndata: { [key: string]: unknown; };\nlayers: Array<null | {\nnodes: { op: string; [key: string]: unknown; }[];\nconnections: {\ninput_node: number;\ninput_slot: number;\noutput_node: number;\noutput_slot: number;\nflags?: number;\n}[];\n}>;\n};\ndiagnostics: string[];\n}>);\nrecipe: ((options: {\npattern: \"grid\";\ncoordinateSpace: \"object\" | \"world\";\nfeatureSize: number | { x: number; y: number; z: number; };\ncolorA: { x: number; y: number; z: number; };\ncolorB: { x: number; y: number; z: number; };\nroughnessA: number;\nroughnessB: number;\nmetalness?: number;\nrelief: \"height\" | \"bump\";\nreliefScale: number;\n}) => Promise<{\nnodes: { op: string; [key: string]: unknown; }[];\nconnections: {\ninput_node: number;\ninput_slot: number;\noutput_node: number;\noutput_slot: number;\nflags?: number;\n}[];\n}>);\ninspect?: ((options: {\nviews: {\ncamera?: {\nposition: { x: number; y: number; z: number; };\ntarget: { x: number; y: number; z: number; };\nprojection?: \"perspective\" | \"orthographic\";\nhorizontalFovDegrees?: number;\northographicWidth?: number;\n};\n}[];\ntimeoutMs?: number;\n}) => Promise<{\nframes: { id: string; mediaType: string; name?: string; }[];\nqueueSettled: boolean;\ntimedOut: boolean;\nstatus: {\nremaining: null | number;\npendingResources: null | { [key: string]: string[]; };\nerrors?: { source: \"compiler-progress\" | \"pending-resources\"; message: string; }[];\nshaderDiagnostics?: { status: \"unavailable\"; reason: string; };\nrendering: \"unverified\";\nexplanation: string;\n};\n}>);\nwrite: ((options: {\nmaterialId?: number;\ncloneFrom?: number;\nlayers?: Array<null | {\nnodes: { op: string; [key: string]: unknown; }[];\nconnections: {\ninput_node: number;\ninput_slot: number;\noutput_node: number;\noutput_slot: number;\nflags?: number;\n}[];\n}>;\nconstants?: {\n[key: string]: null | { value: { x: number; y: number; z: number; }; color: { x: number; y: number; z: number; }; };\n};\nobjectIds?: number[];\n}) => Promise<{\nmaterialId: number;\nobjectIds: number[];\nreferenceIdChanges: { [key: string]: number; };\nparameters?: {\nname: string;\nreferenceId: number;\nvalue: { x: number; y: number; z: number; };\ncolor: { x: number; y: number; z: number; };\nexposed?: boolean;\n}[];\ndiagnostics?: string[];\nstatus: \"applied\";\nrendering: \"unverified\";\n}>);\nreadProgram: ((materialId: number, layerIndex: number) => Promise<{ materialId: number; layerIndex: number; source: null | string; diagnostics: string[]; }>);\nwriteProgram: ((options: {\nmaterialId?: number;\ncloneFrom?: number;\nlayerIndex: number;\nsource: string;\nobjectIds?: number[];\n}) => Promise<{\nmaterialId: number;\nobjectIds: number[];\nreferenceIdChanges: { [key: string]: number; };\nparameters?: {\nname: string;\nreferenceId: number;\nvalue: { x: number; y: number; z: number; };\ncolor: { x: number; y: number; z: number; };\nexposed?: boolean;\n}[];\ndiagnostics?: string[];\nstatus: \"applied\";\nrendering: \"unverified\";\n}>);\nstatus: (() => Promise<{\nremaining: null | number;\npendingResources: null | { [key: string]: string[]; };\nerrors?: { source: \"compiler-progress\" | \"pending-resources\"; message: string; }[];\nshaderDiagnostics?: { status: \"unavailable\"; reason: string; };\nrendering: \"unverified\";\nexplanation: string;\n}>);\n} };\ndeclare function print(...values: unknown[]): void;\ndeclare function emitImage(ref: { id: string; mediaType: string; name?: string }, options?: { inspect?: boolean }): Promise<void>;\ndeclare function emitFile(ref: { id: string; mediaType: string; name?: string }): Promise<void>;\n";