├── .continue └── rules │ ├── add-feature.md │ ├── edit-spec.md │ ├── modularize.md │ ├── regenerate.md │ ├── review-no-changes.md │ └── validate.md ├── .github └── workflows │ ├── release.yml │ └── test.yml ├── .gitignore ├── .npmignore ├── .releaserc.json ├── .vscode ├── extensions.json ├── launch.json └── settings.json ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── bin.js ├── cmd ├── add.go ├── add_test.go ├── create.go ├── formats.go ├── init.go ├── install.go ├── list.go ├── login.go ├── logout.go ├── publish.go ├── remove.go ├── render.go ├── root.go ├── root_test.go └── whoami.go ├── docs-main ├── README.md ├── favicon.ico ├── index.mdx └── mint.json ├── go.mod ├── go.sum ├── internal ├── auth │ ├── ensure_auth.go │ └── workos.go ├── config │ ├── config.go │ └── config_test.go ├── formats │ ├── formats.go │ ├── render.go │ ├── render_test.go │ ├── singlefile.go │ ├── transform.go │ └── transform_test.go ├── registry │ ├── auth.go │ └── registry.go ├── ruleset │ └── ruleset.go ├── utils │ └── user_agent.go └── validation │ ├── rule_frontmatter_schema.json │ ├── rule_schema.go │ ├── rules_json_schema.go │ ├── schema │ └── rules-schema.json │ └── schema_test.go ├── main.go ├── main_test.go ├── package.json ├── rules.json ├── scripts └── generate_golden.sh ├── spec ├── auth.md ├── commands │ ├── add.md │ ├── create.md │ ├── formats.md │ ├── init.md │ ├── install.md │ ├── list.md │ ├── login.md │ ├── logout.md │ ├── publish.md │ ├── remove.md │ ├── render.md │ └── whoami.md ├── device-code-flow.md ├── golden-file-testing.md ├── index.md ├── registry-api.md └── render-formats.md └── tests ├── README.md ├── golden ├── add │ └── add.golden ├── completion │ └── completion.golden ├── h │ └── help.golden ├── init │ └── init.golden ├── install │ └── install.golden ├── login │ └── login.golden ├── logout │ └── logout.golden ├── publish │ └── publish.golden ├── remove │ ├── dne.golden │ └── remove.golden ├── render │ └── render.golden ├── v │ └── version.golden └── whoami │ └── whoami.golden ├── golden_commands.txt ├── golden_test.go └── integration_test.go /.continue/rules/add-feature.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/.continue/rules/add-feature.md -------------------------------------------------------------------------------- /.continue/rules/edit-spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/.continue/rules/edit-spec.md -------------------------------------------------------------------------------- /.continue/rules/modularize.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/.continue/rules/modularize.md -------------------------------------------------------------------------------- /.continue/rules/regenerate.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/.continue/rules/regenerate.md -------------------------------------------------------------------------------- /.continue/rules/review-no-changes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/.continue/rules/review-no-changes.md -------------------------------------------------------------------------------- /.continue/rules/validate.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/.continue/rules/validate.md -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/.npmignore -------------------------------------------------------------------------------- /.releaserc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/.releaserc.json -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/README.md -------------------------------------------------------------------------------- /bin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/bin.js -------------------------------------------------------------------------------- /cmd/add.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/cmd/add.go -------------------------------------------------------------------------------- /cmd/add_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/cmd/add_test.go -------------------------------------------------------------------------------- /cmd/create.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/cmd/create.go -------------------------------------------------------------------------------- /cmd/formats.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/cmd/formats.go -------------------------------------------------------------------------------- /cmd/init.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/cmd/init.go -------------------------------------------------------------------------------- /cmd/install.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/cmd/install.go -------------------------------------------------------------------------------- /cmd/list.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/cmd/list.go -------------------------------------------------------------------------------- /cmd/login.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/cmd/login.go -------------------------------------------------------------------------------- /cmd/logout.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/cmd/logout.go -------------------------------------------------------------------------------- /cmd/publish.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/cmd/publish.go -------------------------------------------------------------------------------- /cmd/remove.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/cmd/remove.go -------------------------------------------------------------------------------- /cmd/render.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/cmd/render.go -------------------------------------------------------------------------------- /cmd/root.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/cmd/root.go -------------------------------------------------------------------------------- /cmd/root_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/cmd/root_test.go -------------------------------------------------------------------------------- /cmd/whoami.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/cmd/whoami.go -------------------------------------------------------------------------------- /docs-main/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/docs-main/README.md -------------------------------------------------------------------------------- /docs-main/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/docs-main/favicon.ico -------------------------------------------------------------------------------- /docs-main/index.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/docs-main/index.mdx -------------------------------------------------------------------------------- /docs-main/mint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/docs-main/mint.json -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/go.sum -------------------------------------------------------------------------------- /internal/auth/ensure_auth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/internal/auth/ensure_auth.go -------------------------------------------------------------------------------- /internal/auth/workos.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/internal/auth/workos.go -------------------------------------------------------------------------------- /internal/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/internal/config/config.go -------------------------------------------------------------------------------- /internal/config/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/internal/config/config_test.go -------------------------------------------------------------------------------- /internal/formats/formats.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/internal/formats/formats.go -------------------------------------------------------------------------------- /internal/formats/render.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/internal/formats/render.go -------------------------------------------------------------------------------- /internal/formats/render_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/internal/formats/render_test.go -------------------------------------------------------------------------------- /internal/formats/singlefile.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/internal/formats/singlefile.go -------------------------------------------------------------------------------- /internal/formats/transform.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/internal/formats/transform.go -------------------------------------------------------------------------------- /internal/formats/transform_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/internal/formats/transform_test.go -------------------------------------------------------------------------------- /internal/registry/auth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/internal/registry/auth.go -------------------------------------------------------------------------------- /internal/registry/registry.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/internal/registry/registry.go -------------------------------------------------------------------------------- /internal/ruleset/ruleset.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/internal/ruleset/ruleset.go -------------------------------------------------------------------------------- /internal/utils/user_agent.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/internal/utils/user_agent.go -------------------------------------------------------------------------------- /internal/validation/rule_frontmatter_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/internal/validation/rule_frontmatter_schema.json -------------------------------------------------------------------------------- /internal/validation/rule_schema.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/internal/validation/rule_schema.go -------------------------------------------------------------------------------- /internal/validation/rules_json_schema.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/internal/validation/rules_json_schema.go -------------------------------------------------------------------------------- /internal/validation/schema/rules-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/internal/validation/schema/rules-schema.json -------------------------------------------------------------------------------- /internal/validation/schema_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/internal/validation/schema_test.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/main.go -------------------------------------------------------------------------------- /main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/main_test.go -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/package.json -------------------------------------------------------------------------------- /rules.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/rules.json -------------------------------------------------------------------------------- /scripts/generate_golden.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/scripts/generate_golden.sh -------------------------------------------------------------------------------- /spec/auth.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/spec/auth.md -------------------------------------------------------------------------------- /spec/commands/add.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/spec/commands/add.md -------------------------------------------------------------------------------- /spec/commands/create.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/spec/commands/create.md -------------------------------------------------------------------------------- /spec/commands/formats.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/spec/commands/formats.md -------------------------------------------------------------------------------- /spec/commands/init.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/spec/commands/init.md -------------------------------------------------------------------------------- /spec/commands/install.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/spec/commands/install.md -------------------------------------------------------------------------------- /spec/commands/list.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/spec/commands/list.md -------------------------------------------------------------------------------- /spec/commands/login.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/spec/commands/login.md -------------------------------------------------------------------------------- /spec/commands/logout.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/spec/commands/logout.md -------------------------------------------------------------------------------- /spec/commands/publish.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/spec/commands/publish.md -------------------------------------------------------------------------------- /spec/commands/remove.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/spec/commands/remove.md -------------------------------------------------------------------------------- /spec/commands/render.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/spec/commands/render.md -------------------------------------------------------------------------------- /spec/commands/whoami.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/spec/commands/whoami.md -------------------------------------------------------------------------------- /spec/device-code-flow.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/spec/device-code-flow.md -------------------------------------------------------------------------------- /spec/golden-file-testing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/spec/golden-file-testing.md -------------------------------------------------------------------------------- /spec/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/spec/index.md -------------------------------------------------------------------------------- /spec/registry-api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/spec/registry-api.md -------------------------------------------------------------------------------- /spec/render-formats.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/spec/render-formats.md -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/tests/README.md -------------------------------------------------------------------------------- /tests/golden/add/add.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/tests/golden/add/add.golden -------------------------------------------------------------------------------- /tests/golden/completion/completion.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/tests/golden/completion/completion.golden -------------------------------------------------------------------------------- /tests/golden/h/help.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/tests/golden/h/help.golden -------------------------------------------------------------------------------- /tests/golden/init/init.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/tests/golden/init/init.golden -------------------------------------------------------------------------------- /tests/golden/install/install.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/tests/golden/install/install.golden -------------------------------------------------------------------------------- /tests/golden/login/login.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/tests/golden/login/login.golden -------------------------------------------------------------------------------- /tests/golden/logout/logout.golden: -------------------------------------------------------------------------------- 1 | Logging out... 2 | No active session found 3 | -------------------------------------------------------------------------------- /tests/golden/publish/publish.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/tests/golden/publish/publish.golden -------------------------------------------------------------------------------- /tests/golden/remove/dne.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/tests/golden/remove/dne.golden -------------------------------------------------------------------------------- /tests/golden/remove/remove.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/tests/golden/remove/remove.golden -------------------------------------------------------------------------------- /tests/golden/render/render.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/tests/golden/render/render.golden -------------------------------------------------------------------------------- /tests/golden/v/version.golden: -------------------------------------------------------------------------------- 1 | rules version 2 | -------------------------------------------------------------------------------- /tests/golden/whoami/whoami.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/tests/golden/whoami/whoami.golden -------------------------------------------------------------------------------- /tests/golden_commands.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/tests/golden_commands.txt -------------------------------------------------------------------------------- /tests/golden_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/tests/golden_test.go -------------------------------------------------------------------------------- /tests/integration_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/continuedev/rules/HEAD/tests/integration_test.go --------------------------------------------------------------------------------