@womp/spark-agent 17.5.0 → 17.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/dist/agent-run.d.ts +1 -1
- package/dist/capabilities/scene.js +6 -6
- package/dist/models.d.ts +7 -0
- package/dist/models.js +9 -0
- package/dist/pricing.js +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,44 @@ 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
|
+
## 17.7.0 — 2026-11-19
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Hands are built with fingers (scene skill version 69). A hand is a palm, a thumb and four fingers,
|
|
12
|
+
each a short curve from knuckle to tip, posed as in the reference even when curled into a fist or
|
|
13
|
+
holding something. The fingers and thumb go in their own Union with no blend between them, and that
|
|
14
|
+
Union's blend fuses them into the palm, so they join the palm without melting into each other. The
|
|
15
|
+
wrist starts inside its sleeve or cuff.
|
|
16
|
+
|
|
17
|
+
Measured with one-shot "build this character" runs on GPT-6.2 Astra (evidence in
|
|
18
|
+
`.spark/oneshot-20261118/`): a vision judge of hand close-ups rose from 5.0 to 7.0 of 10 (fingers
|
|
19
|
+
3.3 to 6.7), with likeness to the reference and cost unchanged, and a second character level.
|
|
20
|
+
|
|
21
|
+
## 17.6.0 — 2026-11-18
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- GPT-6.2 Astra model (`gpt-6.2-astra`), with its pricing. The default model is unchanged.
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- Characters and other figures built from a reference image are built from continuous, blended
|
|
30
|
+
surfaces (scene skill version 68). Each continuous surface goes in one Area with its parts blended,
|
|
31
|
+
such as a garment with its sleeves or trousers with both legs and the seat, because separate Areas
|
|
32
|
+
never blend and left a visible seam at the shoulders and hips. Characters and other soft, moulded or
|
|
33
|
+
organic forms, shoes and soles included, use Ellipsoids, curves and SVG outlines; Cubes are for
|
|
34
|
+
machined, flat-faced parts such as a buckle. A rolled cuff, hem or band around a limb is a Torus or a
|
|
35
|
+
short Ellipsoid loft, so leg ends and wristbands no longer render as square boxes. When recreating an
|
|
36
|
+
image, each defining detail (a printed graphic, a face, a held object, a hand, a shoe) is sized from
|
|
37
|
+
measurements taken off the image, as fractions of the subject's height.
|
|
38
|
+
|
|
39
|
+
Measured with one-shot "build this character" runs on GPT-6.2 Astra (evidence in
|
|
40
|
+
`.spark/oneshot-20261118/`): on a character turnaround, same-material seams between Areas fell from
|
|
41
|
+
12.7 to 2.3 per build and Cubes from 12.7 to 1.2. A vision judge of shoulder, hip, hem and shoe
|
|
42
|
+
close-ups rose from 5.0 to 6.1 of 10, with likeness to the reference unchanged. On a second character
|
|
43
|
+
the image-likeness total rose from 0.793 to 0.806, at the same cost.
|
|
44
|
+
|
|
7
45
|
## 17.5.0 — 2026-11-17
|
|
8
46
|
|
|
9
47
|
### Added
|
package/dist/agent-run.d.ts
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.2-sol" | "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";
|
|
11
|
+
modelId: "gpt-6-astra" | "gpt-6.2-astra" | "gpt-6.2-sol" | "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;
|
|
@@ -39,7 +39,7 @@ export function createSceneCapability(host) {
|
|
|
39
39
|
skills: [
|
|
40
40
|
{
|
|
41
41
|
name: "scene-editing",
|
|
42
|
-
version: "
|
|
42
|
+
version: "69",
|
|
43
43
|
description: "Inspect the open scene and edit its objects, materials, curves, and environment.",
|
|
44
44
|
instructions: `Use womp.scene.access(callback) for both inspection and edits. Inspect targets inside each callback using scene.nodes({ name, type, parentId, ids, offset, limit }) and detailed getters; filters are optional, name is a case-insensitive substring, and results default to 100 (maximum 1000). Page with offset as needed. Inspection reflects changes made in the callback. scene.unitMultiplier gives project units. Do not reuse an earlier inspection as current state.
|
|
45
45
|
Use womp.scene.health() to refresh whole-scene health or womp.scene.health(objectIds) to check specific objects (mapped to their owning Areas).
|
|
@@ -94,12 +94,12 @@ Do not recolor a shared material unless every object using it should change. Cre
|
|
|
94
94
|
Create primitives, curves, and text inside Areas/Unions. Respect tree order for subtraction and intersection.
|
|
95
95
|
Groups are organizational only; move and rotate their child Areas individually, not the Group.
|
|
96
96
|
An Area is an outermost Union with no Union ancestor: it has its own modeller, bounds, and volumetric resolution. Nested Unions share that Area's resolution, even through Groups.
|
|
97
|
-
Choose Area boundaries for evaluation needs, not individual editability: parts within an Area remain independently editable. Sibling Areas under a Group can overlap without blending together, while each blends internally and has independent resolution. Keep required shared smooth joins or Boolean evaluation within one Area; overlapping independent Areas are not a watertight Boolean union.
|
|
97
|
+
Choose Area boundaries for evaluation needs, not individual editability: parts within an Area remain independently editable. Sibling Areas under a Group can overlap without blending together, while each blends internally and has independent resolution. Keep required shared smooth joins or Boolean evaluation within one Area; overlapping independent Areas are not a watertight Boolean union. Build each continuous surface in one Area with its parts blended, such as a garment with its sleeves, trousers with both legs and the seat, or a body with its limbs: parts in separate Areas never blend, so splitting them leaves a visible seam where they meet.
|
|
98
98
|
Prioritize requested visual fidelity over minimizing voxel use. An Area too coarse for its detail renders jagged or stair-stepped edges, lumpy flat faces, rounded-off corners, blurred or merged small features, and thin parts that break up or vanish. Wide views hide this: judge detail from a close-up where the smallest important features fill much of the frame. When correctly authored geometry shows these symptoms, increase its owning Area's resolution, up to 0.65 as needed, and compare the same close-up; distinguish sampling loss from material/lighting contrast or authored gaps. A higher voxel count is acceptable when detail improves within engine limits. If resolution is insufficient or hits resource limits/downscaling, consider smaller independent Areas where shared blending or Booleans are unnecessary.
|
|
99
|
-
Sphere uses size.x as uniform diameter (y/z do not stretch it), including new or resized spherical curve points. Ellipsoid uses x, y and z as its three diameters: use it for oval and organic forms, such as a head, a limb, a fish body or a shoe toe, and as the profile of a curve whose sections are oval; a rounded Cube keeps flat faces and reads as a box. Capsule is a cylinder with round ends, x its diameter and y its full height. Cylinder/Cone/Pyramid use x as base diameter/width and y as height;
|
|
99
|
+
Sphere uses size.x as uniform diameter (y/z do not stretch it), including new or resized spherical curve points. Ellipsoid uses x, y and z as its three diameters: use it for oval and organic forms, such as a head, a limb, a fish body or a shoe toe, and as the profile of a curve whose sections are oval; a rounded Cube keeps flat faces and reads as a box, so never use one for a soft or rounded part: a rolled cuff, hem or band around a limb is a Torus or a short Ellipsoid loft. Build a character or any soft, moulded or organic form, including its shoes and soles, only from Ellipsoids, curves and SVG outlines; keep Cubes for machined, flat-faced parts, such as a buckle, a crate or a wall. Capsule is a cylinder with round ends, x its diameter and y its full height. Cylinder/Cone/Pyramid use x as base diameter/width and y as height;
|
|
100
100
|
Torus lies in local XZ (axis +Y), with x as outer diameter and y as tube thickness. For Capsule and these four primitives, nodeSetSize accepts {x, y}; z follows x even when supplied. Cube and Ellipsoid use all three dimensions; Ellipsoid supports independent XYZ sizes for both primitives and curve-point profiles. Node and curve-point round are dimensionless fractions clamped to [0, 1], not radii in project units; rounding does not set size. Cube rounding reaches half its shortest dimension at 1, so a shallow Cube retains broad flat faces rather than becoming an ellipsoid.
|
|
101
101
|
Womp shapes are signed distance fields. Build the way Womp's library assets are made: many small parts, each with a clear role and its own material, fused, carved and shaped with field operations rather than stacked as plain primitives.
|
|
102
|
-
- Fuse parts that grow out of each other, such as a head into a neck, a limb into a torso or a handle into a pot, with nodeSetBlend on the joining part. A blend reaches only what was built before that part in the same Area. Start it at about a third of the thinner part's thickness, then judge the join in a close-up: too much dissolves small parts into lumps and swells rims, too little leaves a hard crease. To blend a curve into a body without changing its own smoothing, put it in its own Union inside the body's Area and set that Union's blend.
|
|
102
|
+
- Fuse parts that grow out of each other, such as a head into a neck, a limb into a torso or a handle into a pot, with nodeSetBlend on the joining part. A blend reaches only what was built before that part in the same Area. Start it at about a third of the thinner part's thickness, then judge the join in a close-up: too much dissolves small parts into lumps and swells rims, too little leaves a hard crease. To blend a curve into a body without changing its own smoothing, put it in its own Union inside the body's Area and set that Union's blend. Build a hand as a palm, a thumb and four fingers, posed as in the image even when curled into a fist or holding something: each finger a short curve from knuckle to tip; put the fingers and thumb in their own Union with no blend between them and set that Union's blend to fuse them into the palm, so they join the palm without melting into each other; and the wrist starting inside its sleeve or cuff.
|
|
103
103
|
- Keep a crisp seam, blend 0, where two colours or a panel gap meet. Make windows, lights and lenses real parts, not paint. Glaze an opening with real glass, a material with transmittance about 0.5, as a thin panel or SVG outline set at the true angle and curvature of the surface it fills, flush in a thin frame, with a simple interior behind it, such as seats and a dashboard, so it reads as glass rather than a black plate. Use Stain sparingly, only for markings that lie flat on a surface, such as a stripe, a logo or an animal's coat pattern: a Stain shape (nodeSetOp with OperationType.Stain) placed after the geometry recolours the surface inside it and leaves the shape unchanged.
|
|
104
104
|
- Shape each small detail as a miniature of the real part, never a placeholder block or disc: its real outline, housing and inner face, such as a mirror's shaped housing on its arm or a vent carved with fins inside. Place it where the real one is and keep it clear of neighbouring parts, such as a wheel or a door line.
|
|
105
105
|
- Carve recessed detail with Subtract shapes placed after the part they cut: windows, vents, grilles, panel lines, wheel wells, eye sockets, mouths, the opening of a cup.
|
|
@@ -108,7 +108,7 @@ Womp shapes are signed distance fields. Build the way Womp's library assets are
|
|
|
108
108
|
- Put a sub-assembly that joins or cuts as one unit in a nested Union: its blend fuses the whole unit to what came before, and a Subtract Union cuts all its children at once, such as every window of a cabin.
|
|
109
109
|
- Model one side of a symmetric object and mirror it: nodeSetMirror(id, slot, axis, planePosition) reflects a Primitive or Curve across a plane in its parent frame, so one wheel, eye, fender or wing makes the pair and later edits stay symmetric.
|
|
110
110
|
- Shape a flowing main mass, such as a car body, hull, fuselage, torso, head or beak, as one curve lofted along its length: each anchor's profile size {x, y, z} is the cross-section there, so 4 to 8 anchors of changing width and height, joined by long handles, give one smooth tapering form instead of a stack of boxes.
|
|
111
|
-
- Shape a mass whose outline is its character, and differs from above and from the side, from those real outlines, such as a sole, a hull, a blade or a guitar body: draw the outline seen from above as one closed SVG path, asymmetric where the real one is, and extrude it through the height; after it, draw the side outline as a second SVG facing sideways, extruded through the width, with OperationType.Intersect. The result has both true silhouettes, which a loft along a centre line cannot give, and a blend of a few millimetres on the Intersect node rounds its edges. Intersect the parts that sit on it, such as a shoe's upper, with the same outline so they follow it.
|
|
111
|
+
- Shape a mass whose outline is its character, and differs from above and from the side, from those real outlines, such as a shoe sole, a hull, a blade or a guitar body: draw the outline seen from above as one closed SVG path, asymmetric where the real one is, and extrude it through the height; after it, draw the side outline as a second SVG facing sideways, extruded through the width, with OperationType.Intersect. The result has both true silhouettes, which a loft along a centre line cannot give, and a blend of a few millimetres on the Intersect node rounds its edges. Intersect the parts that sit on it, such as a shoe's upper, with the same outline so they follow it.
|
|
112
112
|
- Keep surfaces smooth and continuous, as if cast in one mould: shape bumpers, intakes, spoilers, face plates, panels, feet and bases to follow the body's curvature, with a curve or a rounded shape, and fillet each one into the body with a blend of a few millimetres. A flat block laid on a curved surface, a hard ledge or a stair-step reads as stacked parts. Round boxes with nodeSetRound; keep sharp only what is sharp on the real thing.
|
|
113
113
|
- Give every visibly distinct part its own material and colour.
|
|
114
114
|
Before building, settle a reference in numbers: the side, front and top silhouettes with their key heights, widths and lengths. After each stage, screenshot the build from the matching view and compare it with that reference, or with the user's image, and fix the largest mismatch in proportion or silhouette before adding detail. Finish with fine detail at its real scale, such as meshes, treads, fasteners, seams and trim: build one, then repeat it or copy its assembly with cloneSubtree.
|
|
@@ -117,7 +117,7 @@ Construct both sides of a joint from shared attachment points and axes. Create e
|
|
|
117
117
|
Fix unintended gaps, floating attachments, and fragmented geometry before decorative detail or presentation. Use inspection to identify a concrete defect and verify its correction, not merely to collect screenshots or healthy receipts.
|
|
118
118
|
Reference fidelity:
|
|
119
119
|
When recreating an image, treat its visible geometry and level of detail as the target—not merely its subject, colors, or list of parts. Preserve the user's chosen workflow and editability requirements.
|
|
120
|
-
Establish a comparison view matching the reference's angle, projection, and subject framing as closely as practical. Match silhouette, proportions, pose, and negative spaces first; then local contours, thickness, curvature, surface transitions, and defining details. Infer unseen geometry conservatively.
|
|
120
|
+
Establish a comparison view matching the reference's angle, projection, and subject framing as closely as practical. Match silhouette, proportions, pose, and negative spaces first; then local contours, thickness, curvature, surface transitions, and defining details. Infer unseen geometry conservatively. Size each defining detail, such as a printed graphic, a face, a held object, a hand or a shoe, from the image: measure its width and height as fractions of the subject's height, and its position, and build it at that size; details estimated by eye come out too small and too simple.
|
|
121
121
|
Compare each rendered pass directly with the source. Identify the largest remaining visible shape mismatch, edit it, and verify that it improved before moving to smaller details. Use close-ups when the comparison view cannot resolve a feature; return to the comparison view afterward. Adjust sampling or resolution when visible faceting or segmentation requires it—not as a substitute for reshaping.
|
|
122
122
|
Do not stop at semantic resemblance or after a fixed number of screenshots. Continue while substantial visible mismatches remain and supported edits are making progress, within the available budget. If progress stalls or the chosen representation cannot achieve the requested fidelity, explain the specific limitation and ask before changing workflows. Before finishing, compare the latest render with the reference and address the largest remaining visible mismatch; if substantial differences remain, identify the concrete stopping reason rather than treating an approximation disclaimer as completion.
|
|
123
123
|
|
package/dist/models.d.ts
CHANGED
|
@@ -17,6 +17,13 @@ export declare const SPARK_MODELS: readonly [{
|
|
|
17
17
|
readonly note: "Best OpenAI quality";
|
|
18
18
|
readonly provider: "openai";
|
|
19
19
|
readonly reasoningEfforts: readonly ["low", "medium", "high", "xhigh", "max"];
|
|
20
|
+
}, {
|
|
21
|
+
readonly id: "gpt-6.2-astra";
|
|
22
|
+
readonly contextWindow: 1050000;
|
|
23
|
+
readonly label: "GPT-6.2 Astra";
|
|
24
|
+
readonly note: "Newest Astra, best OpenAI quality";
|
|
25
|
+
readonly provider: "openai";
|
|
26
|
+
readonly reasoningEfforts: readonly ["low", "medium", "high", "xhigh", "max"];
|
|
20
27
|
}, {
|
|
21
28
|
readonly id: "gpt-6.2-sol";
|
|
22
29
|
readonly contextWindow: 1050000;
|
package/dist/models.js
CHANGED
|
@@ -22,6 +22,15 @@ export const SPARK_MODELS = [
|
|
|
22
22
|
provider: "openai",
|
|
23
23
|
reasoningEfforts: EXTENDED_REASONING_EFFORTS,
|
|
24
24
|
},
|
|
25
|
+
{
|
|
26
|
+
id: "gpt-6.2-astra",
|
|
27
|
+
// https://developers.openai.com/api/docs/models/gpt-6.2-astra
|
|
28
|
+
contextWindow: 1_050_000,
|
|
29
|
+
label: "GPT-6.2 Astra",
|
|
30
|
+
note: "Newest Astra, best OpenAI quality",
|
|
31
|
+
provider: "openai",
|
|
32
|
+
reasoningEfforts: EXTENDED_REASONING_EFFORTS,
|
|
33
|
+
},
|
|
25
34
|
{
|
|
26
35
|
id: "gpt-6.2-sol",
|
|
27
36
|
// https://developers.openai.com/api/docs/models/gpt-6.2-sol
|
package/dist/pricing.js
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
// Standard, global, direct API rates in USD per million tokens, checked 2026-09-09.
|
|
2
2
|
const PRICES = {
|
|
3
|
+
"gpt-6.2-astra": {
|
|
4
|
+
input: 8, read: 0.4, write: 10, output: 40, longContext: 272_000,
|
|
5
|
+
source: "https://developers.openai.com/api/docs/models/gpt-6.2-astra",
|
|
6
|
+
pricingDate: "2026-11-18",
|
|
7
|
+
},
|
|
3
8
|
"gpt-6.2-sol": {
|
|
4
9
|
input: 2, read: 0.1, write: 2.5, output: 10, longContext: 272_000,
|
|
5
10
|
source: "https://developers.openai.com/api/docs/models/gpt-6.2-sol",
|