@webpresso/agent-kit 3.1.28 → 3.1.30
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/catalog/AGENTS.md.tpl +4 -4
- package/catalog/agent/rules/ci-cost-local-first.md +139 -0
- package/catalog/agent/rules/ci-test-perf.md +5 -1
- package/catalog/agent/rules/cmd-execution.md +9 -0
- package/catalog/agent/rules/pre-implementation.md +2 -1
- package/catalog/agent/rules/test-scan-perf.md +80 -0
- package/catalog/agent/rules/workflow-skills-routing.md +4 -2
- package/catalog/agent/skills/fix/SKILL.md +3 -0
- package/catalog/agent/skills/verify/SKILL.md +18 -0
- package/dist/esm/audit/blueprint-pr-coverage.js +68 -7
- package/dist/esm/audit/registry.d.ts +4 -4
- package/dist/esm/audit/registry.js +3 -0
- package/dist/esm/audit/roadmap-links.js +6 -0
- package/dist/esm/audit/test-scan-perf.d.ts +18 -0
- package/dist/esm/audit/test-scan-perf.js +275 -0
- package/dist/esm/blueprint/lifecycle/engine.d.ts +9 -0
- package/dist/esm/blueprint/lifecycle/engine.js +53 -6
- package/dist/esm/blueprint/lifecycle/review-provenance.d.ts +6 -0
- package/dist/esm/blueprint/lifecycle/review-provenance.js +93 -12
- package/dist/esm/blueprint/markdown/helpers.js +6 -2
- package/dist/esm/ci/act-replay.js +110 -7
- package/dist/esm/ci/act-runner.d.ts +4 -0
- package/dist/esm/ci/act-runner.js +85 -26
- package/dist/esm/ci/act-worktree-git.d.ts +11 -0
- package/dist/esm/ci/act-worktree-git.js +219 -0
- package/dist/esm/cli/commands/audit.js +3 -0
- package/dist/esm/cli/commands/blueprint/mutations.js +35 -18
- package/dist/esm/cli/commands/blueprint/router.js +27 -2
- package/dist/esm/cli/commands/ci.d.ts +8 -1
- package/dist/esm/cli/commands/ci.js +80 -21
- package/dist/esm/cli/commands/dash/keymap.js +1 -0
- package/dist/esm/cli/commands/dash/launch-preferences.d.ts +15 -0
- package/dist/esm/cli/commands/dash/launch-preferences.js +46 -17
- package/dist/esm/cli/commands/dash/plan-once-label.d.ts +7 -0
- package/dist/esm/cli/commands/dash/plan-once-label.js +5 -0
- package/dist/esm/cli/commands/dash/plan-once-membership.d.ts +67 -0
- package/dist/esm/cli/commands/dash/plan-once-membership.js +151 -0
- package/dist/esm/cli/commands/dash/plan-once-merge.d.ts +143 -0
- package/dist/esm/cli/commands/dash/plan-once-merge.js +238 -0
- package/dist/esm/cli/commands/dash/plan-once.d.ts +22 -2
- package/dist/esm/cli/commands/dash/plan-once.js +41 -4
- package/dist/esm/cli/commands/dash/tui/attention-hud.d.ts +9 -0
- package/dist/esm/cli/commands/dash/tui/attention-hud.js +9 -0
- package/dist/esm/cli/commands/dash/tui/chat-bridge.d.ts +41 -0
- package/dist/esm/cli/commands/dash/tui/chat-bridge.js +73 -0
- package/dist/esm/cli/commands/dash/tui/chat-mode.d.ts +47 -0
- package/dist/esm/cli/commands/dash/tui/chat-mode.js +98 -0
- package/dist/esm/cli/commands/dash/tui/frame.d.ts +3 -0
- package/dist/esm/cli/commands/dash/tui/frame.js +3 -1
- package/dist/esm/cli/commands/dash/tui/palette.d.ts +1 -1
- package/dist/esm/cli/commands/dash/tui/palette.js +14 -0
- package/dist/esm/cli/commands/dash/tui/runtime.js +239 -4
- package/dist/esm/cli/commands/dash/tui/state.d.ts +41 -0
- package/dist/esm/cli/commands/dash/tui/state.js +257 -4
- package/dist/esm/cli/commands/format.js +0 -2
- package/dist/esm/cli/commands/init/config.d.ts +0 -1
- package/dist/esm/cli/commands/init/config.js +1 -4
- package/dist/esm/cli/commands/init/scaffolders/agent-hooks/emitters/claude.d.ts +5 -6
- package/dist/esm/cli/commands/init/scaffolders/agent-hooks/emitters/claude.js +6 -13
- package/dist/esm/cli/commands/init/scaffolders/agent-hooks/ir.d.ts +0 -2
- package/dist/esm/cli/commands/init/scaffolders/agent-hooks/ir.js +0 -2
- package/dist/esm/cli/commands/init/scaffolders/agent-hooks/merge.d.ts +6 -3
- package/dist/esm/cli/commands/init/scaffolders/agent-hooks/merge.js +39 -26
- package/dist/esm/cli/commands/init/scaffolders/codex-mcp/index.js +61 -23
- package/dist/esm/cli/commands/logs.d.ts +15 -0
- package/dist/esm/cli/commands/logs.js +192 -3
- package/dist/esm/cli/commands/quality-log-store.d.ts +1 -0
- package/dist/esm/cli/commands/quality-log-store.js +187 -51
- package/dist/esm/cli/commands/review.js +5 -8
- package/dist/esm/cli/commands/secrets.d.ts +1 -0
- package/dist/esm/cli/commands/secrets.js +4 -1
- package/dist/esm/cli/direct-provider-launch.js +25 -1
- package/dist/esm/hooks/doctor.d.ts +15 -0
- package/dist/esm/hooks/doctor.js +56 -0
- package/dist/esm/hooks/pretool-guard/validators/forbidden-commands.js +4 -4
- package/dist/esm/hooks/pretool-guard/validators/mcp-redirect.d.ts +0 -1
- package/dist/esm/hooks/pretool-guard/validators/mcp-redirect.js +8 -5
- package/dist/esm/hooks/pretool-guard/validators/worktree-discipline.d.ts +9 -7
- package/dist/esm/hooks/pretool-guard/validators/worktree-discipline.js +126 -14
- package/dist/esm/mcp/tools/_shared/audit-kinds.d.ts +1 -1
- package/dist/esm/mcp/tools/audit.d.ts +2 -1
- package/dist/esm/mcp/tools/audit.js +10 -0
- package/dist/esm/mcp/tools/audits.d.ts +1 -0
- package/dist/esm/mcp/tools/ci-act.js +9 -11
- package/dist/esm/paths/state-root.js +3 -0
- package/dist/esm/review/authority.js +17 -2
- package/dist/esm/review/availability.js +18 -5
- package/dist/esm/review/subject.d.ts +15 -0
- package/dist/esm/review/subject.js +105 -10
- package/dist/esm/runtime/executor.d.ts +1 -0
- package/dist/esm/runtime/executor.js +2 -1
- package/dist/esm/secret-gate/runner.d.ts +1 -0
- package/dist/esm/secret-gate/runner.js +4 -1
- package/dist/esm/worktrees/current.d.ts +1 -0
- package/dist/esm/worktrees/current.js +1 -0
- package/dist/esm/worktrees/project-agent-surfaces.d.ts +1 -0
- package/dist/esm/worktrees/project-agent-surfaces.js +2 -1
- package/package.json +14 -14
|
@@ -2,6 +2,7 @@ import { scaffoldAgent } from "#cli/commands/init/scaffold-agent";
|
|
|
2
2
|
import { readConfig } from "#cli/commands/init/config";
|
|
3
3
|
import { resolveCatalogDir } from "#cli/commands/init/index";
|
|
4
4
|
import { runUnifiedSync } from "#symlinker/unified-sync";
|
|
5
|
+
import { join } from "node:path";
|
|
5
6
|
/**
|
|
6
7
|
* Seed `.agent/` and project rules/skills into a managed worktree.
|
|
7
8
|
* Does not run full `wp setup` (hooks/home MCP plugins stay setup-owned).
|
|
@@ -11,7 +12,7 @@ export function projectWorktreeAgentSurfaces(input) {
|
|
|
11
12
|
scaffoldAgent({ catalogDir, repoRoot: input.worktreePath, options: {} });
|
|
12
13
|
const hosts = (readConfig(input.worktreePath) ?? readConfig(input.primaryRoot))?.hosts?.selected;
|
|
13
14
|
runUnifiedSync({
|
|
14
|
-
catalogDir,
|
|
15
|
+
catalogDir: join(catalogDir, "agent"),
|
|
15
16
|
consumerRoot: input.worktreePath,
|
|
16
17
|
...(hosts ? { hosts } : {}),
|
|
17
18
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webpresso/agent-kit",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.30",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "TypeScript-first agent harness for guarded develop/deploy workflows: wp CLI gates, MCP tools, hooks, memory, worktrees, secrets, audits, and evidence checks.",
|
|
6
6
|
"keywords": [
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
"format": "./bin/wp format",
|
|
375
375
|
"lint:pkg": "bun scripts/lint-pkg.ts && (command -v claude >/dev/null 2>&1 && claude plugin validate . || true)",
|
|
376
376
|
"blueprints:check": "./bin/wp audit blueprint-lifecycle",
|
|
377
|
-
"check:blueprint-done-ledger": "pnpm exec tsx scripts/check-blueprint-done-ledger.ts blueprints/in-progress/webpresso-desktop-app-collaborative-session-platform/_overview.md blueprints/completed/automation-control-plane-cli-mcp/_overview.md blueprints/
|
|
377
|
+
"check:blueprint-done-ledger": "pnpm exec tsx scripts/check-blueprint-done-ledger.ts blueprints/in-progress/webpresso-desktop-app-collaborative-session-platform/_overview.md blueprints/completed/automation-control-plane-cli-mcp/_overview.md blueprints/completed/desktop-ac1-honest-solid-dry/_overview.md",
|
|
378
378
|
"docs:check": "./bin/wp audit docs-frontmatter",
|
|
379
379
|
"catalog:check": "./bin/wp audit catalog-drift",
|
|
380
380
|
"license:check": "./bin/wp audit open-source-licenses",
|
|
@@ -429,7 +429,7 @@
|
|
|
429
429
|
"@secretlint/secretlint-rule-preset-recommend": "^13.0.2",
|
|
430
430
|
"@typescript/typescript6": "^6.0.2",
|
|
431
431
|
"@webpresso/cli-contract": "^0.2.0",
|
|
432
|
-
"better-sqlite3": "^
|
|
432
|
+
"better-sqlite3": "^13.0.1",
|
|
433
433
|
"cac": "^7.0.0",
|
|
434
434
|
"cli-truncate": "^6.1.1",
|
|
435
435
|
"env-paths": "^4.0.0",
|
|
@@ -502,16 +502,16 @@
|
|
|
502
502
|
"setupWpActionRef": "c2c71a7a4be446fc6858e6b57bf55a11ccfa2d88"
|
|
503
503
|
},
|
|
504
504
|
"optionalDependencies": {
|
|
505
|
-
"@webpresso/agent-kit-runtime-darwin-arm64": "3.1.
|
|
506
|
-
"@webpresso/agent-kit-runtime-darwin-x64": "3.1.
|
|
507
|
-
"@webpresso/agent-kit-runtime-linux-x64": "3.1.
|
|
508
|
-
"@webpresso/agent-kit-runtime-linux-arm64": "3.1.
|
|
509
|
-
"@webpresso/agent-kit-runtime-windows-x64": "3.1.
|
|
510
|
-
"@webpresso/agent-kit-session-memory-darwin-x64": "3.1.
|
|
511
|
-
"@webpresso/agent-kit-session-memory-darwin-arm64": "3.1.
|
|
512
|
-
"@webpresso/agent-kit-session-memory-linux-x64": "3.1.
|
|
513
|
-
"@webpresso/agent-kit-session-memory-linux-arm64": "3.1.
|
|
514
|
-
"@webpresso/agent-kit-session-memory-win32-x64": "3.1.
|
|
515
|
-
"@webpresso/agent-kit-session-memory-win32-arm64": "3.1.
|
|
505
|
+
"@webpresso/agent-kit-runtime-darwin-arm64": "3.1.30",
|
|
506
|
+
"@webpresso/agent-kit-runtime-darwin-x64": "3.1.30",
|
|
507
|
+
"@webpresso/agent-kit-runtime-linux-x64": "3.1.30",
|
|
508
|
+
"@webpresso/agent-kit-runtime-linux-arm64": "3.1.30",
|
|
509
|
+
"@webpresso/agent-kit-runtime-windows-x64": "3.1.30",
|
|
510
|
+
"@webpresso/agent-kit-session-memory-darwin-x64": "3.1.30",
|
|
511
|
+
"@webpresso/agent-kit-session-memory-darwin-arm64": "3.1.30",
|
|
512
|
+
"@webpresso/agent-kit-session-memory-linux-x64": "3.1.30",
|
|
513
|
+
"@webpresso/agent-kit-session-memory-linux-arm64": "3.1.30",
|
|
514
|
+
"@webpresso/agent-kit-session-memory-win32-x64": "3.1.30",
|
|
515
|
+
"@webpresso/agent-kit-session-memory-win32-arm64": "3.1.30"
|
|
516
516
|
}
|
|
517
517
|
}
|