openspecui 0.0.0 → 0.1.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/dist/cli.mjs +91 -0
- package/dist/index.mjs +3 -0
- package/dist/open-CmiqsyCQ.mjs +473 -0
- package/dist/src-CNuprcB-.mjs +13604 -0
- package/package.json +35 -7
- package/web/assets/index-BhzIZ_eQ.js +150 -0
- package/web/assets/index-D6x5Q1lW.css +1 -0
- package/web/dist/assets/index-BhzIZ_eQ.js +150 -0
- package/web/dist/assets/index-CqKOZnDE.css +1 -0
- package/web/dist/assets/index-D6x5Q1lW.css +1 -0
- package/web/dist/assets/index-Om_P2_SF.js +155 -0
- package/web/dist/index.html +14 -0
- package/web/index.html +14 -0
- package/.gitmodules +0 -3
- package/CHAT.md +0 -3
- package/references/openspec/.changeset/README.md +0 -6
- package/references/openspec/.changeset/config.json +0 -12
- package/references/openspec/.coderabbit.yaml +0 -11
- package/references/openspec/.devcontainer/README.md +0 -92
- package/references/openspec/.devcontainer/devcontainer.json +0 -68
- package/references/openspec/.github/CODEOWNERS +0 -2
- package/references/openspec/.github/workflows/ci.yml +0 -222
- package/references/openspec/.github/workflows/release-prepare.yml +0 -50
- package/references/openspec/AGENTS.md +0 -18
- package/references/openspec/CHANGELOG.md +0 -205
- package/references/openspec/LICENSE +0 -22
- package/references/openspec/README.md +0 -374
- package/references/openspec/assets/openspec_dashboard.png +0 -0
- package/references/openspec/assets/openspec_pixel_dark.svg +0 -89
- package/references/openspec/assets/openspec_pixel_light.svg +0 -89
- package/references/openspec/bin/openspec.js +0 -3
- package/references/openspec/build.js +0 -31
- package/references/openspec/openspec/AGENTS.md +0 -454
- package/references/openspec/openspec/changes/IMPLEMENTATION_ORDER.md +0 -68
- package/references/openspec/openspec/changes/add-antigravity-support/proposal.md +0 -11
- package/references/openspec/openspec/changes/add-antigravity-support/specs/cli-init/spec.md +0 -9
- package/references/openspec/openspec/changes/add-antigravity-support/specs/cli-update/spec.md +0 -8
- package/references/openspec/openspec/changes/add-antigravity-support/tasks.md +0 -12
- package/references/openspec/openspec/changes/add-scaffold-command/proposal.md +0 -11
- package/references/openspec/openspec/changes/add-scaffold-command/specs/cli-scaffold/spec.md +0 -36
- package/references/openspec/openspec/changes/add-scaffold-command/tasks.md +0 -12
- package/references/openspec/openspec/changes/archive/2025-01-11-add-update-command/design.md +0 -86
- package/references/openspec/openspec/changes/archive/2025-01-11-add-update-command/proposal.md +0 -29
- package/references/openspec/openspec/changes/archive/2025-01-11-add-update-command/specs/cli-update/spec.md +0 -59
- package/references/openspec/openspec/changes/archive/2025-01-11-add-update-command/tasks.md +0 -20
- package/references/openspec/openspec/changes/archive/2025-01-13-add-list-command/proposal.md +0 -20
- package/references/openspec/openspec/changes/archive/2025-01-13-add-list-command/specs/cli-list/spec.md +0 -69
- package/references/openspec/openspec/changes/archive/2025-01-13-add-list-command/tasks.md +0 -26
- package/references/openspec/openspec/changes/archive/2025-08-05-initialize-typescript-project/design.md +0 -64
- package/references/openspec/openspec/changes/archive/2025-08-05-initialize-typescript-project/proposal.md +0 -18
- package/references/openspec/openspec/changes/archive/2025-08-05-initialize-typescript-project/tasks.md +0 -25
- package/references/openspec/openspec/changes/archive/2025-08-06-add-init-command/design.md +0 -104
- package/references/openspec/openspec/changes/archive/2025-08-06-add-init-command/proposal.md +0 -30
- package/references/openspec/openspec/changes/archive/2025-08-06-add-init-command/specs/cli-init/spec.md +0 -148
- package/references/openspec/openspec/changes/archive/2025-08-06-add-init-command/tasks.md +0 -38
- package/references/openspec/openspec/changes/archive/2025-08-06-adopt-future-state-storage/proposal.md +0 -24
- package/references/openspec/openspec/changes/archive/2025-08-06-adopt-future-state-storage/specs/openspec-conventions/spec.md +0 -120
- package/references/openspec/openspec/changes/archive/2025-08-06-adopt-future-state-storage/tasks.md +0 -38
- package/references/openspec/openspec/changes/archive/2025-08-11-add-complexity-guidelines/proposal.md +0 -13
- package/references/openspec/openspec/changes/archive/2025-08-11-add-complexity-guidelines/specs/openspec-docs/README.md +0 -472
- package/references/openspec/openspec/changes/archive/2025-08-11-add-complexity-guidelines/tasks.md +0 -9
- package/references/openspec/openspec/changes/archive/2025-08-13-add-archive-command/proposal.md +0 -15
- package/references/openspec/openspec/changes/archive/2025-08-13-add-archive-command/specs/cli-archive/spec.md +0 -111
- package/references/openspec/openspec/changes/archive/2025-08-13-add-archive-command/tasks.md +0 -44
- package/references/openspec/openspec/changes/archive/2025-08-13-add-diff-command/proposal.md +0 -19
- package/references/openspec/openspec/changes/archive/2025-08-13-add-diff-command/specs/cli-diff/spec.md +0 -77
- package/references/openspec/openspec/changes/archive/2025-08-13-add-diff-command/tasks.md +0 -23
- package/references/openspec/openspec/changes/archive/2025-08-19-add-change-commands/design.md +0 -56
- package/references/openspec/openspec/changes/archive/2025-08-19-add-change-commands/proposal.md +0 -17
- package/references/openspec/openspec/changes/archive/2025-08-19-add-change-commands/specs/cli-change/spec.md +0 -48
- package/references/openspec/openspec/changes/archive/2025-08-19-add-change-commands/specs/cli-list/spec.md +0 -12
- package/references/openspec/openspec/changes/archive/2025-08-19-add-change-commands/tasks.md +0 -34
- package/references/openspec/openspec/changes/archive/2025-08-19-add-interactive-show-command/proposal.md +0 -20
- package/references/openspec/openspec/changes/archive/2025-08-19-add-interactive-show-command/specs/cli-change/spec.md +0 -23
- package/references/openspec/openspec/changes/archive/2025-08-19-add-interactive-show-command/specs/cli-show/spec.md +0 -83
- package/references/openspec/openspec/changes/archive/2025-08-19-add-interactive-show-command/specs/cli-spec/spec.md +0 -23
- package/references/openspec/openspec/changes/archive/2025-08-19-add-interactive-show-command/tasks.md +0 -142
- package/references/openspec/openspec/changes/archive/2025-08-19-add-skip-specs-archive-option/proposal.md +0 -13
- package/references/openspec/openspec/changes/archive/2025-08-19-add-skip-specs-archive-option/specs/cli-archive/spec.md +0 -191
- package/references/openspec/openspec/changes/archive/2025-08-19-add-skip-specs-archive-option/tasks.md +0 -57
- package/references/openspec/openspec/changes/archive/2025-08-19-add-spec-commands/design.md +0 -45
- package/references/openspec/openspec/changes/archive/2025-08-19-add-spec-commands/proposal.md +0 -19
- package/references/openspec/openspec/changes/archive/2025-08-19-add-spec-commands/specs/cli-spec/spec.md +0 -43
- package/references/openspec/openspec/changes/archive/2025-08-19-add-spec-commands/tasks.md +0 -22
- package/references/openspec/openspec/changes/archive/2025-08-19-add-zod-validation/design.md +0 -104
- package/references/openspec/openspec/changes/archive/2025-08-19-add-zod-validation/proposal.md +0 -22
- package/references/openspec/openspec/changes/archive/2025-08-19-add-zod-validation/specs/cli-archive/spec.md +0 -18
- package/references/openspec/openspec/changes/archive/2025-08-19-add-zod-validation/specs/cli-diff/spec.md +0 -12
- package/references/openspec/openspec/changes/archive/2025-08-19-add-zod-validation/tasks.md +0 -59
- package/references/openspec/openspec/changes/archive/2025-08-19-adopt-delta-based-changes/proposal.md +0 -93
- package/references/openspec/openspec/changes/archive/2025-08-19-adopt-delta-based-changes/specs/cli-archive/spec.md +0 -48
- package/references/openspec/openspec/changes/archive/2025-08-19-adopt-delta-based-changes/specs/cli-diff/spec.md +0 -45
- package/references/openspec/openspec/changes/archive/2025-08-19-adopt-delta-based-changes/specs/openspec-conventions/spec.md +0 -101
- package/references/openspec/openspec/changes/archive/2025-08-19-adopt-delta-based-changes/tasks.md +0 -55
- package/references/openspec/openspec/changes/archive/2025-08-19-adopt-verb-noun-cli-structure/design.md +0 -19
- package/references/openspec/openspec/changes/archive/2025-08-19-adopt-verb-noun-cli-structure/proposal.md +0 -67
- package/references/openspec/openspec/changes/archive/2025-08-19-adopt-verb-noun-cli-structure/specs/cli-list/spec.md +0 -57
- package/references/openspec/openspec/changes/archive/2025-08-19-adopt-verb-noun-cli-structure/specs/openspec-conventions/spec.md +0 -23
- package/references/openspec/openspec/changes/archive/2025-08-19-adopt-verb-noun-cli-structure/tasks.md +0 -27
- package/references/openspec/openspec/changes/archive/2025-08-19-bulk-validation-interactive-selection/proposal.md +0 -20
- package/references/openspec/openspec/changes/archive/2025-08-19-bulk-validation-interactive-selection/specs/cli-change/spec.md +0 -22
- package/references/openspec/openspec/changes/archive/2025-08-19-bulk-validation-interactive-selection/specs/cli-spec/spec.md +0 -23
- package/references/openspec/openspec/changes/archive/2025-08-19-bulk-validation-interactive-selection/specs/cli-validate/spec.md +0 -149
- package/references/openspec/openspec/changes/archive/2025-08-19-bulk-validation-interactive-selection/tasks.md +0 -81
- package/references/openspec/openspec/changes/archive/2025-08-19-fix-update-tool-selection/proposal.md +0 -40
- package/references/openspec/openspec/changes/archive/2025-08-19-fix-update-tool-selection/specs/cli-update/spec.md +0 -23
- package/references/openspec/openspec/changes/archive/2025-08-19-fix-update-tool-selection/tasks.md +0 -21
- package/references/openspec/openspec/changes/archive/2025-08-19-improve-validate-error-messages/proposal.md +0 -25
- package/references/openspec/openspec/changes/archive/2025-08-19-improve-validate-error-messages/specs/cli-validate/spec.md +0 -55
- package/references/openspec/openspec/changes/archive/2025-08-19-improve-validate-error-messages/tasks.md +0 -21
- package/references/openspec/openspec/changes/archive/2025-08-19-structured-spec-format/proposal.md +0 -36
- package/references/openspec/openspec/changes/archive/2025-08-19-structured-spec-format/specs/openspec-conventions/spec.md +0 -192
- package/references/openspec/openspec/changes/archive/2025-08-19-structured-spec-format/tasks.md +0 -19
- package/references/openspec/openspec/changes/archive/2025-09-12-add-view-dashboard-command/proposal.md +0 -38
- package/references/openspec/openspec/changes/archive/2025-09-12-add-view-dashboard-command/specs/cli-view/spec.md +0 -109
- package/references/openspec/openspec/changes/archive/2025-09-12-add-view-dashboard-command/tasks.md +0 -47
- package/references/openspec/openspec/changes/archive/2025-09-29-add-agents-md-config/proposal.md +0 -28
- package/references/openspec/openspec/changes/archive/2025-09-29-add-agents-md-config/specs/cli-init/spec.md +0 -71
- package/references/openspec/openspec/changes/archive/2025-09-29-add-agents-md-config/specs/cli-update/spec.md +0 -41
- package/references/openspec/openspec/changes/archive/2025-09-29-add-agents-md-config/tasks.md +0 -17
- package/references/openspec/openspec/changes/archive/2025-09-29-add-multi-agent-init/proposal.md +0 -35
- package/references/openspec/openspec/changes/archive/2025-09-29-add-multi-agent-init/specs/cli-init/spec.md +0 -45
- package/references/openspec/openspec/changes/archive/2025-09-29-add-multi-agent-init/tasks.md +0 -16
- package/references/openspec/openspec/changes/archive/2025-09-29-add-slash-command-support/proposal.md +0 -119
- package/references/openspec/openspec/changes/archive/2025-09-29-add-slash-command-support/specs/cli-init/spec.md +0 -21
- package/references/openspec/openspec/changes/archive/2025-09-29-add-slash-command-support/specs/cli-update/spec.md +0 -22
- package/references/openspec/openspec/changes/archive/2025-09-29-add-slash-command-support/tasks.md +0 -20
- package/references/openspec/openspec/changes/archive/2025-09-29-improve-cli-e2e-plan/proposal.md +0 -19
- package/references/openspec/openspec/changes/archive/2025-09-29-improve-cli-e2e-plan/tasks.md +0 -9
- package/references/openspec/openspec/changes/archive/2025-09-29-improve-deterministic-tests/proposal.md +0 -78
- package/references/openspec/openspec/changes/archive/2025-09-29-improve-deterministic-tests/tasks.md +0 -25
- package/references/openspec/openspec/changes/archive/2025-09-29-improve-init-onboarding/proposal.md +0 -13
- package/references/openspec/openspec/changes/archive/2025-09-29-improve-init-onboarding/specs/cli-init/spec.md +0 -92
- package/references/openspec/openspec/changes/archive/2025-09-29-improve-init-onboarding/tasks.md +0 -12
- package/references/openspec/openspec/changes/archive/2025-09-29-remove-diff-command/proposal.md +0 -81
- package/references/openspec/openspec/changes/archive/2025-09-29-remove-diff-command/tasks.md +0 -37
- package/references/openspec/openspec/changes/archive/2025-09-29-sort-active-changes-by-progress/proposal.md +0 -25
- package/references/openspec/openspec/changes/archive/2025-09-29-sort-active-changes-by-progress/specs/cli-view/spec.md +0 -9
- package/references/openspec/openspec/changes/archive/2025-09-29-sort-active-changes-by-progress/tasks.md +0 -8
- package/references/openspec/openspec/changes/archive/2025-09-29-update-agent-file-name/proposal.md +0 -29
- package/references/openspec/openspec/changes/archive/2025-09-29-update-agent-file-name/specs/cli-init/spec.md +0 -40
- package/references/openspec/openspec/changes/archive/2025-09-29-update-agent-file-name/specs/cli-update/spec.md +0 -22
- package/references/openspec/openspec/changes/archive/2025-09-29-update-agent-file-name/specs/openspec-conventions/spec.md +0 -27
- package/references/openspec/openspec/changes/archive/2025-09-29-update-agent-file-name/tasks.md +0 -22
- package/references/openspec/openspec/changes/archive/2025-09-29-update-agent-instructions/design.md +0 -130
- package/references/openspec/openspec/changes/archive/2025-09-29-update-agent-instructions/proposal.md +0 -117
- package/references/openspec/openspec/changes/archive/2025-09-29-update-agent-instructions/tasks.md +0 -69
- package/references/openspec/openspec/changes/archive/2025-09-29-update-markdown-parser-crlf/proposal.md +0 -19
- package/references/openspec/openspec/changes/archive/2025-09-29-update-markdown-parser-crlf/specs/cli-validate/spec.md +0 -9
- package/references/openspec/openspec/changes/archive/2025-09-29-update-markdown-parser-crlf/tasks.md +0 -11
- package/references/openspec/openspec/changes/archive/2025-10-14-add-codex-slash-command-support/proposal.md +0 -25
- package/references/openspec/openspec/changes/archive/2025-10-14-add-codex-slash-command-support/specs/cli-init/spec.md +0 -56
- package/references/openspec/openspec/changes/archive/2025-10-14-add-codex-slash-command-support/specs/cli-update/spec.md +0 -41
- package/references/openspec/openspec/changes/archive/2025-10-14-add-codex-slash-command-support/tasks.md +0 -19
- package/references/openspec/openspec/changes/archive/2025-10-14-add-github-copilot-prompts/proposal.md +0 -25
- package/references/openspec/openspec/changes/archive/2025-10-14-add-github-copilot-prompts/specs/cli-init/spec.md +0 -48
- package/references/openspec/openspec/changes/archive/2025-10-14-add-github-copilot-prompts/specs/cli-update/spec.md +0 -48
- package/references/openspec/openspec/changes/archive/2025-10-14-add-github-copilot-prompts/tasks.md +0 -30
- package/references/openspec/openspec/changes/archive/2025-10-14-add-kilocode-workflows/proposal.md +0 -17
- package/references/openspec/openspec/changes/archive/2025-10-14-add-kilocode-workflows/specs/cli-init/spec.md +0 -43
- package/references/openspec/openspec/changes/archive/2025-10-14-add-kilocode-workflows/specs/cli-update/spec.md +0 -27
- package/references/openspec/openspec/changes/archive/2025-10-14-add-kilocode-workflows/tasks.md +0 -15
- package/references/openspec/openspec/changes/archive/2025-10-14-add-non-interactive-init-options/proposal.md +0 -12
- package/references/openspec/openspec/changes/archive/2025-10-14-add-non-interactive-init-options/specs/cli-init/spec.md +0 -39
- package/references/openspec/openspec/changes/archive/2025-10-14-add-non-interactive-init-options/tasks.md +0 -17
- package/references/openspec/openspec/changes/archive/2025-10-14-add-windsurf-workflows/proposal.md +0 -17
- package/references/openspec/openspec/changes/archive/2025-10-14-add-windsurf-workflows/specs/cli-init/spec.md +0 -42
- package/references/openspec/openspec/changes/archive/2025-10-14-add-windsurf-workflows/specs/cli-update/spec.md +0 -27
- package/references/openspec/openspec/changes/archive/2025-10-14-add-windsurf-workflows/tasks.md +0 -17
- package/references/openspec/openspec/changes/archive/2025-10-14-enhance-validation-error-messages/proposal.md +0 -12
- package/references/openspec/openspec/changes/archive/2025-10-14-enhance-validation-error-messages/specs/cli-validate/spec.md +0 -39
- package/references/openspec/openspec/changes/archive/2025-10-14-enhance-validation-error-messages/tasks.md +0 -12
- package/references/openspec/openspec/changes/archive/2025-10-14-improve-agent-instruction-usability/proposal.md +0 -12
- package/references/openspec/openspec/changes/archive/2025-10-14-improve-agent-instruction-usability/specs/docs-agent-instructions/spec.md +0 -33
- package/references/openspec/openspec/changes/archive/2025-10-14-improve-agent-instruction-usability/tasks.md +0 -11
- package/references/openspec/openspec/changes/archive/2025-10-14-slim-root-agents-file/proposal.md +0 -13
- package/references/openspec/openspec/changes/archive/2025-10-14-slim-root-agents-file/tasks.md +0 -15
- package/references/openspec/openspec/changes/archive/2025-10-14-update-cli-init-enter-selection/proposal.md +0 -14
- package/references/openspec/openspec/changes/archive/2025-10-14-update-cli-init-enter-selection/specs/cli-init/spec.md +0 -10
- package/references/openspec/openspec/changes/archive/2025-10-14-update-cli-init-enter-selection/tasks.md +0 -8
- package/references/openspec/openspec/changes/archive/2025-10-14-update-cli-init-root-agents/proposal.md +0 -15
- package/references/openspec/openspec/changes/archive/2025-10-14-update-cli-init-root-agents/specs/cli-init/spec.md +0 -32
- package/references/openspec/openspec/changes/archive/2025-10-14-update-cli-init-root-agents/specs/cli-update/spec.md +0 -10
- package/references/openspec/openspec/changes/archive/2025-10-14-update-cli-init-root-agents/tasks.md +0 -11
- package/references/openspec/openspec/changes/archive/2025-10-14-update-release-automation/proposal.md +0 -49
- package/references/openspec/openspec/changes/archive/2025-10-14-update-release-automation/tasks.md +0 -12
- package/references/openspec/openspec/changes/archive/2025-10-22-add-archive-command-arguments/proposal.md +0 -17
- package/references/openspec/openspec/changes/archive/2025-10-22-add-archive-command-arguments/specs/cli-update/spec.md +0 -32
- package/references/openspec/openspec/changes/archive/2025-10-22-add-archive-command-arguments/tasks.md +0 -15
- package/references/openspec/openspec/changes/archive/2025-10-22-add-cline-support/proposal.md +0 -15
- package/references/openspec/openspec/changes/archive/2025-10-22-add-cline-support/specs/cli-init/spec.md +0 -97
- package/references/openspec/openspec/changes/archive/2025-10-22-add-cline-support/tasks.md +0 -19
- package/references/openspec/openspec/changes/archive/2025-10-22-add-crush-support/proposal.md +0 -13
- package/references/openspec/openspec/changes/archive/2025-10-22-add-crush-support/specs/cli-init/spec.md +0 -67
- package/references/openspec/openspec/changes/archive/2025-10-22-add-crush-support/tasks.md +0 -7
- package/references/openspec/openspec/changes/archive/2025-10-22-add-factory-slash-commands/proposal.md +0 -12
- package/references/openspec/openspec/changes/archive/2025-10-22-add-factory-slash-commands/specs/cli-init/spec.md +0 -54
- package/references/openspec/openspec/changes/archive/2025-10-22-add-factory-slash-commands/specs/cli-update/spec.md +0 -54
- package/references/openspec/openspec/changes/archive/2025-10-22-add-factory-slash-commands/tasks.md +0 -11
- package/references/openspec/openspec/changes/fix-cline-workflows-implementation/proposal.md +0 -13
- package/references/openspec/openspec/changes/fix-cline-workflows-implementation/specs/cli-init/spec.md +0 -11
- package/references/openspec/openspec/changes/fix-cline-workflows-implementation/tasks.md +0 -13
- package/references/openspec/openspec/changes/make-validation-scope-aware/proposal.md +0 -12
- package/references/openspec/openspec/changes/make-validation-scope-aware/specs/cli-validate/spec.md +0 -25
- package/references/openspec/openspec/changes/make-validation-scope-aware/tasks.md +0 -16
- package/references/openspec/openspec/project.md +0 -53
- package/references/openspec/openspec/specs/cli-archive/spec.md +0 -210
- package/references/openspec/openspec/specs/cli-change/spec.md +0 -91
- package/references/openspec/openspec/specs/cli-init/spec.md +0 -311
- package/references/openspec/openspec/specs/cli-list/spec.md +0 -103
- package/references/openspec/openspec/specs/cli-show/spec.md +0 -85
- package/references/openspec/openspec/specs/cli-spec/spec.md +0 -87
- package/references/openspec/openspec/specs/cli-update/spec.md +0 -190
- package/references/openspec/openspec/specs/cli-validate/spec.md +0 -218
- package/references/openspec/openspec/specs/cli-view/spec.md +0 -105
- package/references/openspec/openspec/specs/docs-agent-instructions/spec.md +0 -38
- package/references/openspec/openspec/specs/openspec-conventions/spec.md +0 -474
- package/references/openspec/openspec-parallel-merge-plan.md +0 -98
- package/references/openspec/package.json +0 -73
- package/references/openspec/pnpm-lock.yaml +0 -2324
- package/references/openspec/scripts/pack-version-check.mjs +0 -111
- package/references/openspec/src/cli/index.ts +0 -253
- package/references/openspec/src/commands/change.ts +0 -291
- package/references/openspec/src/commands/show.ts +0 -139
- package/references/openspec/src/commands/spec.ts +0 -250
- package/references/openspec/src/commands/validate.ts +0 -305
- package/references/openspec/src/core/archive.ts +0 -606
- package/references/openspec/src/core/config.ts +0 -41
- package/references/openspec/src/core/configurators/agents.ts +0 -23
- package/references/openspec/src/core/configurators/base.ts +0 -6
- package/references/openspec/src/core/configurators/claude.ts +0 -23
- package/references/openspec/src/core/configurators/cline.ts +0 -23
- package/references/openspec/src/core/configurators/codebuddy.ts +0 -24
- package/references/openspec/src/core/configurators/costrict.ts +0 -23
- package/references/openspec/src/core/configurators/iflow.ts +0 -23
- package/references/openspec/src/core/configurators/qoder.ts +0 -53
- package/references/openspec/src/core/configurators/qwen.ts +0 -47
- package/references/openspec/src/core/configurators/registry.ts +0 -49
- package/references/openspec/src/core/configurators/slash/amazon-q.ts +0 -51
- package/references/openspec/src/core/configurators/slash/antigravity.ts +0 -28
- package/references/openspec/src/core/configurators/slash/auggie.ts +0 -37
- package/references/openspec/src/core/configurators/slash/base.ts +0 -95
- package/references/openspec/src/core/configurators/slash/claude.ts +0 -42
- package/references/openspec/src/core/configurators/slash/cline.ts +0 -27
- package/references/openspec/src/core/configurators/slash/codebuddy.ts +0 -43
- package/references/openspec/src/core/configurators/slash/codex.ts +0 -126
- package/references/openspec/src/core/configurators/slash/costrict.ts +0 -36
- package/references/openspec/src/core/configurators/slash/crush.ts +0 -42
- package/references/openspec/src/core/configurators/slash/cursor.ts +0 -42
- package/references/openspec/src/core/configurators/slash/factory.ts +0 -41
- package/references/openspec/src/core/configurators/slash/gemini.ts +0 -27
- package/references/openspec/src/core/configurators/slash/github-copilot.ts +0 -39
- package/references/openspec/src/core/configurators/slash/iflow.ts +0 -42
- package/references/openspec/src/core/configurators/slash/kilocode.ts +0 -21
- package/references/openspec/src/core/configurators/slash/opencode.ts +0 -83
- package/references/openspec/src/core/configurators/slash/qoder.ts +0 -84
- package/references/openspec/src/core/configurators/slash/qwen.ts +0 -55
- package/references/openspec/src/core/configurators/slash/registry.ts +0 -81
- package/references/openspec/src/core/configurators/slash/roocode.ts +0 -27
- package/references/openspec/src/core/configurators/slash/toml-base.ts +0 -66
- package/references/openspec/src/core/configurators/slash/windsurf.ts +0 -27
- package/references/openspec/src/core/converters/json-converter.ts +0 -61
- package/references/openspec/src/core/index.ts +0 -2
- package/references/openspec/src/core/init.ts +0 -986
- package/references/openspec/src/core/list.ts +0 -104
- package/references/openspec/src/core/parsers/change-parser.ts +0 -234
- package/references/openspec/src/core/parsers/markdown-parser.ts +0 -237
- package/references/openspec/src/core/parsers/requirement-blocks.ts +0 -234
- package/references/openspec/src/core/schemas/base.schema.ts +0 -20
- package/references/openspec/src/core/schemas/change.schema.ts +0 -42
- package/references/openspec/src/core/schemas/index.ts +0 -20
- package/references/openspec/src/core/schemas/spec.schema.ts +0 -17
- package/references/openspec/src/core/styles/palette.ts +0 -8
- package/references/openspec/src/core/templates/agents-root-stub.ts +0 -16
- package/references/openspec/src/core/templates/agents-template.ts +0 -457
- package/references/openspec/src/core/templates/claude-template.ts +0 -1
- package/references/openspec/src/core/templates/cline-template.ts +0 -1
- package/references/openspec/src/core/templates/costrict-template.ts +0 -1
- package/references/openspec/src/core/templates/index.ts +0 -50
- package/references/openspec/src/core/templates/project-template.ts +0 -38
- package/references/openspec/src/core/templates/slash-command-templates.ts +0 -60
- package/references/openspec/src/core/update.ts +0 -129
- package/references/openspec/src/core/validation/constants.ts +0 -48
- package/references/openspec/src/core/validation/types.ts +0 -19
- package/references/openspec/src/core/validation/validator.ts +0 -448
- package/references/openspec/src/core/view.ts +0 -189
- package/references/openspec/src/index.ts +0 -2
- package/references/openspec/src/utils/file-system.ts +0 -187
- package/references/openspec/src/utils/index.ts +0 -2
- package/references/openspec/src/utils/interactive.ts +0 -7
- package/references/openspec/src/utils/item-discovery.ts +0 -45
- package/references/openspec/src/utils/match.ts +0 -26
- package/references/openspec/src/utils/task-progress.ts +0 -43
- package/references/openspec/test/cli-e2e/basic.test.ts +0 -156
- package/references/openspec/test/commands/change.interactive-show.test.ts +0 -45
- package/references/openspec/test/commands/change.interactive-validate.test.ts +0 -48
- package/references/openspec/test/commands/show.test.ts +0 -123
- package/references/openspec/test/commands/spec.interactive-show.test.ts +0 -44
- package/references/openspec/test/commands/spec.interactive-validate.test.ts +0 -44
- package/references/openspec/test/commands/spec.test.ts +0 -324
- package/references/openspec/test/commands/validate.enriched-output.test.ts +0 -49
- package/references/openspec/test/commands/validate.test.ts +0 -133
- package/references/openspec/test/core/archive.test.ts +0 -680
- package/references/openspec/test/core/commands/change-command.list.test.ts +0 -76
- package/references/openspec/test/core/commands/change-command.show-validate.test.ts +0 -111
- package/references/openspec/test/core/converters/json-converter.test.ts +0 -184
- package/references/openspec/test/core/init.test.ts +0 -1710
- package/references/openspec/test/core/list.test.ts +0 -165
- package/references/openspec/test/core/parsers/change-parser.test.ts +0 -52
- package/references/openspec/test/core/parsers/markdown-parser.test.ts +0 -291
- package/references/openspec/test/core/update.test.ts +0 -1642
- package/references/openspec/test/core/validation.enriched-messages.test.ts +0 -74
- package/references/openspec/test/core/validation.test.ts +0 -489
- package/references/openspec/test/core/view.test.ts +0 -79
- package/references/openspec/test/fixtures/tmp-init/openspec/changes/c1/proposal.md +0 -7
- package/references/openspec/test/fixtures/tmp-init/openspec/changes/c1/specs/alpha/spec.md +0 -8
- package/references/openspec/test/fixtures/tmp-init/openspec/specs/alpha/spec.md +0 -12
- package/references/openspec/test/helpers/run-cli.ts +0 -139
- package/references/openspec/test/utils/file-system.test.ts +0 -211
- package/references/openspec/test/utils/marker-updates.test.ts +0 -287
- package/references/openspec/tsconfig.json +0 -21
- package/references/openspec/vitest.config.ts +0 -25
- package/references/openspec/vitest.setup.ts +0 -6
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<title>OpenSpec UI</title>
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-Om_P2_SF.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="/assets/index-CqKOZnDE.css">
|
|
10
|
+
</head>
|
|
11
|
+
<body>
|
|
12
|
+
<div id="root"></div>
|
|
13
|
+
</body>
|
|
14
|
+
</html>
|
package/web/index.html
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<title>OpenSpec UI</title>
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-BhzIZ_eQ.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="/assets/index-D6x5Q1lW.css">
|
|
10
|
+
</head>
|
|
11
|
+
<body>
|
|
12
|
+
<div id="root"></div>
|
|
13
|
+
</body>
|
|
14
|
+
</html>
|
package/.gitmodules
DELETED
package/CHAT.md
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://unpkg.com/@changesets/config/schema.json",
|
|
3
|
-
"changelog": "@changesets/cli/changelog",
|
|
4
|
-
"commit": false,
|
|
5
|
-
"fixed": [],
|
|
6
|
-
"linked": [],
|
|
7
|
-
"access": "public",
|
|
8
|
-
"baseBranch": "main",
|
|
9
|
-
"updateInternalDependencies": "patch",
|
|
10
|
-
"ignore": []
|
|
11
|
-
}
|
|
12
|
-
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
|
|
2
|
-
# Minimal configuration for getting started
|
|
3
|
-
language: "en-US"
|
|
4
|
-
reviews:
|
|
5
|
-
profile: "chill"
|
|
6
|
-
high_level_summary: true
|
|
7
|
-
auto_review:
|
|
8
|
-
enabled: true
|
|
9
|
-
drafts: false
|
|
10
|
-
base_branches:
|
|
11
|
-
- ".*"
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
# Dev Container Setup
|
|
2
|
-
|
|
3
|
-
This directory contains the VS Code dev container configuration for OpenSpec development.
|
|
4
|
-
|
|
5
|
-
## What's Included
|
|
6
|
-
|
|
7
|
-
- **Node.js 20 LTS** (>=20.19.0) - TypeScript/JavaScript runtime
|
|
8
|
-
- **pnpm** - Fast, disk space efficient package manager
|
|
9
|
-
- **Git + GitHub CLI** - Version control tools
|
|
10
|
-
- **VS Code Extensions**:
|
|
11
|
-
- ESLint & Prettier for code quality
|
|
12
|
-
- Vitest Explorer for running tests
|
|
13
|
-
- GitLens for enhanced git integration
|
|
14
|
-
- Error Lens for inline error highlighting
|
|
15
|
-
- Code Spell Checker
|
|
16
|
-
- Path IntelliSense
|
|
17
|
-
|
|
18
|
-
## How to Use
|
|
19
|
-
|
|
20
|
-
### First Time Setup
|
|
21
|
-
|
|
22
|
-
1. **Install Prerequisites** (on your local machine):
|
|
23
|
-
- [VS Code](https://code.visualstudio.com/)
|
|
24
|
-
- [Docker Desktop](https://www.docker.com/products/docker-desktop)
|
|
25
|
-
- [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
|
|
26
|
-
|
|
27
|
-
2. **Open in Container**:
|
|
28
|
-
- Open this project in VS Code
|
|
29
|
-
- You'll see a notification: "Folder contains a Dev Container configuration file"
|
|
30
|
-
- Click "Reopen in Container"
|
|
31
|
-
|
|
32
|
-
OR
|
|
33
|
-
|
|
34
|
-
- Open Command Palette (`Cmd/Ctrl+Shift+P`)
|
|
35
|
-
- Type "Dev Containers: Reopen in Container"
|
|
36
|
-
- Press Enter
|
|
37
|
-
|
|
38
|
-
3. **Wait for Setup**:
|
|
39
|
-
- The container will build (first time takes a few minutes)
|
|
40
|
-
- `pnpm install` runs automatically via `postCreateCommand`
|
|
41
|
-
- All extensions install automatically
|
|
42
|
-
|
|
43
|
-
### Daily Development
|
|
44
|
-
|
|
45
|
-
Once set up, the container preserves your development environment:
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
# Run development build
|
|
49
|
-
pnpm run dev
|
|
50
|
-
|
|
51
|
-
# Run CLI in development
|
|
52
|
-
pnpm run dev:cli
|
|
53
|
-
|
|
54
|
-
# Run tests
|
|
55
|
-
pnpm test
|
|
56
|
-
|
|
57
|
-
# Run tests in watch mode
|
|
58
|
-
pnpm test:watch
|
|
59
|
-
|
|
60
|
-
# Build the project
|
|
61
|
-
pnpm run build
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
### SSH Keys
|
|
65
|
-
|
|
66
|
-
Your SSH keys are mounted read-only from `~/.ssh`, so git operations work seamlessly with GitHub/GitLab.
|
|
67
|
-
|
|
68
|
-
### Rebuilding the Container
|
|
69
|
-
|
|
70
|
-
If you modify `.devcontainer/devcontainer.json`:
|
|
71
|
-
- Command Palette → "Dev Containers: Rebuild Container"
|
|
72
|
-
|
|
73
|
-
## Benefits
|
|
74
|
-
|
|
75
|
-
- No need to install Node.js or pnpm on your local machine
|
|
76
|
-
- Consistent development environment across team members
|
|
77
|
-
- Isolated from other Node.js projects on your machine
|
|
78
|
-
- All dependencies and tools containerized
|
|
79
|
-
- Easy onboarding for new developers
|
|
80
|
-
|
|
81
|
-
## Troubleshooting
|
|
82
|
-
|
|
83
|
-
**Container won't build:**
|
|
84
|
-
- Ensure Docker Desktop is running
|
|
85
|
-
- Check Docker has enough memory allocated (recommend 4GB+)
|
|
86
|
-
|
|
87
|
-
**Extensions not appearing:**
|
|
88
|
-
- Rebuild the container: "Dev Containers: Rebuild Container"
|
|
89
|
-
|
|
90
|
-
**Permission issues:**
|
|
91
|
-
- The container runs as the `node` user (non-root)
|
|
92
|
-
- Files created in the container are owned by this user
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "OpenSpec Development",
|
|
3
|
-
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bookworm",
|
|
4
|
-
|
|
5
|
-
// Additional tools and features
|
|
6
|
-
"features": {
|
|
7
|
-
"ghcr.io/devcontainers/features/git:1": {
|
|
8
|
-
"version": "latest",
|
|
9
|
-
"ppa": true
|
|
10
|
-
},
|
|
11
|
-
"ghcr.io/devcontainers/features/github-cli:1": {
|
|
12
|
-
"version": "latest"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
|
|
16
|
-
// Configure tool-specific properties
|
|
17
|
-
"customizations": {
|
|
18
|
-
"vscode": {
|
|
19
|
-
// Set default container specific settings
|
|
20
|
-
"settings": {
|
|
21
|
-
"typescript.tsdk": "node_modules/typescript/lib",
|
|
22
|
-
"typescript.enablePromptUseWorkspaceTsdk": true,
|
|
23
|
-
"editor.formatOnSave": true,
|
|
24
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
25
|
-
"editor.codeActionsOnSave": {
|
|
26
|
-
"source.fixAll": "explicit"
|
|
27
|
-
},
|
|
28
|
-
"files.eol": "\n",
|
|
29
|
-
"terminal.integrated.defaultProfile.linux": "bash"
|
|
30
|
-
},
|
|
31
|
-
|
|
32
|
-
// Add extensions you want installed when the container is created
|
|
33
|
-
"extensions": [
|
|
34
|
-
// TypeScript/JavaScript essentials
|
|
35
|
-
"dbaeumer.vscode-eslint",
|
|
36
|
-
"esbenp.prettier-vscode",
|
|
37
|
-
|
|
38
|
-
// Testing
|
|
39
|
-
"vitest.explorer",
|
|
40
|
-
|
|
41
|
-
// Git
|
|
42
|
-
"eamodio.gitlens",
|
|
43
|
-
|
|
44
|
-
// Utilities
|
|
45
|
-
"streetsidesoftware.code-spell-checker",
|
|
46
|
-
"usernamehw.errorlens",
|
|
47
|
-
"christian-kohler.path-intellisense"
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
|
|
52
|
-
// Use 'forwardPorts' to make a list of ports inside the container available locally
|
|
53
|
-
// "forwardPorts": [],
|
|
54
|
-
|
|
55
|
-
// Use 'postCreateCommand' to run commands after the container is created
|
|
56
|
-
"postCreateCommand": "corepack enable && corepack prepare pnpm@latest --activate && pnpm install",
|
|
57
|
-
|
|
58
|
-
// Configure mounts to preserve SSH keys for git operations
|
|
59
|
-
"mounts": [
|
|
60
|
-
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/node/.ssh,readonly,type=bind,consistency=cached"
|
|
61
|
-
],
|
|
62
|
-
|
|
63
|
-
// Set the default user to 'node' (non-root user)
|
|
64
|
-
"remoteUser": "node",
|
|
65
|
-
|
|
66
|
-
// Ensure git is properly configured
|
|
67
|
-
"initializeCommand": "echo 'Initializing dev container...'"
|
|
68
|
-
}
|
|
@@ -1,222 +0,0 @@
|
|
|
1
|
-
name: CI
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
branches: [main]
|
|
6
|
-
push:
|
|
7
|
-
branches: [main]
|
|
8
|
-
workflow_dispatch:
|
|
9
|
-
|
|
10
|
-
permissions:
|
|
11
|
-
contents: read
|
|
12
|
-
|
|
13
|
-
concurrency:
|
|
14
|
-
group: ci-${{ github.ref }}
|
|
15
|
-
cancel-in-progress: true
|
|
16
|
-
|
|
17
|
-
jobs:
|
|
18
|
-
test_pr:
|
|
19
|
-
name: Test
|
|
20
|
-
runs-on: ubuntu-latest
|
|
21
|
-
timeout-minutes: 10
|
|
22
|
-
if: github.event_name == 'pull_request'
|
|
23
|
-
|
|
24
|
-
steps:
|
|
25
|
-
- name: Checkout code
|
|
26
|
-
uses: actions/checkout@v4
|
|
27
|
-
with:
|
|
28
|
-
fetch-depth: 0
|
|
29
|
-
|
|
30
|
-
- name: Setup pnpm
|
|
31
|
-
uses: pnpm/action-setup@v4
|
|
32
|
-
with:
|
|
33
|
-
version: 9
|
|
34
|
-
|
|
35
|
-
- name: Setup Node.js
|
|
36
|
-
uses: actions/setup-node@v4
|
|
37
|
-
with:
|
|
38
|
-
node-version: '20'
|
|
39
|
-
cache: 'pnpm'
|
|
40
|
-
|
|
41
|
-
- name: Install dependencies
|
|
42
|
-
run: pnpm install --frozen-lockfile
|
|
43
|
-
|
|
44
|
-
- name: Build project
|
|
45
|
-
run: pnpm run build
|
|
46
|
-
|
|
47
|
-
- name: Run tests
|
|
48
|
-
run: pnpm test
|
|
49
|
-
|
|
50
|
-
- name: Upload test coverage
|
|
51
|
-
uses: actions/upload-artifact@v4
|
|
52
|
-
with:
|
|
53
|
-
name: coverage-report-pr
|
|
54
|
-
path: coverage/
|
|
55
|
-
retention-days: 7
|
|
56
|
-
|
|
57
|
-
test_matrix:
|
|
58
|
-
name: Test (${{ matrix.label }})
|
|
59
|
-
runs-on: ${{ matrix.os }}
|
|
60
|
-
timeout-minutes: 15
|
|
61
|
-
if: github.event_name != 'pull_request'
|
|
62
|
-
strategy:
|
|
63
|
-
fail-fast: false
|
|
64
|
-
matrix:
|
|
65
|
-
include:
|
|
66
|
-
- os: ubuntu-latest
|
|
67
|
-
shell: bash
|
|
68
|
-
label: linux-bash
|
|
69
|
-
- os: macos-latest
|
|
70
|
-
shell: bash
|
|
71
|
-
label: macos-bash
|
|
72
|
-
- os: windows-latest
|
|
73
|
-
shell: pwsh
|
|
74
|
-
label: windows-pwsh
|
|
75
|
-
|
|
76
|
-
defaults:
|
|
77
|
-
run:
|
|
78
|
-
shell: ${{ matrix.shell }}
|
|
79
|
-
|
|
80
|
-
steps:
|
|
81
|
-
- name: Checkout code
|
|
82
|
-
uses: actions/checkout@v4
|
|
83
|
-
with:
|
|
84
|
-
fetch-depth: 0
|
|
85
|
-
|
|
86
|
-
- name: Setup pnpm
|
|
87
|
-
uses: pnpm/action-setup@v4
|
|
88
|
-
with:
|
|
89
|
-
version: 9
|
|
90
|
-
|
|
91
|
-
- name: Setup Node.js
|
|
92
|
-
uses: actions/setup-node@v4
|
|
93
|
-
with:
|
|
94
|
-
node-version: '20'
|
|
95
|
-
cache: 'pnpm'
|
|
96
|
-
|
|
97
|
-
- name: Print environment diagnostics
|
|
98
|
-
run: |
|
|
99
|
-
node -p "JSON.stringify({ platform: process.platform, arch: process.arch, shell: process.env.SHELL || process.env.ComSpec || '' })"
|
|
100
|
-
|
|
101
|
-
- name: Install dependencies
|
|
102
|
-
run: pnpm install --frozen-lockfile
|
|
103
|
-
|
|
104
|
-
- name: Build project
|
|
105
|
-
run: pnpm run build
|
|
106
|
-
|
|
107
|
-
- name: Run tests
|
|
108
|
-
run: pnpm test
|
|
109
|
-
|
|
110
|
-
- name: Upload test coverage
|
|
111
|
-
if: matrix.os == 'ubuntu-latest'
|
|
112
|
-
uses: actions/upload-artifact@v4
|
|
113
|
-
with:
|
|
114
|
-
name: coverage-report-main
|
|
115
|
-
path: coverage/
|
|
116
|
-
retention-days: 7
|
|
117
|
-
|
|
118
|
-
lint:
|
|
119
|
-
name: Lint & Type Check
|
|
120
|
-
runs-on: ubuntu-latest
|
|
121
|
-
steps:
|
|
122
|
-
- name: Checkout code
|
|
123
|
-
uses: actions/checkout@v4
|
|
124
|
-
|
|
125
|
-
- name: Setup pnpm
|
|
126
|
-
uses: pnpm/action-setup@v4
|
|
127
|
-
with:
|
|
128
|
-
version: 9
|
|
129
|
-
|
|
130
|
-
- name: Setup Node.js
|
|
131
|
-
uses: actions/setup-node@v4
|
|
132
|
-
with:
|
|
133
|
-
node-version: '20'
|
|
134
|
-
cache: 'pnpm'
|
|
135
|
-
|
|
136
|
-
- name: Install dependencies
|
|
137
|
-
run: pnpm install --frozen-lockfile
|
|
138
|
-
|
|
139
|
-
- name: Build project
|
|
140
|
-
run: pnpm run build
|
|
141
|
-
|
|
142
|
-
- name: Type check
|
|
143
|
-
run: pnpm exec tsc --noEmit
|
|
144
|
-
|
|
145
|
-
- name: Check for build artifacts
|
|
146
|
-
run: |
|
|
147
|
-
if [ ! -d "dist" ]; then
|
|
148
|
-
echo "Error: dist directory not found after build"
|
|
149
|
-
exit 1
|
|
150
|
-
fi
|
|
151
|
-
if [ ! -f "dist/cli/index.js" ]; then
|
|
152
|
-
echo "Error: CLI entry point not found"
|
|
153
|
-
exit 1
|
|
154
|
-
fi
|
|
155
|
-
|
|
156
|
-
validate-changesets:
|
|
157
|
-
name: Validate Changesets
|
|
158
|
-
runs-on: ubuntu-latest
|
|
159
|
-
if: github.event_name == 'pull_request'
|
|
160
|
-
steps:
|
|
161
|
-
- name: Checkout code
|
|
162
|
-
uses: actions/checkout@v4
|
|
163
|
-
with:
|
|
164
|
-
fetch-depth: 0
|
|
165
|
-
|
|
166
|
-
- name: Setup pnpm
|
|
167
|
-
uses: pnpm/action-setup@v4
|
|
168
|
-
with:
|
|
169
|
-
version: 9
|
|
170
|
-
|
|
171
|
-
- name: Setup Node.js
|
|
172
|
-
uses: actions/setup-node@v4
|
|
173
|
-
with:
|
|
174
|
-
node-version: '20'
|
|
175
|
-
cache: 'pnpm'
|
|
176
|
-
|
|
177
|
-
- name: Install dependencies
|
|
178
|
-
run: pnpm install --frozen-lockfile
|
|
179
|
-
|
|
180
|
-
- name: Validate changesets
|
|
181
|
-
run: |
|
|
182
|
-
if command -v changeset &> /dev/null; then
|
|
183
|
-
pnpm exec changeset status --since=origin/main
|
|
184
|
-
else
|
|
185
|
-
echo "Changesets not configured, skipping validation"
|
|
186
|
-
fi
|
|
187
|
-
|
|
188
|
-
required-checks-pr:
|
|
189
|
-
name: All checks passed
|
|
190
|
-
runs-on: ubuntu-latest
|
|
191
|
-
needs: [test_pr, lint]
|
|
192
|
-
if: always() && github.event_name == 'pull_request'
|
|
193
|
-
steps:
|
|
194
|
-
- name: Verify all checks passed
|
|
195
|
-
run: |
|
|
196
|
-
if [[ "${{ needs.test_pr.result }}" != "success" ]]; then
|
|
197
|
-
echo "Test job failed"
|
|
198
|
-
exit 1
|
|
199
|
-
fi
|
|
200
|
-
if [[ "${{ needs.lint.result }}" != "success" ]]; then
|
|
201
|
-
echo "Lint job failed"
|
|
202
|
-
exit 1
|
|
203
|
-
fi
|
|
204
|
-
echo "All required checks passed!"
|
|
205
|
-
|
|
206
|
-
required-checks-main:
|
|
207
|
-
name: All checks passed
|
|
208
|
-
runs-on: ubuntu-latest
|
|
209
|
-
needs: [test_matrix, lint]
|
|
210
|
-
if: always() && github.event_name != 'pull_request'
|
|
211
|
-
steps:
|
|
212
|
-
- name: Verify all checks passed
|
|
213
|
-
run: |
|
|
214
|
-
if [[ "${{ needs.test_matrix.result }}" != "success" ]]; then
|
|
215
|
-
echo "Matrix test job failed"
|
|
216
|
-
exit 1
|
|
217
|
-
fi
|
|
218
|
-
if [[ "${{ needs.lint.result }}" != "success" ]]; then
|
|
219
|
-
echo "Lint job failed"
|
|
220
|
-
exit 1
|
|
221
|
-
fi
|
|
222
|
-
echo "All required checks passed!"
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
name: Release (prepare)
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches: [main]
|
|
6
|
-
|
|
7
|
-
permissions:
|
|
8
|
-
contents: write
|
|
9
|
-
pull-requests: write
|
|
10
|
-
|
|
11
|
-
concurrency:
|
|
12
|
-
group: release-${{ github.ref }}
|
|
13
|
-
cancel-in-progress: false
|
|
14
|
-
|
|
15
|
-
jobs:
|
|
16
|
-
prepare:
|
|
17
|
-
if: github.repository == 'Fission-AI/OpenSpec'
|
|
18
|
-
runs-on: ubuntu-latest
|
|
19
|
-
steps:
|
|
20
|
-
- uses: actions/checkout@v4
|
|
21
|
-
with:
|
|
22
|
-
fetch-depth: 0
|
|
23
|
-
|
|
24
|
-
- uses: pnpm/action-setup@v4
|
|
25
|
-
with:
|
|
26
|
-
version: 9
|
|
27
|
-
|
|
28
|
-
- uses: actions/setup-node@v4
|
|
29
|
-
with:
|
|
30
|
-
node-version: '20'
|
|
31
|
-
cache: 'pnpm'
|
|
32
|
-
registry-url: 'https://registry.npmjs.org'
|
|
33
|
-
scope: '@fission-ai'
|
|
34
|
-
always-auth: true
|
|
35
|
-
|
|
36
|
-
- run: pnpm install --frozen-lockfile
|
|
37
|
-
|
|
38
|
-
# Opens/updates the Version Packages PR; publishes when the Version PR merges
|
|
39
|
-
- name: Create/Update Version PR
|
|
40
|
-
uses: changesets/action@v1
|
|
41
|
-
with:
|
|
42
|
-
title: 'chore(release): version packages'
|
|
43
|
-
createGithubReleases: true
|
|
44
|
-
# Use CI-specific release script: relies on version PR having been merged
|
|
45
|
-
# so package.json already contains the bumped version.
|
|
46
|
-
publish: pnpm run release:ci
|
|
47
|
-
env:
|
|
48
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
49
|
-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
50
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!-- OPENSPEC:START -->
|
|
2
|
-
# OpenSpec Instructions
|
|
3
|
-
|
|
4
|
-
These instructions are for AI assistants working in this project.
|
|
5
|
-
|
|
6
|
-
Always open `@/openspec/AGENTS.md` when the request:
|
|
7
|
-
- Mentions planning or proposals (words like proposal, spec, change, plan)
|
|
8
|
-
- Introduces new capabilities, breaking changes, architecture shifts, or big performance/security work
|
|
9
|
-
- Sounds ambiguous and you need the authoritative spec before coding
|
|
10
|
-
|
|
11
|
-
Use `@/openspec/AGENTS.md` to learn:
|
|
12
|
-
- How to create and apply change proposals
|
|
13
|
-
- Spec format and conventions
|
|
14
|
-
- Project structure and guidelines
|
|
15
|
-
|
|
16
|
-
Keep this managed block so 'openspec update' can refresh the instructions.
|
|
17
|
-
|
|
18
|
-
<!-- OPENSPEC:END -->
|