fluncle 0.203.0 → 0.205.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/bin/fluncle.mjs +7 -7
- package/package.json +1 -1
package/bin/fluncle.mjs
CHANGED
|
@@ -610,7 +610,7 @@ function parseVersion(version) {
|
|
|
610
610
|
var currentVersion;
|
|
611
611
|
var init_version = __esm(() => {
|
|
612
612
|
init_output();
|
|
613
|
-
currentVersion = "0.
|
|
613
|
+
currentVersion = "0.205.0".trim() ? "0.205.0".trim() : "0.1.0";
|
|
614
614
|
});
|
|
615
615
|
|
|
616
616
|
// src/update-notifier.ts
|
|
@@ -2452,7 +2452,7 @@ function parseVersion2(version) {
|
|
|
2452
2452
|
var currentVersion2, latestReleaseUrl = "https://api.github.com/repos/mauricekleine/fluncle/releases/latest";
|
|
2453
2453
|
var init_version2 = __esm(() => {
|
|
2454
2454
|
init_output();
|
|
2455
|
-
currentVersion2 = "0.
|
|
2455
|
+
currentVersion2 = "0.205.0".trim() ? "0.205.0".trim() : "0.1.0";
|
|
2456
2456
|
});
|
|
2457
2457
|
|
|
2458
2458
|
// ../../packages/registry/src/index.ts
|
|
@@ -4243,7 +4243,7 @@ async function readManifestFields(renderPath) {
|
|
|
4243
4243
|
} catch {}
|
|
4244
4244
|
const missing = DIVERSITY_LEDGER_FIELDS.filter((key) => !result[key]);
|
|
4245
4245
|
if (missing.length > 0) {
|
|
4246
|
-
console.error(`[video] render.json is missing ${missing.join(", ")}
|
|
4246
|
+
console.error(`[video] render.json is missing ${missing.join(", ")}, so the finding ships without its diversity-ledger stamp(s); fix the render bundle's render.json`);
|
|
4247
4247
|
}
|
|
4248
4248
|
return result;
|
|
4249
4249
|
}
|
|
@@ -5977,13 +5977,13 @@ function buildBody2(options, { requireContent }) {
|
|
|
5977
5977
|
}
|
|
5978
5978
|
function readContentFile(filePath) {
|
|
5979
5979
|
if (!existsSync4(filePath)) {
|
|
5980
|
-
throw new CliError2("file_not_found", `
|
|
5980
|
+
throw new CliError2("file_not_found", `Edition payload file not found: ${filePath}`);
|
|
5981
5981
|
}
|
|
5982
5982
|
const text = readFileSync4(filePath, "utf-8");
|
|
5983
5983
|
try {
|
|
5984
5984
|
return JSON.parse(text);
|
|
5985
5985
|
} catch (error) {
|
|
5986
|
-
throw new CliError2("invalid_content_json", `
|
|
5986
|
+
throw new CliError2("invalid_content_json", `Edition payload JSON parse failed: ${error instanceof Error ? error.message : String(error)}`);
|
|
5987
5987
|
}
|
|
5988
5988
|
}
|
|
5989
5989
|
async function newsletterDraftCommand(options) {
|
|
@@ -9887,11 +9887,11 @@ function addAdminCommands(program2) {
|
|
|
9887
9887
|
adminNewsletter.action(() => {
|
|
9888
9888
|
adminNewsletter.outputHelp();
|
|
9889
9889
|
});
|
|
9890
|
-
adminNewsletter.command("draft").description("Persist a newsletter edition draft (the agent authors it, you send it)").option("--content-file <file>", "Structured edition
|
|
9890
|
+
adminNewsletter.command("draft").description("Persist a newsletter edition draft (the agent authors it, you send it)").option("--content-file <file>", "Structured edition payload (JSON)").option("--subject <text>", "Email subject line").option("--window-since <date>", "Discovery-window start (ISO)").option("--window-until <date>", "Discovery-window end (ISO)").option("--prompt-version <n>", "The prompt-registry version that authored this (the sweep sends it; it is the edition's provenance)").option("--json", "Print JSON", false).allowExcessArguments().action(async (options) => {
|
|
9891
9891
|
const { newsletterDraftCommand: newsletterDraftCommand2 } = await Promise.resolve().then(() => (init_newsletter(), exports_newsletter));
|
|
9892
9892
|
await runNewsletterDraft({ ...options, promptVersion: parsePromptVersion(options.promptVersion) }, newsletterDraftCommand2);
|
|
9893
9893
|
});
|
|
9894
|
-
adminNewsletter.command("update").description("Update a draft edition's payload, subject, or window").argument("[id]").option("--content-file <file>", "Structured edition
|
|
9894
|
+
adminNewsletter.command("update").description("Update a draft edition's payload, subject, or window").argument("[id]").option("--content-file <file>", "Structured edition payload (JSON)").option("--subject <text>", "Email subject line").option("--window-since <date>", "Discovery-window start (ISO)").option("--window-until <date>", "Discovery-window end (ISO)").option("--json", "Print JSON", false).allowExcessArguments().action(async (id, options) => {
|
|
9895
9895
|
const { newsletterUpdateCommand: newsletterUpdateCommand2 } = await Promise.resolve().then(() => (init_newsletter(), exports_newsletter));
|
|
9896
9896
|
await runNewsletterUpdate(id, options, newsletterUpdateCommand2);
|
|
9897
9897
|
});
|
package/package.json
CHANGED