@meridian-flow/mars-schema 0.23.3 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -1
- package/fixtures/normalize/agent-skills-standard/normalized.json +18 -0
- package/fixtures/normalize/agent-translation/normalized.json +36 -0
- package/fixtures/normalize/anthropics-skills/normalized.json +30 -0
- package/fixtures/normalize/claude-plugin-default/expected/toolbox/mcp/extra/mcp.toml +2 -0
- package/fixtures/normalize/claude-plugin-default/expected/toolbox/mcp/github/mcp.toml +3 -0
- package/fixtures/normalize/claude-plugin-default/expected/toolbox/mcp/indexer/mcp.toml +4 -0
- package/fixtures/normalize/claude-plugin-default/expected/toolbox/mcp/replaced/mcp.toml +2 -0
- package/fixtures/normalize/claude-plugin-default/input/.claude-plugin/plugin.json +1 -1
- package/fixtures/normalize/claude-plugin-default/input/.mcp.json +15 -1
- package/fixtures/normalize/claude-plugin-default/input/config/more-mcp.json +1 -0
- package/fixtures/normalize/claude-plugin-default/input/mcp/docs/mcp.toml +1 -0
- package/fixtures/normalize/claude-plugin-default/normalized.json +168 -3
- package/fixtures/normalize/declared-claude-over-codex-container/normalized.json +12 -0
- package/fixtures/normalize/declared-codex-convention/normalized.json +12 -0
- package/fixtures/normalize/declared-mars-native/normalized.json +18 -0
- package/fixtures/normalize/duplicate-slug/normalized.json +24 -0
- package/fixtures/normalize/empty/normalized.json +5 -0
- package/fixtures/normalize/generated-plugin-tree/normalized.json +12 -0
- package/fixtures/normalize/invalid-plugin-json/normalized.json +5 -0
- package/fixtures/normalize/marketplace-selection/normalized.json +12 -0
- package/fixtures/normalize/marketplace-sources/normalized.json +12 -0
- package/fixtures/normalize/marketplace-sources/remote-normalized.json +24 -0
- package/fixtures/normalize/marketplace-strict-table/normalized.json +65 -0
- package/fixtures/normalize/mars-manifest-wins/normalized.json +12 -0
- package/fixtures/normalize/mars-source-with-built-plugin/normalized.json +18 -0
- package/fixtures/normalize/mattpocock-skills/normalized.json +30 -0
- package/fixtures/normalize/mixed-claude-and-mars/normalized.json +18 -0
- package/fixtures/normalize/nested-declared-skills/normalized.json +12 -0
- package/fixtures/normalize/obra-superpowers/normalized.json +24 -0
- package/fixtures/normalize/opencode-agent/normalized.json +12 -0
- package/fixtures/normalize/opencode-predicted/normalized.json +12 -0
- package/fixtures/normalize/opencode-with-standard-skill/normalized.json +24 -0
- package/fixtures/normalize/plugin-list-paths/normalized.json +18 -0
- package/fixtures/normalize/pre-v1-mars-permission/normalized.json +12 -0
- package/fixtures/normalize/pre-v1-mars-predicted/normalized.json +18 -0
- package/fixtures/normalize/root-skill/normalized.json +12 -0
- package/fixtures/normalize/root-skill-fallback-name/normalized.json +12 -0
- package/fixtures/normalize/shared-slug-across-kinds/normalized.json +18 -0
- package/fixtures/normalize/skill-references/normalized.json +20 -2
- package/fixtures/normalize/skill-translation/normalized.json +42 -0
- package/fixtures/normalize/skill-tree-walk/normalized.json +18 -0
- package/fixtures/normalize/subpath/normalized.json +12 -0
- package/fixtures/prepare/agent-structural-raw/expected.json +12 -0
- package/fixtures/prepare/authored-local-current/expected.json +12 -0
- package/fixtures/prepare/authored-local-legacy/expected.json +12 -0
- package/fixtures/prepare/bom/expected.json +12 -0
- package/fixtures/prepare/claude-network-lost/expected.json +12 -0
- package/fixtures/prepare/claude-reserved-keys/expected.json +18 -0
- package/fixtures/prepare/declared-dialect/expected.json +12 -0
- package/fixtures/prepare/flat-root-skill/expected.json +12 -0
- package/fixtures/prepare/foreign-vendored-payload/expected.json +12 -0
- package/fixtures/prepare/generated-plugin-skipped/expected.json +12 -0
- package/fixtures/prepare/hidden-container-dialect/expected.json +5 -0
- package/fixtures/prepare/invalid-toml/expected.json +5 -0
- package/fixtures/prepare/legacy-changed/expected.json +12 -0
- package/fixtures/prepare/legacy-definition-unchanged/expected.json +12 -0
- package/fixtures/prepare/manifest-free-skill-tree/expected.json +12 -0
- package/fixtures/prepare/manifest-without-package/expected.json +5 -0
- package/fixtures/prepare/opencode-agent/expected.json +12 -0
- package/fixtures/prepare/opencode-commands-dropped/expected.json +12 -0
- package/fixtures/prepare/pre-v1-old-host-namespaces/expected.json +12 -0
- package/fixtures/prepare/schema-1/expected.json +12 -0
- package/fixtures/prepare/schema-1-both-host-namespaces/expected.json +12 -0
- package/fixtures/prepare/schema-1-meridian-keys/expected.json +12 -0
- package/fixtures/prepare/schema-1-old-host-namespaces/expected.json +12 -0
- package/fixtures/prepare/schema-1-vendored-payload/expected.json +12 -0
- package/fixtures/prepare/schema-newer/expected.json +5 -0
- package/fixtures/prepare/skill-payload-and-nested/expected.json +18 -0
- package/fixtures/read/manifest-dependencies/expected.json +57 -0
- package/fixtures/read/manifest-dependencies/mars.toml +25 -0
- package/fixtures/read/manifest-dependency-errors/expected.json +87 -0
- package/fixtures/read/manifest-dependency-errors/mars.toml +31 -0
- package/fixtures/read/manifest-dependency-filter-conflict/expected.json +74 -0
- package/fixtures/read/manifest-dependency-filter-conflict/mars.toml +19 -0
- package/fixtures/selection/all-takes-everything/expected.json +39 -0
- package/fixtures/selection/all-takes-everything/packages/p/agents/coder.md +5 -0
- package/fixtures/selection/all-takes-everything/packages/p/mars.toml +4 -0
- package/fixtures/selection/all-takes-everything/packages/p/skills/planning/SKILL.md +5 -0
- package/fixtures/selection/all-takes-everything/request.json +16 -0
- package/fixtures/selection/bootstrap-doc-respects-consumer-exclude/expected.json +45 -0
- package/fixtures/selection/bootstrap-doc-respects-consumer-exclude/packages/a/agents/coder.md +6 -0
- package/fixtures/selection/bootstrap-doc-respects-consumer-exclude/packages/a/mars.toml +8 -0
- package/fixtures/selection/bootstrap-doc-respects-consumer-exclude/packages/b/mars.toml +4 -0
- package/fixtures/selection/bootstrap-doc-respects-consumer-exclude/packages/b/skills/other/SKILL.md +5 -0
- package/fixtures/selection/bootstrap-doc-respects-consumer-exclude/packages/b/skills/planning/SKILL.md +5 -0
- package/fixtures/selection/bootstrap-doc-respects-consumer-exclude/request.json +22 -0
- package/fixtures/selection/consumer-exclude-beats-unfiltered-edge/expected.json +32 -0
- package/fixtures/selection/consumer-exclude-beats-unfiltered-edge/packages/a/agents/top.md +5 -0
- package/fixtures/selection/consumer-exclude-beats-unfiltered-edge/packages/a/mars.toml +7 -0
- package/fixtures/selection/consumer-exclude-beats-unfiltered-edge/packages/b/mars.toml +4 -0
- package/fixtures/selection/consumer-exclude-beats-unfiltered-edge/packages/b/skills/x/SKILL.md +5 -0
- package/fixtures/selection/consumer-exclude-beats-unfiltered-edge/packages/b/skills/y/SKILL.md +5 -0
- package/fixtures/selection/consumer-exclude-beats-unfiltered-edge/request.json +6 -0
- package/fixtures/selection/consumer-exclude-blocks-skill-ref/expected.json +17 -0
- package/fixtures/selection/consumer-exclude-blocks-skill-ref/packages/a/agents/coder.md +6 -0
- package/fixtures/selection/consumer-exclude-blocks-skill-ref/packages/a/mars.toml +4 -0
- package/fixtures/selection/consumer-exclude-blocks-skill-ref/packages/a/skills/forbidden/SKILL.md +5 -0
- package/fixtures/selection/consumer-exclude-blocks-skill-ref/request.json +10 -0
- package/fixtures/selection/cws-v0.6.1/expected.json +917 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/brainstormer.md +6 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/character-sim.md +8 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/continuity-checker.md +6 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/critic.md +6 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/editor.md +6 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/muse.md +8 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/outliner.md +6 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/reader-sim.md +7 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/style-creator.md +8 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/web-researcher.md +7 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/writer.md +6 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/mars.toml +62 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/character-sim/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/creative-research/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/creative-writing-craft/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/creative-writing-modes/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/creative-writing-muse/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/project-setup/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/reader-sim/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/story-memory/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/story-planning/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/story-review/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/writing-principles/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/writing-staffing/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/agents/cold-reader.md +8 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/agents/explorer.md +6 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/agents/kb-lead.md +8 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/agents/kb-maintainer.md +8 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/agents/session-miner.md +8 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/agents/subagent.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/mars.toml +147 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/correct/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/explore-and-engage/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/goal-writing/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/grill/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/grill-with-docs/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/grill-with-evidence/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/handoff/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/information-hierarchy/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/intent-modeling/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/knowledge-layers/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/llm-writing/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/md-validation/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/qi-layer/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/qi-maintenance/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/reflect/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/shared-dao/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/shared-workspace/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/structured-artifact/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/work-artifacts/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/zoom-out/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/packages/writing-sync/mars.toml +13 -0
- package/fixtures/selection/cws-v0.6.1/packages/writing-sync/skills/writing-sync/SKILL.md +5 -0
- package/fixtures/selection/cws-v0.6.1/request.json +36 -0
- package/fixtures/selection/cws-v0.6.1-as-root/expected.json +607 -0
- package/fixtures/selection/cws-v0.6.1-as-root/request.json +5 -0
- package/fixtures/selection/diamond-through-filtered-entry/expected.json +65 -0
- package/fixtures/selection/diamond-through-filtered-entry/packages/a/agents/a1.md +5 -0
- package/fixtures/selection/diamond-through-filtered-entry/packages/a/mars.toml +10 -0
- package/fixtures/selection/diamond-through-filtered-entry/packages/b/agents/b1.md +5 -0
- package/fixtures/selection/diamond-through-filtered-entry/packages/b/agents/b2.md +5 -0
- package/fixtures/selection/diamond-through-filtered-entry/packages/b/mars.toml +7 -0
- package/fixtures/selection/diamond-through-filtered-entry/packages/d1/agents/d1.md +5 -0
- package/fixtures/selection/diamond-through-filtered-entry/packages/d1/mars.toml +8 -0
- package/fixtures/selection/diamond-through-filtered-entry/packages/d2/agents/d2.md +5 -0
- package/fixtures/selection/diamond-through-filtered-entry/packages/d2/mars.toml +7 -0
- package/fixtures/selection/diamond-through-filtered-entry/packages/x/agents/x1.md +5 -0
- package/fixtures/selection/diamond-through-filtered-entry/packages/x/mars.toml +7 -0
- package/fixtures/selection/diamond-through-filtered-entry/packages/y/agents/y1.md +5 -0
- package/fixtures/selection/diamond-through-filtered-entry/packages/y/mars.toml +4 -0
- package/fixtures/selection/diamond-through-filtered-entry/request.json +7 -0
- package/fixtures/selection/duplicate-slug-reported/expected.json +35 -0
- package/fixtures/selection/duplicate-slug-reported/packages/a/agents/coder.md +5 -0
- package/fixtures/selection/duplicate-slug-reported/packages/a/mars.toml +4 -0
- package/fixtures/selection/duplicate-slug-reported/packages/b/agents/coder.md +5 -0
- package/fixtures/selection/duplicate-slug-reported/packages/b/mars.toml +4 -0
- package/fixtures/selection/duplicate-slug-reported/request.json +10 -0
- package/fixtures/selection/exclude-by-slug-or-path/expected.json +28 -0
- package/fixtures/selection/exclude-by-slug-or-path/packages/p/agents/coder.md +5 -0
- package/fixtures/selection/exclude-by-slug-or-path/packages/p/agents/reviewer.md +5 -0
- package/fixtures/selection/exclude-by-slug-or-path/packages/p/mars.toml +4 -0
- package/fixtures/selection/exclude-by-slug-or-path/packages/p/skills/planning/SKILL.md +5 -0
- package/fixtures/selection/exclude-by-slug-or-path/packages/p/skills/review/SKILL.md +5 -0
- package/fixtures/selection/exclude-by-slug-or-path/request.json +11 -0
- package/fixtures/selection/exclude-path-is-compared-as-written/expected.json +17 -0
- package/fixtures/selection/exclude-path-is-compared-as-written/packages/p/agents/coder.md +5 -0
- package/fixtures/selection/exclude-path-is-compared-as-written/packages/p/mars.toml +4 -0
- package/fixtures/selection/exclude-path-is-compared-as-written/request.json +10 -0
- package/fixtures/selection/filtered-request-does-not-open-dependencies/expected.json +17 -0
- package/fixtures/selection/filtered-request-does-not-open-dependencies/packages/p/agents/other.md +5 -0
- package/fixtures/selection/filtered-request-does-not-open-dependencies/packages/p/agents/top.md +5 -0
- package/fixtures/selection/filtered-request-does-not-open-dependencies/packages/p/mars.toml +7 -0
- package/fixtures/selection/filtered-request-does-not-open-dependencies/packages/q/agents/qa.md +5 -0
- package/fixtures/selection/filtered-request-does-not-open-dependencies/packages/q/mars.toml +4 -0
- package/fixtures/selection/filtered-request-does-not-open-dependencies/request.json +10 -0
- package/fixtures/selection/include-by-kind/expected.json +17 -0
- package/fixtures/selection/include-by-kind/packages/p/agents/foo.md +5 -0
- package/fixtures/selection/include-by-kind/packages/p/mars.toml +4 -0
- package/fixtures/selection/include-by-kind/packages/p/skills/foo/SKILL.md +5 -0
- package/fixtures/selection/include-by-kind/request.json +10 -0
- package/fixtures/selection/include-closes-over-agent-skills/expected.json +31 -0
- package/fixtures/selection/include-closes-over-agent-skills/packages/p/agents/coder.md +6 -0
- package/fixtures/selection/include-closes-over-agent-skills/packages/p/mars.toml +4 -0
- package/fixtures/selection/include-closes-over-agent-skills/packages/p/skills/planning/SKILL.md +5 -0
- package/fixtures/selection/include-closes-over-agent-skills/packages/p/skills/review/SKILL.md +5 -0
- package/fixtures/selection/include-closes-over-agent-skills/request.json +10 -0
- package/fixtures/selection/include-selects-bootstrap-docs/expected.json +28 -0
- package/fixtures/selection/include-selects-bootstrap-docs/packages/p/agents/bar.md +5 -0
- package/fixtures/selection/include-selects-bootstrap-docs/packages/p/agents/foo.md +5 -0
- package/fixtures/selection/include-selects-bootstrap-docs/packages/p/mars.toml +4 -0
- package/fixtures/selection/include-selects-bootstrap-docs/packages/p/skills/baz/SKILL.md +5 -0
- package/fixtures/selection/include-selects-bootstrap-docs/request.json +24 -0
- package/fixtures/selection/only-agents-closes-over-skills/expected.json +42 -0
- package/fixtures/selection/only-agents-closes-over-skills/packages/p/agents/a.md +6 -0
- package/fixtures/selection/only-agents-closes-over-skills/packages/p/agents/b.md +5 -0
- package/fixtures/selection/only-agents-closes-over-skills/packages/p/mars.toml +4 -0
- package/fixtures/selection/only-agents-closes-over-skills/packages/p/skills/s1/SKILL.md +5 -0
- package/fixtures/selection/only-agents-closes-over-skills/packages/p/skills/s2/SKILL.md +5 -0
- package/fixtures/selection/only-agents-closes-over-skills/request.json +8 -0
- package/fixtures/selection/only-skills/expected.json +28 -0
- package/fixtures/selection/only-skills/packages/p/agents/coder.md +6 -0
- package/fixtures/selection/only-skills/packages/p/mars.toml +4 -0
- package/fixtures/selection/only-skills/packages/p/skills/planning/SKILL.md +5 -0
- package/fixtures/selection/only-skills/packages/p/skills/review/SKILL.md +5 -0
- package/fixtures/selection/only-skills/request.json +8 -0
- package/fixtures/selection/root-agent-refs-resolve-like-a-dependencys/expected.json +38 -0
- package/fixtures/selection/root-agent-refs-resolve-like-a-dependencys/packages/lib/mars.toml +4 -0
- package/fixtures/selection/root-agent-refs-resolve-like-a-dependencys/packages/lib/skills/planning/SKILL.md +5 -0
- package/fixtures/selection/root-agent-refs-resolve-like-a-dependencys/packages/project/agents/coder.md +6 -0
- package/fixtures/selection/root-agent-refs-resolve-like-a-dependencys/packages/project/mars.toml +7 -0
- package/fixtures/selection/root-agent-refs-resolve-like-a-dependencys/request.json +8 -0
- package/fixtures/selection/root-entries-are-the-consumers-requests/expected.json +46 -0
- package/fixtures/selection/root-entries-are-the-consumers-requests/packages/lib/mars.toml +4 -0
- package/fixtures/selection/root-entries-are-the-consumers-requests/packages/lib/skills/planning/SKILL.md +5 -0
- package/fixtures/selection/root-entries-are-the-consumers-requests/packages/lib/skills/shared/SKILL.md +5 -0
- package/fixtures/selection/root-entries-are-the-consumers-requests/packages/project/agents/coder.md +6 -0
- package/fixtures/selection/root-entries-are-the-consumers-requests/packages/project/mars.toml +8 -0
- package/fixtures/selection/root-entries-are-the-consumers-requests/packages/project/skills/shared/SKILL.md +5 -0
- package/fixtures/selection/root-entries-are-the-consumers-requests/request.json +4 -0
- package/fixtures/selection/skill-names-no-skills/expected.json +17 -0
- package/fixtures/selection/skill-names-no-skills/packages/a/mars.toml +4 -0
- package/fixtures/selection/skill-names-no-skills/packages/a/skills/inner/SKILL.md +5 -0
- package/fixtures/selection/skill-names-no-skills/packages/a/skills/outer/SKILL.md +6 -0
- package/fixtures/selection/skill-names-no-skills/request.json +10 -0
- package/fixtures/selection/skill-ref-deferred-to-declared-provider/expected.json +17 -0
- package/fixtures/selection/skill-ref-deferred-to-declared-provider/packages/a/agents/coder.md +6 -0
- package/fixtures/selection/skill-ref-deferred-to-declared-provider/packages/a/mars.toml +5 -0
- package/fixtures/selection/skill-ref-deferred-to-declared-provider/request.json +7 -0
- package/fixtures/selection/skill-ref-falls-back-to-depth-first-order/expected.json +31 -0
- package/fixtures/selection/skill-ref-falls-back-to-depth-first-order/packages/first/mars.toml +4 -0
- package/fixtures/selection/skill-ref-falls-back-to-depth-first-order/packages/first/skills/planning/SKILL.md +5 -0
- package/fixtures/selection/skill-ref-falls-back-to-depth-first-order/packages/requester/agents/coder.md +6 -0
- package/fixtures/selection/skill-ref-falls-back-to-depth-first-order/packages/requester/mars.toml +4 -0
- package/fixtures/selection/skill-ref-falls-back-to-depth-first-order/packages/second/mars.toml +4 -0
- package/fixtures/selection/skill-ref-falls-back-to-depth-first-order/packages/second/skills/planning/SKILL.md +5 -0
- package/fixtures/selection/skill-ref-falls-back-to-depth-first-order/request.json +19 -0
- package/fixtures/selection/skill-ref-missing/expected.json +36 -0
- package/fixtures/selection/skill-ref-missing/packages/a/agents/coder.md +6 -0
- package/fixtures/selection/skill-ref-missing/packages/a/mars.toml +4 -0
- package/fixtures/selection/skill-ref-missing/request.json +7 -0
- package/fixtures/selection/skill-ref-prefers-dependency-closure/expected.json +53 -0
- package/fixtures/selection/skill-ref-prefers-dependency-closure/packages/my-dep/mars.toml +4 -0
- package/fixtures/selection/skill-ref-prefers-dependency-closure/packages/my-dep/skills/planning/SKILL.md +5 -0
- package/fixtures/selection/skill-ref-prefers-dependency-closure/packages/requester/agents/coder.md +6 -0
- package/fixtures/selection/skill-ref-prefers-dependency-closure/packages/requester/mars.toml +7 -0
- package/fixtures/selection/skill-ref-prefers-dependency-closure/packages/sibling/mars.toml +4 -0
- package/fixtures/selection/skill-ref-prefers-dependency-closure/packages/sibling/skills/planning/SKILL.md +5 -0
- package/fixtures/selection/skill-ref-prefers-dependency-closure/request.json +10 -0
- package/fixtures/selection/skill-ref-prefers-own-package/expected.json +31 -0
- package/fixtures/selection/skill-ref-prefers-own-package/packages/my-dep/mars.toml +4 -0
- package/fixtures/selection/skill-ref-prefers-own-package/packages/my-dep/skills/planning/SKILL.md +5 -0
- package/fixtures/selection/skill-ref-prefers-own-package/packages/requester/agents/coder.md +6 -0
- package/fixtures/selection/skill-ref-prefers-own-package/packages/requester/mars.toml +7 -0
- package/fixtures/selection/skill-ref-prefers-own-package/packages/requester/skills/planning/SKILL.md +5 -0
- package/fixtures/selection/skill-ref-prefers-own-package/request.json +10 -0
- package/fixtures/selection/skill-ref-pulls-bootstrap-docs/expected.json +45 -0
- package/fixtures/selection/skill-ref-pulls-bootstrap-docs/packages/a/agents/coder.md +6 -0
- package/fixtures/selection/skill-ref-pulls-bootstrap-docs/packages/a/mars.toml +8 -0
- package/fixtures/selection/skill-ref-pulls-bootstrap-docs/packages/b/mars.toml +4 -0
- package/fixtures/selection/skill-ref-pulls-bootstrap-docs/packages/b/skills/other/SKILL.md +5 -0
- package/fixtures/selection/skill-ref-pulls-bootstrap-docs/packages/b/skills/planning/SKILL.md +5 -0
- package/fixtures/selection/skill-ref-pulls-bootstrap-docs/request.json +16 -0
- package/fixtures/selection/transitive-exclude-blocks-nothing/expected.json +31 -0
- package/fixtures/selection/transitive-exclude-blocks-nothing/packages/p3/agents/top.md +6 -0
- package/fixtures/selection/transitive-exclude-blocks-nothing/packages/p3/mars.toml +8 -0
- package/fixtures/selection/transitive-exclude-blocks-nothing/packages/q/mars.toml +4 -0
- package/fixtures/selection/transitive-exclude-blocks-nothing/packages/q/skills/qx/SKILL.md +5 -0
- package/fixtures/selection/transitive-exclude-blocks-nothing/packages/q/skills/qy/SKILL.md +5 -0
- package/fixtures/selection/transitive-exclude-blocks-nothing/request.json +7 -0
- package/fixtures/selection/transitive-filtered-entry-seeds-nothing/expected.json +17 -0
- package/fixtures/selection/transitive-filtered-entry-seeds-nothing/packages/p2/agents/top.md +5 -0
- package/fixtures/selection/transitive-filtered-entry-seeds-nothing/packages/p2/mars.toml +8 -0
- package/fixtures/selection/transitive-filtered-entry-seeds-nothing/packages/q/agents/qa.md +5 -0
- package/fixtures/selection/transitive-filtered-entry-seeds-nothing/packages/q/agents/qb.md +5 -0
- package/fixtures/selection/transitive-filtered-entry-seeds-nothing/packages/q/mars.toml +4 -0
- package/fixtures/selection/transitive-filtered-entry-seeds-nothing/request.json +7 -0
- package/fixtures/version/constraint-bare-minor-is-caret/expected.json +3 -0
- package/fixtures/version/constraint-bare-minor-is-caret/input.json +1 -0
- package/fixtures/version/constraint-branch-is-ref-pin/expected.json +3 -0
- package/fixtures/version/constraint-branch-is-ref-pin/input.json +1 -0
- package/fixtures/version/constraint-exact-v/expected.json +3 -0
- package/fixtures/version/constraint-exact-v/input.json +1 -0
- package/fixtures/version/constraint-huge-major-is-ref-pin/expected.json +3 -0
- package/fixtures/version/constraint-huge-major-is-ref-pin/input.json +1 -0
- package/fixtures/version/constraint-huge-minor-is-ref-pin/expected.json +3 -0
- package/fixtures/version/constraint-huge-minor-is-ref-pin/input.json +1 -0
- package/fixtures/version/constraint-latest-any-case/expected.json +3 -0
- package/fixtures/version/constraint-latest-any-case/input.json +1 -0
- package/fixtures/version/constraint-major-v/expected.json +3 -0
- package/fixtures/version/constraint-major-v/input.json +1 -0
- package/fixtures/version/constraint-minor-v/expected.json +3 -0
- package/fixtures/version/constraint-minor-v/input.json +1 -0
- package/fixtures/version/constraint-none/expected.json +3 -0
- package/fixtures/version/constraint-none/input.json +1 -0
- package/fixtures/version/constraint-range/expected.json +3 -0
- package/fixtures/version/constraint-range/input.json +1 -0
- package/fixtures/version/constraint-tilde/expected.json +3 -0
- package/fixtures/version/constraint-tilde/input.json +1 -0
- package/fixtures/version/constraint-v-prefix-garbage-is-ref-pin/expected.json +3 -0
- package/fixtures/version/constraint-v-prefix-garbage-is-ref-pin/input.json +1 -0
- package/fixtures/version/requirement-bare-is-floor/expected.json +3 -0
- package/fixtures/version/requirement-bare-is-floor/input.json +1 -0
- package/fixtures/version/requirement-bare-is-floor-below/expected.json +3 -0
- package/fixtures/version/requirement-bare-is-floor-below/input.json +1 -0
- package/fixtures/version/requirement-invalid/expected.json +6 -0
- package/fixtures/version/requirement-invalid/input.json +1 -0
- package/fixtures/version/requirement-range/expected.json +3 -0
- package/fixtures/version/requirement-range/input.json +1 -0
- package/fixtures/version/satisfies-caret-zero-minor/expected.json +3 -0
- package/fixtures/version/satisfies-caret-zero-minor/input.json +1 -0
- package/fixtures/version/satisfies-caret-zero-minor-excludes-next-minor/expected.json +3 -0
- package/fixtures/version/satisfies-caret-zero-minor-excludes-next-minor/input.json +1 -0
- package/fixtures/version/satisfies-latest/expected.json +3 -0
- package/fixtures/version/satisfies-latest/input.json +1 -0
- package/fixtures/version/satisfies-ref-pin-never/expected.json +3 -0
- package/fixtures/version/satisfies-ref-pin-never/input.json +1 -0
- package/fixtures/version/satisfies-v-minor-range/expected.json +3 -0
- package/fixtures/version/satisfies-v-minor-range/input.json +1 -0
- package/fixtures/version/select-equal-versions-later-tag-wins/expected.json +3 -0
- package/fixtures/version/select-equal-versions-later-tag-wins/input.json +1 -0
- package/fixtures/version/select-excluded-version-skipped/expected.json +3 -0
- package/fixtures/version/select-excluded-version-skipped/input.json +1 -0
- package/fixtures/version/select-intersects-constraints/expected.json +3 -0
- package/fixtures/version/select-intersects-constraints/input.json +1 -0
- package/fixtures/version/select-latest-beside-range-picks-newest/expected.json +3 -0
- package/fixtures/version/select-latest-beside-range-picks-newest/input.json +1 -0
- package/fixtures/version/select-latest-constraint-ignores-lock/expected.json +3 -0
- package/fixtures/version/select-latest-constraint-ignores-lock/input.json +1 -0
- package/fixtures/version/select-latest-only-ignores-lock/expected.json +3 -0
- package/fixtures/version/select-latest-only-ignores-lock/input.json +1 -0
- package/fixtures/version/select-lock-excluded-picks-newest/expected.json +3 -0
- package/fixtures/version/select-lock-excluded-picks-newest/input.json +1 -0
- package/fixtures/version/select-lock-no-tags-keeps-lock/expected.json +3 -0
- package/fixtures/version/select-lock-no-tags-keeps-lock/input.json +1 -0
- package/fixtures/version/select-lock-outside-constraints-falls-to-newest/expected.json +3 -0
- package/fixtures/version/select-lock-outside-constraints-falls-to-newest/input.json +1 -0
- package/fixtures/version/select-lock-tag-deleted-keeps-lock/expected.json +3 -0
- package/fixtures/version/select-lock-tag-deleted-keeps-lock/input.json +1 -0
- package/fixtures/version/select-newest-ignores-tag-order/expected.json +3 -0
- package/fixtures/version/select-newest-ignores-tag-order/input.json +1 -0
- package/fixtures/version/select-no-satisfying-lists-sorted/expected.json +6 -0
- package/fixtures/version/select-no-satisfying-lists-sorted/input.json +1 -0
- package/fixtures/version/select-no-version-tags-is-untagged/expected.json +3 -0
- package/fixtures/version/select-no-version-tags-is-untagged/input.json +1 -0
- package/fixtures/version/select-non-version-tags-are-skipped/expected.json +3 -0
- package/fixtures/version/select-non-version-tags-are-skipped/input.json +1 -0
- package/fixtures/version/select-pin-beside-tags-wins/expected.json +3 -0
- package/fixtures/version/select-pin-beside-tags-wins/input.json +1 -0
- package/fixtures/version/select-prefers-lock/expected.json +3 -0
- package/fixtures/version/select-prefers-lock/input.json +1 -0
- package/fixtures/version/select-prerelease-needs-opt-in/expected.json +3 -0
- package/fixtures/version/select-prerelease-needs-opt-in/input.json +1 -0
- package/fixtures/version/settle-different-pins-refuse/expected.json +6 -0
- package/fixtures/version/settle-different-pins-refuse/input.json +1 -0
- package/fixtures/version/settle-latest-beside-pin-holds/expected.json +3 -0
- package/fixtures/version/settle-latest-beside-pin-holds/input.json +1 -0
- package/fixtures/version/settle-pin-beside-range-refuses/expected.json +6 -0
- package/fixtures/version/settle-pin-beside-range-refuses/input.json +1 -0
- package/fixtures/version/settle-same-pin-agrees/expected.json +3 -0
- package/fixtures/version/settle-same-pin-agrees/input.json +1 -0
- package/fixtures/version/tag-bare/expected.json +3 -0
- package/fixtures/version/tag-bare/input.json +1 -0
- package/fixtures/version/tag-double-v/expected.json +1 -0
- package/fixtures/version/tag-double-v/input.json +1 -0
- package/fixtures/version/tag-not-semver/expected.json +1 -0
- package/fixtures/version/tag-not-semver/input.json +1 -0
- package/fixtures/version/tag-partial/expected.json +1 -0
- package/fixtures/version/tag-partial/input.json +1 -0
- package/fixtures/version/tag-v-prefixed/expected.json +3 -0
- package/fixtures/version/tag-v-prefixed/input.json +1 -0
- package/fixtures/vocabulary/expected.json +2 -5
- package/index.d.ts +216 -3
- package/node/mars_schema_wasm.d.ts +36 -3
- package/node/mars_schema_wasm.js +132 -9
- package/node/mars_schema_wasm_bg.wasm +0 -0
- package/node/mars_schema_wasm_bg.wasm.d.ts +4 -0
- package/package.json +1 -1
- package/web/mars_schema_wasm.d.ts +40 -3
- package/web/mars_schema_wasm.js +128 -9
- package/web/mars_schema_wasm_bg.wasm +0 -0
- package/web/mars_schema_wasm_bg.wasm.d.ts +4 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"items": [
|
|
3
|
+
{
|
|
4
|
+
"package": "a",
|
|
5
|
+
"kind": "agent",
|
|
6
|
+
"slug": "coder",
|
|
7
|
+
"path": "agents/coder.md",
|
|
8
|
+
"required_by": [
|
|
9
|
+
{
|
|
10
|
+
"by": "consumer"
|
|
11
|
+
}
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"package": "b",
|
|
16
|
+
"kind": "skill",
|
|
17
|
+
"slug": "planning",
|
|
18
|
+
"path": "skills/planning",
|
|
19
|
+
"required_by": [
|
|
20
|
+
{
|
|
21
|
+
"by": "item",
|
|
22
|
+
"package": "a",
|
|
23
|
+
"kind": "agent",
|
|
24
|
+
"slug": "coder"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"package": "b",
|
|
30
|
+
"kind": "bootstrap-doc",
|
|
31
|
+
"slug": "intro",
|
|
32
|
+
"path": "bootstrap/intro",
|
|
33
|
+
"required_by": [
|
|
34
|
+
{
|
|
35
|
+
"by": "item",
|
|
36
|
+
"package": "a",
|
|
37
|
+
"kind": "agent",
|
|
38
|
+
"slug": "coder"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"missing_skills": [],
|
|
44
|
+
"diagnostics": []
|
|
45
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"items": [
|
|
3
|
+
{
|
|
4
|
+
"package": "p3",
|
|
5
|
+
"kind": "agent",
|
|
6
|
+
"slug": "top",
|
|
7
|
+
"path": "agents/top.md",
|
|
8
|
+
"required_by": [
|
|
9
|
+
{
|
|
10
|
+
"by": "consumer"
|
|
11
|
+
}
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"package": "q",
|
|
16
|
+
"kind": "skill",
|
|
17
|
+
"slug": "qx",
|
|
18
|
+
"path": "skills/qx",
|
|
19
|
+
"required_by": [
|
|
20
|
+
{
|
|
21
|
+
"by": "item",
|
|
22
|
+
"package": "p3",
|
|
23
|
+
"kind": "agent",
|
|
24
|
+
"slug": "top"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"missing_skills": [],
|
|
30
|
+
"diagnostics": []
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"parse-constraint","input":"0.20"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"parse-constraint","input":"main"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"parse-constraint","input":"v1.2.3"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"parse-constraint","input":"v18446744073709551615"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"parse-constraint","input":"v1.18446744073709551615"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"parse-constraint","input":" LATEST "}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"parse-constraint","input":"v2"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"parse-constraint","input":"v2.1"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"parse-constraint"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"parse-constraint","input":">=0.5.0, <0.7.0"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"parse-constraint","input":"~1.2"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"parse-constraint","input":"v1.x.y"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"satisfies-requirement","requirement":"0.20","version":"0.21.0"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"satisfies-requirement","requirement":"0.20","version":"0.19.9"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"satisfies-requirement","requirement":"definitely-not-semver","version":"1.0.0"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"satisfies-requirement","requirement":">=0.20.0, <0.22","version":"0.22.0"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"satisfies","constraint":"0.20","version":"0.20.9"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"satisfies","constraint":"0.20","version":"0.21.0"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"satisfies","constraint":"latest","version":"9.9.9"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"satisfies","constraint":"main","version":"1.0.0"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"satisfies","constraint":"v0.20","version":"0.20.9"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"select-version","tags":["1.0.0","v1.0.0"],"constraints":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"select-version","tags":["v1.0.0","v1.5.0"],"constraints":[["requester-0","^1"]],"excluded":["v1.5.0"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"select-version","tags":["v1.0.0","v1.5.0","v1.9.0","v2.0.0"],"constraints":[["requester-0","^1"],["requester-1","<1.8"]]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"select-version","tags":["v1.2.0","v2.0.0"],"constraints":[["mars.toml","^1"],["a","latest"]]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"select-version","tags":["v1.0.0","v1.5.0"],"constraints":[["a","^1"],["b",null]],"locked":"v1.0.0"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"select-version","tags":["v1.0.0","v1.5.0"],"constraints":[["requester-0","^1"]],"locked":"v1.0.0","policy":"latest-only"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"select-version","tags":["v1.0.0","v1.1.0"],"constraints":[["requester-0","^1"]],"locked":"v1.0.0","excluded":["v1.0.0"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"select-version","tags":[],"constraints":[["requester-0","^1"]],"locked":"v1.0.0"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"select-version","tags":["v1.0.0","v1.5.0","v2.0.0"],"constraints":[["requester-0","^1"]],"locked":"v2.0.0"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"select-version","tags":["v1.1.0"],"constraints":[["requester-0","^1"]],"locked":"v1.0.0"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"select-version","tags":["v1.10.0","v1.2.0","v1.9.0"],"constraints":[["requester-0","^1"]]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"select-version","tags":["v2.0.0","v0.5.0","v1.0.0"],"constraints":[["requester-0",">=3"]]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"select-version","tags":["nightly"],"constraints":[["a","^1"]]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"select-version","tags":["v0.13.0","nightly","latest"],"constraints":[["a",null]]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"select-version","tags":["v1.0.0"],"constraints":[["a","dev"]]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"select-version","tags":["v1.0.0","v1.5.0","v1.9.0"],"constraints":[["requester-0","^1"]],"locked":"v1.5.0"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"select-version","tags":["v1.0.0","v1.1.0-rc.1"],"constraints":[["requester-0","^1"]]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"select-version","tags":[],"constraints":[["mars.toml","dev"],["a","main"]]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"select-version","tags":[],"constraints":[["a","latest"],["mars.toml","dev"]]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"op":"select-version","tags":[],"constraints":[["a","^1"],["mars.toml","dev"]]}
|