@meridian-flow/mars-schema 0.34.6-rc.1 → 0.35.1
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 +48 -1
- package/fixtures/alias/exclude-glob/expected.json +1 -0
- package/fixtures/alias/exclude-glob/request.json +22 -0
- package/fixtures/alias/latest-ids-are-skipped/expected.json +1 -0
- package/fixtures/alias/latest-ids-are-skipped/request.json +19 -0
- package/fixtures/alias/meta-llama-matches-meta/expected.json +1 -0
- package/fixtures/alias/meta-llama-matches-meta/request.json +20 -0
- package/fixtures/alias/meta-matches-meta-llama/expected.json +1 -0
- package/fixtures/alias/meta-matches-meta-llama/request.json +15 -0
- package/fixtures/alias/mistral-matches-mistralai/expected.json +1 -0
- package/fixtures/alias/mistral-matches-mistralai/request.json +15 -0
- package/fixtures/alias/mistralai-matches-mistral/expected.json +1 -0
- package/fixtures/alias/mistralai-matches-mistral/request.json +20 -0
- package/fixtures/alias/newest-release-wins/expected.json +1 -0
- package/fixtures/alias/newest-release-wins/request.json +24 -0
- package/fixtures/alias/no-match-is-null/expected.json +1 -0
- package/fixtures/alias/no-match-is-null/request.json +14 -0
- package/fixtures/alias/provider-key-case-insensitive/expected.json +1 -0
- package/fixtures/alias/provider-key-case-insensitive/request.json +20 -0
- package/fixtures/alias/row-without-a-date-sorts-last/expected.json +1 -0
- package/fixtures/alias/row-without-a-date-sorts-last/request.json +18 -0
- package/fixtures/alias/shorter-id-then-alphabetical/expected.json +1 -0
- package/fixtures/alias/shorter-id-then-alphabetical/request.json +24 -0
- package/fixtures/check/claude-execution-fields-ignored/expected.json +1 -1
- package/fixtures/check/claude-policy-override-dropped/expected.json +1 -1
- package/fixtures/effort/auto-sends-nothing/expected.json +4 -0
- package/fixtures/effort/auto-sends-nothing/request.json +16 -0
- package/fixtures/effort/flow-has-no-minimal/expected.json +8 -0
- package/fixtures/effort/flow-has-no-minimal/request.json +17 -0
- package/fixtures/effort/flow-has-no-xhigh-tie-goes-up/expected.json +8 -0
- package/fixtures/effort/flow-has-no-xhigh-tie-goes-up/request.json +19 -0
- package/fixtures/effort/flow-keeps-none-and-max/expected.json +4 -0
- package/fixtures/effort/flow-keeps-none-and-max/request.json +19 -0
- package/fixtures/effort/flow-none-on-model-with-no-control/expected.json +8 -0
- package/fixtures/effort/flow-none-on-model-with-no-control/request.json +7 -0
- package/fixtures/effort/level-below-the-model-range-moves-up/expected.json +8 -0
- package/fixtures/effort/level-below-the-model-range-moves-up/request.json +17 -0
- package/fixtures/effort/minimal-never-lands-on-none/expected.json +8 -0
- package/fixtures/effort/minimal-never-lands-on-none/request.json +19 -0
- package/fixtures/effort/mixed-case-request/expected.json +4 -0
- package/fixtures/effort/mixed-case-request/request.json +17 -0
- package/fixtures/effort/model-that-does-not-reason/expected.json +8 -0
- package/fixtures/effort/model-that-does-not-reason/request.json +7 -0
- package/fixtures/effort/model-that-does-not-reason-none/expected.json +4 -0
- package/fixtures/effort/model-that-does-not-reason-none/request.json +7 -0
- package/fixtures/effort/nearest-is-above-when-closer/expected.json +8 -0
- package/fixtures/effort/nearest-is-above-when-closer/request.json +16 -0
- package/fixtures/effort/no-common-level/expected.json +8 -0
- package/fixtures/effort/no-common-level/request.json +15 -0
- package/fixtures/effort/none-on-budget-only-model-claude/expected.json +8 -0
- package/fixtures/effort/none-on-budget-only-model-claude/request.json +13 -0
- package/fixtures/effort/none-on-budget-only-model-pi/expected.json +8 -0
- package/fixtures/effort/none-on-budget-only-model-pi/request.json +13 -0
- package/fixtures/effort/none-on-claude-has-no-off/expected.json +8 -0
- package/fixtures/effort/none-on-claude-has-no-off/request.json +17 -0
- package/fixtures/effort/none-on-model-listing-none/expected.json +4 -0
- package/fixtures/effort/none-on-model-listing-none/request.json +17 -0
- package/fixtures/effort/none-on-model-with-no-control-codex/expected.json +8 -0
- package/fixtures/effort/none-on-model-with-no-control-codex/request.json +7 -0
- package/fixtures/effort/none-on-model-with-no-control-pi/expected.json +8 -0
- package/fixtures/effort/none-on-model-with-no-control-pi/request.json +7 -0
- package/fixtures/effort/none-on-toggle-only-model-pi/expected.json +4 -0
- package/fixtures/effort/none-on-toggle-only-model-pi/request.json +12 -0
- package/fixtures/effort/null-sends-nothing/expected.json +4 -0
- package/fixtures/effort/null-sends-nothing/request.json +16 -0
- package/fixtures/effort/o3-max-on-codex/expected.json +8 -0
- package/fixtures/effort/o3-max-on-codex/request.json +17 -0
- package/fixtures/effort/opencode-takes-the-models-levels/expected.json +8 -0
- package/fixtures/effort/opencode-takes-the-models-levels/request.json +19 -0
- package/fixtures/effort/unknown-model-none-claude/expected.json +8 -0
- package/fixtures/effort/unknown-model-none-claude/request.json +5 -0
- package/fixtures/effort/unknown-model-none-flow/expected.json +4 -0
- package/fixtures/effort/unknown-model-none-flow/request.json +5 -0
- package/fixtures/effort/unknown-model-pi/expected.json +4 -0
- package/fixtures/effort/unknown-model-pi/request.json +5 -0
- package/fixtures/effort/xhigh-on-toggle-only-model/expected.json +4 -0
- package/fixtures/effort/xhigh-on-toggle-only-model/request.json +12 -0
- package/fixtures/effort-levels/expected.json +9 -0
- package/fixtures/prepare/claude-reserved-keys/expected.json +1 -1
- package/fixtures/read/agent-model-policy-index/expected.json +1 -1
- package/fixtures/resolve/bounds-bytes/expected.json +29 -0
- package/fixtures/resolve/bounds-bytes/steps.json +47 -0
- package/fixtures/resolve/bounds-packages/expected.json +47 -0
- package/fixtures/resolve/bounds-packages/steps.json +76 -0
- package/fixtures/resolve/chain/expected.json +108 -0
- package/fixtures/resolve/chain/steps.json +98 -0
- package/fixtures/resolve/conflict/expected.json +58 -0
- package/fixtures/resolve/conflict/steps.json +82 -0
- package/fixtures/resolve/cycle/expected.json +85 -0
- package/fixtures/resolve/cycle/steps.json +73 -0
- package/fixtures/resolve/engine-skip/expected.json +62 -0
- package/fixtures/resolve/engine-skip/steps.json +61 -0
- package/fixtures/resolve/lock-kept/expected.json +61 -0
- package/fixtures/resolve/lock-kept/steps.json +49 -0
- package/fixtures/resolve/lock-subpath/expected.json +39 -0
- package/fixtures/resolve/lock-subpath/steps.json +52 -0
- package/fixtures/resolve/lock-tag-object/expected.json +38 -0
- package/fixtures/resolve/lock-tag-object/steps.json +35 -0
- package/fixtures/resolve/locked-commit-failed/expected.json +26 -0
- package/fixtures/resolve/locked-commit-failed/steps.json +35 -0
- package/fixtures/resolve/locked-commit-missing/expected.json +62 -0
- package/fixtures/resolve/locked-commit-missing/steps.json +64 -0
- package/fixtures/resolve/locked-commit-missing-latest/expected.json +60 -0
- package/fixtures/resolve/locked-commit-missing-latest/steps.json +64 -0
- package/fixtures/resolve/marketplace-local/expected.json +57 -0
- package/fixtures/resolve/marketplace-local/steps.json +45 -0
- package/fixtures/resolve/marketplace-remote/expected.json +75 -0
- package/fixtures/resolve/marketplace-remote/steps.json +68 -0
- package/fixtures/resolve/path-refused-fetched/expected.json +29 -0
- package/fixtures/resolve/path-refused-fetched/steps.json +44 -0
- package/fixtures/resolve/path-refused-root/expected.json +11 -0
- package/fixtures/resolve/path-refused-root/steps.json +15 -0
- package/fixtures/resolve/refresh-all/expected.json +73 -0
- package/fixtures/resolve/refresh-all/steps.json +86 -0
- package/fixtures/resolve/refresh-one/expected.json +69 -0
- package/fixtures/resolve/refresh-one/steps.json +72 -0
- package/fixtures/resolve/sibling-subpaths/expected.json +71 -0
- package/fixtures/resolve/sibling-subpaths/steps.json +53 -0
- package/fixtures/resolve/sibling-subpaths-whole/expected.json +71 -0
- package/fixtures/resolve/sibling-subpaths-whole/steps.json +57 -0
- package/fixtures/resolve/subpath-missing/expected.json +30 -0
- package/fixtures/resolve/subpath-missing/steps.json +44 -0
- package/fixtures/resolve/tree-broad-failed-then-subtree-found/expected.json +47 -0
- package/fixtures/resolve/tree-broad-failed-then-subtree-found/steps.json +53 -0
- package/fixtures/resolve/tree-later-answer-wins-failed/expected.json +34 -0
- package/fixtures/resolve/tree-later-answer-wins-failed/steps.json +53 -0
- package/fixtures/resolve/tree-later-answer-wins-found/expected.json +46 -0
- package/fixtures/resolve/tree-later-answer-wins-found/steps.json +53 -0
- package/fixtures/resolve/tree-subtree-found-then-broad-failed/expected.json +47 -0
- package/fixtures/resolve/tree-subtree-found-then-broad-failed/steps.json +53 -0
- package/fixtures/resolve/unavailable-missing/expected.json +34 -0
- package/fixtures/resolve/unavailable-missing/steps.json +44 -0
- package/index.d.ts +193 -3
- package/node/mars_schema_wasm.d.ts +30 -0
- package/node/mars_schema_wasm.js +104 -0
- 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 +34 -0
- package/web/mars_schema_wasm.js +100 -0
- package/web/mars_schema_wasm_bg.wasm +0 -0
- package/web/mars_schema_wasm_bg.wasm.d.ts +4 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
{
|
|
2
|
+
"input": {
|
|
3
|
+
"root": {
|
|
4
|
+
"manifest": "[dependencies.a]\nurl = \"https://example.test/a\"\nversion = \"^1\"\n\n[dependencies.c]\nurl = \"https://example.test/c\"\n"
|
|
5
|
+
},
|
|
6
|
+
"engine": {
|
|
7
|
+
"mars": "0.35.0"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"steps": [
|
|
11
|
+
{
|
|
12
|
+
"answers": []
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"answers": [
|
|
16
|
+
{
|
|
17
|
+
"need": {
|
|
18
|
+
"kind": "tags",
|
|
19
|
+
"url": "https://example.test/a"
|
|
20
|
+
},
|
|
21
|
+
"tags": [
|
|
22
|
+
{
|
|
23
|
+
"tag": "v1.0.0",
|
|
24
|
+
"commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"need": {
|
|
30
|
+
"kind": "tags",
|
|
31
|
+
"url": "https://example.test/c"
|
|
32
|
+
},
|
|
33
|
+
"tags": [
|
|
34
|
+
{
|
|
35
|
+
"tag": "v0.3.0",
|
|
36
|
+
"commit": "7a448cc7f8fb71994fae0a68ae0f267d58fb5f4f"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"answers": [
|
|
44
|
+
{
|
|
45
|
+
"url": "https://example.test/a",
|
|
46
|
+
"commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc",
|
|
47
|
+
"path": null,
|
|
48
|
+
"files": {
|
|
49
|
+
"mars.toml": "[package]\nschema = 1\nname = \"a\"\nversion = \"1.0.0\"\n\n[dependencies.b]\nurl = \"https://example.test/b\"\nversion = \"^1\"\n",
|
|
50
|
+
"skills/a-skill/SKILL.md": "---\nname: a-skill\ndescription: a 1.0.0\n---\nbody a 1.0.0\n"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"url": "https://example.test/c",
|
|
55
|
+
"commit": "7a448cc7f8fb71994fae0a68ae0f267d58fb5f4f",
|
|
56
|
+
"path": null,
|
|
57
|
+
"files": {
|
|
58
|
+
"mars.toml": "[package]\nschema = 1\nname = \"c\"\nversion = \"0.3.0\"\n\n",
|
|
59
|
+
"skills/c-skill/SKILL.md": "---\nname: c-skill\ndescription: c 0.3.0\n---\nbody c 0.3.0\n"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"answers": [
|
|
66
|
+
{
|
|
67
|
+
"need": {
|
|
68
|
+
"kind": "tags",
|
|
69
|
+
"url": "https://example.test/b"
|
|
70
|
+
},
|
|
71
|
+
"tags": [
|
|
72
|
+
{
|
|
73
|
+
"tag": "v1.0.0",
|
|
74
|
+
"commit": "c48ba15919af8b17fa5825731959a1f6d53320d9"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"tag": "v1.2.0",
|
|
78
|
+
"commit": "122f1c221f26276a0b5d30539f69f67656b7f6e5"
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"answers": [
|
|
86
|
+
{
|
|
87
|
+
"url": "https://example.test/b",
|
|
88
|
+
"commit": "122f1c221f26276a0b5d30539f69f67656b7f6e5",
|
|
89
|
+
"path": null,
|
|
90
|
+
"files": {
|
|
91
|
+
"mars.toml": "[package]\nschema = 1\nname = \"b\"\nversion = \"1.2.0\"\n\n",
|
|
92
|
+
"skills/b-skill/SKILL.md": "---\nname: b-skill\ndescription: b 1.2.0\n---\nbody b 1.2.0\n"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"needs": [
|
|
4
|
+
{
|
|
5
|
+
"kind": "tags",
|
|
6
|
+
"url": "https://example.test/a"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"kind": "tags",
|
|
10
|
+
"url": "https://example.test/c"
|
|
11
|
+
}
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"needs": [
|
|
16
|
+
{
|
|
17
|
+
"kind": "tree",
|
|
18
|
+
"url": "https://example.test/a",
|
|
19
|
+
"commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc",
|
|
20
|
+
"path": null
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"kind": "tree",
|
|
24
|
+
"url": "https://example.test/c",
|
|
25
|
+
"commit": "43ed37988661bc39cefe262572d1eba61dc4ad88",
|
|
26
|
+
"path": null
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"needs": [
|
|
32
|
+
{
|
|
33
|
+
"kind": "tree",
|
|
34
|
+
"url": "https://example.test/c",
|
|
35
|
+
"commit": "3788b5d98379f3c96a765facb583a37813871401",
|
|
36
|
+
"path": null
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"failed": {
|
|
42
|
+
"kind": "conflict",
|
|
43
|
+
"name": "c",
|
|
44
|
+
"requesters": [
|
|
45
|
+
{
|
|
46
|
+
"by": "a",
|
|
47
|
+
"constraint": "^1"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"by": "root",
|
|
51
|
+
"constraint": "^2"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"message": "version conflict for `c`: no version satisfies all constraints:\n `a` requires ^1\n `mars.toml` requires ^2\navailable versions: [1.0.0, 2.0.0]"
|
|
55
|
+
},
|
|
56
|
+
"diagnostics": []
|
|
57
|
+
}
|
|
58
|
+
]
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"input": {
|
|
3
|
+
"root": {
|
|
4
|
+
"manifest": "[dependencies.a]\nurl = \"https://example.test/a\"\nversion = \"^1\"\n\n[dependencies.c]\nurl = \"https://example.test/c\"\nversion = \"^2\"\n"
|
|
5
|
+
},
|
|
6
|
+
"engine": {
|
|
7
|
+
"mars": "0.35.0"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"steps": [
|
|
11
|
+
{
|
|
12
|
+
"answers": []
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"answers": [
|
|
16
|
+
{
|
|
17
|
+
"need": {
|
|
18
|
+
"kind": "tags",
|
|
19
|
+
"url": "https://example.test/a"
|
|
20
|
+
},
|
|
21
|
+
"tags": [
|
|
22
|
+
{
|
|
23
|
+
"tag": "v1.0.0",
|
|
24
|
+
"commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"need": {
|
|
30
|
+
"kind": "tags",
|
|
31
|
+
"url": "https://example.test/c"
|
|
32
|
+
},
|
|
33
|
+
"tags": [
|
|
34
|
+
{
|
|
35
|
+
"tag": "v1.0.0",
|
|
36
|
+
"commit": "3788b5d98379f3c96a765facb583a37813871401"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"tag": "v2.0.0",
|
|
40
|
+
"commit": "43ed37988661bc39cefe262572d1eba61dc4ad88"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"answers": [
|
|
48
|
+
{
|
|
49
|
+
"url": "https://example.test/a",
|
|
50
|
+
"commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc",
|
|
51
|
+
"path": null,
|
|
52
|
+
"files": {
|
|
53
|
+
"mars.toml": "[package]\nschema = 1\nname = \"a\"\nversion = \"1.0.0\"\n\n[dependencies.c]\nurl = \"https://example.test/c\"\nversion = \"^1\"\n",
|
|
54
|
+
"skills/a-skill/SKILL.md": "---\nname: a-skill\ndescription: a 1.0.0\n---\nbody a 1.0.0\n"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"url": "https://example.test/c",
|
|
59
|
+
"commit": "43ed37988661bc39cefe262572d1eba61dc4ad88",
|
|
60
|
+
"path": null,
|
|
61
|
+
"files": {
|
|
62
|
+
"mars.toml": "[package]\nschema = 1\nname = \"c\"\nversion = \"2.0.0\"\n\n",
|
|
63
|
+
"skills/c-skill/SKILL.md": "---\nname: c-skill\ndescription: c 2.0.0\n---\nbody c 2.0.0\n"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"answers": [
|
|
70
|
+
{
|
|
71
|
+
"url": "https://example.test/c",
|
|
72
|
+
"commit": "3788b5d98379f3c96a765facb583a37813871401",
|
|
73
|
+
"path": null,
|
|
74
|
+
"files": {
|
|
75
|
+
"mars.toml": "[package]\nschema = 1\nname = \"c\"\nversion = \"1.0.0\"\n\n",
|
|
76
|
+
"skills/c-skill/SKILL.md": "---\nname: c-skill\ndescription: c 1.0.0\n---\nbody c 1.0.0\n"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"needs": [
|
|
4
|
+
{
|
|
5
|
+
"kind": "tags",
|
|
6
|
+
"url": "https://example.test/a"
|
|
7
|
+
}
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"needs": [
|
|
12
|
+
{
|
|
13
|
+
"kind": "tree",
|
|
14
|
+
"url": "https://example.test/a",
|
|
15
|
+
"commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc",
|
|
16
|
+
"path": null
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"needs": [
|
|
22
|
+
{
|
|
23
|
+
"kind": "tags",
|
|
24
|
+
"url": "https://example.test/b"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"needs": [
|
|
30
|
+
{
|
|
31
|
+
"kind": "tree",
|
|
32
|
+
"url": "https://example.test/b",
|
|
33
|
+
"commit": "c48ba15919af8b17fa5825731959a1f6d53320d9",
|
|
34
|
+
"path": null
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"resolved": {
|
|
40
|
+
"lock": {
|
|
41
|
+
"a": {
|
|
42
|
+
"url": "example.test/a",
|
|
43
|
+
"version": "v1.0.0",
|
|
44
|
+
"commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc"
|
|
45
|
+
},
|
|
46
|
+
"b": {
|
|
47
|
+
"url": "example.test/b",
|
|
48
|
+
"version": "v1.0.0",
|
|
49
|
+
"commit": "c48ba15919af8b17fa5825731959a1f6d53320d9"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"a": {
|
|
54
|
+
"url": "example.test/a",
|
|
55
|
+
"commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc",
|
|
56
|
+
"subpath": null,
|
|
57
|
+
"version": "v1.0.0",
|
|
58
|
+
"required_by": [
|
|
59
|
+
{
|
|
60
|
+
"by": "root",
|
|
61
|
+
"constraint": "^1"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"by": "b",
|
|
65
|
+
"constraint": "^1"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"b": {
|
|
70
|
+
"url": "example.test/b",
|
|
71
|
+
"commit": "c48ba15919af8b17fa5825731959a1f6d53320d9",
|
|
72
|
+
"subpath": null,
|
|
73
|
+
"version": "v1.0.0",
|
|
74
|
+
"required_by": [
|
|
75
|
+
{
|
|
76
|
+
"by": "a",
|
|
77
|
+
"constraint": "^1"
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"diagnostics": []
|
|
84
|
+
}
|
|
85
|
+
]
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"input": {
|
|
3
|
+
"root": {
|
|
4
|
+
"manifest": "[dependencies.a]\nurl = \"https://example.test/a\"\nversion = \"^1\"\n"
|
|
5
|
+
},
|
|
6
|
+
"engine": {
|
|
7
|
+
"mars": "0.35.0"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"steps": [
|
|
11
|
+
{
|
|
12
|
+
"answers": []
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"answers": [
|
|
16
|
+
{
|
|
17
|
+
"need": {
|
|
18
|
+
"kind": "tags",
|
|
19
|
+
"url": "https://example.test/a"
|
|
20
|
+
},
|
|
21
|
+
"tags": [
|
|
22
|
+
{
|
|
23
|
+
"tag": "v1.0.0",
|
|
24
|
+
"commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"answers": [
|
|
32
|
+
{
|
|
33
|
+
"url": "https://example.test/a",
|
|
34
|
+
"commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc",
|
|
35
|
+
"path": null,
|
|
36
|
+
"files": {
|
|
37
|
+
"mars.toml": "[package]\nschema = 1\nname = \"a\"\nversion = \"1.0.0\"\n\n[dependencies.b]\nurl = \"https://example.test/b\"\nversion = \"^1\"\n",
|
|
38
|
+
"skills/a-skill/SKILL.md": "---\nname: a-skill\ndescription: a 1.0.0\n---\nbody a 1.0.0\n"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"answers": [
|
|
45
|
+
{
|
|
46
|
+
"need": {
|
|
47
|
+
"kind": "tags",
|
|
48
|
+
"url": "https://example.test/b"
|
|
49
|
+
},
|
|
50
|
+
"tags": [
|
|
51
|
+
{
|
|
52
|
+
"tag": "v1.0.0",
|
|
53
|
+
"commit": "c48ba15919af8b17fa5825731959a1f6d53320d9"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"answers": [
|
|
61
|
+
{
|
|
62
|
+
"url": "https://example.test/b",
|
|
63
|
+
"commit": "c48ba15919af8b17fa5825731959a1f6d53320d9",
|
|
64
|
+
"path": null,
|
|
65
|
+
"files": {
|
|
66
|
+
"mars.toml": "[package]\nschema = 1\nname = \"b\"\nversion = \"1.0.0\"\n\n[dependencies.a]\nurl = \"https://example.test/a\"\nversion = \"^1\"\n",
|
|
67
|
+
"skills/b-skill/SKILL.md": "---\nname: b-skill\ndescription: b 1.0.0\n---\nbody b 1.0.0\n"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"needs": [
|
|
4
|
+
{
|
|
5
|
+
"kind": "tags",
|
|
6
|
+
"url": "https://example.test/d"
|
|
7
|
+
}
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"needs": [
|
|
12
|
+
{
|
|
13
|
+
"kind": "tree",
|
|
14
|
+
"url": "https://example.test/d",
|
|
15
|
+
"commit": "b4c65879274e9e10e508addf96a3215f6d975cae",
|
|
16
|
+
"path": null
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"needs": [
|
|
22
|
+
{
|
|
23
|
+
"kind": "tree",
|
|
24
|
+
"url": "https://example.test/d",
|
|
25
|
+
"commit": "67b3db14b3ae3ebd79b48b719e62bb4230a85386",
|
|
26
|
+
"path": null
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"resolved": {
|
|
32
|
+
"lock": {
|
|
33
|
+
"d": {
|
|
34
|
+
"url": "example.test/d",
|
|
35
|
+
"version": "v1.0.0",
|
|
36
|
+
"commit": "67b3db14b3ae3ebd79b48b719e62bb4230a85386"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"d": {
|
|
41
|
+
"url": "example.test/d",
|
|
42
|
+
"commit": "67b3db14b3ae3ebd79b48b719e62bb4230a85386",
|
|
43
|
+
"subpath": null,
|
|
44
|
+
"version": "v1.0.0",
|
|
45
|
+
"required_by": [
|
|
46
|
+
{
|
|
47
|
+
"by": "root",
|
|
48
|
+
"constraint": null
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"diagnostics": [
|
|
55
|
+
{
|
|
56
|
+
"level": "advisory",
|
|
57
|
+
"code": "requires-mars-fallback",
|
|
58
|
+
"message": "skipping `d` 2.0.0: requires-mars `>=99.0.0` (running {version}; use a mars version matching `>=99.0.0`); required by mars.toml"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
]
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"input": {
|
|
3
|
+
"root": {
|
|
4
|
+
"manifest": "[dependencies.d]\nurl = \"https://example.test/d\"\n"
|
|
5
|
+
},
|
|
6
|
+
"engine": {
|
|
7
|
+
"mars": "0.35.0"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"steps": [
|
|
11
|
+
{
|
|
12
|
+
"answers": []
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"answers": [
|
|
16
|
+
{
|
|
17
|
+
"need": {
|
|
18
|
+
"kind": "tags",
|
|
19
|
+
"url": "https://example.test/d"
|
|
20
|
+
},
|
|
21
|
+
"tags": [
|
|
22
|
+
{
|
|
23
|
+
"tag": "v1.0.0",
|
|
24
|
+
"commit": "67b3db14b3ae3ebd79b48b719e62bb4230a85386"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"tag": "v2.0.0",
|
|
28
|
+
"commit": "b4c65879274e9e10e508addf96a3215f6d975cae"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"answers": [
|
|
36
|
+
{
|
|
37
|
+
"url": "https://example.test/d",
|
|
38
|
+
"commit": "b4c65879274e9e10e508addf96a3215f6d975cae",
|
|
39
|
+
"path": null,
|
|
40
|
+
"files": {
|
|
41
|
+
"mars.toml": "[package]\nschema = 1\nname = \"d\"\nversion = \"2.0.0\"\nrequires-mars = \">=99.0.0\"\n",
|
|
42
|
+
"skills/d-skill/SKILL.md": "---\nname: d-skill\ndescription: d 2.0.0\n---\nbody d 2.0.0\n"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"answers": [
|
|
49
|
+
{
|
|
50
|
+
"url": "https://example.test/d",
|
|
51
|
+
"commit": "67b3db14b3ae3ebd79b48b719e62bb4230a85386",
|
|
52
|
+
"path": null,
|
|
53
|
+
"files": {
|
|
54
|
+
"mars.toml": "[package]\nschema = 1\nname = \"d\"\nversion = \"1.0.0\"\n\n",
|
|
55
|
+
"skills/d-skill/SKILL.md": "---\nname: d-skill\ndescription: d 1.0.0\n---\nbody d 1.0.0\n"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"needs": [
|
|
4
|
+
{
|
|
5
|
+
"kind": "tree",
|
|
6
|
+
"url": "https://example.test/a",
|
|
7
|
+
"commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc",
|
|
8
|
+
"path": null
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"kind": "tree",
|
|
12
|
+
"url": "https://example.test/b",
|
|
13
|
+
"commit": "c48ba15919af8b17fa5825731959a1f6d53320d9",
|
|
14
|
+
"path": null
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"resolved": {
|
|
20
|
+
"lock": {
|
|
21
|
+
"a": {
|
|
22
|
+
"url": "example.test/a",
|
|
23
|
+
"version": "v1.0.0",
|
|
24
|
+
"commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc"
|
|
25
|
+
},
|
|
26
|
+
"b": {
|
|
27
|
+
"url": "example.test/b",
|
|
28
|
+
"version": "v1.0.0",
|
|
29
|
+
"commit": "c48ba15919af8b17fa5825731959a1f6d53320d9"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"a": {
|
|
34
|
+
"url": "example.test/a",
|
|
35
|
+
"commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc",
|
|
36
|
+
"subpath": null,
|
|
37
|
+
"version": "v1.0.0",
|
|
38
|
+
"required_by": [
|
|
39
|
+
{
|
|
40
|
+
"by": "root",
|
|
41
|
+
"constraint": "^1"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"b": {
|
|
46
|
+
"url": "example.test/b",
|
|
47
|
+
"commit": "c48ba15919af8b17fa5825731959a1f6d53320d9",
|
|
48
|
+
"subpath": null,
|
|
49
|
+
"version": "v1.0.0",
|
|
50
|
+
"required_by": [
|
|
51
|
+
{
|
|
52
|
+
"by": "root",
|
|
53
|
+
"constraint": "^1"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"diagnostics": []
|
|
60
|
+
}
|
|
61
|
+
]
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"input": {
|
|
3
|
+
"root": {
|
|
4
|
+
"manifest": "[dependencies.a]\nurl = \"https://example.test/a\"\nversion = \"^1\"\n\n[dependencies.b]\nurl = \"https://example.test/b\"\nversion = \"^1\"\n"
|
|
5
|
+
},
|
|
6
|
+
"locked": {
|
|
7
|
+
"a": {
|
|
8
|
+
"url": "https://example.test/a",
|
|
9
|
+
"version": "v1.0.0",
|
|
10
|
+
"commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc"
|
|
11
|
+
},
|
|
12
|
+
"b": {
|
|
13
|
+
"url": "https://example.test/b",
|
|
14
|
+
"version": "v1.0.0",
|
|
15
|
+
"commit": "c48ba15919af8b17fa5825731959a1f6d53320d9"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"engine": {
|
|
19
|
+
"mars": "0.35.0"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"steps": [
|
|
23
|
+
{
|
|
24
|
+
"answers": []
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"answers": [
|
|
28
|
+
{
|
|
29
|
+
"url": "https://example.test/a",
|
|
30
|
+
"commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc",
|
|
31
|
+
"path": null,
|
|
32
|
+
"files": {
|
|
33
|
+
"mars.toml": "[package]\nschema = 1\nname = \"a\"\nversion = \"1.0.0\"\n\n",
|
|
34
|
+
"skills/a-skill/SKILL.md": "---\nname: a-skill\ndescription: a 1.0.0\n---\nbody a 1.0.0\n"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"url": "https://example.test/b",
|
|
39
|
+
"commit": "c48ba15919af8b17fa5825731959a1f6d53320d9",
|
|
40
|
+
"path": null,
|
|
41
|
+
"files": {
|
|
42
|
+
"mars.toml": "[package]\nschema = 1\nname = \"b\"\nversion = \"1.0.0\"\n\n",
|
|
43
|
+
"skills/b-skill/SKILL.md": "---\nname: b-skill\ndescription: b 1.0.0\n---\nbody b 1.0.0\n"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"needs": [
|
|
4
|
+
{
|
|
5
|
+
"kind": "tree",
|
|
6
|
+
"url": "https://example.test/mono",
|
|
7
|
+
"commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c",
|
|
8
|
+
"path": "packages/x"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"resolved": {
|
|
14
|
+
"lock": {
|
|
15
|
+
"x": {
|
|
16
|
+
"url": "example.test/mono",
|
|
17
|
+
"subpath": "packages/x",
|
|
18
|
+
"version": "v1.0.0",
|
|
19
|
+
"commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"x": {
|
|
24
|
+
"url": "example.test/mono",
|
|
25
|
+
"commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c",
|
|
26
|
+
"subpath": "packages/x",
|
|
27
|
+
"version": "v1.0.0",
|
|
28
|
+
"required_by": [
|
|
29
|
+
{
|
|
30
|
+
"by": "root",
|
|
31
|
+
"constraint": "^1"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"diagnostics": []
|
|
38
|
+
}
|
|
39
|
+
]
|