eai-cli 0.0.0-bootstrap.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/LICENSE +183 -0
- package/NOTICE +4 -0
- package/README.md +14 -0
- package/dist/commands/agent.d.ts +3 -0
- package/dist/commands/agent.d.ts.map +1 -0
- package/dist/commands/agent.js +69 -0
- package/dist/commands/agent.js.map +1 -0
- package/dist/commands/blocks.d.ts +3 -0
- package/dist/commands/blocks.d.ts.map +1 -0
- package/dist/commands/blocks.js +249 -0
- package/dist/commands/blocks.js.map +1 -0
- package/dist/commands/chat.d.ts +6 -0
- package/dist/commands/chat.d.ts.map +1 -0
- package/dist/commands/chat.js +105 -0
- package/dist/commands/chat.js.map +1 -0
- package/dist/commands/deploy.d.ts +36 -0
- package/dist/commands/deploy.d.ts.map +1 -0
- package/dist/commands/deploy.js +712 -0
- package/dist/commands/deploy.js.map +1 -0
- package/dist/commands/dev.d.ts +15 -0
- package/dist/commands/dev.d.ts.map +1 -0
- package/dist/commands/dev.js +133 -0
- package/dist/commands/dev.js.map +1 -0
- package/dist/commands/docs.d.ts +6 -0
- package/dist/commands/docs.d.ts.map +1 -0
- package/dist/commands/docs.js +118 -0
- package/dist/commands/docs.js.map +1 -0
- package/dist/commands/env.d.ts +10 -0
- package/dist/commands/env.d.ts.map +1 -0
- package/dist/commands/env.js +200 -0
- package/dist/commands/env.js.map +1 -0
- package/dist/commands/errors.d.ts +3 -0
- package/dist/commands/errors.d.ts.map +1 -0
- package/dist/commands/errors.js +72 -0
- package/dist/commands/errors.js.map +1 -0
- package/dist/commands/gofer.d.ts +3 -0
- package/dist/commands/gofer.d.ts.map +1 -0
- package/dist/commands/gofer.js +134 -0
- package/dist/commands/gofer.js.map +1 -0
- package/dist/commands/init.d.ts +14 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +1437 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/login.d.ts +7 -0
- package/dist/commands/login.d.ts.map +1 -0
- package/dist/commands/login.js +117 -0
- package/dist/commands/login.js.map +1 -0
- package/dist/commands/provision.d.ts +6 -0
- package/dist/commands/provision.d.ts.map +1 -0
- package/dist/commands/provision.js +855 -0
- package/dist/commands/provision.js.map +1 -0
- package/dist/commands/publicapi.d.ts +6 -0
- package/dist/commands/publicapi.d.ts.map +1 -0
- package/dist/commands/publicapi.js +184 -0
- package/dist/commands/publicapi.js.map +1 -0
- package/dist/commands/resources.d.ts +38 -0
- package/dist/commands/resources.d.ts.map +1 -0
- package/dist/commands/resources.js +1010 -0
- package/dist/commands/resources.js.map +1 -0
- package/dist/commands/runtime.d.ts +3 -0
- package/dist/commands/runtime.d.ts.map +1 -0
- package/dist/commands/runtime.js +78 -0
- package/dist/commands/runtime.js.map +1 -0
- package/dist/commands/template.d.ts +3 -0
- package/dist/commands/template.d.ts.map +1 -0
- package/dist/commands/template.js +365 -0
- package/dist/commands/template.js.map +1 -0
- package/dist/commands/tenant.d.ts +45 -0
- package/dist/commands/tenant.d.ts.map +1 -0
- package/dist/commands/tenant.js +1036 -0
- package/dist/commands/tenant.js.map +1 -0
- package/dist/commands/types.d.ts +130 -0
- package/dist/commands/types.d.ts.map +1 -0
- package/dist/commands/types.js +1636 -0
- package/dist/commands/types.js.map +1 -0
- package/dist/commands/update.d.ts +13 -0
- package/dist/commands/update.d.ts.map +1 -0
- package/dist/commands/update.js +163 -0
- package/dist/commands/update.js.map +1 -0
- package/dist/commands/user.d.ts +6 -0
- package/dist/commands/user.d.ts.map +1 -0
- package/dist/commands/user.js +359 -0
- package/dist/commands/user.js.map +1 -0
- package/dist/commands/verify.d.ts +40 -0
- package/dist/commands/verify.d.ts.map +1 -0
- package/dist/commands/verify.js +1442 -0
- package/dist/commands/verify.js.map +1 -0
- package/dist/commands/vertical.d.ts +24 -0
- package/dist/commands/vertical.d.ts.map +1 -0
- package/dist/commands/vertical.js +301 -0
- package/dist/commands/vertical.js.map +1 -0
- package/dist/commands/whoami.d.ts +6 -0
- package/dist/commands/whoami.d.ts.map +1 -0
- package/dist/commands/whoami.js +73 -0
- package/dist/commands/whoami.js.map +1 -0
- package/dist/commands/workflow.d.ts +6 -0
- package/dist/commands/workflow.d.ts.map +1 -0
- package/dist/commands/workflow.js +400 -0
- package/dist/commands/workflow.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +272 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/agent-guide.d.ts +24 -0
- package/dist/lib/agent-guide.d.ts.map +1 -0
- package/dist/lib/agent-guide.js +155 -0
- package/dist/lib/agent-guide.js.map +1 -0
- package/dist/lib/api.d.ts +338 -0
- package/dist/lib/api.d.ts.map +1 -0
- package/dist/lib/api.js +991 -0
- package/dist/lib/api.js.map +1 -0
- package/dist/lib/auth.d.ts +65 -0
- package/dist/lib/auth.d.ts.map +1 -0
- package/dist/lib/auth.js +592 -0
- package/dist/lib/auth.js.map +1 -0
- package/dist/lib/azure-cli.d.ts +6 -0
- package/dist/lib/azure-cli.d.ts.map +1 -0
- package/dist/lib/azure-cli.js +13 -0
- package/dist/lib/azure-cli.js.map +1 -0
- package/dist/lib/block-catalog-normalize.d.ts +47 -0
- package/dist/lib/block-catalog-normalize.d.ts.map +1 -0
- package/dist/lib/block-catalog-normalize.js +355 -0
- package/dist/lib/block-catalog-normalize.js.map +1 -0
- package/dist/lib/block-catalog-types.d.ts +111 -0
- package/dist/lib/block-catalog-types.d.ts.map +1 -0
- package/dist/lib/block-catalog-types.js +41 -0
- package/dist/lib/block-catalog-types.js.map +1 -0
- package/dist/lib/block-catalog-utils.d.ts +7 -0
- package/dist/lib/block-catalog-utils.d.ts.map +1 -0
- package/dist/lib/block-catalog-utils.js +47 -0
- package/dist/lib/block-catalog-utils.js.map +1 -0
- package/dist/lib/block-catalog-validation.d.ts +5 -0
- package/dist/lib/block-catalog-validation.d.ts.map +1 -0
- package/dist/lib/block-catalog-validation.js +112 -0
- package/dist/lib/block-catalog-validation.js.map +1 -0
- package/dist/lib/block-catalog.d.ts +3 -0
- package/dist/lib/block-catalog.d.ts.map +1 -0
- package/dist/lib/block-catalog.js +284 -0
- package/dist/lib/block-catalog.js.map +1 -0
- package/dist/lib/cloud-env.d.ts +25 -0
- package/dist/lib/cloud-env.d.ts.map +1 -0
- package/dist/lib/cloud-env.js +79 -0
- package/dist/lib/cloud-env.js.map +1 -0
- package/dist/lib/config.d.ts +116 -0
- package/dist/lib/config.d.ts.map +1 -0
- package/dist/lib/config.js +195 -0
- package/dist/lib/config.js.map +1 -0
- package/dist/lib/context.d.ts +43 -0
- package/dist/lib/context.d.ts.map +1 -0
- package/dist/lib/context.js +68 -0
- package/dist/lib/context.js.map +1 -0
- package/dist/lib/error-codes.d.ts +56 -0
- package/dist/lib/error-codes.d.ts.map +1 -0
- package/dist/lib/error-codes.js +211 -0
- package/dist/lib/error-codes.js.map +1 -0
- package/dist/lib/error-guidance/catalog.d.ts +648 -0
- package/dist/lib/error-guidance/catalog.d.ts.map +1 -0
- package/dist/lib/error-guidance/catalog.js +940 -0
- package/dist/lib/error-guidance/catalog.js.map +1 -0
- package/dist/lib/error-guidance/match.d.ts +3 -0
- package/dist/lib/error-guidance/match.d.ts.map +1 -0
- package/dist/lib/error-guidance/match.js +46 -0
- package/dist/lib/error-guidance/match.js.map +1 -0
- package/dist/lib/error-guidance/render.d.ts +5 -0
- package/dist/lib/error-guidance/render.d.ts.map +1 -0
- package/dist/lib/error-guidance/render.js +92 -0
- package/dist/lib/error-guidance/render.js.map +1 -0
- package/dist/lib/error-guidance/types.d.ts +76 -0
- package/dist/lib/error-guidance/types.d.ts.map +1 -0
- package/dist/lib/error-guidance/types.js +2 -0
- package/dist/lib/error-guidance/types.js.map +1 -0
- package/dist/lib/error-guidance/validate.d.ts +3 -0
- package/dist/lib/error-guidance/validate.d.ts.map +1 -0
- package/dist/lib/error-guidance/validate.js +59 -0
- package/dist/lib/error-guidance/validate.js.map +1 -0
- package/dist/lib/gofer-installer.d.ts +32 -0
- package/dist/lib/gofer-installer.d.ts.map +1 -0
- package/dist/lib/gofer-installer.js +589 -0
- package/dist/lib/gofer-installer.js.map +1 -0
- package/dist/lib/gofer-refresh.d.ts +46 -0
- package/dist/lib/gofer-refresh.d.ts.map +1 -0
- package/dist/lib/gofer-refresh.js +536 -0
- package/dist/lib/gofer-refresh.js.map +1 -0
- package/dist/lib/next-route-exports.d.ts +6 -0
- package/dist/lib/next-route-exports.d.ts.map +1 -0
- package/dist/lib/next-route-exports.js +127 -0
- package/dist/lib/next-route-exports.js.map +1 -0
- package/dist/lib/npm.d.ts +2 -0
- package/dist/lib/npm.d.ts.map +1 -0
- package/dist/lib/npm.js +4 -0
- package/dist/lib/npm.js.map +1 -0
- package/dist/lib/object-type-defaults.d.ts +4 -0
- package/dist/lib/object-type-defaults.d.ts.map +1 -0
- package/dist/lib/object-type-defaults.js +72 -0
- package/dist/lib/object-type-defaults.js.map +1 -0
- package/dist/lib/output.d.ts +35 -0
- package/dist/lib/output.d.ts.map +1 -0
- package/dist/lib/output.js +166 -0
- package/dist/lib/output.js.map +1 -0
- package/dist/lib/profile.d.ts +52 -0
- package/dist/lib/profile.d.ts.map +1 -0
- package/dist/lib/profile.js +116 -0
- package/dist/lib/profile.js.map +1 -0
- package/dist/lib/project-manifest.d.ts +42 -0
- package/dist/lib/project-manifest.d.ts.map +1 -0
- package/dist/lib/project-manifest.js +191 -0
- package/dist/lib/project-manifest.js.map +1 -0
- package/dist/lib/resourceapi-bundle.d.ts +33 -0
- package/dist/lib/resourceapi-bundle.d.ts.map +1 -0
- package/dist/lib/resourceapi-bundle.js +79 -0
- package/dist/lib/resourceapi-bundle.js.map +1 -0
- package/dist/lib/runtime-contract.d.ts +84 -0
- package/dist/lib/runtime-contract.d.ts.map +1 -0
- package/dist/lib/runtime-contract.js +318 -0
- package/dist/lib/runtime-contract.js.map +1 -0
- package/dist/lib/schema-builder.d.ts +28 -0
- package/dist/lib/schema-builder.d.ts.map +1 -0
- package/dist/lib/schema-builder.js +69 -0
- package/dist/lib/schema-builder.js.map +1 -0
- package/dist/lib/tenant-context.d.ts +127 -0
- package/dist/lib/tenant-context.d.ts.map +1 -0
- package/dist/lib/tenant-context.js +573 -0
- package/dist/lib/tenant-context.js.map +1 -0
- package/dist/lib/update-check.d.ts +52 -0
- package/dist/lib/update-check.d.ts.map +1 -0
- package/dist/lib/update-check.js +271 -0
- package/dist/lib/update-check.js.map +1 -0
- package/dist/lib/update-maintenance.d.ts +15 -0
- package/dist/lib/update-maintenance.d.ts.map +1 -0
- package/dist/lib/update-maintenance.js +187 -0
- package/dist/lib/update-maintenance.js.map +1 -0
- package/dist/lib/utils.d.ts +23 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +48 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/lib/workflow-provisioning.d.ts +54 -0
- package/dist/lib/workflow-provisioning.d.ts.map +1 -0
- package/dist/lib/workflow-provisioning.js +281 -0
- package/dist/lib/workflow-provisioning.js.map +1 -0
- package/package.json +51 -0
- package/resources/gofer/.gofer-version +7 -0
- package/resources/gofer/agents-skills/0_gofer_start/SKILL.md +1287 -0
- package/resources/gofer/agents-skills/0a_problem_validation/SKILL.md +429 -0
- package/resources/gofer/agents-skills/10_gofer_cloud/SKILL.md +635 -0
- package/resources/gofer/agents-skills/1_gofer_research/SKILL.md +1159 -0
- package/resources/gofer/agents-skills/2_gofer_specify/SKILL.md +860 -0
- package/resources/gofer/agents-skills/3_gofer_plan/SKILL.md +886 -0
- package/resources/gofer/agents-skills/4_gofer_tasks/SKILL.md +748 -0
- package/resources/gofer/agents-skills/5_gofer_implement/SKILL.md +924 -0
- package/resources/gofer/agents-skills/6_gofer_validate/SKILL.md +2269 -0
- package/resources/gofer/agents-skills/7_gofer_save/SKILL.md +423 -0
- package/resources/gofer/agents-skills/7a_stakeholder_comms/SKILL.md +508 -0
- package/resources/gofer/agents-skills/8_gofer_branding/SKILL.md +315 -0
- package/resources/gofer/agents-skills/9_gofer_tests/SKILL.md +558 -0
- package/resources/gofer/agents-skills/gofer_bootstrap_workspace/SKILL.md +148 -0
- package/resources/gofer/agents-skills/gofer_check_workspace/SKILL.md +119 -0
- package/resources/gofer/agents-skills/gofer_constitution/SKILL.md +612 -0
- package/resources/gofer/agents-skills/gofer_diagnose/SKILL.md +114 -0
- package/resources/gofer/agents-skills/gofer_eai_first_run/SKILL.md +397 -0
- package/resources/gofer/agents-skills/gofer_hydrate/SKILL.md +561 -0
- package/resources/gofer/agents-skills/gofer_personality/SKILL.md +44 -0
- package/resources/gofer/agents-skills/gofer_plan/SKILL.md +40 -0
- package/resources/gofer/agents-skills/gofer_side/SKILL.md +45 -0
- package/resources/gofer/agents-skills/gofer_spec_summary/SKILL.md +112 -0
- package/resources/gofer/agents-skills/gofer_tdd/SKILL.md +112 -0
- package/resources/gofer/agents-skills/gofer_vocabulary/SKILL.md +112 -0
- package/resources/gofer/agents-skills/gofer_zoom_out/SKILL.md +112 -0
- package/resources/gofer/bash-scripts/check-context-health.sh +365 -0
- package/resources/gofer/bash-scripts/check-persona-pack.sh +81 -0
- package/resources/gofer/bash-scripts/check-prerequisites.sh +168 -0
- package/resources/gofer/bash-scripts/common.sh +192 -0
- package/resources/gofer/bash-scripts/create-new-feature.sh +260 -0
- package/resources/gofer/bash-scripts/install-optional-tools.sh +270 -0
- package/resources/gofer/bash-scripts/log-stage.sh +224 -0
- package/resources/gofer/bash-scripts/mark-task-complete.sh +74 -0
- package/resources/gofer/bash-scripts/pipeline-state.sh +306 -0
- package/resources/gofer/bash-scripts/read-failed-approaches.sh +114 -0
- package/resources/gofer/bash-scripts/read-session-memories.sh +96 -0
- package/resources/gofer/bash-scripts/save-checkpoint.sh +407 -0
- package/resources/gofer/bash-scripts/setup-plan.sh +62 -0
- package/resources/gofer/bash-scripts/sync-implementation-status.sh +47 -0
- package/resources/gofer/bash-scripts/update-agent-context.sh +772 -0
- package/resources/gofer/bash-scripts/validate-artifact.sh +335 -0
- package/resources/gofer/bash-scripts/verify-task.sh +384 -0
- package/resources/gofer/bash-scripts/write-failed-approach.sh +110 -0
- package/resources/gofer/bash-scripts/write-periodic-checkpoint.sh +128 -0
- package/resources/gofer/bash-scripts/write-session-memory.sh +118 -0
- package/resources/gofer/claude-agents/assumption-tracker.md +168 -0
- package/resources/gofer/claude-agents/business-metrics-analyzer.md +169 -0
- package/resources/gofer/claude-agents/business-problem-validator.md +168 -0
- package/resources/gofer/claude-agents/codebase-analyzer.md +124 -0
- package/resources/gofer/claude-agents/codebase-locator.md +95 -0
- package/resources/gofer/claude-agents/codebase-pattern-finder.md +180 -0
- package/resources/gofer/claude-agents/comms-writer.md +158 -0
- package/resources/gofer/claude-agents/engineer-review.md +169 -0
- package/resources/gofer/claude-agents/implement-bug-triangulator.md +94 -0
- package/resources/gofer/claude-agents/implement-code-review-council.md +89 -0
- package/resources/gofer/claude-agents/implement-doc-writer.md +89 -0
- package/resources/gofer/claude-agents/implement-error-hardener.md +84 -0
- package/resources/gofer/claude-agents/implement-performance-explorer.md +95 -0
- package/resources/gofer/claude-agents/implement-test-diversifier.md +82 -0
- package/resources/gofer/claude-agents/implement-variant-generator.md +80 -0
- package/resources/gofer/claude-agents/multi-perspective-judge.md +114 -0
- package/resources/gofer/claude-agents/plan-api-comparator.md +90 -0
- package/resources/gofer/claude-agents/plan-architecture-diverger.md +100 -0
- package/resources/gofer/claude-agents/plan-data-model-stress-tester.md +95 -0
- package/resources/gofer/claude-agents/plan-migration-path-finder.md +95 -0
- package/resources/gofer/claude-agents/plan-refactor-rewrite-advisor.md +97 -0
- package/resources/gofer/claude-agents/research-dependency-evaluator.md +106 -0
- package/resources/gofer/claude-agents/research-horizon-scanner.md +100 -0
- package/resources/gofer/claude-agents/research-market-scanner.md +137 -0
- package/resources/gofer/claude-agents/research-perspective-multiplier.md +102 -0
- package/resources/gofer/claude-agents/scope-creep-detector.md +152 -0
- package/resources/gofer/claude-agents/specify-ambiguity-detector.md +95 -0
- package/resources/gofer/claude-agents/specify-journey-stress-tester.md +92 -0
- package/resources/gofer/claude-agents/tasks-cross-cutting-scanner.md +91 -0
- package/resources/gofer/claude-agents/tasks-rollback-planner.md +89 -0
- package/resources/gofer/claude-agents/validate-security-red-team.md +102 -0
- package/resources/gofer/claude-agents/validation-correctness.md +103 -0
- package/resources/gofer/claude-agents/validation-integration.md +129 -0
- package/resources/gofer/claude-agents/validation-performance.md +120 -0
- package/resources/gofer/claude-agents/validation-security.md +115 -0
- package/resources/gofer/claude-agents/validation-standards.md +151 -0
- package/resources/gofer/claude-agents/validation-test-quality.md +146 -0
- package/resources/gofer/claude-agents/visual-bounded-context-writer.md +40 -0
- package/resources/gofer/claude-agents/visual-c4-writer.md +45 -0
- package/resources/gofer/claude-agents/visual-erd-writer.md +34 -0
- package/resources/gofer/claude-agents/visual-heatmap-writer.md +63 -0
- package/resources/gofer/claude-agents/visual-risk-writer.md +64 -0
- package/resources/gofer/claude-commands/0_gofer_start.md +1282 -0
- package/resources/gofer/claude-commands/0a_problem_validation.md +424 -0
- package/resources/gofer/claude-commands/10_gofer_cloud.md +630 -0
- package/resources/gofer/claude-commands/1_gofer_research.md +1154 -0
- package/resources/gofer/claude-commands/2_gofer_specify.md +855 -0
- package/resources/gofer/claude-commands/3_gofer_plan.md +881 -0
- package/resources/gofer/claude-commands/4_gofer_tasks.md +743 -0
- package/resources/gofer/claude-commands/5_gofer_implement.md +919 -0
- package/resources/gofer/claude-commands/6_gofer_validate.md +2264 -0
- package/resources/gofer/claude-commands/7_gofer_save.md +418 -0
- package/resources/gofer/claude-commands/7a_stakeholder_comms.md +503 -0
- package/resources/gofer/claude-commands/8_gofer_branding.md +310 -0
- package/resources/gofer/claude-commands/9_gofer_tests.md +553 -0
- package/resources/gofer/claude-commands/gofer_bootstrap_workspace.md +143 -0
- package/resources/gofer/claude-commands/gofer_check_workspace.md +114 -0
- package/resources/gofer/claude-commands/gofer_constitution.md +607 -0
- package/resources/gofer/claude-commands/gofer_diagnose.md +109 -0
- package/resources/gofer/claude-commands/gofer_eai_first_run.md +392 -0
- package/resources/gofer/claude-commands/gofer_hydrate.md +556 -0
- package/resources/gofer/claude-commands/gofer_personality.md +39 -0
- package/resources/gofer/claude-commands/gofer_plan.md +35 -0
- package/resources/gofer/claude-commands/gofer_side.md +40 -0
- package/resources/gofer/claude-commands/gofer_spec_summary.md +107 -0
- package/resources/gofer/claude-commands/gofer_tdd.md +107 -0
- package/resources/gofer/claude-commands/gofer_vocabulary.md +107 -0
- package/resources/gofer/claude-commands/gofer_zoom_out.md +107 -0
- package/resources/gofer/claude-skills/eai-gofer/SKILL.md +56 -0
- package/resources/gofer/commands/.gitkeep +0 -0
- package/resources/gofer/commands/0_gofer_start.md +1299 -0
- package/resources/gofer/commands/0a_problem_validation.md +405 -0
- package/resources/gofer/commands/10_gofer_cloud.md +611 -0
- package/resources/gofer/commands/1_gofer_research.md +1135 -0
- package/resources/gofer/commands/2_gofer_specify.md +836 -0
- package/resources/gofer/commands/3_gofer_plan.md +862 -0
- package/resources/gofer/commands/4_gofer_tasks.md +724 -0
- package/resources/gofer/commands/5_gofer_implement.md +900 -0
- package/resources/gofer/commands/6_gofer_validate.md +2245 -0
- package/resources/gofer/commands/7_gofer_save.md +399 -0
- package/resources/gofer/commands/7a_stakeholder_comms.md +484 -0
- package/resources/gofer/commands/8_gofer_branding.md +291 -0
- package/resources/gofer/commands/9_gofer_tests.md +534 -0
- package/resources/gofer/commands/gofer_bootstrap_workspace.md +159 -0
- package/resources/gofer/commands/gofer_check_workspace.md +130 -0
- package/resources/gofer/commands/gofer_constitution.md +588 -0
- package/resources/gofer/commands/gofer_diagnose.md +89 -0
- package/resources/gofer/commands/gofer_eai_first_run.md +392 -0
- package/resources/gofer/commands/gofer_hydrate.md +537 -0
- package/resources/gofer/commands/gofer_personality.md +61 -0
- package/resources/gofer/commands/gofer_plan.md +51 -0
- package/resources/gofer/commands/gofer_side.md +56 -0
- package/resources/gofer/commands/gofer_spec_summary.md +87 -0
- package/resources/gofer/commands/gofer_tdd.md +87 -0
- package/resources/gofer/commands/gofer_vocabulary.md +87 -0
- package/resources/gofer/commands/gofer_zoom_out.md +87 -0
- package/resources/gofer/copilot-instructions/gofer-cost.instructions.md +13 -0
- package/resources/gofer/copilot-instructions/language-server.instructions.md +49 -0
- package/resources/gofer/copilot-instructions/typescript.instructions.md +47 -0
- package/resources/gofer/copilot-instructions/vscode-extension.instructions.md +46 -0
- package/resources/gofer/copilot-prompts/0_gofer_start.prompt.md +1308 -0
- package/resources/gofer/copilot-prompts/0a_problem_validation.prompt.md +429 -0
- package/resources/gofer/copilot-prompts/10_gofer_cloud.prompt.md +644 -0
- package/resources/gofer/copilot-prompts/1_gofer_research.prompt.md +1177 -0
- package/resources/gofer/copilot-prompts/2_gofer_specify.prompt.md +878 -0
- package/resources/gofer/copilot-prompts/3_gofer_plan.prompt.md +904 -0
- package/resources/gofer/copilot-prompts/4_gofer_tasks.prompt.md +766 -0
- package/resources/gofer/copilot-prompts/5_gofer_implement.prompt.md +942 -0
- package/resources/gofer/copilot-prompts/6_gofer_validate.prompt.md +2277 -0
- package/resources/gofer/copilot-prompts/7_gofer_save.prompt.md +433 -0
- package/resources/gofer/copilot-prompts/7a_stakeholder_comms.prompt.md +516 -0
- package/resources/gofer/copilot-prompts/8_gofer_branding.prompt.md +323 -0
- package/resources/gofer/copilot-prompts/9_gofer_tests.prompt.md +566 -0
- package/resources/gofer/copilot-prompts/gofer_bootstrap_workspace.prompt.md +161 -0
- package/resources/gofer/copilot-prompts/gofer_check_workspace.prompt.md +132 -0
- package/resources/gofer/copilot-prompts/gofer_constitution.prompt.md +621 -0
- package/resources/gofer/copilot-prompts/gofer_diagnose.prompt.md +127 -0
- package/resources/gofer/copilot-prompts/gofer_eai_first_run.prompt.md +410 -0
- package/resources/gofer/copilot-prompts/gofer_hydrate.prompt.md +571 -0
- package/resources/gofer/copilot-prompts/gofer_personality.prompt.md +57 -0
- package/resources/gofer/copilot-prompts/gofer_plan.prompt.md +53 -0
- package/resources/gofer/copilot-prompts/gofer_side.prompt.md +58 -0
- package/resources/gofer/copilot-prompts/gofer_spec_summary.prompt.md +125 -0
- package/resources/gofer/copilot-prompts/gofer_tdd.prompt.md +125 -0
- package/resources/gofer/copilot-prompts/gofer_vocabulary.prompt.md +125 -0
- package/resources/gofer/copilot-prompts/gofer_zoom_out.prompt.md +125 -0
- package/resources/gofer/gemini/agents/assumption-tracker.md +171 -0
- package/resources/gofer/gemini/agents/business-metrics-analyzer.md +172 -0
- package/resources/gofer/gemini/agents/business-problem-validator.md +171 -0
- package/resources/gofer/gemini/agents/codebase-analyzer.md +127 -0
- package/resources/gofer/gemini/agents/codebase-locator.md +98 -0
- package/resources/gofer/gemini/agents/codebase-pattern-finder.md +183 -0
- package/resources/gofer/gemini/agents/comms-writer.md +161 -0
- package/resources/gofer/gemini/agents/engineer-review.md +172 -0
- package/resources/gofer/gemini/agents/implement-bug-triangulator.md +97 -0
- package/resources/gofer/gemini/agents/implement-code-review-council.md +92 -0
- package/resources/gofer/gemini/agents/implement-doc-writer.md +92 -0
- package/resources/gofer/gemini/agents/implement-error-hardener.md +87 -0
- package/resources/gofer/gemini/agents/implement-performance-explorer.md +98 -0
- package/resources/gofer/gemini/agents/implement-test-diversifier.md +85 -0
- package/resources/gofer/gemini/agents/implement-variant-generator.md +83 -0
- package/resources/gofer/gemini/agents/multi-perspective-judge.md +117 -0
- package/resources/gofer/gemini/agents/plan-api-comparator.md +93 -0
- package/resources/gofer/gemini/agents/plan-architecture-diverger.md +103 -0
- package/resources/gofer/gemini/agents/plan-data-model-stress-tester.md +98 -0
- package/resources/gofer/gemini/agents/plan-migration-path-finder.md +98 -0
- package/resources/gofer/gemini/agents/plan-refactor-rewrite-advisor.md +100 -0
- package/resources/gofer/gemini/agents/research-dependency-evaluator.md +109 -0
- package/resources/gofer/gemini/agents/research-horizon-scanner.md +103 -0
- package/resources/gofer/gemini/agents/research-market-scanner.md +140 -0
- package/resources/gofer/gemini/agents/research-perspective-multiplier.md +105 -0
- package/resources/gofer/gemini/agents/scope-creep-detector.md +155 -0
- package/resources/gofer/gemini/agents/specify-ambiguity-detector.md +98 -0
- package/resources/gofer/gemini/agents/specify-journey-stress-tester.md +95 -0
- package/resources/gofer/gemini/agents/tasks-cross-cutting-scanner.md +94 -0
- package/resources/gofer/gemini/agents/tasks-rollback-planner.md +92 -0
- package/resources/gofer/gemini/agents/validate-security-red-team.md +105 -0
- package/resources/gofer/gemini/agents/validation-correctness.md +106 -0
- package/resources/gofer/gemini/agents/validation-integration.md +132 -0
- package/resources/gofer/gemini/agents/validation-performance.md +123 -0
- package/resources/gofer/gemini/agents/validation-security.md +118 -0
- package/resources/gofer/gemini/agents/validation-standards.md +154 -0
- package/resources/gofer/gemini/agents/validation-test-quality.md +149 -0
- package/resources/gofer/gemini/agents/visual-bounded-context-writer.md +40 -0
- package/resources/gofer/gemini/agents/visual-c4-writer.md +44 -0
- package/resources/gofer/gemini/agents/visual-erd-writer.md +36 -0
- package/resources/gofer/gemini/agents/visual-heatmap-writer.md +63 -0
- package/resources/gofer/gemini/agents/visual-risk-writer.md +64 -0
- package/resources/gofer/gemini/commands/gofer/.gitkeep +0 -0
- package/resources/gofer/gemini/commands/gofer/0_gofer_start.md +1282 -0
- package/resources/gofer/gemini/commands/gofer/0_gofer_start.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/0a_problem_validation.md +424 -0
- package/resources/gofer/gemini/commands/gofer/0a_problem_validation.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/10_gofer_cloud.md +630 -0
- package/resources/gofer/gemini/commands/gofer/10_gofer_cloud.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/1_gofer_research.md +1154 -0
- package/resources/gofer/gemini/commands/gofer/1_gofer_research.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/2_gofer_specify.md +855 -0
- package/resources/gofer/gemini/commands/gofer/2_gofer_specify.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/3_gofer_plan.md +881 -0
- package/resources/gofer/gemini/commands/gofer/3_gofer_plan.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/4_gofer_tasks.md +743 -0
- package/resources/gofer/gemini/commands/gofer/4_gofer_tasks.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/5_gofer_implement.md +919 -0
- package/resources/gofer/gemini/commands/gofer/5_gofer_implement.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/6_gofer_validate.md +2264 -0
- package/resources/gofer/gemini/commands/gofer/6_gofer_validate.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/7_gofer_save.md +418 -0
- package/resources/gofer/gemini/commands/gofer/7_gofer_save.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/7a_stakeholder_comms.md +503 -0
- package/resources/gofer/gemini/commands/gofer/7a_stakeholder_comms.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/8_gofer_branding.md +310 -0
- package/resources/gofer/gemini/commands/gofer/8_gofer_branding.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/9_gofer_tests.md +553 -0
- package/resources/gofer/gemini/commands/gofer/9_gofer_tests.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_bootstrap_workspace.md +143 -0
- package/resources/gofer/gemini/commands/gofer/gofer_bootstrap_workspace.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_check_workspace.md +114 -0
- package/resources/gofer/gemini/commands/gofer/gofer_check_workspace.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_constitution.md +607 -0
- package/resources/gofer/gemini/commands/gofer/gofer_constitution.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_diagnose.md +109 -0
- package/resources/gofer/gemini/commands/gofer/gofer_diagnose.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_eai_first_run.md +392 -0
- package/resources/gofer/gemini/commands/gofer/gofer_eai_first_run.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_hydrate.md +556 -0
- package/resources/gofer/gemini/commands/gofer/gofer_hydrate.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_personality.md +39 -0
- package/resources/gofer/gemini/commands/gofer/gofer_personality.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_plan.md +35 -0
- package/resources/gofer/gemini/commands/gofer/gofer_plan.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_side.md +40 -0
- package/resources/gofer/gemini/commands/gofer/gofer_side.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_spec_summary.md +107 -0
- package/resources/gofer/gemini/commands/gofer/gofer_spec_summary.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_tdd.md +107 -0
- package/resources/gofer/gemini/commands/gofer/gofer_tdd.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_vocabulary.md +107 -0
- package/resources/gofer/gemini/commands/gofer/gofer_vocabulary.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_zoom_out.md +107 -0
- package/resources/gofer/gemini/commands/gofer/gofer_zoom_out.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/manifest.json +32 -0
- package/resources/gofer/gemini/extension.json +16 -0
- package/resources/gofer/github-agents/gofer-business.agent.md +20 -0
- package/resources/gofer/github-agents/gofer-implement.agent.md +15 -0
- package/resources/gofer/github-agents/gofer-plan.agent.md +15 -0
- package/resources/gofer/github-agents/gofer-research.agent.md +15 -0
- package/resources/gofer/github-agents/gofer-validate.agent.md +10 -0
- package/resources/gofer/github-skills/eai-gofer/SKILL.md +56 -0
- package/resources/gofer/hook-scripts/agent-stop.mjs +655 -0
- package/resources/gofer/hook-scripts/log-stage-launch-time.mjs +77 -0
- package/resources/gofer/hook-scripts/post-tool-use.mjs +333 -0
- package/resources/gofer/hook-scripts/queued-input.mjs +188 -0
- package/resources/gofer/hook-scripts/session-lifecycle.mjs +93 -0
- package/resources/gofer/hook-scripts/user-prompt-submit.mjs +228 -0
- package/resources/gofer/instruction-templates/base/agents-base.md +37 -0
- package/resources/gofer/instruction-templates/base/claude-base.md +7 -0
- package/resources/gofer/instruction-templates/base/copilot-base.md +26 -0
- package/resources/gofer/instruction-templates/gofer/gofer-claude.md +5 -0
- package/resources/gofer/instruction-templates/gofer/gofer-copilot.md +9 -0
- package/resources/gofer/instruction-templates/languages/generic.md +7 -0
- package/resources/gofer/instruction-templates/languages/go.md +8 -0
- package/resources/gofer/instruction-templates/languages/java.md +8 -0
- package/resources/gofer/instruction-templates/languages/python.md +9 -0
- package/resources/gofer/instruction-templates/languages/rust.md +9 -0
- package/resources/gofer/instruction-templates/languages/typescript.md +19 -0
- package/resources/gofer/instruction-templates/workflow/principles.md +52 -0
- package/resources/gofer/memory/constitution.md +391 -0
- package/resources/gofer/memory/context-profiles.yaml +74 -0
- package/resources/gofer/memory/decisions/000-use-adr-for-decisions.md +67 -0
- package/resources/gofer/memory/decisions/001-di-framework.md +190 -0
- package/resources/gofer/memory/decisions/002-module-extraction.md +305 -0
- package/resources/gofer/memory/decisions/003-error-handling.md +368 -0
- package/resources/gofer/memory/decisions/004-cache-eviction.md +436 -0
- package/resources/gofer/memory/decisions/005-constants-management.md +520 -0
- package/resources/gofer/memory/decisions/README.md +129 -0
- package/resources/gofer/memory/diagrams/di-container.mmd +321 -0
- package/resources/gofer/memory/diagrams/extension-activation.mmd +184 -0
- package/resources/gofer/memory/diagrams/module-dependencies.mmd +264 -0
- package/resources/gofer/memory/gofer-model-policy.yaml +97 -0
- package/resources/gofer/memory/lessons.md +46 -0
- package/resources/gofer/node-scripts/canonical-descriptions.mjs +86 -0
- package/resources/gofer/node-scripts/check-version-alignment.mjs +131 -0
- package/resources/gofer/node-scripts/codex-doctor.mjs +425 -0
- package/resources/gofer/node-scripts/generate-commands.mjs +1366 -0
- package/resources/gofer/node-scripts/generate-issues.js +563 -0
- package/resources/gofer/node-scripts/gofer-closed-loop-audit.mjs +893 -0
- package/resources/gofer/node-scripts/gofer-loop-audit.mjs +541 -0
- package/resources/gofer/node-scripts/gofer-performance-report.mjs +306 -0
- package/resources/gofer/node-scripts/gofer-workspace-bootstrap.mjs +56 -0
- package/resources/gofer/node-scripts/gofer-workspace-check.mjs +56 -0
- package/resources/gofer/node-scripts/lib/ai-leverage-tagger.mjs +103 -0
- package/resources/gofer/node-scripts/lib/assemble-stakeholder-pack.mjs +114 -0
- package/resources/gofer/node-scripts/lib/marp-deck.mjs +87 -0
- package/resources/gofer/node-scripts/lib/mermaid-tabular-fallback.mjs +264 -0
- package/resources/gofer/node-scripts/lib/render-visual.mjs +54 -0
- package/resources/gofer/node-scripts/lib/validate-aliases.mjs +85 -0
- package/resources/gofer/node-scripts/lib/visual-counts.mjs +44 -0
- package/resources/gofer/node-scripts/lib/visual-pass-pipeline.mjs +134 -0
- package/resources/gofer/node-scripts/mermaid-export.mjs +72 -0
- package/resources/gofer/node-scripts/package-agent-plugin.mjs +940 -0
- package/resources/gofer/node-scripts/parse-stage-command.mjs +211 -0
- package/resources/gofer/node-scripts/schemas/.gitkeep +0 -0
- package/resources/gofer/node-scripts/schemas/stage-command.schema.json +72 -0
- package/resources/gofer/node-scripts/sync-extension-resources.mjs +110 -0
- package/resources/gofer/node-scripts/workspace-bootstrap-lib.mjs +1166 -0
- package/resources/gofer/powershell-scripts/install-optional-tools.ps1 +214 -0
- package/resources/gofer/references/platform/README.md +17 -0
- package/resources/gofer/references/platform/deployment-repo.md +9 -0
- package/resources/gofer/references/platform/eai-app-template.md +45 -0
- package/resources/gofer/references/platform/eai-config-driven-ui.md +156 -0
- package/resources/gofer/references/platform/eai-error-catalog.yaml +197 -0
- package/resources/gofer/references/platform/eai-repo-contract.md +134 -0
- package/resources/gofer/references/platform/eai-service-patterns.md +56 -0
- package/resources/gofer/references/platform/eai.md +85 -0
- package/resources/gofer/references/platform/vertical-template.md +49 -0
- package/resources/gofer/specify-commands/.gitkeep +0 -0
- package/resources/gofer/specify-commands/0_gofer_start.md +1299 -0
- package/resources/gofer/specify-commands/0a_problem_validation.md +405 -0
- package/resources/gofer/specify-commands/10_gofer_cloud.md +611 -0
- package/resources/gofer/specify-commands/1_gofer_research.md +1135 -0
- package/resources/gofer/specify-commands/2_gofer_specify.md +836 -0
- package/resources/gofer/specify-commands/3_gofer_plan.md +862 -0
- package/resources/gofer/specify-commands/4_gofer_tasks.md +724 -0
- package/resources/gofer/specify-commands/5_gofer_implement.md +900 -0
- package/resources/gofer/specify-commands/6_gofer_validate.md +2245 -0
- package/resources/gofer/specify-commands/7_gofer_save.md +399 -0
- package/resources/gofer/specify-commands/7a_stakeholder_comms.md +484 -0
- package/resources/gofer/specify-commands/8_gofer_branding.md +291 -0
- package/resources/gofer/specify-commands/9_gofer_tests.md +534 -0
- package/resources/gofer/specify-commands/gofer_bootstrap_workspace.md +159 -0
- package/resources/gofer/specify-commands/gofer_check_workspace.md +130 -0
- package/resources/gofer/specify-commands/gofer_constitution.md +588 -0
- package/resources/gofer/specify-commands/gofer_diagnose.md +89 -0
- package/resources/gofer/specify-commands/gofer_eai_first_run.md +392 -0
- package/resources/gofer/specify-commands/gofer_hydrate.md +537 -0
- package/resources/gofer/specify-commands/gofer_personality.md +61 -0
- package/resources/gofer/specify-commands/gofer_plan.md +51 -0
- package/resources/gofer/specify-commands/gofer_side.md +56 -0
- package/resources/gofer/specify-commands/gofer_spec_summary.md +87 -0
- package/resources/gofer/specify-commands/gofer_tdd.md +87 -0
- package/resources/gofer/specify-commands/gofer_vocabulary.md +87 -0
- package/resources/gofer/specify-commands/gofer_zoom_out.md +87 -0
- package/resources/gofer/system-skills/0_gofer_start/SKILL.md +1287 -0
- package/resources/gofer/system-skills/0a_problem_validation/SKILL.md +429 -0
- package/resources/gofer/system-skills/10_gofer_cloud/SKILL.md +635 -0
- package/resources/gofer/system-skills/1_gofer_research/SKILL.md +1159 -0
- package/resources/gofer/system-skills/2_gofer_specify/SKILL.md +860 -0
- package/resources/gofer/system-skills/3_gofer_plan/SKILL.md +886 -0
- package/resources/gofer/system-skills/4_gofer_tasks/SKILL.md +748 -0
- package/resources/gofer/system-skills/5_gofer_implement/SKILL.md +924 -0
- package/resources/gofer/system-skills/6_gofer_validate/SKILL.md +2269 -0
- package/resources/gofer/system-skills/7_gofer_save/SKILL.md +423 -0
- package/resources/gofer/system-skills/7a_stakeholder_comms/SKILL.md +508 -0
- package/resources/gofer/system-skills/8_gofer_branding/SKILL.md +315 -0
- package/resources/gofer/system-skills/9_gofer_tests/SKILL.md +558 -0
- package/resources/gofer/system-skills/gofer_bootstrap_workspace/SKILL.md +148 -0
- package/resources/gofer/system-skills/gofer_check_workspace/SKILL.md +119 -0
- package/resources/gofer/system-skills/gofer_constitution/SKILL.md +612 -0
- package/resources/gofer/system-skills/gofer_diagnose/SKILL.md +114 -0
- package/resources/gofer/system-skills/gofer_eai_first_run/SKILL.md +397 -0
- package/resources/gofer/system-skills/gofer_hydrate/SKILL.md +561 -0
- package/resources/gofer/system-skills/gofer_personality/SKILL.md +44 -0
- package/resources/gofer/system-skills/gofer_plan/SKILL.md +40 -0
- package/resources/gofer/system-skills/gofer_side/SKILL.md +45 -0
- package/resources/gofer/system-skills/gofer_spec_summary/SKILL.md +112 -0
- package/resources/gofer/system-skills/gofer_tdd/SKILL.md +112 -0
- package/resources/gofer/system-skills/gofer_vocabulary/SKILL.md +112 -0
- package/resources/gofer/system-skills/gofer_zoom_out/SKILL.md +112 -0
- package/resources/gofer/templates/agent-file-template.md +28 -0
- package/resources/gofer/templates/assumptions-template.md +94 -0
- package/resources/gofer/templates/audit-history-template.md +35 -0
- package/resources/gofer/templates/brand/brand-profile-template.json +45 -0
- package/resources/gofer/templates/brand/document-style-template.md +50 -0
- package/resources/gofer/templates/brand/marp-theme-template.css +58 -0
- package/resources/gofer/templates/brownfield-analysis.md +44 -0
- package/resources/gofer/templates/business-metrics-template.md +120 -0
- package/resources/gofer/templates/business-owner-summary-template.md +83 -0
- package/resources/gofer/templates/checklist-template.md +40 -0
- package/resources/gofer/templates/ciso-security-summary-template.md +70 -0
- package/resources/gofer/templates/context-bundle-template.md +76 -0
- package/resources/gofer/templates/contract-pack-template.md +109 -0
- package/resources/gofer/templates/cto-architecture-summary-template.md +83 -0
- package/resources/gofer/templates/discovery-template.md +92 -0
- package/resources/gofer/templates/eai-preflight-template.md +144 -0
- package/resources/gofer/templates/goal-ledger-template.json +69 -0
- package/resources/gofer/templates/gofer-model-policy.yaml +97 -0
- package/resources/gofer/templates/issues-template.md +106 -0
- package/resources/gofer/templates/journey/base-journey.md +95 -0
- package/resources/gofer/templates/journey/industry-variants.yaml +277 -0
- package/resources/gofer/templates/loop-contract-template.json +68 -0
- package/resources/gofer/templates/plan-template.md +215 -0
- package/resources/gofer/templates/problem-brief-template.md +85 -0
- package/resources/gofer/templates/proposal-review-template.md +79 -0
- package/resources/gofer/templates/research-template.md +222 -0
- package/resources/gofer/templates/reuse-scan-template.md +43 -0
- package/resources/gofer/templates/sequence-diagrams/option-spectrum.yaml +178 -0
- package/resources/gofer/templates/service-fit-matrix-template.md +29 -0
- package/resources/gofer/templates/session-handoff-template.md +172 -0
- package/resources/gofer/templates/spec-summary-template.md +118 -0
- package/resources/gofer/templates/spec-template.md +196 -0
- package/resources/gofer/templates/stakeholder-comms-template.md +330 -0
- package/resources/gofer/templates/stakeholder-review-index-template.md +54 -0
- package/resources/gofer/templates/tasks-template.md +323 -0
- package/resources/gofer/templates/ui-approval-template.md +32 -0
- package/resources/gofer/templates/ui-preview-brief-template.md +65 -0
- package/resources/gofer/templates/ui-review-log-template.md +11 -0
- package/resources/gofer/templates/visuals/.gitkeep +0 -0
- package/resources/gofer/templates/visuals/bounded-context-map.md +19 -0
- package/resources/gofer/templates/visuals/bounded-context-template.md +47 -0
- package/resources/gofer/templates/visuals/c4-container-template.md +38 -0
- package/resources/gofer/templates/visuals/c4-container.md +20 -0
- package/resources/gofer/templates/visuals/c4-context-template.md +46 -0
- package/resources/gofer/templates/visuals/capability-heatmap-template.md +54 -0
- package/resources/gofer/templates/visuals/data-model-erd-template.md +41 -0
- package/resources/gofer/templates/visuals/erd.md +19 -0
- package/resources/gofer/templates/visuals/impact-canvas.md +40 -0
- package/resources/gofer/templates/visuals/risk-heatmap-template.md +51 -0
- package/resources/gofer/templates/visuals/roi-projection.md +17 -0
- package/resources/gofer/templates/visuals/value-stream-asis.md +16 -0
- package/resources/gofer/templates/visuals/value-stream-tobe.md +18 -0
- package/resources/gofer/templates/working-backwards-prfaq-template.md +165 -0
- package/resources/linked-sources.json +25 -0
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* eai workflow — provision app workflow configs and inspect runtime bindings.
|
|
3
|
+
*/
|
|
4
|
+
import { Command } from 'commander';
|
|
5
|
+
import chalk from 'chalk';
|
|
6
|
+
import { loadEnvFile, patchEnvFile } from '../lib/config.js';
|
|
7
|
+
import { normalizeFormat, resolveCommandContext } from '../lib/context.js';
|
|
8
|
+
import { setCloudEnvValues } from '../lib/cloud-env.js';
|
|
9
|
+
import { PlatformAPIRequestError, } from '../lib/api.js';
|
|
10
|
+
import { buildWorkflowAiRuntimeBindingPayloads, buildWorkflowProvisionPayloads, parseEnvMapping, parseStagePrompt, parseStageSpec, SHARED_AI_PROFILE_OBJECT_TYPE, SHARED_CHATBOT_CONFIG_OBJECT_TYPE, SHARED_WORKFLOW_CONFIG_OBJECT_TYPE, validateStageEnvMappings, validateStagePromptMappings, VERTICAL_PRODUCT_CONFIG_OBJECT_TYPE, workflowVerticalConfigKey, } from '../lib/workflow-provisioning.js';
|
|
11
|
+
import { isRecord } from '../lib/utils.js';
|
|
12
|
+
import * as out from '../lib/output.js';
|
|
13
|
+
export const workflowCommand = new Command('workflow')
|
|
14
|
+
.description('Provision app workflow configs and inspect AI runtime workflow bindings');
|
|
15
|
+
function resolveWorkflowAppKey(options) {
|
|
16
|
+
const appKey = options.app?.trim();
|
|
17
|
+
const legacyVerticalKey = options.vertical?.trim();
|
|
18
|
+
if (appKey && legacyVerticalKey && appKey !== legacyVerticalKey) {
|
|
19
|
+
throw new Error('--app and --vertical must match when both are provided.');
|
|
20
|
+
}
|
|
21
|
+
const resolved = appKey || legacyVerticalKey;
|
|
22
|
+
if (!resolved) {
|
|
23
|
+
throw new Error('--app <key> is required.');
|
|
24
|
+
}
|
|
25
|
+
return resolved;
|
|
26
|
+
}
|
|
27
|
+
function readDocs(payload) {
|
|
28
|
+
if (!isRecord(payload))
|
|
29
|
+
return [];
|
|
30
|
+
const docs = Array.isArray(payload.docs) ? payload.docs : Array.isArray(payload.items) ? payload.items : [];
|
|
31
|
+
return docs.filter(isRecord).map((doc) => ({
|
|
32
|
+
id: typeof doc.id === 'string' ? doc.id : undefined,
|
|
33
|
+
data: isRecord(doc.data) ? doc.data : undefined,
|
|
34
|
+
version: typeof doc.version === 'number' ? doc.version : undefined,
|
|
35
|
+
}));
|
|
36
|
+
}
|
|
37
|
+
async function readResponsePayload(res) {
|
|
38
|
+
const text = await res.text();
|
|
39
|
+
if (!text)
|
|
40
|
+
return {};
|
|
41
|
+
try {
|
|
42
|
+
return JSON.parse(text);
|
|
43
|
+
}
|
|
44
|
+
catch {
|
|
45
|
+
return { message: text };
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
function readResourceId(payload) {
|
|
49
|
+
if (!isRecord(payload))
|
|
50
|
+
return undefined;
|
|
51
|
+
if (typeof payload.id === 'string')
|
|
52
|
+
return payload.id;
|
|
53
|
+
if (isRecord(payload.doc) && typeof payload.doc.id === 'string')
|
|
54
|
+
return payload.doc.id;
|
|
55
|
+
if (isRecord(payload.resource) && typeof payload.resource.id === 'string')
|
|
56
|
+
return payload.resource.id;
|
|
57
|
+
return undefined;
|
|
58
|
+
}
|
|
59
|
+
function fail(message) {
|
|
60
|
+
out.error(message);
|
|
61
|
+
process.exit(1);
|
|
62
|
+
}
|
|
63
|
+
async function upsertWorkflowResource(context, objectType, where, data) {
|
|
64
|
+
const listRes = await context.client.listResources(objectType, { limit: 1, where });
|
|
65
|
+
const listPayload = await readResponsePayload(listRes);
|
|
66
|
+
if (!listRes.ok) {
|
|
67
|
+
throw new Error(`Failed to find ${objectType}: ${listRes.status} ${listRes.statusText}`);
|
|
68
|
+
}
|
|
69
|
+
const existing = readDocs(listPayload)[0];
|
|
70
|
+
if (existing?.id) {
|
|
71
|
+
if (typeof existing.version !== 'number') {
|
|
72
|
+
throw new Error(`Existing ${objectType} ${existing.id} did not include a version.`);
|
|
73
|
+
}
|
|
74
|
+
const updateRes = await context.client.updateResource(objectType, existing.id, data, existing.version);
|
|
75
|
+
const updatePayload = await readResponsePayload(updateRes);
|
|
76
|
+
if (!updateRes.ok) {
|
|
77
|
+
throw new Error(`Failed to update ${objectType}: ${updateRes.status} ${updateRes.statusText}`);
|
|
78
|
+
}
|
|
79
|
+
return { id: readResourceId(updatePayload) ?? existing.id, action: 'updated' };
|
|
80
|
+
}
|
|
81
|
+
const createRes = await context.client.createResource(objectType, data);
|
|
82
|
+
const createPayload = await readResponsePayload(createRes);
|
|
83
|
+
if (!createRes.ok) {
|
|
84
|
+
throw new Error(`Failed to create ${objectType}: ${createRes.status} ${createRes.statusText}`);
|
|
85
|
+
}
|
|
86
|
+
return { id: readResourceId(createPayload), action: 'created' };
|
|
87
|
+
}
|
|
88
|
+
function printWorkflowStatus(result) {
|
|
89
|
+
out.heading(`Workflow: ${result.workflowKey}`);
|
|
90
|
+
out.table([
|
|
91
|
+
['Tenant', chalk.dim(result.tenantId || 'unknown')],
|
|
92
|
+
['Status', result.status === 'available' ? chalk.green(result.status) : chalk.yellow(result.status)],
|
|
93
|
+
['Reason', result.reasonCode],
|
|
94
|
+
]);
|
|
95
|
+
out.info(result.reasonMessage);
|
|
96
|
+
if (result.runtimeWorkflowRef) {
|
|
97
|
+
out.success(`Runtime workflow ref: ${chalk.dim(result.runtimeWorkflowRef)}`);
|
|
98
|
+
}
|
|
99
|
+
if (result.nextAction) {
|
|
100
|
+
out.warn(result.nextAction);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
function printWorkflowRequest(result) {
|
|
104
|
+
out.heading(`Workflow request: ${result.workflowKey}`);
|
|
105
|
+
out.table([
|
|
106
|
+
['Request ID', chalk.dim(result.requestId)],
|
|
107
|
+
['Tenant', chalk.dim(result.tenantId)],
|
|
108
|
+
['Status', result.status === 'available' ? chalk.green(result.status) : chalk.yellow(result.status)],
|
|
109
|
+
['Reason', result.reasonCode],
|
|
110
|
+
]);
|
|
111
|
+
out.info(result.reasonMessage);
|
|
112
|
+
if (result.runtimeWorkflowRef) {
|
|
113
|
+
out.success(`Runtime workflow ref: ${chalk.dim(result.runtimeWorkflowRef)}`);
|
|
114
|
+
}
|
|
115
|
+
if (result.nextAction) {
|
|
116
|
+
out.warn(result.nextAction);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
function printBuilderReadiness(result) {
|
|
120
|
+
out.heading(`Builder readiness: ${result.tenantId}`);
|
|
121
|
+
out.table([
|
|
122
|
+
['Status', result.status === 'available' ? chalk.green(result.status) : chalk.yellow(result.status)],
|
|
123
|
+
['Checks', String(result.checks.length)],
|
|
124
|
+
]);
|
|
125
|
+
for (const check of result.checks) {
|
|
126
|
+
const status = check.status === 'available' ? chalk.green(check.status) : chalk.yellow(check.status);
|
|
127
|
+
out.info(`${check.key}: ${status} — ${check.reasonMessage}`);
|
|
128
|
+
if (check.nextAction) {
|
|
129
|
+
out.warn(check.nextAction);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
function handleWorkflowError(err) {
|
|
134
|
+
if (err instanceof PlatformAPIRequestError) {
|
|
135
|
+
out.error(err.serverMessage || err.message);
|
|
136
|
+
if (err.requestId) {
|
|
137
|
+
out.info(`Request ID: ${err.requestId}`);
|
|
138
|
+
}
|
|
139
|
+
process.exit(1);
|
|
140
|
+
}
|
|
141
|
+
out.error(err instanceof Error ? err.message : String(err));
|
|
142
|
+
process.exit(1);
|
|
143
|
+
}
|
|
144
|
+
workflowCommand
|
|
145
|
+
.command('provision <workflow-key>')
|
|
146
|
+
.description('Provision a usecase-agnostic workflow config and bind it to a tenant app')
|
|
147
|
+
.option('--app <key>', 'Tenant app key that consumes this workflow')
|
|
148
|
+
.option('--vertical <key>', 'Deprecated alias for --app')
|
|
149
|
+
.option('--tenant <id>', 'Tenant id to provision against (defaults to active tenant)')
|
|
150
|
+
.option('--display-name <name>', 'Workflow display name (defaults to humanized workflow key)')
|
|
151
|
+
.option('--usecase <usecase>', 'Workflow usecase namespace', 'generic')
|
|
152
|
+
.option('--scope-key <scopeKey>', 'Explicit workflow scope key (defaults to <usecase>:<workflow-key>)')
|
|
153
|
+
.option('--stage <stage>', 'Stage id, optionally id:Display Name. Repeat for multiple stages.', collect, [])
|
|
154
|
+
.option('--stage-env <mapping>', 'Env mapping KEY=stage-id. Repeat for stage env vars.', collect, [])
|
|
155
|
+
.option('--workflow-env-key <key>', 'Env key for the workflow id')
|
|
156
|
+
.option('--bind-ai-runtime', 'Also create shared-ai-profile and shared-chatbot-config records for the stages', false)
|
|
157
|
+
.option('--ai-provider <integrationKey>', 'Tenant integration key for the AI provider')
|
|
158
|
+
.option('--ai-model <model>', 'AI model/deployment name for the workflow runtime')
|
|
159
|
+
.option('--ai-profile-key <key>', 'Reusable shared-ai-profile key (defaults to <workflow>-default-model)')
|
|
160
|
+
.option('--stage-prompt <stage=prompt>', 'Prompt content for a stage. Repeat for multiple stages.', collect, [])
|
|
161
|
+
.option('--status <status>', 'active or draft', 'active')
|
|
162
|
+
.option('--write-local-env', 'Patch .env.local with generated env values', false)
|
|
163
|
+
.option('--write-app-config', 'Write generated env values to Azure App Configuration', false)
|
|
164
|
+
.option('--env <label>', 'Cloud config environment label for EAI_APP_CONFIG_STORE_<LABEL>')
|
|
165
|
+
.option('--label <label>', 'Azure App Configuration label (defaults to NEXT_PUBLIC_APP_NAME or app key)')
|
|
166
|
+
.option('--format <format>', 'Output format: text or json', 'text')
|
|
167
|
+
.option('--json', 'Output raw JSON (deprecated, use --format json)', false)
|
|
168
|
+
.addHelpText('after', `
|
|
169
|
+
Examples:
|
|
170
|
+
$ eai workflow provision configurator --app no-code-builder \\
|
|
171
|
+
--workflow-env-key NEXT_PUBLIC_WORKFLOW_CONFIGURATOR_ID \\
|
|
172
|
+
--stage analyze-process:"Analyze process" \\
|
|
173
|
+
--stage generate-workflow:"Generate workflow" \\
|
|
174
|
+
--stage suggest-improvements:"Suggest improvements" \\
|
|
175
|
+
--stage-env WORKFLOW_ANALYZE_STAGE=analyze-process \\
|
|
176
|
+
--stage-env WORKFLOW_GENERATE_STAGE=generate-workflow \\
|
|
177
|
+
--stage-env WORKFLOW_SUGGESTIONS_STAGE=suggest-improvements
|
|
178
|
+
--bind-ai-runtime --ai-provider azure-openai --ai-model gpt-5.1-chat
|
|
179
|
+
|
|
180
|
+
$ eai workflow provision onboarding --app hr-helper --stage intake --stage review --write-local-env
|
|
181
|
+
`)
|
|
182
|
+
.action(async (workflowKey, options) => {
|
|
183
|
+
const format = normalizeFormat(options);
|
|
184
|
+
try {
|
|
185
|
+
const context = await resolveCommandContext({ tenantId: options.tenant, interactive: !options.tenant });
|
|
186
|
+
const stages = (options.stage ?? []).map((stage, index) => parseStageSpec(stage, index));
|
|
187
|
+
const stageEnv = Object.fromEntries((options.stageEnv ?? []).map(parseEnvMapping));
|
|
188
|
+
validateStageEnvMappings(stages, stageEnv);
|
|
189
|
+
const appKey = resolveWorkflowAppKey(options);
|
|
190
|
+
if (options.status !== 'active' && options.status !== 'draft') {
|
|
191
|
+
throw new Error('--status must be active or draft.');
|
|
192
|
+
}
|
|
193
|
+
const displayName = options.displayName?.trim() || parseStageSpec(workflowKey, 0).name || workflowKey;
|
|
194
|
+
const payloads = buildWorkflowProvisionPayloads({
|
|
195
|
+
tenantId: context.tenantId,
|
|
196
|
+
verticalKey: appKey,
|
|
197
|
+
workflowKey,
|
|
198
|
+
displayName,
|
|
199
|
+
stages,
|
|
200
|
+
usecase: options.usecase,
|
|
201
|
+
scopeKey: options.scopeKey,
|
|
202
|
+
status: options.status,
|
|
203
|
+
}, {
|
|
204
|
+
workflowEnvKey: options.workflowEnvKey,
|
|
205
|
+
stageEnv,
|
|
206
|
+
});
|
|
207
|
+
const normalizedWorkflowKey = String(payloads.workflowConfig.workflowKey);
|
|
208
|
+
const normalizedVerticalKey = String(payloads.verticalConfig.verticalKey);
|
|
209
|
+
const shouldBindAiRuntime = Boolean(options.bindAiRuntime ||
|
|
210
|
+
options.aiProvider ||
|
|
211
|
+
options.aiModel ||
|
|
212
|
+
(options.stagePrompt ?? []).length);
|
|
213
|
+
let runtimePayloads;
|
|
214
|
+
if (shouldBindAiRuntime) {
|
|
215
|
+
if (!options.aiProvider || !options.aiModel) {
|
|
216
|
+
throw new Error('--bind-ai-runtime requires --ai-provider and --ai-model.');
|
|
217
|
+
}
|
|
218
|
+
const stagePrompts = Object.fromEntries((options.stagePrompt ?? []).map(parseStagePrompt));
|
|
219
|
+
validateStagePromptMappings(stages, stagePrompts);
|
|
220
|
+
runtimePayloads = buildWorkflowAiRuntimeBindingPayloads({
|
|
221
|
+
tenantId: context.tenantId,
|
|
222
|
+
verticalKey: appKey,
|
|
223
|
+
workflowKey,
|
|
224
|
+
displayName,
|
|
225
|
+
stages,
|
|
226
|
+
usecase: options.usecase,
|
|
227
|
+
scopeKey: options.scopeKey,
|
|
228
|
+
status: options.status,
|
|
229
|
+
providerIntegrationKey: options.aiProvider,
|
|
230
|
+
model: options.aiModel,
|
|
231
|
+
profileKey: options.aiProfileKey,
|
|
232
|
+
stagePrompts,
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
const workflow = await upsertWorkflowResource(context, SHARED_WORKFLOW_CONFIG_OBJECT_TYPE, {
|
|
236
|
+
tenantId: context.tenantId,
|
|
237
|
+
workflowKey: normalizedWorkflowKey,
|
|
238
|
+
}, payloads.workflowConfig);
|
|
239
|
+
const vertical = await upsertWorkflowResource(context, VERTICAL_PRODUCT_CONFIG_OBJECT_TYPE, {
|
|
240
|
+
tenantId: context.tenantId,
|
|
241
|
+
verticalKey: normalizedVerticalKey,
|
|
242
|
+
configKey: workflowVerticalConfigKey(normalizedWorkflowKey),
|
|
243
|
+
}, payloads.verticalConfig);
|
|
244
|
+
const aiRuntime = [];
|
|
245
|
+
if (runtimePayloads) {
|
|
246
|
+
const profileKey = String(runtimePayloads.aiProfile.profileKey);
|
|
247
|
+
const profile = await upsertWorkflowResource(context, SHARED_AI_PROFILE_OBJECT_TYPE, {
|
|
248
|
+
tenantId: context.tenantId,
|
|
249
|
+
profileKey,
|
|
250
|
+
}, runtimePayloads.aiProfile);
|
|
251
|
+
aiRuntime.push({
|
|
252
|
+
objectType: SHARED_AI_PROFILE_OBJECT_TYPE,
|
|
253
|
+
key: profileKey,
|
|
254
|
+
id: profile.id,
|
|
255
|
+
action: profile.action,
|
|
256
|
+
});
|
|
257
|
+
for (const chatbotConfig of runtimePayloads.chatbotConfigs) {
|
|
258
|
+
const configKey = String(chatbotConfig.configKey);
|
|
259
|
+
const config = await upsertWorkflowResource(context, SHARED_CHATBOT_CONFIG_OBJECT_TYPE, {
|
|
260
|
+
tenantId: context.tenantId,
|
|
261
|
+
configKey,
|
|
262
|
+
}, chatbotConfig);
|
|
263
|
+
aiRuntime.push({
|
|
264
|
+
objectType: SHARED_CHATBOT_CONFIG_OBJECT_TYPE,
|
|
265
|
+
key: configKey,
|
|
266
|
+
id: config.id,
|
|
267
|
+
action: config.action,
|
|
268
|
+
});
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
const envValues = {
|
|
272
|
+
...payloads.envValues,
|
|
273
|
+
[payloads.workflowEnvKey]: workflow.id ?? normalizedWorkflowKey,
|
|
274
|
+
};
|
|
275
|
+
if (options.writeLocalEnv) {
|
|
276
|
+
await patchEnvFile(context.root, envValues);
|
|
277
|
+
}
|
|
278
|
+
let appConfig;
|
|
279
|
+
if (options.writeAppConfig) {
|
|
280
|
+
const projectEnv = await loadEnvFile(context.root);
|
|
281
|
+
const label = options.label || projectEnv.NEXT_PUBLIC_APP_NAME || normalizedVerticalKey;
|
|
282
|
+
const result = await setCloudEnvValues({
|
|
283
|
+
environment: options.env,
|
|
284
|
+
label,
|
|
285
|
+
values: envValues,
|
|
286
|
+
});
|
|
287
|
+
appConfig = { ...result, label };
|
|
288
|
+
}
|
|
289
|
+
const result = {
|
|
290
|
+
tenantId: context.tenantId,
|
|
291
|
+
workflow: {
|
|
292
|
+
id: workflow.id ?? null,
|
|
293
|
+
action: workflow.action,
|
|
294
|
+
objectType: SHARED_WORKFLOW_CONFIG_OBJECT_TYPE,
|
|
295
|
+
workflowKey: normalizedWorkflowKey,
|
|
296
|
+
},
|
|
297
|
+
app: {
|
|
298
|
+
id: vertical.id ?? null,
|
|
299
|
+
action: vertical.action,
|
|
300
|
+
objectType: VERTICAL_PRODUCT_CONFIG_OBJECT_TYPE,
|
|
301
|
+
appKey: normalizedVerticalKey,
|
|
302
|
+
verticalKey: normalizedVerticalKey,
|
|
303
|
+
configKey: workflowVerticalConfigKey(normalizedWorkflowKey),
|
|
304
|
+
},
|
|
305
|
+
vertical: {
|
|
306
|
+
id: vertical.id ?? null,
|
|
307
|
+
action: vertical.action,
|
|
308
|
+
objectType: VERTICAL_PRODUCT_CONFIG_OBJECT_TYPE,
|
|
309
|
+
verticalKey: normalizedVerticalKey,
|
|
310
|
+
configKey: workflowVerticalConfigKey(normalizedWorkflowKey),
|
|
311
|
+
},
|
|
312
|
+
aiRuntime,
|
|
313
|
+
env: envValues,
|
|
314
|
+
appConfig: appConfig ?? null,
|
|
315
|
+
};
|
|
316
|
+
if (format === 'json') {
|
|
317
|
+
out.json(result);
|
|
318
|
+
return;
|
|
319
|
+
}
|
|
320
|
+
out.success(`${workflow.action === 'created' ? 'Created' : 'Updated'} ${SHARED_WORKFLOW_CONFIG_OBJECT_TYPE} ${chalk.cyan(normalizedWorkflowKey)}`);
|
|
321
|
+
out.success(`${vertical.action === 'created' ? 'Created' : 'Updated'} ${VERTICAL_PRODUCT_CONFIG_OBJECT_TYPE} ${chalk.cyan(String(result.vertical.configKey))}`);
|
|
322
|
+
for (const runtimeRecord of aiRuntime) {
|
|
323
|
+
out.success(`${runtimeRecord.action === 'created' ? 'Created' : 'Updated'} ${runtimeRecord.objectType} ${chalk.cyan(runtimeRecord.key)}`);
|
|
324
|
+
}
|
|
325
|
+
if (options.writeLocalEnv) {
|
|
326
|
+
out.success('Patched .env.local');
|
|
327
|
+
}
|
|
328
|
+
if (appConfig) {
|
|
329
|
+
out.success(`Wrote ${appConfig.count} App Configuration value(s) to ${appConfig.store} (label: ${appConfig.label})`);
|
|
330
|
+
}
|
|
331
|
+
out.blank();
|
|
332
|
+
out.heading('Env values');
|
|
333
|
+
for (const [key, value] of Object.entries(envValues)) {
|
|
334
|
+
out.info(`${key}=${chalk.dim(value)}`);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
catch (err) {
|
|
338
|
+
fail(err instanceof Error ? err.message : String(err));
|
|
339
|
+
}
|
|
340
|
+
});
|
|
341
|
+
workflowCommand
|
|
342
|
+
.command('readiness')
|
|
343
|
+
.description('Check tenant, plan, and workflow readiness for building an app')
|
|
344
|
+
.argument('[workflow-keys...]', 'Optional public workflow keys to include in readiness checks')
|
|
345
|
+
.option('--tenant <id>', 'Tenant id to check (defaults to active tenant)')
|
|
346
|
+
.option('--format <format>', 'Output format: text or json', 'text')
|
|
347
|
+
.action(async (workflowKeys, options) => {
|
|
348
|
+
const context = await resolveCommandContext({ tenantId: options.tenant });
|
|
349
|
+
const result = await context.client.getBuilderReadiness({
|
|
350
|
+
tenantId: context.tenantId,
|
|
351
|
+
workflowKeys,
|
|
352
|
+
}).catch(handleWorkflowError);
|
|
353
|
+
if (options.format === 'json') {
|
|
354
|
+
out.json(result);
|
|
355
|
+
return;
|
|
356
|
+
}
|
|
357
|
+
printBuilderReadiness(result);
|
|
358
|
+
});
|
|
359
|
+
function collect(value, previous) {
|
|
360
|
+
return [...(previous ?? []), value];
|
|
361
|
+
}
|
|
362
|
+
workflowCommand
|
|
363
|
+
.command('status')
|
|
364
|
+
.description('Check whether a workflow key has an executable runtime binding')
|
|
365
|
+
.argument('<workflow-key>', 'Public workflow key, for example strategy-monitor')
|
|
366
|
+
.option('--tenant <id>', 'Tenant id to check (defaults to active tenant)')
|
|
367
|
+
.option('--format <format>', 'Output format: text or json', 'text')
|
|
368
|
+
.action(async (workflowKey, options) => {
|
|
369
|
+
const context = await resolveCommandContext({ tenantId: options.tenant });
|
|
370
|
+
const result = await context.client.getRuntimeWorkflowStatus(workflowKey, context.tenantId)
|
|
371
|
+
.catch(handleWorkflowError);
|
|
372
|
+
if (options.format === 'json') {
|
|
373
|
+
out.json(result);
|
|
374
|
+
return;
|
|
375
|
+
}
|
|
376
|
+
printWorkflowStatus(result);
|
|
377
|
+
});
|
|
378
|
+
workflowCommand
|
|
379
|
+
.command('request')
|
|
380
|
+
.description('Request an operator-assisted runtime workflow binding')
|
|
381
|
+
.argument('<workflow-key>', 'Public workflow key, for example strategy-monitor')
|
|
382
|
+
.option('--tenant <id>', 'Tenant id to request for (defaults to active tenant)')
|
|
383
|
+
.option('--display-name <name>', 'Human-readable workflow display name')
|
|
384
|
+
.option('--reason <reason>', 'Short reason to include for the platform operator')
|
|
385
|
+
.option('--format <format>', 'Output format: text or json', 'text')
|
|
386
|
+
.action(async (workflowKey, options) => {
|
|
387
|
+
const context = await resolveCommandContext({ tenantId: options.tenant });
|
|
388
|
+
const result = await context.client.requestRuntimeWorkflow({
|
|
389
|
+
tenantId: context.tenantId,
|
|
390
|
+
workflowKey,
|
|
391
|
+
displayName: options.displayName,
|
|
392
|
+
reason: options.reason,
|
|
393
|
+
}).catch(handleWorkflowError);
|
|
394
|
+
if (options.format === 'json') {
|
|
395
|
+
out.json(result);
|
|
396
|
+
return;
|
|
397
|
+
}
|
|
398
|
+
printWorkflowRequest(result);
|
|
399
|
+
});
|
|
400
|
+
//# sourceMappingURL=workflow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow.js","sourceRoot":"","sources":["../../src/commands/workflow.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,EA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CAAC;QACjB,OAAO;IACT,CAAC;IACD,oBAAoB,CAAC,MAAM,CAAC,CAAC;AAC/B,CAAC,CAAC,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* eai — Enterprise AI Platform CLI
|
|
4
|
+
*
|
|
5
|
+
* Scaffold, seed, deploy, and manage applications.
|
|
6
|
+
* Every command wraps platform API calls — developers work with resources,
|
|
7
|
+
* types, tenants, and chat using simple commands.
|
|
8
|
+
*/
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA;;;;;;GAMG"}
|