agentxchain 0.8.8 → 2.2.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/README.md +136 -136
- package/bin/agentxchain.js +186 -5
- package/dashboard/app.js +305 -0
- package/dashboard/components/blocked.js +145 -0
- package/dashboard/components/cross-repo.js +126 -0
- package/dashboard/components/gate.js +311 -0
- package/dashboard/components/hooks.js +177 -0
- package/dashboard/components/initiative.js +147 -0
- package/dashboard/components/ledger.js +165 -0
- package/dashboard/components/timeline.js +222 -0
- package/dashboard/index.html +352 -0
- package/package.json +14 -6
- package/scripts/live-api-proxy-preflight-smoke.sh +531 -0
- package/scripts/publish-from-tag.sh +88 -0
- package/scripts/release-postflight.sh +231 -0
- package/scripts/release-preflight.sh +167 -0
- package/src/commands/accept-turn.js +160 -0
- package/src/commands/approve-completion.js +80 -0
- package/src/commands/approve-transition.js +85 -0
- package/src/commands/dashboard.js +70 -0
- package/src/commands/init.js +516 -0
- package/src/commands/migrate.js +348 -0
- package/src/commands/multi.js +549 -0
- package/src/commands/plugin.js +157 -0
- package/src/commands/reject-turn.js +204 -0
- package/src/commands/resume.js +389 -0
- package/src/commands/status.js +196 -3
- package/src/commands/step.js +947 -0
- package/src/commands/template-list.js +33 -0
- package/src/commands/template-set.js +279 -0
- package/src/commands/validate.js +20 -11
- package/src/commands/verify.js +71 -0
- package/src/lib/adapters/api-proxy-adapter.js +1076 -0
- package/src/lib/adapters/local-cli-adapter.js +337 -0
- package/src/lib/adapters/manual-adapter.js +169 -0
- package/src/lib/blocked-state.js +94 -0
- package/src/lib/config.js +97 -1
- package/src/lib/context-compressor.js +121 -0
- package/src/lib/context-section-parser.js +220 -0
- package/src/lib/coordinator-acceptance.js +428 -0
- package/src/lib/coordinator-config.js +461 -0
- package/src/lib/coordinator-dispatch.js +276 -0
- package/src/lib/coordinator-gates.js +487 -0
- package/src/lib/coordinator-hooks.js +239 -0
- package/src/lib/coordinator-recovery.js +523 -0
- package/src/lib/coordinator-state.js +365 -0
- package/src/lib/cross-repo-context.js +247 -0
- package/src/lib/dashboard/bridge-server.js +284 -0
- package/src/lib/dashboard/file-watcher.js +93 -0
- package/src/lib/dashboard/state-reader.js +96 -0
- package/src/lib/dispatch-bundle.js +568 -0
- package/src/lib/dispatch-manifest.js +252 -0
- package/src/lib/gate-evaluator.js +285 -0
- package/src/lib/governed-state.js +2139 -0
- package/src/lib/governed-templates.js +145 -0
- package/src/lib/hook-runner.js +788 -0
- package/src/lib/normalized-config.js +539 -0
- package/src/lib/plugin-config-schema.js +192 -0
- package/src/lib/plugins.js +692 -0
- package/src/lib/protocol-conformance.js +291 -0
- package/src/lib/reference-conformance-adapter.js +858 -0
- package/src/lib/repo-observer.js +597 -0
- package/src/lib/repo.js +0 -31
- package/src/lib/schema.js +121 -0
- package/src/lib/schemas/turn-result.schema.json +205 -0
- package/src/lib/token-budget.js +206 -0
- package/src/lib/token-counter.js +27 -0
- package/src/lib/turn-paths.js +67 -0
- package/src/lib/turn-result-validator.js +496 -0
- package/src/lib/validation.js +137 -0
- package/src/templates/governed/api-service.json +31 -0
- package/src/templates/governed/cli-tool.json +30 -0
- package/src/templates/governed/generic.json +10 -0
- package/src/templates/governed/web-app.json +30 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "cli-tool",
|
|
3
|
+
"display_name": "CLI Tool",
|
|
4
|
+
"description": "Governed scaffold for command-line tools with command-surface, platform, and distribution planning.",
|
|
5
|
+
"version": "1",
|
|
6
|
+
"protocol_compatibility": ["1.0", "1.1"],
|
|
7
|
+
"planning_artifacts": [
|
|
8
|
+
{
|
|
9
|
+
"filename": "command-surface.md",
|
|
10
|
+
"content_template": "# Command Surface — {{project_name}}\n\n## Primary Commands\n| Command | Purpose | Inputs | Output / Side Effects |\n|---------|---------|--------|------------------------|\n| | | | |\n\n## Flags And Options\n| Command | Flag | Meaning | Default |\n|---------|------|---------|---------|\n| | | | |\n\n## Failure UX\n- Expected error messages:\n- Help / usage fallback:\n- Safe retry behavior:\n"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"filename": "platform-support.md",
|
|
14
|
+
"content_template": "# Platform Support — {{project_name}}\n\n## Supported Environments\n- Operating systems:\n- Shells / terminals:\n- Node / runtime versions:\n\n## Compatibility Risks\n| Surface | Risk | Mitigation |\n|---------|------|------------|\n| | | |\n\n## Manual Checks\n- Install path verified on:\n- Non-interactive behavior verified on:\n- Path / permission edge cases:\n"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"filename": "distribution-checklist.md",
|
|
18
|
+
"content_template": "# Distribution Checklist — {{project_name}}\n\n## Packaging\n- Package metadata reviewed:\n- Published files audited:\n- Version / changelog ready:\n\n## Install Paths\n- Global install path:\n- Local invocation path:\n- Upgrade / rollback path:\n\n## Release Risks\n- Breaking command changes:\n- Shell completion / docs gaps:\n- Known install blockers:\n"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"prompt_overrides": {
|
|
22
|
+
"dev": "Treat help text, error messaging, shell compatibility, and safe invocation paths as product behavior, not polish.",
|
|
23
|
+
"qa": "Audit command UX, help output, failure messages, install or invocation paths, and shell/platform compatibility before sign-off."
|
|
24
|
+
},
|
|
25
|
+
"acceptance_hints": [
|
|
26
|
+
"Command help audited for every user-facing command touched",
|
|
27
|
+
"Install or invocation path checked on the intended runtime",
|
|
28
|
+
"Failure-mode UX reviewed for invalid flags or missing inputs"
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "generic",
|
|
3
|
+
"display_name": "Generic",
|
|
4
|
+
"description": "Default governed scaffold with the baseline planning artifacts and no project-type-specific guidance.",
|
|
5
|
+
"version": "1",
|
|
6
|
+
"protocol_compatibility": ["1.0", "1.1"],
|
|
7
|
+
"planning_artifacts": [],
|
|
8
|
+
"prompt_overrides": {},
|
|
9
|
+
"acceptance_hints": []
|
|
10
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "web-app",
|
|
3
|
+
"display_name": "Web App",
|
|
4
|
+
"description": "Governed scaffold for web products with user-flow, UI, and browser-support planning artifacts.",
|
|
5
|
+
"version": "1",
|
|
6
|
+
"protocol_compatibility": ["1.0", "1.1"],
|
|
7
|
+
"planning_artifacts": [
|
|
8
|
+
{
|
|
9
|
+
"filename": "user-flows.md",
|
|
10
|
+
"content_template": "# User Flows — {{project_name}}\n\n## Primary Flows\n| Flow | User goal | Entry point | Success state |\n|------|-----------|-------------|---------------|\n| | | | |\n\n## Failure And Recovery\n| Flow | Failure state | Recovery path |\n|------|---------------|---------------|\n| | | |\n"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"filename": "ui-acceptance.md",
|
|
14
|
+
"content_template": "# UI Acceptance — {{project_name}}\n\n## Screens / States\n| Surface | Happy path expectations | Empty / error states | Notes |\n|---------|-------------------------|----------------------|-------|\n| | | | |\n\n## Accessibility And Copy\n- Keyboard expectations:\n- Contrast / readability notes:\n- Copy review focus:\n"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"filename": "browser-support.md",
|
|
18
|
+
"content_template": "# Browser Support — {{project_name}}\n\n## Target Environments\n- Desktop browsers:\n- Mobile browsers:\n- Minimum viewport assumptions:\n\n## Compatibility Risks\n| Browser / device | Risk | Mitigation |\n|------------------|------|------------|\n| | | |\n\n## Smoke Checklist\n- Primary flow works on desktop:\n- Primary flow works on mobile:\n- Known degraded experiences:\n"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"prompt_overrides": {
|
|
22
|
+
"pm": "Define the primary user flows and the minimum browser or device support up front. Vague UX scope will cause downstream churn.",
|
|
23
|
+
"qa": "Verify primary user flows, responsive behavior, accessibility smoke checks, and copy regressions. Do not treat visual breakage as a minor issue."
|
|
24
|
+
},
|
|
25
|
+
"acceptance_hints": [
|
|
26
|
+
"Primary user flow reviewed end to end",
|
|
27
|
+
"Mobile and desktop behavior checked explicitly",
|
|
28
|
+
"Accessibility or copy regressions noted before ship request"
|
|
29
|
+
]
|
|
30
|
+
}
|