@koda-sl/baker-cli 0.575.0 → 0.576.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{canvas-FRYDW4YS.js → canvas-JP5EFSGB.js} +6 -6
- package/dist/{chunk-6A3MVR5D.js → chunk-AUFQAR3V.js} +2 -2
- package/dist/{chunk-MNSHFXG6.js → chunk-BS4VGXTM.js} +2 -2
- package/dist/{chunk-ERTG5BBY.js → chunk-G624WZD6.js} +2 -2
- package/dist/{chunk-SSFU4LKG.js → chunk-IQ2V4ENC.js} +2 -2
- package/dist/{chunk-NSU6IKOE.js → chunk-JMTCCPK6.js} +2 -2
- package/dist/{chunk-PFWDYIDG.js → chunk-WPBXN37A.js} +4 -4
- package/dist/{chunk-MTROFUSC.js → chunk-ZWFYBQ7N.js} +4 -4
- package/dist/{chunk-MTROFUSC.js.map → chunk-ZWFYBQ7N.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{creatives-NQHLWE6F.js → creatives-QNPP5S4Q.js} +5 -5
- package/dist/{feedback-G3RB3HVK.js → feedback-FB2QIIRX.js} +4 -4
- package/dist/{feedback-record-KMIQCEAR.js → feedback-record-O4KVZAOF.js} +4 -4
- package/dist/{make-LYY7W523.js → make-4IIUKMLK.js} +4 -4
- package/dist/{rerun-RAOZJYYI.js → rerun-5JHAKEXF.js} +5 -5
- package/dist/{run-BG7WR3W4.js → run-XVULTREI.js} +5 -5
- package/dist/{scaffold-static-ad-N7P47U6N.js → scaffold-static-ad-TVMEGBHZ.js} +5 -5
- package/dist/{select-I4HA6HUB.js → select-UH73L657.js} +3 -3
- package/dist/{stale-EOTWB2NV.js → stale-TDAEKOJB.js} +3 -3
- package/dist/stale-TDAEKOJB.js.map +1 -0
- package/dist/{translate-2VAZU7BT.js → translate-TIFUZLPE.js} +4 -4
- package/dist/{validate-EFTSHSRZ.js → validate-BBXOFK4S.js} +3 -3
- package/package.json +1 -1
- package/dist/stale-EOTWB2NV.js.map +0 -1
- /package/dist/{canvas-FRYDW4YS.js.map → canvas-JP5EFSGB.js.map} +0 -0
- /package/dist/{chunk-6A3MVR5D.js.map → chunk-AUFQAR3V.js.map} +0 -0
- /package/dist/{chunk-MNSHFXG6.js.map → chunk-BS4VGXTM.js.map} +0 -0
- /package/dist/{chunk-ERTG5BBY.js.map → chunk-G624WZD6.js.map} +0 -0
- /package/dist/{chunk-SSFU4LKG.js.map → chunk-IQ2V4ENC.js.map} +0 -0
- /package/dist/{chunk-NSU6IKOE.js.map → chunk-JMTCCPK6.js.map} +0 -0
- /package/dist/{chunk-PFWDYIDG.js.map → chunk-WPBXN37A.js.map} +0 -0
- /package/dist/{creatives-NQHLWE6F.js.map → creatives-QNPP5S4Q.js.map} +0 -0
- /package/dist/{feedback-G3RB3HVK.js.map → feedback-FB2QIIRX.js.map} +0 -0
- /package/dist/{feedback-record-KMIQCEAR.js.map → feedback-record-O4KVZAOF.js.map} +0 -0
- /package/dist/{make-LYY7W523.js.map → make-4IIUKMLK.js.map} +0 -0
- /package/dist/{rerun-RAOZJYYI.js.map → rerun-5JHAKEXF.js.map} +0 -0
- /package/dist/{run-BG7WR3W4.js.map → run-XVULTREI.js.map} +0 -0
- /package/dist/{scaffold-static-ad-N7P47U6N.js.map → scaffold-static-ad-TVMEGBHZ.js.map} +0 -0
- /package/dist/{select-I4HA6HUB.js.map → select-UH73L657.js.map} +0 -0
- /package/dist/{translate-2VAZU7BT.js.map → translate-TIFUZLPE.js.map} +0 -0
- /package/dist/{validate-EFTSHSRZ.js.map → validate-BBXOFK4S.js.map} +0 -0
package/dist/cli.js
CHANGED
|
@@ -528,7 +528,7 @@ Introspection: Run 'baker schema <command>' to inspect argument schemas.`
|
|
|
528
528
|
decide: () => import("./decide-2WQKE6HC.js").then((m) => m.decideCommand),
|
|
529
529
|
data: () => import("./data-QOCDG3ZD.js").then((m) => m.dataCommand),
|
|
530
530
|
knowledge: () => import("./knowledge-ILQIN5FL.js").then((m) => m.knowledgeCommand),
|
|
531
|
-
creatives: () => import("./creatives-
|
|
531
|
+
creatives: () => import("./creatives-QNPP5S4Q.js").then((m) => m.creativesCommand),
|
|
532
532
|
flows: () => import("./flows-3KUFFMLO.js").then((m) => m.flowsCommand),
|
|
533
533
|
funnel: () => import("./funnel-OGQVXGM7.js").then((m) => m.funnelCommand),
|
|
534
534
|
images: () => import("./images-7KJX5JFY.js").then((m) => m.imagesCommand),
|
|
@@ -537,7 +537,7 @@ Introspection: Run 'baker schema <command>' to inspect argument schemas.`
|
|
|
537
537
|
landing: () => import("./landing-RKUGZ3LB.js").then((m) => m.landingCommand),
|
|
538
538
|
videos: () => import("./videos-OA3PSDF6.js").then((m) => m.videosCommand),
|
|
539
539
|
testimonials: () => import("./testimonials-6KYRLQVP.js").then((m) => m.testimonialsCommand),
|
|
540
|
-
canvas: () => import("./canvas-
|
|
540
|
+
canvas: () => import("./canvas-JP5EFSGB.js").then((m) => m.canvasCommand),
|
|
541
541
|
tags: () => import("./tags-36OYKBFE.js").then((m) => m.tagsCommand),
|
|
542
542
|
"tag-manager": () => import("./tag-manager-JDGWAHCZ.js").then((m) => m.tagManagerCommand),
|
|
543
543
|
chats: () => import("./chats-FID6CLCA.js").then((m) => m.chatsCommand),
|
|
@@ -41,13 +41,13 @@ Full guide: __tooling__/docs/tools/baker/creatives.md`
|
|
|
41
41
|
subCommands: {
|
|
42
42
|
brief: () => import("./brief-35KFM74X.js").then((m) => m.briefCommand),
|
|
43
43
|
ideas: () => import("./ideas-3UNEUSMO.js").then((m) => m.ideasCommand),
|
|
44
|
-
make: () => import("./make-
|
|
45
|
-
translate: () => import("./translate-
|
|
44
|
+
make: () => import("./make-4IIUKMLK.js").then((m) => m.makeCommand),
|
|
45
|
+
translate: () => import("./translate-TIFUZLPE.js").then((m) => m.translateCommand),
|
|
46
46
|
learn: () => import("./learn-WDPCW5ZD.js").then((m) => m.learnCommand),
|
|
47
|
-
feedback: () => import("./feedback-
|
|
47
|
+
feedback: () => import("./feedback-FB2QIIRX.js").then((m) => m.feedbackCommand),
|
|
48
48
|
rules: () => import("./rules-C72VPDXE.js").then((m) => m.rulesCommand),
|
|
49
49
|
check: () => import("./check-M337BOPG.js").then((m) => m.checkCommand),
|
|
50
|
-
select: () => import("./select-
|
|
50
|
+
select: () => import("./select-UH73L657.js").then((m) => m.selectCommand),
|
|
51
51
|
publish: () => import("./publish-YHU5K76M.js").then((m) => m.publishCommand),
|
|
52
52
|
performance: () => import("./performance-AZGVR3IG.js").then((m) => m.performanceCommand)
|
|
53
53
|
}
|
|
@@ -55,4 +55,4 @@ Full guide: __tooling__/docs/tools/baker/creatives.md`
|
|
|
55
55
|
export {
|
|
56
56
|
creativesCommand
|
|
57
57
|
};
|
|
58
|
-
//# sourceMappingURL=creatives-
|
|
58
|
+
//# sourceMappingURL=creatives-QNPP5S4Q.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readCreativeIdea,
|
|
3
3
|
withAnchor
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-G624WZD6.js";
|
|
5
|
+
import "./chunk-ZWFYBQ7N.js";
|
|
6
6
|
import "./chunk-M7BSXJNL.js";
|
|
7
7
|
import "./chunk-73NWLLZ3.js";
|
|
8
8
|
import "./chunk-OU542F66.js";
|
|
@@ -100,7 +100,7 @@ var feedbackCommand = defineCommand({
|
|
|
100
100
|
meta: { name: "feedback", description: DESCRIPTION },
|
|
101
101
|
subCommands: {
|
|
102
102
|
read: feedbackReadCommand,
|
|
103
|
-
record: () => import("./feedback-record-
|
|
103
|
+
record: () => import("./feedback-record-O4KVZAOF.js").then((m) => m.feedbackRecordCommand)
|
|
104
104
|
},
|
|
105
105
|
// `args` stays although the parent has no `run`: citty finds the subcommand
|
|
106
106
|
// name with THIS command's arg defs, so without them `--slug spring-offer`
|
|
@@ -112,4 +112,4 @@ var feedbackCommand = defineCommand({
|
|
|
112
112
|
export {
|
|
113
113
|
feedbackCommand
|
|
114
114
|
};
|
|
115
|
-
//# sourceMappingURL=feedback-
|
|
115
|
+
//# sourceMappingURL=feedback-FB2QIIRX.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
versionOf
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BS4VGXTM.js";
|
|
4
4
|
import {
|
|
5
5
|
readCreativeIdea,
|
|
6
6
|
withAnchor
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-G624WZD6.js";
|
|
8
|
+
import "./chunk-ZWFYBQ7N.js";
|
|
9
9
|
import "./chunk-M7BSXJNL.js";
|
|
10
10
|
import "./chunk-73NWLLZ3.js";
|
|
11
11
|
import {
|
|
@@ -266,4 +266,4 @@ var feedbackRecordCommand = defineCommand({
|
|
|
266
266
|
export {
|
|
267
267
|
feedbackRecordCommand
|
|
268
268
|
};
|
|
269
|
-
//# sourceMappingURL=feedback-record-
|
|
269
|
+
//# sourceMappingURL=feedback-record-O4KVZAOF.js.map
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
makeSeriesAd,
|
|
14
14
|
seriesMadeEnvelope
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-IQ2V4ENC.js";
|
|
16
16
|
import {
|
|
17
17
|
runBaker
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-JMTCCPK6.js";
|
|
19
19
|
import {
|
|
20
20
|
audienceQuery,
|
|
21
21
|
definitionFieldsOf,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
whyUnfit,
|
|
40
40
|
withFitConcept
|
|
41
41
|
} from "./chunk-6LLA6IF6.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-ZWFYBQ7N.js";
|
|
43
43
|
import "./chunk-M7BSXJNL.js";
|
|
44
44
|
import {
|
|
45
45
|
parseDefinitionDelivery,
|
|
@@ -1364,4 +1364,4 @@ export {
|
|
|
1364
1364
|
startsFromIdea,
|
|
1365
1365
|
unbuiltReference
|
|
1366
1366
|
};
|
|
1367
|
-
//# sourceMappingURL=make-
|
|
1367
|
+
//# sourceMappingURL=make-4IIUKMLK.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executeCanvasRun
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-WPBXN37A.js";
|
|
4
|
+
import "./chunk-AUFQAR3V.js";
|
|
5
5
|
import "./chunk-Z3KRNKEA.js";
|
|
6
6
|
import "./chunk-WN4KX7GE.js";
|
|
7
7
|
import "./chunk-UYVMINV2.js";
|
|
@@ -11,8 +11,8 @@ import "./chunk-Q6ULQMWG.js";
|
|
|
11
11
|
import "./chunk-6AMN346B.js";
|
|
12
12
|
import "./chunk-3ACMDRSE.js";
|
|
13
13
|
import "./chunk-I7OJZ7QE.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-JMTCCPK6.js";
|
|
15
|
+
import "./chunk-ZWFYBQ7N.js";
|
|
16
16
|
import "./chunk-M7BSXJNL.js";
|
|
17
17
|
import "./chunk-73NWLLZ3.js";
|
|
18
18
|
import "./chunk-E7LNNUKD.js";
|
|
@@ -94,4 +94,4 @@ var rerunCommand = defineCommand({
|
|
|
94
94
|
export {
|
|
95
95
|
rerunCommand
|
|
96
96
|
};
|
|
97
|
-
//# sourceMappingURL=rerun-
|
|
97
|
+
//# sourceMappingURL=rerun-5JHAKEXF.js.map
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
executeCanvasRun,
|
|
4
4
|
runCommand,
|
|
5
5
|
stopBeforeKinds
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-WPBXN37A.js";
|
|
7
|
+
import "./chunk-AUFQAR3V.js";
|
|
8
8
|
import "./chunk-Z3KRNKEA.js";
|
|
9
9
|
import "./chunk-WN4KX7GE.js";
|
|
10
10
|
import "./chunk-UYVMINV2.js";
|
|
@@ -14,8 +14,8 @@ import "./chunk-Q6ULQMWG.js";
|
|
|
14
14
|
import "./chunk-6AMN346B.js";
|
|
15
15
|
import "./chunk-3ACMDRSE.js";
|
|
16
16
|
import "./chunk-I7OJZ7QE.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-JMTCCPK6.js";
|
|
18
|
+
import "./chunk-ZWFYBQ7N.js";
|
|
19
19
|
import "./chunk-M7BSXJNL.js";
|
|
20
20
|
import "./chunk-73NWLLZ3.js";
|
|
21
21
|
import "./chunk-E7LNNUKD.js";
|
|
@@ -69,4 +69,4 @@ export {
|
|
|
69
69
|
runCommand,
|
|
70
70
|
stopBeforeKinds
|
|
71
71
|
};
|
|
72
|
-
//# sourceMappingURL=run-
|
|
72
|
+
//# sourceMappingURL=run-XVULTREI.js.map
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
} from "./chunk-NE3AZ25Y.js";
|
|
6
6
|
import {
|
|
7
7
|
buildBackendClient
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-WPBXN37A.js";
|
|
9
|
+
import "./chunk-AUFQAR3V.js";
|
|
10
10
|
import {
|
|
11
11
|
withClientLogo
|
|
12
12
|
} from "./chunk-JTYD7A3C.js";
|
|
@@ -49,8 +49,8 @@ import {
|
|
|
49
49
|
referenceDescribeContext,
|
|
50
50
|
resolveSourcePlatform
|
|
51
51
|
} from "./chunk-6CRNIIYN.js";
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-JMTCCPK6.js";
|
|
53
|
+
import "./chunk-ZWFYBQ7N.js";
|
|
54
54
|
import "./chunk-M7BSXJNL.js";
|
|
55
55
|
import {
|
|
56
56
|
brandBlock,
|
|
@@ -1009,4 +1009,4 @@ export {
|
|
|
1009
1009
|
uploadSourceAsReference,
|
|
1010
1010
|
validateScaffoldedStaticAd
|
|
1011
1011
|
};
|
|
1012
|
-
//# sourceMappingURL=scaffold-static-ad-
|
|
1012
|
+
//# sourceMappingURL=scaffold-static-ad-TVMEGBHZ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
versionOf
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-BS4VGXTM.js";
|
|
4
|
+
import "./chunk-ZWFYBQ7N.js";
|
|
5
5
|
import "./chunk-M7BSXJNL.js";
|
|
6
6
|
import "./chunk-73NWLLZ3.js";
|
|
7
7
|
import "./chunk-OU542F66.js";
|
|
@@ -107,4 +107,4 @@ var selectCommand = defineCommand({
|
|
|
107
107
|
export {
|
|
108
108
|
selectCommand
|
|
109
109
|
};
|
|
110
|
-
//# sourceMappingURL=select-
|
|
110
|
+
//# sourceMappingURL=select-UH73L657.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
staleCreatives
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZWFYBQ7N.js";
|
|
4
4
|
import "./chunk-M7BSXJNL.js";
|
|
5
5
|
import "./chunk-73NWLLZ3.js";
|
|
6
6
|
import "./chunk-OU542F66.js";
|
|
@@ -55,7 +55,7 @@ import "./chunk-YQSBHWOI.js";
|
|
|
55
55
|
|
|
56
56
|
// src/commands/canvas/stale.ts
|
|
57
57
|
import { defineCommand } from "citty";
|
|
58
|
-
var DESCRIPTION = "List the creatives edited since their last render in this workspace: what the models would be sent (the projected canvas, prompt.json without its `reference`/`source_context`/`notes` bookkeeping, scenes/*.json, the compositions it renders, the formats in _definition.md) no longer matches what the last completed `baker canvas run` drew, so the preview shows an older creative. Reformatting a file is not an edit. Read-only, offline and free. During a turn, re-render each one listed that the person should see with `baker canvas run <canvasPath>`. During a publish, never: Publish ships the last version the person was shown. Creatives never rendered here and half-built ones (unfilled [TODO] asset slots) are not listed. An entry with `refusedThisTurn` cannot be rendered again in this chat turn (it is ready, or had its renders or its time): do not run it; show the version it has and let the person's next message say what changes.";
|
|
58
|
+
var DESCRIPTION = "List the creatives edited since their last render in this workspace: what the models would be sent (the projected canvas, prompt.json without its `reference`/`source_context`/`notes` bookkeeping, scenes/*.json, the compositions it renders, the formats in _definition.md) no longer matches what the last completed `baker canvas run` drew, so the preview shows an older creative. Reformatting a file is not an edit. Read-only, offline and free. During a turn, re-render each one listed that the person should see with `baker canvas run <canvasPath>`. During a publish, never: Publish ships the last version the person was shown. Creatives never rendered here and half-built ones (unfilled [TODO] asset slots) are not listed. An entry with `refusedThisTurn` cannot be rendered again in this chat turn (it is ready, or had its renders or its time): do not run it; show the version it has and let the person's next message say what changes. An entry with `attemptedSinceEdit` had a run of this exact source that never completed (killed, failed or refused): its preview is still the older version; find out why that run failed before running it again.";
|
|
59
59
|
registerSchema({ command: "canvas.stale", description: DESCRIPTION, args: {} });
|
|
60
60
|
var staleCommand = defineCommand({
|
|
61
61
|
meta: {
|
|
@@ -87,4 +87,4 @@ var staleCommand = defineCommand({
|
|
|
87
87
|
export {
|
|
88
88
|
staleCommand
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=stale-
|
|
90
|
+
//# sourceMappingURL=stale-TDAEKOJB.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/commands/canvas/stale.ts"],"sourcesContent":["import { defineCommand } from \"citty\";\nimport { optionalTurnId } from \"../../env.ts\";\nimport { findWorkspaceRoot } from \"./normalize-paths.ts\";\nimport { staleCreatives } from \"./render-state.ts\";\nimport { registerSchema } from \"../../schemas.ts\";\n\nconst DESCRIPTION =\n \"List the creatives edited since their last render in this workspace: what the models would be sent (the projected canvas, prompt.json without its `reference`/`source_context`/`notes` bookkeeping, scenes/*.json, the compositions it renders, the formats in _definition.md) no longer matches what the last completed `baker canvas run` drew, so the preview shows an older creative. Reformatting a file is not an edit. Read-only, offline and free. During a turn, re-render each one listed that the person should see with `baker canvas run <canvasPath>`. During a publish, never: Publish ships the last version the person was shown. Creatives never rendered here and half-built ones (unfilled [TODO] asset slots) are not listed. An entry with `refusedThisTurn` cannot be rendered again in this chat turn (it is ready, or had its renders or its time): do not run it; show the version it has and let the person's next message say what changes. An entry with `attemptedSinceEdit` had a run of this exact source that never completed (killed, failed or refused): its preview is still the older version; find out why that run failed before running it again.\";\n\nregisterSchema({ command: \"canvas.stale\", description: DESCRIPTION, args: {} });\n\nexport const staleCommand = defineCommand({\n meta: {\n name: \"stale\",\n description: DESCRIPTION,\n },\n args: {},\n async run() {\n const cwd = process.cwd();\n const stale = await staleCreatives(findWorkspaceRoot(cwd) ?? cwd, optionalTurnId());\n process.stdout.write(\n `${JSON.stringify(\n {\n ok: true,\n data: { stale },\n ...(stale.length > 0\n ? {\n hints: stale.map((c) =>\n c.refusedThisTurn\n ? `No render of ${c.slug} in this turn: ${c.refusedThisTurn}`\n : `Re-render ${c.slug} before showing it (never during a publish): baker canvas run ${c.canvasPath}`,\n ),\n }\n : {}),\n },\n null,\n 2,\n )}\\n`,\n );\n },\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,qBAAqB;AAM9B,IAAM,cACJ;AAEF,eAAe,EAAE,SAAS,gBAAgB,aAAa,aAAa,MAAM,CAAC,EAAE,CAAC;AAEvE,IAAM,eAAe,cAAc;AAAA,EACxC,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA,MAAM,CAAC;AAAA,EACP,MAAM,MAAM;AACV,UAAM,MAAM,QAAQ,IAAI;AACxB,UAAM,QAAQ,MAAM,eAAe,kBAAkB,GAAG,KAAK,KAAK,eAAe,CAAC;AAClF,YAAQ,OAAO;AAAA,MACb,GAAG,KAAK;AAAA,QACN;AAAA,UACE,IAAI;AAAA,UACJ,MAAM,EAAE,MAAM;AAAA,UACd,GAAI,MAAM,SAAS,IACf;AAAA,YACE,OAAO,MAAM;AAAA,cAAI,CAAC,MAChB,EAAE,kBACE,gBAAgB,EAAE,IAAI,kBAAkB,EAAE,eAAe,KACzD,aAAa,EAAE,IAAI,iEAAiE,EAAE,UAAU;AAAA,YACtG;AAAA,UACF,IACA,CAAC;AAAA,QACP;AAAA,QACA;AAAA,QACA;AAAA,MACF,CAAC;AAAA;AAAA,IACH;AAAA,EACF;AACF,CAAC;","names":[]}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withoutFields
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IQ2V4ENC.js";
|
|
4
4
|
import {
|
|
5
5
|
leadVersion,
|
|
6
6
|
runBaker,
|
|
7
7
|
seriesLeadsAbove,
|
|
8
8
|
writeSeriesMemberCanvas
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JMTCCPK6.js";
|
|
10
10
|
import {
|
|
11
11
|
setDefinitionFields
|
|
12
12
|
} from "./chunk-6LLA6IF6.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-ZWFYBQ7N.js";
|
|
14
14
|
import "./chunk-M7BSXJNL.js";
|
|
15
15
|
import {
|
|
16
16
|
isCustomersWords,
|
|
@@ -600,4 +600,4 @@ var translateCommand = defineCommand({
|
|
|
600
600
|
export {
|
|
601
601
|
translateCommand
|
|
602
602
|
};
|
|
603
|
-
//# sourceMappingURL=translate-
|
|
603
|
+
//# sourceMappingURL=translate-TIFUZLPE.js.map
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
outputRatioWarningsFor,
|
|
3
3
|
shownBaseline,
|
|
4
4
|
validateResult
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-AUFQAR3V.js";
|
|
6
|
+
import "./chunk-ZWFYBQ7N.js";
|
|
7
7
|
import {
|
|
8
8
|
creativeSlugFromCanvasPath
|
|
9
9
|
} from "./chunk-M7BSXJNL.js";
|
|
@@ -132,4 +132,4 @@ var validateCommand = defineCommand({
|
|
|
132
132
|
export {
|
|
133
133
|
validateCommand
|
|
134
134
|
};
|
|
135
|
-
//# sourceMappingURL=validate-
|
|
135
|
+
//# sourceMappingURL=validate-BBXOFK4S.js.map
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/commands/canvas/stale.ts"],"sourcesContent":["import { defineCommand } from \"citty\";\nimport { optionalTurnId } from \"../../env.ts\";\nimport { findWorkspaceRoot } from \"./normalize-paths.ts\";\nimport { staleCreatives } from \"./render-state.ts\";\nimport { registerSchema } from \"../../schemas.ts\";\n\nconst DESCRIPTION =\n \"List the creatives edited since their last render in this workspace: what the models would be sent (the projected canvas, prompt.json without its `reference`/`source_context`/`notes` bookkeeping, scenes/*.json, the compositions it renders, the formats in _definition.md) no longer matches what the last completed `baker canvas run` drew, so the preview shows an older creative. Reformatting a file is not an edit. Read-only, offline and free. During a turn, re-render each one listed that the person should see with `baker canvas run <canvasPath>`. During a publish, never: Publish ships the last version the person was shown. Creatives never rendered here and half-built ones (unfilled [TODO] asset slots) are not listed. An entry with `refusedThisTurn` cannot be rendered again in this chat turn (it is ready, or had its renders or its time): do not run it; show the version it has and let the person's next message say what changes.\";\n\nregisterSchema({ command: \"canvas.stale\", description: DESCRIPTION, args: {} });\n\nexport const staleCommand = defineCommand({\n meta: {\n name: \"stale\",\n description: DESCRIPTION,\n },\n args: {},\n async run() {\n const cwd = process.cwd();\n const stale = await staleCreatives(findWorkspaceRoot(cwd) ?? cwd, optionalTurnId());\n process.stdout.write(\n `${JSON.stringify(\n {\n ok: true,\n data: { stale },\n ...(stale.length > 0\n ? {\n hints: stale.map((c) =>\n c.refusedThisTurn\n ? `No render of ${c.slug} in this turn: ${c.refusedThisTurn}`\n : `Re-render ${c.slug} before showing it (never during a publish): baker canvas run ${c.canvasPath}`,\n ),\n }\n : {}),\n },\n null,\n 2,\n )}\\n`,\n );\n },\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,qBAAqB;AAM9B,IAAM,cACJ;AAEF,eAAe,EAAE,SAAS,gBAAgB,aAAa,aAAa,MAAM,CAAC,EAAE,CAAC;AAEvE,IAAM,eAAe,cAAc;AAAA,EACxC,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA,MAAM,CAAC;AAAA,EACP,MAAM,MAAM;AACV,UAAM,MAAM,QAAQ,IAAI;AACxB,UAAM,QAAQ,MAAM,eAAe,kBAAkB,GAAG,KAAK,KAAK,eAAe,CAAC;AAClF,YAAQ,OAAO;AAAA,MACb,GAAG,KAAK;AAAA,QACN;AAAA,UACE,IAAI;AAAA,UACJ,MAAM,EAAE,MAAM;AAAA,UACd,GAAI,MAAM,SAAS,IACf;AAAA,YACE,OAAO,MAAM;AAAA,cAAI,CAAC,MAChB,EAAE,kBACE,gBAAgB,EAAE,IAAI,kBAAkB,EAAE,eAAe,KACzD,aAAa,EAAE,IAAI,iEAAiE,EAAE,UAAU;AAAA,YACtG;AAAA,UACF,IACA,CAAC;AAAA,QACP;AAAA,QACA;AAAA,QACA;AAAA,MACF,CAAC;AAAA;AAAA,IACH;AAAA,EACF;AACF,CAAC;","names":[]}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|