@theagilemonkeys/facility 0.3.3 → 0.4.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theagilemonkeys/facility",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Run an AI crew on your GitHub repo: agents that plan before building, build to your standard, verify on a provisioned environment, and never merge their own work.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
package/src/init.mjs
CHANGED
|
@@ -403,6 +403,8 @@ export async function init(flags, pkgRoot, version) {
|
|
|
403
403
|
CODEX_VERSION: "0.144.6",
|
|
404
404
|
ARCHITECT_REPO_LANE: "true",
|
|
405
405
|
BUILDER_REPO_LANE: "true",
|
|
406
|
+
CODEX_ARCHITECT_REPO_LANE: "true",
|
|
407
|
+
CODEX_BUILDER_REPO_LANE: "true",
|
|
406
408
|
PROVISION_CMD: provisionCmd,
|
|
407
409
|
CHECKS_INLINE: checksInline,
|
|
408
410
|
CHECKS_RUN: checksRun(checks),
|
|
@@ -527,12 +529,14 @@ export async function init(flags, pkgRoot, version) {
|
|
|
527
529
|
codex: { provider: "openai", mode: "api-key" },
|
|
528
530
|
},
|
|
529
531
|
defaultBranch,
|
|
532
|
+
packageInstall: null,
|
|
530
533
|
provision: provision || null,
|
|
531
534
|
checks,
|
|
532
535
|
models,
|
|
533
536
|
preview,
|
|
534
537
|
canaryBot,
|
|
535
538
|
board: project ? { org, project: Number(project) } : null,
|
|
539
|
+
executionLane: { architect: "repo", builder: "repo" },
|
|
536
540
|
modules: [],
|
|
537
541
|
};
|
|
538
542
|
writeFileSync(join(dir, ".facility.json"), formatManifest(manifest));
|
|
@@ -23,9 +23,9 @@ jobs:
|
|
|
23
23
|
if: |
|
|
24
24
|
github.event.sender.type != 'Bot' &&
|
|
25
25
|
(
|
|
26
|
-
(github.event_name == 'issue_comment' && (({{
|
|
27
|
-
(github.event_name == 'pull_request_review_comment' && (({{
|
|
28
|
-
(github.event_name == 'issues' && (({{
|
|
26
|
+
(github.event_name == 'issue_comment' && (({{CODEX_BUILDER_REPO_LANE}} && contains(github.event.comment.body, '/codex-builder')) || ({{CODEX_ARCHITECT_REPO_LANE}} && contains(github.event.comment.body, '/codex-architect')))) ||
|
|
27
|
+
(github.event_name == 'pull_request_review_comment' && (({{CODEX_BUILDER_REPO_LANE}} && contains(github.event.comment.body, '/codex-builder')) || ({{CODEX_ARCHITECT_REPO_LANE}} && contains(github.event.comment.body, '/codex-architect')))) ||
|
|
28
|
+
(github.event_name == 'issues' && (({{CODEX_BUILDER_REPO_LANE}} && (contains(github.event.issue.body || '', '/codex-builder') || contains(github.event.issue.title || '', '/codex-builder'))) || ({{CODEX_ARCHITECT_REPO_LANE}} && (contains(github.event.issue.body || '', '/codex-architect') || contains(github.event.issue.title || '', '/codex-architect')))))
|
|
29
29
|
)
|
|
30
30
|
runs-on: ubuntu-latest
|
|
31
31
|
timeout-minutes: 180
|