@weirdfingers/baseboards 0.6.0 → 0.6.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weirdfingers/baseboards",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "One-command launcher for the Boards image generation application",
5
5
  "type": "module",
6
6
  "bin": {
@@ -3,7 +3,7 @@ Boards Backend SDK
3
3
  Open-source creative toolkit for AI-generated content
4
4
  """
5
5
 
6
- __version__ = "0.6.0"
6
+ __version__ = "0.6.1"
7
7
 
8
8
  from .config import settings
9
9
 
@@ -62,8 +62,8 @@ class Flux2ProEditInput(BaseModel):
62
62
  "data won't be available in the request history."
63
63
  ),
64
64
  )
65
- safety_tolerance: Literal[1, 2, 3, 4, 5] = Field(
66
- default=2,
65
+ safety_tolerance: Literal["1", "2", "3", "4", "5"] = Field(
66
+ default="2",
67
67
  description=(
68
68
  "The safety tolerance level for the generated image. "
69
69
  "1 is most strict, 5 is most permissive."
@@ -140,7 +140,7 @@ async def resolve_ancestry(
140
140
  0 as depth,
141
141
  NULL::text as role,
142
142
  ARRAY[id] as path -- cycle detection
143
- FROM generations
143
+ FROM boards.generations
144
144
  WHERE id = :gen_id AND tenant_id = :tenant_id
145
145
 
146
146
  UNION ALL
@@ -172,7 +172,7 @@ async def resolve_ancestry(
172
172
  at.path || g.id
173
173
  FROM ancestry_tree at
174
174
  CROSS JOIN LATERAL jsonb_array_elements(at.input_artifacts) AS artifact
175
- JOIN generations g ON
175
+ JOIN boards.generations g ON
176
176
  g.id = (artifact->>'generation_id')::uuid
177
177
  AND NOT (g.id = ANY(at.path)) -- prevent cycles
178
178
  AND at.depth < :max_depth
@@ -281,7 +281,7 @@ async def resolve_descendants(
281
281
  NULL::text as role,
282
282
  NULL::uuid as parent_id,
283
283
  ARRAY[id] as path -- cycle detection
284
- FROM generations
284
+ FROM boards.generations
285
285
  WHERE id = :gen_id AND tenant_id = :tenant_id
286
286
 
287
287
  UNION ALL
@@ -312,7 +312,7 @@ async def resolve_descendants(
312
312
  artifact->>'role' as role,
313
313
  dt.id as parent_id,
314
314
  dt.path || g.id
315
- FROM generations g
315
+ FROM boards.generations g
316
316
  CROSS JOIN LATERAL jsonb_array_elements(g.input_artifacts) AS artifact
317
317
  JOIN descendants_tree dt ON
318
318
  dt.id = (artifact->>'generation_id')::uuid
@@ -14,7 +14,7 @@
14
14
  "@radix-ui/react-navigation-menu": "^1.2.14",
15
15
  "@radix-ui/react-slot": "^1.2.3",
16
16
  "@tailwindcss/postcss": "^4.1.13",
17
- "@weirdfingers/boards": "^0.6.0",
17
+ "@weirdfingers/boards": "^0.6.1",
18
18
  "class-variance-authority": "^0.7.1",
19
19
  "clsx": "^2.0.0",
20
20
  "graphql": "^16.11.0",