@koda-sl/baker-cli 0.232.0 → 0.233.0-dev.bfa5a91e4
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 +8 -1
- package/dist/{chunk-EKLAHWSF.js → chunk-CMPAHYLB.js} +4 -4
- package/dist/chunk-CMPAHYLB.js.map +1 -0
- package/dist/cli.js +578 -506
- package/dist/cli.js.map +1 -1
- package/dist/engine/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-EKLAHWSF.js.map +0 -1
package/README.md
CHANGED
|
@@ -2858,6 +2858,8 @@ baker scheduled-actions create --name "Spend review" --description "Review spend
|
|
|
2858
2858
|
|
|
2859
2859
|
baker scheduled-actions update <id-or-temp_sched_id> --enabled false
|
|
2860
2860
|
baker scheduled-actions update <id-or-temp_sched_id> --run-at "2026-09-02T07:00:00Z" --spawn-agent true --prompt "Use the launch checklist"
|
|
2861
|
+
baker scheduled-actions update <id-or-temp_sched_id> --mode publish # runs go live unreviewed
|
|
2862
|
+
baker scheduled-actions update <id-or-temp_sched_id> --mode recommend # runs advise and change nothing
|
|
2861
2863
|
baker scheduled-actions delete <id-or-temp_sched_id>
|
|
2862
2864
|
|
|
2863
2865
|
baker scheduled-actions trigger <id>
|
|
@@ -2875,9 +2877,11 @@ Rules:
|
|
|
2875
2877
|
- Staged commands require `BAKER_CHAT_ID` to point to an `in_progress` chat.
|
|
2876
2878
|
- `trigger` rejects `temp_sched_*` and only accepts published scheduled-action ids.
|
|
2877
2879
|
- Company Timezone is the default; `--timezone` is an explicit IANA override.
|
|
2880
|
+
- `--mode` sets how far a run goes on its own: `remind` (opens the Task, runs nothing), `recommend` (writes up what it would change, touches nothing), `propose` (does the work, waits to be published — the default), `publish` (does the work and publishes it unreviewed). It applies when the chat is published, on the authority of whoever published it; a chat completed with no person behind it lands a `publish` task on `propose` instead.
|
|
2881
|
+
- `--mode` supersedes `--spawn-agent`/`--no-spawn-agent`, which can only reach `remind` and `propose`. Passing both is rejected.
|
|
2878
2882
|
- Scheduled actions spawn agents by default; create with `--no-spawn-agent` or update with `--spawn-agent false` to disable it.
|
|
2879
2883
|
- `--prompt` maps to the scheduled action's additional spawned-agent instructions (`agentPrompt`), not a replacement for Baker's automatic spawned Work Action reference.
|
|
2880
|
-
- `--prompt` requires
|
|
2884
|
+
- `--prompt` requires a run that does the work: it is rejected alongside `--mode remind`, `--no-spawn-agent` (create) or `--spawn-agent false` (update), since a bypassed agent never reads it.
|
|
2881
2885
|
- `--template <id>` binds the schedule to a marketplace recipe instead of a prompt you wrote. The row stores the id alone: name, brief and prompt resolve at fire time, so the job improves when the recipe does. `--description` carries what is true of this company. One row per recipe per company; a second `create` for the same id is refused.
|
|
2882
2886
|
|
|
2883
2887
|
#### Marketplace recipes (`templates`)
|
|
@@ -3006,6 +3010,9 @@ baker actions release <action-id>
|
|
|
3006
3010
|
|
|
3007
3011
|
baker actions create --name "Build hero" --priority high --tags landing,creative --description "..."
|
|
3008
3012
|
# → returns { ok, data: { tempId, draftCreateCount }, hints: [...] } — check hints for tags/priority/dependencies/description reminders
|
|
3013
|
+
# --temp-id is optional; use the returned tempId. A custom one must start with `temp_`
|
|
3014
|
+
# (temp_hero_copy, not hero_copy) and is rejected with a VALIDATION_ERROR otherwise — the prefix is
|
|
3015
|
+
# what tells a task staged in this chat apart from a published action id in link/update/complete/draft remove.
|
|
3009
3016
|
# If the name/description reads as recurring or future-dated (e.g. "weekly", "every Monday", "schedule"),
|
|
3010
3017
|
# create emits a hint to use `baker scheduled-actions create` instead of a Work Action.
|
|
3011
3018
|
# If it instead names work a surface executes in-chat (a GTM container change, a site tag, an ad-platform
|
|
@@ -16,9 +16,9 @@ import {
|
|
|
16
16
|
shouldEscalate
|
|
17
17
|
} from "./chunk-DZUVUGEP.js";
|
|
18
18
|
|
|
19
|
-
//
|
|
19
|
+
// ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/810146e81bae4e3a061fe487864f2fde80c4b03b886877dc0f1fffbc6480b67e/node_modules/safe-stable-stringify/index.js
|
|
20
20
|
var require_safe_stable_stringify = __commonJS({
|
|
21
|
-
"
|
|
21
|
+
"../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/810146e81bae4e3a061fe487864f2fde80c4b03b886877dc0f1fffbc6480b67e/node_modules/safe-stable-stringify/index.js"(exports, module) {
|
|
22
22
|
"use strict";
|
|
23
23
|
var { hasOwnProperty } = Object.prototype;
|
|
24
24
|
var stringify = configure2();
|
|
@@ -1092,7 +1092,7 @@ function resolveAdaptFormats(params) {
|
|
|
1092
1092
|
return params.formats ?? [];
|
|
1093
1093
|
}
|
|
1094
1094
|
|
|
1095
|
-
//
|
|
1095
|
+
// ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/810146e81bae4e3a061fe487864f2fde80c4b03b886877dc0f1fffbc6480b67e/node_modules/safe-stable-stringify/esm/wrapper.js
|
|
1096
1096
|
var import__ = __toESM(require_safe_stable_stringify(), 1);
|
|
1097
1097
|
var configure = import__.default.configure;
|
|
1098
1098
|
var wrapper_default = import__.default;
|
|
@@ -9074,4 +9074,4 @@ export {
|
|
|
9074
9074
|
defaultRegistry,
|
|
9075
9075
|
createEngineFromEnv
|
|
9076
9076
|
};
|
|
9077
|
-
//# sourceMappingURL=chunk-
|
|
9077
|
+
//# sourceMappingURL=chunk-CMPAHYLB.js.map
|