agent-conveyor 0.1.15 → 0.1.16
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 +4 -2
- package/dist/cli/typescript-runtime.js +9 -0
- package/dist/cli/typescript-runtime.js.map +1 -1
- package/dist/runtime/campaigns.d.ts +1 -0
- package/dist/runtime/campaigns.js +16 -0
- package/dist/runtime/campaigns.js.map +1 -1
- package/docs/manager-recipes.md +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -315,8 +315,10 @@ tmux attach -t codex-live-test
|
|
|
315
315
|
Upsert the structured brief for a channel.
|
|
316
316
|
- `campaign assign --name C --slot SLOT_ID --title TEXT --instructions TEXT [--status queued|active|blocked|done|cancelled] [--metadata-json JSON] [--json]` —
|
|
317
317
|
Create a slot-scoped assignment.
|
|
318
|
-
- `campaign asset --name C --slot SLOT_ID --asset-type image|video|hyperframes|copy|audio|other --title TEXT [--assignment ASSIGNMENT_ID] [--channel CH] [--status draft|needs_review|approved|rejected|published] [--prompt-summary TEXT] [--artifact-path PATH] [--metadata-json JSON] [--review-notes TEXT] [--json]` —
|
|
319
|
-
Record a structured creative asset receipt.
|
|
318
|
+
- `campaign asset --name C --slot SLOT_ID --asset-type image|video|hyperframes|copy|audio|other --title TEXT [--assignment ASSIGNMENT_ID] [--channel CH] [--status draft|needs_review|approved|rejected|published] [--prompt-summary TEXT] [--artifact-path PATH] [--metadata-json JSON] [--review-notes TEXT] [--allow-additional-receipt] [--json]` —
|
|
319
|
+
Record a structured creative asset receipt. Assignment-scoped receipts are
|
|
320
|
+
one-per-assignment by default; use `--allow-additional-receipt` only for
|
|
321
|
+
intentional variants or revisions.
|
|
320
322
|
- `campaign status --name C [--json]` —
|
|
321
323
|
Show campaign metadata, worker slots, channel briefs, assignment counts, and
|
|
322
324
|
asset receipt counts.
|
|
@@ -395,6 +395,7 @@ function commandHelpText(program, command) {
|
|
|
395
395
|
` ${program} campaign brief --name launch --channel tiktok --brief-json '{"format":"9:16"}' --json`,
|
|
396
396
|
` ${program} campaign assign --name launch --slot campaign-slot-id --title "Draft hooks" --instructions "Create hooks" --status active --json`,
|
|
397
397
|
` ${program} campaign asset --name launch --slot campaign-slot-id --assignment campaign-assignment-id --asset-type copy --title "Hooks v1" --status needs_review --json`,
|
|
398
|
+
` ${program} campaign asset --name launch --slot campaign-slot-id --assignment campaign-assignment-id --asset-type copy --title "Hooks v2" --allow-additional-receipt --json`,
|
|
398
399
|
` ${program} campaign status --name launch --json`,
|
|
399
400
|
` ${program} campaign dashboard --name launch --json`,
|
|
400
401
|
],
|
|
@@ -498,6 +499,7 @@ function parseRuntimeArgs(args, env) {
|
|
|
498
499
|
includeFullTranscripts: false,
|
|
499
500
|
includeTranscripts: false,
|
|
500
501
|
all: false,
|
|
502
|
+
allowAdditionalReceipt: false,
|
|
501
503
|
action: null,
|
|
502
504
|
artifactPath: null,
|
|
503
505
|
assetType: null,
|
|
@@ -767,6 +769,12 @@ function parseRuntimeArgs(args, env) {
|
|
|
767
769
|
else if (arg === "--all") {
|
|
768
770
|
flags.all = true;
|
|
769
771
|
}
|
|
772
|
+
else if (arg === "--allow-additional-receipt") {
|
|
773
|
+
if (command !== "campaign") {
|
|
774
|
+
return { command, enabled, error: "Unsupported TypeScript runtime option: --allow-additional-receipt", explicit, flags, passthroughArgs, task };
|
|
775
|
+
}
|
|
776
|
+
flags.allowAdditionalReceipt = true;
|
|
777
|
+
}
|
|
770
778
|
else if (arg === "--active") {
|
|
771
779
|
flags.active = true;
|
|
772
780
|
}
|
|
@@ -6216,6 +6224,7 @@ function runCampaignCommand(parsed, options) {
|
|
|
6216
6224
|
const status = campaignAssetStatusArg(parsed.flags.statusState);
|
|
6217
6225
|
const metadata = jsonObjectArg(parsed.flags.metadataJson, "--metadata-json");
|
|
6218
6226
|
const assetReceiptId = recordCampaignAssetReceiptSync(database, {
|
|
6227
|
+
allowAdditionalReceipt: parsed.flags.allowAdditionalReceipt,
|
|
6219
6228
|
artifactPath: parsed.flags.artifactPath,
|
|
6220
6229
|
assetType,
|
|
6221
6230
|
assignment: parsed.flags.assignment,
|