@intentius/chant 0.124.56 → 0.124.58
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/dist/ci-audit/index.d.ts.map +1 -1
- package/dist/ci-audit/index.js +1 -2
- package/dist/ci-product-words.d.ts +47 -2
- package/dist/ci-product-words.d.ts.map +1 -1
- package/dist/ci-product-words.js +59 -1
- package/dist/ci-product.d.ts +26 -2
- package/dist/ci-product.d.ts.map +1 -1
- package/dist/ci-product.js +30 -7
- package/dist/cli/commands/init.d.ts +2 -0
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +1 -1
- package/dist/cli/handlers/build.d.ts.map +1 -1
- package/dist/cli/handlers/build.js +5 -1
- package/dist/cli/handlers/init.d.ts.map +1 -1
- package/dist/cli/handlers/init.js +16 -0
- package/dist/cli/handlers/lifecycle.d.ts.map +1 -1
- package/dist/cli/handlers/lifecycle.js +14 -0
- package/dist/cli/handlers/pr.d.ts.map +1 -1
- package/dist/cli/handlers/pr.js +90 -35
- package/dist/cli/handlers/serve.d.ts.map +1 -1
- package/dist/cli/handlers/serve.js +9 -0
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +6 -2
- package/dist/cli/mcp/product-tools.d.ts +40 -7
- package/dist/cli/mcp/product-tools.d.ts.map +1 -1
- package/dist/cli/mcp/product-tools.js +59 -15
- package/dist/cli/mcp/read-only.d.ts +2 -1
- package/dist/cli/mcp/read-only.d.ts.map +1 -1
- package/dist/cli/mcp/read-only.js +2 -1
- package/dist/cli/mcp/server.d.ts +11 -0
- package/dist/cli/mcp/server.d.ts.map +1 -1
- package/dist/cli/mcp/server.js +15 -3
- package/dist/cli/mcp-config.d.ts +4 -1
- package/dist/cli/mcp-config.d.ts.map +1 -1
- package/dist/cli/mcp-config.js +6 -2
- package/dist/cli/parse-args.d.ts.map +1 -1
- package/dist/cli/parse-args.js +9 -0
- package/dist/cli/registry.d.ts +8 -0
- package/dist/cli/registry.d.ts.map +1 -1
- package/dist/components/auto-release.d.ts +5 -2
- package/dist/components/auto-release.d.ts.map +1 -1
- package/dist/components/auto-release.js +9 -4
- package/dist/components/capability.d.ts +10 -0
- package/dist/components/capability.d.ts.map +1 -1
- package/dist/components/deploy-units.d.ts +12 -0
- package/dist/components/deploy-units.d.ts.map +1 -1
- package/dist/components/deploy-units.js +20 -1
- package/dist/components/pr-pipeline.d.ts +64 -2
- package/dist/components/pr-pipeline.d.ts.map +1 -1
- package/dist/components/pr-pipeline.js +66 -5
- package/dist/components/product-pipeline.d.ts +18 -1
- package/dist/components/product-pipeline.d.ts.map +1 -1
- package/dist/components/product-pipeline.js +8 -2
- package/dist/components/row-lease.d.ts +22 -1
- package/dist/components/row-lease.d.ts.map +1 -1
- package/dist/components/row-lease.js +32 -6
- package/dist/e2e-harness/driver.d.ts.map +1 -1
- package/dist/e2e-harness/driver.js +97 -0
- package/dist/e2e-harness/forgejo.d.ts +5 -1
- package/dist/e2e-harness/forgejo.d.ts.map +1 -1
- package/dist/e2e-harness/forgejo.js +35 -0
- package/dist/e2e-harness/index.d.ts +7 -0
- package/dist/e2e-harness/index.d.ts.map +1 -1
- package/dist/e2e-harness/index.js +11 -2
- package/dist/e2e-harness/ports.d.ts +31 -0
- package/dist/e2e-harness/ports.d.ts.map +1 -1
- package/dist/e2e-harness/scenario.d.ts.map +1 -1
- package/dist/e2e-harness/scenario.js +9 -5
- package/dist/e2e-harness/schemas/e2e-scenario.schema.json +43 -3
- package/dist/e2e-harness/schemas/index.d.ts +22 -1
- package/dist/e2e-harness/schemas/index.d.ts.map +1 -1
- package/dist/e2e-harness/schemas/index.js +1 -1
- package/dist/e2e-harness/steps.d.ts.map +1 -1
- package/dist/e2e-harness/steps.js +4 -0
- package/dist/lexicon.d.ts +9 -0
- package/dist/lexicon.d.ts.map +1 -1
- package/dist/lifecycle/git.d.ts +39 -3
- package/dist/lifecycle/git.d.ts.map +1 -1
- package/dist/lifecycle/git.js +223 -15
- package/dist/lifecycle/lock-rows.d.ts +23 -0
- package/dist/lifecycle/lock-rows.d.ts.map +1 -1
- package/dist/lifecycle/lock-rows.js +47 -8
- package/dist/lifecycle/resource-lock.d.ts +70 -0
- package/dist/lifecycle/resource-lock.d.ts.map +1 -1
- package/dist/lifecycle/resource-lock.js +241 -5
- package/dist/mcp/types.d.ts +9 -0
- package/dist/mcp/types.d.ts.map +1 -1
- package/dist/op/gate.js +21 -4
- package/dist/op/op-waves-release-port.js +1 -1
- package/dist/op/op-waves-release.d.ts +2 -1
- package/dist/op/op-waves-release.d.ts.map +1 -1
- package/dist/op/op-waves-run.d.ts +8 -0
- package/dist/op/op-waves-run.d.ts.map +1 -1
- package/dist/op/op-waves-run.js +101 -29
- package/dist/op/op-waves.d.ts +18 -0
- package/dist/op/op-waves.d.ts.map +1 -1
- package/dist/op/op-waves.js +16 -0
- package/dist/pr-loop.d.ts.map +1 -1
- package/dist/pr-loop.js +1 -2
- package/dist/release-floors.d.ts +1 -1
- package/dist/release-floors.js +1 -1
- package/dist/template-request/index.d.ts +9 -0
- package/dist/template-request/index.d.ts.map +1 -0
- package/dist/template-request/index.js +8 -0
- package/dist/template-request/request-body.d.ts +21 -0
- package/dist/template-request/request-body.d.ts.map +1 -0
- package/dist/template-request/request-body.js +86 -0
- package/dist/template-request/template-request.d.ts +100 -0
- package/dist/template-request/template-request.d.ts.map +1 -0
- package/dist/template-request/template-request.js +150 -0
- package/dist/template-request/template-request.schema.json +100 -0
- package/dist/template-request/template-spec.d.ts +83 -0
- package/dist/template-request/template-spec.d.ts.map +1 -0
- package/dist/template-request/template-spec.js +146 -0
- package/dist/template-request/template.schema.json +114 -0
- package/dist/template-request/validate.d.ts +4 -0
- package/dist/template-request/validate.d.ts.map +1 -0
- package/dist/template-request/validate.js +21 -0
- package/dist/wave-runtime.mjs +310 -300
- package/package.json +8 -1
- package/src/ci-audit/index.ts +1 -2
- package/src/ci-product-words.test.ts +23 -0
- package/src/ci-product-words.ts +68 -3
- package/src/ci-product.ts +36 -6
- package/src/cli/commands/init.ts +3 -1
- package/src/cli/handlers/build.ts +5 -1
- package/src/cli/handlers/init.ts +18 -0
- package/src/cli/handlers/lifecycle.ts +13 -0
- package/src/cli/handlers/pr-before-merge.test.ts +1 -1
- package/src/cli/handlers/pr-deploy-inputs.test.ts +1 -1
- package/src/cli/handlers/pr-endpoint.test.ts +1 -1
- package/src/cli/handlers/pr-green.test.ts +1 -1
- package/src/cli/handlers/pr-plan-comment-targets.test.ts +1 -1
- package/src/cli/handlers/pr-plan-flags.test.ts +1 -1
- package/src/cli/handlers/pr-plan-targets.test.ts +1 -1
- package/src/cli/handlers/pr-record.test.ts +34 -2
- package/src/cli/handlers/pr-waves-blocked.test.ts +1 -1
- package/src/cli/handlers/pr-waves.test.ts +1 -1
- package/src/cli/handlers/pr.test.ts +1 -1
- package/src/cli/handlers/pr.ts +86 -31
- package/src/cli/handlers/serve.ts +9 -0
- package/src/cli/main.ts +6 -2
- package/src/cli/mcp/product-tools.test.ts +57 -1
- package/src/cli/mcp/product-tools.ts +67 -15
- package/src/cli/mcp/read-only.ts +2 -1
- package/src/cli/mcp/server.ts +20 -5
- package/src/cli/mcp-config.test.ts +52 -2
- package/src/cli/mcp-config.ts +6 -3
- package/src/cli/parse-args.ts +7 -0
- package/src/cli/registry.ts +8 -0
- package/src/components/auto-release.test.ts +4 -2
- package/src/components/auto-release.ts +9 -5
- package/src/components/capability.ts +10 -0
- package/src/components/deploy-units.test.ts +18 -1
- package/src/components/deploy-units.ts +26 -1
- package/src/components/pr-pipeline.ts +99 -5
- package/src/components/product-actions.test.ts +76 -0
- package/src/components/product-pipeline.ts +21 -2
- package/src/components/row-lease.test.ts +61 -1
- package/src/components/row-lease.ts +48 -7
- package/src/e2e-harness/driver.test.ts +163 -0
- package/src/e2e-harness/driver.ts +86 -1
- package/src/e2e-harness/forgejo.ts +42 -1
- package/src/e2e-harness/index.ts +12 -2
- package/src/e2e-harness/ports.ts +33 -0
- package/src/e2e-harness/scenario.ts +8 -6
- package/src/e2e-harness/schemas/README.md +11 -2
- package/src/e2e-harness/schemas/e2e-scenario.schema.json +43 -3
- package/src/e2e-harness/schemas/index.ts +5 -1
- package/src/e2e-harness/schemas.test.ts +44 -1
- package/src/e2e-harness/steps.ts +4 -0
- package/src/lexicon.ts +9 -0
- package/src/lifecycle/git.test.ts +155 -0
- package/src/lifecycle/git.ts +213 -17
- package/src/lifecycle/lock-rows.test.ts +6 -1
- package/src/lifecycle/lock-rows.ts +58 -7
- package/src/lifecycle/resource-lock-wait.test.ts +292 -0
- package/src/lifecycle/resource-lock.ts +261 -7
- package/src/mcp/types.ts +9 -0
- package/src/op/gate.test.ts +7 -5
- package/src/op/gate.ts +20 -4
- package/src/op/op-waves-after-plan.test.ts +1 -2
- package/src/op/op-waves-ledger-lock.test.ts +208 -0
- package/src/op/op-waves-release-port.ts +1 -1
- package/src/op/op-waves-release.ts +1 -1
- package/src/op/op-waves-run.ts +104 -29
- package/src/op/op-waves.ts +18 -0
- package/src/pr-loop-bundle.test.ts +0 -2
- package/src/pr-loop.ts +1 -2
- package/src/release-floors.ts +1 -1
- package/src/template-request/__fixtures__/request-body.md +41 -0
- package/src/template-request/index.ts +8 -0
- package/src/template-request/request-body.ts +91 -0
- package/src/template-request/template-request.schema.json +100 -0
- package/src/template-request/template-request.test.ts +316 -0
- package/src/template-request/template-request.ts +235 -0
- package/src/template-request/template-spec.ts +176 -0
- package/src/template-request/template.schema.json +114 -0
- package/src/template-request/validate.ts +28 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ci-audit/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ci-audit/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,sFAAsF;AACtF,eAAO,MAAM,cAAc,aAAa,CAAC;AAEzC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"}
|
package/dist/ci-audit/index.js
CHANGED
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
* records, in CI core for terragucci and plywood. A product feature-detects
|
|
5
5
|
* on `CI_AUDIT_FLOOR`.
|
|
6
6
|
*/
|
|
7
|
-
import { NEXT_RELEASE } from "../release-floors.js";
|
|
8
7
|
/** The first chant with drift attribution and the unrecorded writer audit in core. */
|
|
9
|
-
export const CI_AUDIT_FLOOR =
|
|
8
|
+
export const CI_AUDIT_FLOOR = "0.124.56";
|
|
10
9
|
export * from "./audit-log.js";
|
|
11
10
|
export * from "./attribution.js";
|
|
12
11
|
export * from "./unrecorded.js";
|
|
@@ -26,8 +26,12 @@
|
|
|
26
26
|
export type CiProductStage = "plan" | "apply" | "record" | "check" | "drift" | "lock" | "approval" | "control";
|
|
27
27
|
/** Every stage slot, in the order {@link assertProductWords} reports them. */
|
|
28
28
|
export declare const CI_PRODUCT_STAGES: readonly CiProductStage[];
|
|
29
|
-
/**
|
|
30
|
-
|
|
29
|
+
/**
|
|
30
|
+
* The commands a comment may name. Each one needs a job in the pipeline that
|
|
31
|
+
* answers it. `action` (#4653) asks for a day-2 action on one member, which
|
|
32
|
+
* runs under a gated request.
|
|
33
|
+
*/
|
|
34
|
+
export type CiProductCommand = "plan" | "apply" | "lock" | "unlock" | "agent" | "action";
|
|
31
35
|
export declare const CI_PRODUCT_COMMANDS: readonly CiProductCommand[];
|
|
32
36
|
/**
|
|
33
37
|
* What an approval of a product's waves binds to (ruling B, 2026-10-27).
|
|
@@ -276,6 +280,16 @@ export type ParsedProductComment =
|
|
|
276
280
|
| {
|
|
277
281
|
kind: "agent";
|
|
278
282
|
ask: string;
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* A day-2 action (#4653): `<member> <action>`, such as `apps/orders
|
|
286
|
+
* module.app.action.aws_lambda_invoke.rotate` or a stack's action name.
|
|
287
|
+
* The engine's lexicon checks the action against the member's plan.
|
|
288
|
+
*/
|
|
289
|
+
| {
|
|
290
|
+
kind: "action";
|
|
291
|
+
member: string;
|
|
292
|
+
address: string;
|
|
279
293
|
} | {
|
|
280
294
|
kind: "refused";
|
|
281
295
|
reason: string;
|
|
@@ -293,4 +307,35 @@ export declare const PRODUCT_COMMENT_ASK_MAX = 2000;
|
|
|
293
307
|
* `env` turns on an alias whose `when` variable is `1` there.
|
|
294
308
|
*/
|
|
295
309
|
export declare function parseProductComment(words: CiProductWords, body: unknown, env?: Record<string, string | undefined>): ParsedProductComment | undefined;
|
|
310
|
+
/**
|
|
311
|
+
* The variables the generated action job (#4654) hands the product's action
|
|
312
|
+
* verb: the comment that started it, on a comment, and the dispatch's two
|
|
313
|
+
* inputs, on a dispatch. The values reach the job as variables and never as
|
|
314
|
+
* shell text; {@link productActionFromEnv} reads them.
|
|
315
|
+
*/
|
|
316
|
+
export declare const PRODUCT_ACTION_ENV: {
|
|
317
|
+
readonly comment: "CHANT_ACTION_COMMENT";
|
|
318
|
+
readonly member: "CHANT_ACTION_MEMBER";
|
|
319
|
+
readonly action: "CHANT_ACTION";
|
|
320
|
+
};
|
|
321
|
+
/** The flag the generated action job passes the product's action verb, so it reads {@link PRODUCT_ACTION_ENV} (#4654). */
|
|
322
|
+
export declare const PRODUCT_ACTION_EVENT_FLAG = "--from-event";
|
|
323
|
+
/** What an action job was asked for (#4654): a member and an action, from a comment or a dispatch. */
|
|
324
|
+
export type ProductActionRequest = {
|
|
325
|
+
kind: "action";
|
|
326
|
+
member: string;
|
|
327
|
+
address: string;
|
|
328
|
+
from: "comment" | "dispatch";
|
|
329
|
+
} | {
|
|
330
|
+
kind: "refused";
|
|
331
|
+
reason: string;
|
|
332
|
+
};
|
|
333
|
+
/**
|
|
334
|
+
* The action an action job was started for (#4654), read from
|
|
335
|
+
* {@link PRODUCT_ACTION_ENV}: a comment, parsed as {@link parseProductComment}
|
|
336
|
+
* parses it, else the dispatch's member and action, checked by the same
|
|
337
|
+
* rules. A product's action verb calls this under
|
|
338
|
+
* {@link PRODUCT_ACTION_EVENT_FLAG}.
|
|
339
|
+
*/
|
|
340
|
+
export declare function productActionFromEnv(words: CiProductWords, env: Record<string, string | undefined>): ProductActionRequest;
|
|
296
341
|
//# sourceMappingURL=ci-product-words.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ci-product-words.d.ts","sourceRoot":"","sources":["../src/ci-product-words.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,iGAAiG;AACjG,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;AAE/G,8EAA8E;AAC9E,eAAO,MAAM,iBAAiB,EAAE,SAAS,cAAc,EAAiF,CAAC;AAEzI
|
|
1
|
+
{"version":3,"file":"ci-product-words.d.ts","sourceRoot":"","sources":["../src/ci-product-words.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,iGAAiG;AACjG,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;AAE/G,8EAA8E;AAC9E,eAAO,MAAM,iBAAiB,EAAE,SAAS,cAAc,EAAiF,CAAC;AAEzI;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEzF,eAAO,MAAM,mBAAmB,EAAE,SAAS,gBAAgB,EAA2D,CAAC;AAEvH;;;;;;GAMG;AACH,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,cAAc,CAAC;AAE5D;;;;;;GAMG;AACH,MAAM,MAAM,kBAAkB,GAAG,UAAU,GAAG,SAAS,GAAG,cAAc,CAAC;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;GASG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAM,GAAG,oBAAoB,GAAG,SAAS,CA2FxJ;AAED;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB;aAAK,OAAO,EAAE,sBAAsB;aAAE,MAAM,EAAE,qBAAqB;aAAE,MAAM,EAAE,cAAc;CAAW,CAAC;AAEtI,0HAA0H;AAC1H,eAAO,MAAM,yBAAyB,iBAAiB,CAAC;AAExD,sGAAsG;AACtG,MAAM,MAAM,oBAAoB,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,SAAS,GAAG,UAAU,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3J;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG,oBAAoB,CAiBzH"}
|
package/dist/ci-product-words.js
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
*/
|
|
25
25
|
/** Every stage slot, in the order {@link assertProductWords} reports them. */
|
|
26
26
|
export const CI_PRODUCT_STAGES = ["plan", "apply", "record", "check", "drift", "lock", "approval", "control"];
|
|
27
|
-
export const CI_PRODUCT_COMMANDS = ["plan", "apply", "lock", "unlock", "agent"];
|
|
27
|
+
export const CI_PRODUCT_COMMANDS = ["plan", "apply", "lock", "unlock", "agent", "action"];
|
|
28
28
|
export const CI_PRODUCT_APPLY_MODES = ["on-merge", "release", "before-merge"];
|
|
29
29
|
/** chant's own wave label in a notify summary. */
|
|
30
30
|
export const CHANT_NOTIFY_WAVE_TEMPLATE = "wave {k} ({name}) of {spec}";
|
|
@@ -280,6 +280,12 @@ const MEMBER = /^[A-Za-z0-9_][A-Za-z0-9_.\/-]{0,199}$/;
|
|
|
280
280
|
* It never reaches a shell: the job reads the comment from a variable.
|
|
281
281
|
*/
|
|
282
282
|
const TARGET = /^[A-Za-z0-9_][A-Za-z0-9_.:\/\[\]"*@=+$,-]{0,499}$/;
|
|
283
|
+
/**
|
|
284
|
+
* An action as a comment may name it (#4653): a Terraform action address,
|
|
285
|
+
* module steps and instance keys included, or a configured action's name.
|
|
286
|
+
* No leading dash, no spaces, no shell or glob syntax.
|
|
287
|
+
*/
|
|
288
|
+
const ACTION = /^[A-Za-z_][A-Za-z0-9_.\[\]"-]{0,299}$/;
|
|
283
289
|
/** The longest ask an agent comment may carry. */
|
|
284
290
|
export const PRODUCT_COMMENT_ASK_MAX = 2000;
|
|
285
291
|
/** Commands a comment never runs, named in the reply so nobody waits on them. */
|
|
@@ -360,6 +366,18 @@ export function parseProductComment(words, body, env = {}) {
|
|
|
360
366
|
return { kind: "refused", reason: "an ask is plain text, with no control characters" };
|
|
361
367
|
return { kind: "agent", ask };
|
|
362
368
|
}
|
|
369
|
+
case "action": {
|
|
370
|
+
const usage = `${line} takes a ${words.noun[0]} and an action: \`${prefix} ${typed} <${words.noun[0]}> <action>\``;
|
|
371
|
+
if (parts.length !== 4)
|
|
372
|
+
return { kind: "refused", reason: usage };
|
|
373
|
+
const member = parts[2];
|
|
374
|
+
const address = parts[3];
|
|
375
|
+
if (!MEMBER.test(member) || member.split("/").some((s) => s === "" || s === "." || s === ".."))
|
|
376
|
+
return { kind: "refused", reason: `the ${words.noun[0]} is a name or a path from the repository root` };
|
|
377
|
+
if (!ACTION.test(address))
|
|
378
|
+
return { kind: "refused", reason: "an action is an action address or name, with no spaces or shell characters" };
|
|
379
|
+
return { kind: "action", member, address };
|
|
380
|
+
}
|
|
363
381
|
case "apply": {
|
|
364
382
|
if (parts.length === 2)
|
|
365
383
|
return { kind: "apply" };
|
|
@@ -405,3 +423,43 @@ export function parseProductComment(words, body, env = {}) {
|
|
|
405
423
|
}
|
|
406
424
|
}
|
|
407
425
|
}
|
|
426
|
+
/**
|
|
427
|
+
* The variables the generated action job (#4654) hands the product's action
|
|
428
|
+
* verb: the comment that started it, on a comment, and the dispatch's two
|
|
429
|
+
* inputs, on a dispatch. The values reach the job as variables and never as
|
|
430
|
+
* shell text; {@link productActionFromEnv} reads them.
|
|
431
|
+
*/
|
|
432
|
+
export const PRODUCT_ACTION_ENV = { comment: "CHANT_ACTION_COMMENT", member: "CHANT_ACTION_MEMBER", action: "CHANT_ACTION" };
|
|
433
|
+
/** The flag the generated action job passes the product's action verb, so it reads {@link PRODUCT_ACTION_ENV} (#4654). */
|
|
434
|
+
export const PRODUCT_ACTION_EVENT_FLAG = "--from-event";
|
|
435
|
+
/**
|
|
436
|
+
* The action an action job was started for (#4654), read from
|
|
437
|
+
* {@link PRODUCT_ACTION_ENV}: a comment, parsed as {@link parseProductComment}
|
|
438
|
+
* parses it, else the dispatch's member and action, checked by the same
|
|
439
|
+
* rules. A product's action verb calls this under
|
|
440
|
+
* {@link PRODUCT_ACTION_EVENT_FLAG}.
|
|
441
|
+
*/
|
|
442
|
+
export function productActionFromEnv(words, env) {
|
|
443
|
+
const typed = commandWord(words, "action");
|
|
444
|
+
if (typed === undefined)
|
|
445
|
+
return { kind: "refused", reason: `${words.product} names no action command, so no job answers one` };
|
|
446
|
+
const comment = env[PRODUCT_ACTION_ENV.comment]?.trim();
|
|
447
|
+
if (comment) {
|
|
448
|
+
const parsed = parseProductComment(words, comment, env);
|
|
449
|
+
if (parsed?.kind === "action")
|
|
450
|
+
return { ...parsed, from: "comment" };
|
|
451
|
+
if (parsed?.kind === "refused")
|
|
452
|
+
return parsed;
|
|
453
|
+
return { kind: "refused", reason: `the comment is not \`/${words.product} ${typed} <${words.noun[0]}> <action>\`` };
|
|
454
|
+
}
|
|
455
|
+
const member = env[PRODUCT_ACTION_ENV.member]?.trim() ?? "";
|
|
456
|
+
const action = env[PRODUCT_ACTION_ENV.action]?.trim() ?? "";
|
|
457
|
+
if (member === "" || action === "")
|
|
458
|
+
return { kind: "refused", reason: `a dispatched action names a ${words.noun[0]} and an action` };
|
|
459
|
+
if (/\s/.test(member) || /\s/.test(action))
|
|
460
|
+
return { kind: "refused", reason: `a ${words.noun[0]} and an action are one word each` };
|
|
461
|
+
const parsed = parseProductComment(words, `/${words.product} ${typed} ${member} ${action}`, {});
|
|
462
|
+
if (parsed?.kind === "action")
|
|
463
|
+
return { ...parsed, from: "dispatch" };
|
|
464
|
+
return parsed?.kind === "refused" ? parsed : { kind: "refused", reason: `a dispatched action names a ${words.noun[0]} and an action` };
|
|
465
|
+
}
|
package/dist/ci-product.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ import type { ProductWaveHook } from "./op/op-waves-after-plan.js";
|
|
|
18
18
|
* note (#4573).
|
|
19
19
|
*/
|
|
20
20
|
export declare const CI_PRODUCT_FLOOR = "0.124.55";
|
|
21
|
-
export { activeProductWords, approveLine, assertProductWords, CHANT_APPROVE_TEMPLATE, CHANT_NOTIFY_WAVE_TEMPLATE, CHANT_OVERRIDE_TEMPLATE, CHANT_WORDS, CI_PRODUCT_APPLY_MODES, CI_PRODUCT_COMMANDS, CI_PRODUCT_STAGES, CiProductWordsError, commandWord, commentLine, isChantWords, notifyWaveLabel, overrideLine, parseProductComment, productContext, productStatusContext, productWaveGate, productWordsProblems, resolveProductWords, setActiveProductWords, withProductWords, type ApproveLineInput, type CiProductAlias, type CiProductApplyMode, type CiProductApproval, type CiProductCommand, type CiProductNotifyWords, type CiProductNotifyWordsInput, type CiProductStage, type CiProductWords, type CiProductWordsInput, type OverrideLineInput, type ParsedProductComment, } from "./ci-product-words.js";
|
|
21
|
+
export { activeProductWords, approveLine, assertProductWords, CHANT_APPROVE_TEMPLATE, CHANT_NOTIFY_WAVE_TEMPLATE, CHANT_OVERRIDE_TEMPLATE, CHANT_WORDS, CI_PRODUCT_APPLY_MODES, CI_PRODUCT_COMMANDS, CI_PRODUCT_STAGES, CiProductWordsError, commandWord, commentLine, isChantWords, notifyWaveLabel, overrideLine, parseProductComment, productActionFromEnv, PRODUCT_ACTION_ENV, PRODUCT_ACTION_EVENT_FLAG, productContext, productStatusContext, productWaveGate, productWordsProblems, resolveProductWords, setActiveProductWords, withProductWords, type ApproveLineInput, type CiProductAlias, type CiProductApplyMode, type CiProductApproval, type CiProductCommand, type CiProductNotifyWords, type CiProductNotifyWordsInput, type CiProductStage, type CiProductWords, type CiProductWordsInput, type OverrideLineInput, type ParsedProductComment, type ProductActionRequest, } from "./ci-product-words.js";
|
|
22
22
|
export { driftNotifyFields, productNotifySource, productNotifyWords, productSendOptions, type DriftNotifyInput } from "./notify-product.js";
|
|
23
23
|
/** The first chant with `chant notify relay` and the notify relay buttons (#4611). */
|
|
24
24
|
export declare const NOTIFY_RELAY_FLOOR = "0.124.55";
|
|
@@ -31,7 +31,18 @@ export declare const NOTIFY_RELAY_FLOOR = "0.124.55";
|
|
|
31
31
|
export declare const PR_PREVIEW_FLOOR = "0.124.55";
|
|
32
32
|
export { decideRelayClick, handleRelayRequest, relayPrincipalFor, RELAY_ENV, slackRelayClick, slackSignature, startRelayServer, teamsRelayClick, teamsSignature, verifySlackRequest, verifyTeamsRequest, type RelayAnswer, type RelayClick, type RelayDeps, type RelayPending, type RelayRequest, type RelayResponse, type RelaySettings, } from "./notify-relay.js";
|
|
33
33
|
export { componentWaveOutputsFile, componentWaveSteps, componentWavesSpec, productAgentSpec, productCommand, productDriftAgent, productPipelineJobs, productWavesSpec, productWavesSpecFile, PRODUCT_WAVES_SPEC_DIR, type ComponentWaveStepOptions, type ComponentWaveSteps, type ComponentWavesSpecOptions, type ProductAgentOptions, type ProductPipelineJobs, type ProductPipelineOptions, } from "./components/product-pipeline.js";
|
|
34
|
-
export { prApplyComment, prCommentLockJobs, prCommentPreviewJob, prLoopSetup, engineSetupLines, withProductBin, type PrCommentLockJob, type PrCommentPreviewJob } from "./components/pr-pipeline.js";
|
|
34
|
+
export { prActionJob, PR_ACTION_JOB, prApplyComment, prCommentLockJobs, prCommentPreviewJob, prLoopSetup, engineSetupLines, withProductBin, type PrActionJob, type PrActionJobOptions, type PrCommentLockJob, type PrCommentPreviewJob } from "./components/pr-pipeline.js";
|
|
35
|
+
/**
|
|
36
|
+
* Day-2 actions in the product pipeline (#4654): the `action` comment
|
|
37
|
+
* command counted as answered by the product's own workflow
|
|
38
|
+
* (`productPipelineJobs(forge, env, { words, actions: true })`), or the
|
|
39
|
+
* pipeline's own action job (`actionJob`, `build --pr-loop --action-job`),
|
|
40
|
+
* which answers the comment and a dispatch with a member and an action
|
|
41
|
+
* input, and runs the product's action verb with `--from-event`. The verb
|
|
42
|
+
* reads what was asked with `productActionFromEnv`. A product
|
|
43
|
+
* feature-detects on this floor.
|
|
44
|
+
*/
|
|
45
|
+
export declare const PRODUCT_ACTIONS_FLOOR = "0.124.58";
|
|
35
46
|
export { CI_SERVICES_FLOOR, engineServices, githubServices, gitlabServices, serviceWaitLine, servicesJobEnv, type CiService } from "./components/ci-services.js";
|
|
36
47
|
export { renderPrNote, prStatusContext, prApproveCommand, prApproveCommands, prApproveTargets, prMergeSentence, type PrMemberDetail } from "./pr-loop.js";
|
|
37
48
|
export { upsertPlanNote } from "./pr-post.js";
|
|
@@ -113,5 +124,18 @@ export { parseRequiresList, PR_APPLY_REQUIRES, type PrApplyRequire } from "./pr-
|
|
|
113
124
|
*/
|
|
114
125
|
export declare const PRODUCT_MCP_HOOK_FLOOR = "0.124.55";
|
|
115
126
|
export type { ProductMcpContext, ProductMcpHook } from "./cli/mcp/product-tools.js";
|
|
127
|
+
/**
|
|
128
|
+
* The `--propose` tier (chant#4655): `runChantInProcess(["serve", "mcp",
|
|
129
|
+
* "--read-only", "--propose"], words, { mcp: hook })`, or `propose: true` on
|
|
130
|
+
* the hook, serves the read-only server's tools plus the product tools that
|
|
131
|
+
* declare `forgeWrite: true` on their `McpToolContribution`, tools that open
|
|
132
|
+
* a pull request or a comment and do nothing else. A product's own tool and
|
|
133
|
+
* hook types widen from `readOnly: true` to `readOnly: true` or `forgeWrite:
|
|
134
|
+
* true` for these, and its hook gains `propose?: boolean`. Feature-detect on
|
|
135
|
+
* `PRODUCT_MCP_PROPOSE_FLOOR`: on an older chant the read-only server drops a
|
|
136
|
+
* `forgeWrite` tool, and `--propose` is not a flag it parses.
|
|
137
|
+
*/
|
|
138
|
+
export { PRODUCT_MCP_PROPOSE_FLOOR, PRODUCT_TOOL_PROPOSE_WORDS } from "./cli/mcp/product-tools.js";
|
|
139
|
+
export type { McpToolContribution } from "./mcp/types.js";
|
|
116
140
|
export { activeOtlp, configureOtlp, OTLP_EXPORTER_FLOOR, RunEventTrace, type CapabilityTraceFacts, type CapabilityTraceSpan, type OtlpExporter, } from "./otlp.js";
|
|
117
141
|
//# sourceMappingURL=ci-product.d.ts.map
|
package/dist/ci-product.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ci-product.d.ts","sourceRoot":"","sources":["../src/ci-product.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;
|
|
1
|
+
{"version":3,"file":"ci-product.d.ts","sourceRoot":"","sources":["../src/ci-product.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAIhE;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,aAAa,CAAC;AAE3C,OAAO,EACL,kBAAkB,EAClB,WAAW,EACX,kBAAkB,EAClB,sBAAsB,EACtB,0BAA0B,EAC1B,uBAAuB,EACvB,WAAW,EACX,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,WAAW,EACX,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ACL,UAAU,EACV,aAAa,EACb,mBAAmB,EACnB,aAAa,EACb,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,YAAY,GAClB,MAAM,QAAQ,CAAC"}
|
package/dist/ci-product.js
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* {@link CI_PRODUCT_FLOOR} is its floor: `productPipelineJobs`, `approveLine`
|
|
9
9
|
* and `assertProductWords` present means the rest is too.
|
|
10
10
|
*/
|
|
11
|
-
import { NEXT_RELEASE } from "./release-floors.js";
|
|
12
11
|
import { OTLP_EXPORTER_FLOOR } from "./otlp.js";
|
|
12
|
+
import { NEXT_RELEASE } from "./release-floors.js";
|
|
13
13
|
/**
|
|
14
14
|
* The first chant with the product pipeline (#4550): the words, the
|
|
15
15
|
* `pull-request` op-wave approval source, `runCommandInProcess(argv, {
|
|
@@ -17,7 +17,7 @@ import { OTLP_EXPORTER_FLOOR } from "./otlp.js";
|
|
|
17
17
|
* note (#4573).
|
|
18
18
|
*/
|
|
19
19
|
export const CI_PRODUCT_FLOOR = "0.124.55";
|
|
20
|
-
export { activeProductWords, approveLine, assertProductWords, CHANT_APPROVE_TEMPLATE, CHANT_NOTIFY_WAVE_TEMPLATE, CHANT_OVERRIDE_TEMPLATE, CHANT_WORDS, CI_PRODUCT_APPLY_MODES, CI_PRODUCT_COMMANDS, CI_PRODUCT_STAGES, CiProductWordsError, commandWord, commentLine, isChantWords, notifyWaveLabel, overrideLine, parseProductComment, productContext, productStatusContext, productWaveGate, productWordsProblems, resolveProductWords, setActiveProductWords, withProductWords, } from "./ci-product-words.js";
|
|
20
|
+
export { activeProductWords, approveLine, assertProductWords, CHANT_APPROVE_TEMPLATE, CHANT_NOTIFY_WAVE_TEMPLATE, CHANT_OVERRIDE_TEMPLATE, CHANT_WORDS, CI_PRODUCT_APPLY_MODES, CI_PRODUCT_COMMANDS, CI_PRODUCT_STAGES, CiProductWordsError, commandWord, commentLine, isChantWords, notifyWaveLabel, overrideLine, parseProductComment, productActionFromEnv, PRODUCT_ACTION_ENV, PRODUCT_ACTION_EVENT_FLAG, productContext, productStatusContext, productWaveGate, productWordsProblems, resolveProductWords, setActiveProductWords, withProductWords, } from "./ci-product-words.js";
|
|
21
21
|
export { driftNotifyFields, productNotifySource, productNotifyWords, productSendOptions } from "./notify-product.js";
|
|
22
22
|
/** The first chant with `chant notify relay` and the notify relay buttons (#4611). */
|
|
23
23
|
export const NOTIFY_RELAY_FLOOR = "0.124.55";
|
|
@@ -30,7 +30,18 @@ export const NOTIFY_RELAY_FLOOR = "0.124.55";
|
|
|
30
30
|
export const PR_PREVIEW_FLOOR = "0.124.55";
|
|
31
31
|
export { decideRelayClick, handleRelayRequest, relayPrincipalFor, RELAY_ENV, slackRelayClick, slackSignature, startRelayServer, teamsRelayClick, teamsSignature, verifySlackRequest, verifyTeamsRequest, } from "./notify-relay.js";
|
|
32
32
|
export { componentWaveOutputsFile, componentWaveSteps, componentWavesSpec, productAgentSpec, productCommand, productDriftAgent, productPipelineJobs, productWavesSpec, productWavesSpecFile, PRODUCT_WAVES_SPEC_DIR, } from "./components/product-pipeline.js";
|
|
33
|
-
export { prApplyComment, prCommentLockJobs, prCommentPreviewJob, prLoopSetup, engineSetupLines, withProductBin } from "./components/pr-pipeline.js";
|
|
33
|
+
export { prActionJob, PR_ACTION_JOB, prApplyComment, prCommentLockJobs, prCommentPreviewJob, prLoopSetup, engineSetupLines, withProductBin } from "./components/pr-pipeline.js";
|
|
34
|
+
/**
|
|
35
|
+
* Day-2 actions in the product pipeline (#4654): the `action` comment
|
|
36
|
+
* command counted as answered by the product's own workflow
|
|
37
|
+
* (`productPipelineJobs(forge, env, { words, actions: true })`), or the
|
|
38
|
+
* pipeline's own action job (`actionJob`, `build --pr-loop --action-job`),
|
|
39
|
+
* which answers the comment and a dispatch with a member and an action
|
|
40
|
+
* input, and runs the product's action verb with `--from-event`. The verb
|
|
41
|
+
* reads what was asked with `productActionFromEnv`. A product
|
|
42
|
+
* feature-detects on this floor.
|
|
43
|
+
*/
|
|
44
|
+
export const PRODUCT_ACTIONS_FLOOR = NEXT_RELEASE;
|
|
34
45
|
export { CI_SERVICES_FLOOR, engineServices, githubServices, gitlabServices, serviceWaitLine, servicesJobEnv } from "./components/ci-services.js";
|
|
35
46
|
export { renderPrNote, prStatusContext, prApproveCommand, prApproveCommands, prApproveTargets, prMergeSentence } from "./pr-loop.js";
|
|
36
47
|
export { upsertPlanNote } from "./pr-post.js";
|
|
@@ -40,7 +51,7 @@ export { upsertPlanNote } from "./pr-post.js";
|
|
|
40
51
|
* open pull request's head. A product feature-detects on
|
|
41
52
|
* `APPROVAL_STATUS_FLOOR`.
|
|
42
53
|
*/
|
|
43
|
-
export const APPROVAL_STATUS_FLOOR =
|
|
54
|
+
export const APPROVAL_STATUS_FLOOR = "0.124.56";
|
|
44
55
|
/**
|
|
45
56
|
* The approval status for `pull-request` waves too (#4630, 2026-10-28
|
|
46
57
|
* ruling): the generators add the record-plans and approval-status jobs for
|
|
@@ -49,7 +60,7 @@ export const APPROVAL_STATUS_FLOOR = NEXT_RELEASE;
|
|
|
49
60
|
* as plywood, whose waves all take `approval: pull-request`, feature-detects
|
|
50
61
|
* on this floor.
|
|
51
62
|
*/
|
|
52
|
-
export const APPROVAL_STATUS_PULL_REQUEST_FLOOR =
|
|
63
|
+
export const APPROVAL_STATUS_PULL_REQUEST_FLOOR = "0.124.56";
|
|
53
64
|
export { opWavesPostsApprovalStatus } from "./op/op-waves.js";
|
|
54
65
|
export { approvalStatusOf, headWaveHolds, postApprovalStatus, postOpenApprovalStatuses } from "./op/approval-status.js";
|
|
55
66
|
/**
|
|
@@ -58,7 +69,7 @@ export { approvalStatusOf, headWaveHolds, postApprovalStatus, postOpenApprovalSt
|
|
|
58
69
|
* words. `productPipelineJobs(forge, env, { words, respond, decide })` turns
|
|
59
70
|
* them on and off; a product feature-detects on `CI_RESPOND_FLOOR`.
|
|
60
71
|
*/
|
|
61
|
-
export const CI_RESPOND_FLOOR =
|
|
72
|
+
export const CI_RESPOND_FLOOR = "0.124.56";
|
|
62
73
|
/**
|
|
63
74
|
* `chant build --pr-loop` carries `--merge auto --merge-token-env <VAR>
|
|
64
75
|
* [--merge-method <m>]` (#4636), `--respond <list>`, `--decide-backend` and
|
|
@@ -66,7 +77,7 @@ export const CI_RESPOND_FLOOR = NEXT_RELEASE;
|
|
|
66
77
|
* the build parsed them and wrote jobs without them; a product that writes
|
|
67
78
|
* its pull request jobs with the build feature-detects on this floor.
|
|
68
79
|
*/
|
|
69
|
-
export const PR_LOOP_BUILD_FLAGS_FLOOR =
|
|
80
|
+
export const PR_LOOP_BUILD_FLAGS_FLOOR = "0.124.56";
|
|
70
81
|
export { CI_RESPOND_DEFAULTS, CI_RESPOND_ENV, CI_RESPONSES, parseRespondList, renderRefusedDiff, renderTriage, respondList, resolveResponses, } from "./ci-respond.js";
|
|
71
82
|
export { respondDescription, respondOpWave, respondPrApply, triageOfOpWave, triageOfPrReport, refusedOfOpWave, refusedOfPrReport } from "./ci-respond-run.js";
|
|
72
83
|
/**
|
|
@@ -110,4 +121,16 @@ export { parseRequiresList, PR_APPLY_REQUIRES } from "./pr-requires.js";
|
|
|
110
121
|
* `PRODUCT_MCP_HOOK_FLOOR`: present means both are.
|
|
111
122
|
*/
|
|
112
123
|
export const PRODUCT_MCP_HOOK_FLOOR = OTLP_EXPORTER_FLOOR;
|
|
124
|
+
/**
|
|
125
|
+
* The `--propose` tier (chant#4655): `runChantInProcess(["serve", "mcp",
|
|
126
|
+
* "--read-only", "--propose"], words, { mcp: hook })`, or `propose: true` on
|
|
127
|
+
* the hook, serves the read-only server's tools plus the product tools that
|
|
128
|
+
* declare `forgeWrite: true` on their `McpToolContribution`, tools that open
|
|
129
|
+
* a pull request or a comment and do nothing else. A product's own tool and
|
|
130
|
+
* hook types widen from `readOnly: true` to `readOnly: true` or `forgeWrite:
|
|
131
|
+
* true` for these, and its hook gains `propose?: boolean`. Feature-detect on
|
|
132
|
+
* `PRODUCT_MCP_PROPOSE_FLOOR`: on an older chant the read-only server drops a
|
|
133
|
+
* `forgeWrite` tool, and `--propose` is not a flag it parses.
|
|
134
|
+
*/
|
|
135
|
+
export { PRODUCT_MCP_PROPOSE_FLOOR, PRODUCT_TOOL_PROPOSE_WORDS } from "./cli/mcp/product-tools.js";
|
|
113
136
|
export { activeOtlp, configureOtlp, OTLP_EXPORTER_FLOOR, RunEventTrace, } from "./otlp.js";
|
|
@@ -16,6 +16,8 @@ export interface InitOptions {
|
|
|
16
16
|
skipMcp?: boolean;
|
|
17
17
|
/** Register `chant serve mcp --read-only` in `.mcp.json` (`--mcp-read-only`, chant#4543) */
|
|
18
18
|
mcpReadOnly?: boolean;
|
|
19
|
+
/** With `mcpReadOnly`, register `chant serve mcp --read-only --propose` (`--propose`, chant#4655) */
|
|
20
|
+
mcpPropose?: boolean;
|
|
19
21
|
/** Skip interactive install prompt */
|
|
20
22
|
skipInstall?: boolean;
|
|
21
23
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/init.ts"],"names":[],"mappings":"AASA,wEAAwE;AACxE,wBAAgB,eAAe,IAAI,MAAM,CAQxC;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,yCAAyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qBAAqB;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,4FAA4F;IAC5F,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,sCAAsC;IACtC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;I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CAAC;IACrB,sCAAsC;IACtC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,6BAA6B;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,oBAAoB;IACpB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,uBAAuB;IACvB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,8BAA8B;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;GAIG;AACH,eAAO,MAAM,yBAAyB;aACpC,aAAa,EAAE,SAAS;aACxB,UAAU,EAAE,kBAAkB;CACtB,CAAC;AAkCX;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,IAAI,MAAM,CAmBzC;AAmHD;;GAEG;AACH,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,UAAU,CAAC,CA6O3E;AAED;;GAEG;AACH,wBAAsB,eAAe,CACnC,MAAM,EAAE,UAAU,EAClB,OAAO,CAAC,EAAE;IAAE,WAAW,CAAC,EAAE,OAAO,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAChD,OAAO,CAAC,IAAI,CAAC,CA8Cf"}
|
|
@@ -288,7 +288,7 @@ export async function initCommand(options) {
|
|
|
288
288
|
// chant #2383 for the three-way disagreement that came of writing it into
|
|
289
289
|
// the user's home directory instead.
|
|
290
290
|
if (!options.skipMcp) {
|
|
291
|
-
writeIfNotExists(mcpConfigPath(targetDir), generateMcpConfig(detectPackageManager(targetDir), { readOnly: options.mcpReadOnly }), MCP_CONFIG_FILENAME, createdFiles, warnings);
|
|
291
|
+
writeIfNotExists(mcpConfigPath(targetDir), generateMcpConfig(detectPackageManager(targetDir), { readOnly: options.mcpReadOnly, propose: options.mcpPropose }), MCP_CONFIG_FILENAME, createdFiles, warnings);
|
|
292
292
|
}
|
|
293
293
|
// Install skills from the lexicon's plugin. With --skill, install only
|
|
294
294
|
// the matching skill; without, install all.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/build.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/build.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAqGlD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,QAAQ,GAAG,kBAAkB,GAAG,OAAO,GAAG,eAAe,GAAG,aAAa,GAAG,SAAS,GAAG,eAAe,GAAG,aAAa,GAAG,kBAAkB,CAAC,GAAG,MAAM,GAAG,SAAS,CA6BvO;AAuOD,wBAAsB,QAAQ,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAsJnE"}
|
|
@@ -52,7 +52,9 @@ async function engineSetupFor(path) {
|
|
|
52
52
|
* `--apply-before-merge` (#4301) writes the apply job that applies an open
|
|
53
53
|
* pull request before it merges, beside the record job.
|
|
54
54
|
* `--preview-comment` (#4620) writes the jobs that answer the product's plan
|
|
55
|
-
* comment with a preview of the pull request's head.
|
|
55
|
+
* comment with a preview of the pull request's head. `--action-job` (#4654)
|
|
56
|
+
* writes the job that answers the product's action comment and a dispatch
|
|
57
|
+
* with a member and an action.
|
|
56
58
|
* `--pr-runner`, `--pr-variable`, `--pr-secret` and `--parallelism` (#4625)
|
|
57
59
|
* set each stage's runner, the plan and apply jobs' variables and passed
|
|
58
60
|
* secrets, and how many members the plan plans at once.
|
|
@@ -80,6 +82,8 @@ function prLoopOption(args, reportUrl, requireReview = false, requireRunnerStart
|
|
|
80
82
|
...(args.prEnv ? { prEnvironment: true } : {}),
|
|
81
83
|
...(args.applyBeforeMerge ? { applyBeforeMerge: true } : {}),
|
|
82
84
|
...(args.previewComment ? { previewComment: true } : {}),
|
|
85
|
+
// #4654: the job that answers the action comment and the action dispatch.
|
|
86
|
+
...(args.actionJob ? { actionJob: true } : {}),
|
|
83
87
|
// #4628: the note carries its target commit, and a push marks the open notes stale.
|
|
84
88
|
...(args.staleNotes ? { staleNotes: true } : {}),
|
|
85
89
|
...(args.requires ? { applyRequires: args.requires } : {}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/init.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,wBAAsB,OAAO,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/init.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,wBAAsB,OAAO,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CA4ClE;AAED,wBAAsB,cAAc,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAoBzE"}
|
|
@@ -3,6 +3,21 @@ export async function runInit(ctx) {
|
|
|
3
3
|
const { args } = ctx;
|
|
4
4
|
if (args.migrateFrom !== undefined)
|
|
5
5
|
return runInitFrom(ctx);
|
|
6
|
+
// chant#4655 — --propose registers the read-only server's propose tier, so it needs --mcp-read-only.
|
|
7
|
+
if (args.propose === true && args.mcpReadOnly !== true) {
|
|
8
|
+
console.error(formatError({
|
|
9
|
+
message: "chant init --propose needs --mcp-read-only",
|
|
10
|
+
hint: "Usage: chant init --mcp-read-only --propose (registers chant serve mcp --read-only --propose in .mcp.json)",
|
|
11
|
+
}));
|
|
12
|
+
return 1;
|
|
13
|
+
}
|
|
14
|
+
// chant#4655 — --dry-run prints the .mcp.json init would register and writes nothing.
|
|
15
|
+
if (args.dryRun === true) {
|
|
16
|
+
const { detectPackageManager, generateMcpConfig } = await import("../mcp-config.js");
|
|
17
|
+
const target = args.path === "." || args.path === undefined ? process.cwd() : args.path;
|
|
18
|
+
console.log(generateMcpConfig(detectPackageManager(target), { readOnly: args.mcpReadOnly, propose: args.propose }));
|
|
19
|
+
return 0;
|
|
20
|
+
}
|
|
6
21
|
if (!args.lexicon) {
|
|
7
22
|
console.error(formatError({
|
|
8
23
|
message: "Missing --lexicon flag",
|
|
@@ -19,6 +34,7 @@ export async function runInit(ctx) {
|
|
|
19
34
|
force: args.force,
|
|
20
35
|
skipMcp: args.skipMcp,
|
|
21
36
|
mcpReadOnly: args.mcpReadOnly,
|
|
37
|
+
mcpPropose: args.propose,
|
|
22
38
|
skipInstall: true,
|
|
23
39
|
});
|
|
24
40
|
await printInitResult(result, { skipInstall: false, cwd: args.path });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycle.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/lifecycle.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lifecycle.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/lifecycle.ts"],"names":[],"mappings":"AAmDA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAKlD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAKhD;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,GAAG,MAAM,CAE9E;AAED;;cAEc;AACd,UAAU,WAAW;IACnB;iDAC6C;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;I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E/E"}
|
|
@@ -22,6 +22,7 @@ import { collectEffectReceipts, isEffectReceipt } from "../../effect-receipt.js"
|
|
|
22
22
|
import { formatUnobserved, mergeObservations, normalizeObservation, unobservedAll, } from "../../observation.js";
|
|
23
23
|
import { describeIdentities, identityStatusText } from "../../identity.js";
|
|
24
24
|
import { discoverComponents } from "../../components/discover.js";
|
|
25
|
+
import { changedFilesBetween, lexiconChangedUnits } from "../../components/changed-files.js";
|
|
25
26
|
import { cfnDeployStacks } from "./components.js";
|
|
26
27
|
import { affectedStacks } from "../../lifecycle/affected.js";
|
|
27
28
|
import { rollbackToRevision } from "../../lifecycle/rollback.js";
|
|
@@ -1849,6 +1850,19 @@ export async function runLifecycleAffected(ctx) {
|
|
|
1849
1850
|
headRef: args.head,
|
|
1850
1851
|
includeDependents: args.includeDependents,
|
|
1851
1852
|
});
|
|
1853
|
+
// Units that are not chant source, a Terraform root or a Pulumi stack, never
|
|
1854
|
+
// show in the artifact diff; the lexicon that owns each answers from the
|
|
1855
|
+
// changed paths (#3183), as `components pr-plan` and `fan-out --base` add them.
|
|
1856
|
+
if (plugins.some((p) => p.changedUnits)) {
|
|
1857
|
+
const root = resolve(".");
|
|
1858
|
+
const units = await lexiconChangedUnits(plugins, {
|
|
1859
|
+
projectRoot: root,
|
|
1860
|
+
config: config,
|
|
1861
|
+
changedFiles: await changedFilesBetween(root, args.base, args.head ?? "HEAD"),
|
|
1862
|
+
});
|
|
1863
|
+
if (units.length > 0)
|
|
1864
|
+
result = { ...result, changed: [...new Set([...result.changed, ...units])].sort() };
|
|
1865
|
+
}
|
|
1852
1866
|
}
|
|
1853
1867
|
catch (err) {
|
|
1854
1868
|
console.error(formatError({ message: err instanceof Error ? err.message : String(err) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pr.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/pr.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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