@meridian-flow/mars-schema 0.34.5 → 0.35.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.
Files changed (142) hide show
  1. package/README.md +48 -1
  2. package/fixtures/alias/exclude-glob/expected.json +1 -0
  3. package/fixtures/alias/exclude-glob/request.json +22 -0
  4. package/fixtures/alias/latest-ids-are-skipped/expected.json +1 -0
  5. package/fixtures/alias/latest-ids-are-skipped/request.json +19 -0
  6. package/fixtures/alias/meta-llama-matches-meta/expected.json +1 -0
  7. package/fixtures/alias/meta-llama-matches-meta/request.json +20 -0
  8. package/fixtures/alias/meta-matches-meta-llama/expected.json +1 -0
  9. package/fixtures/alias/meta-matches-meta-llama/request.json +15 -0
  10. package/fixtures/alias/mistral-matches-mistralai/expected.json +1 -0
  11. package/fixtures/alias/mistral-matches-mistralai/request.json +15 -0
  12. package/fixtures/alias/mistralai-matches-mistral/expected.json +1 -0
  13. package/fixtures/alias/mistralai-matches-mistral/request.json +20 -0
  14. package/fixtures/alias/newest-release-wins/expected.json +1 -0
  15. package/fixtures/alias/newest-release-wins/request.json +24 -0
  16. package/fixtures/alias/no-match-is-null/expected.json +1 -0
  17. package/fixtures/alias/no-match-is-null/request.json +14 -0
  18. package/fixtures/alias/provider-key-case-insensitive/expected.json +1 -0
  19. package/fixtures/alias/provider-key-case-insensitive/request.json +20 -0
  20. package/fixtures/alias/row-without-a-date-sorts-last/expected.json +1 -0
  21. package/fixtures/alias/row-without-a-date-sorts-last/request.json +18 -0
  22. package/fixtures/alias/shorter-id-then-alphabetical/expected.json +1 -0
  23. package/fixtures/alias/shorter-id-then-alphabetical/request.json +24 -0
  24. package/fixtures/check/claude-execution-fields-ignored/expected.json +1 -1
  25. package/fixtures/check/claude-policy-override-dropped/expected.json +1 -1
  26. package/fixtures/effort/auto-sends-nothing/expected.json +4 -0
  27. package/fixtures/effort/auto-sends-nothing/request.json +16 -0
  28. package/fixtures/effort/flow-has-no-minimal/expected.json +8 -0
  29. package/fixtures/effort/flow-has-no-minimal/request.json +17 -0
  30. package/fixtures/effort/flow-has-no-xhigh-tie-goes-up/expected.json +8 -0
  31. package/fixtures/effort/flow-has-no-xhigh-tie-goes-up/request.json +19 -0
  32. package/fixtures/effort/flow-keeps-none-and-max/expected.json +4 -0
  33. package/fixtures/effort/flow-keeps-none-and-max/request.json +19 -0
  34. package/fixtures/effort/flow-none-on-model-with-no-control/expected.json +8 -0
  35. package/fixtures/effort/flow-none-on-model-with-no-control/request.json +7 -0
  36. package/fixtures/effort/level-below-the-model-range-moves-up/expected.json +8 -0
  37. package/fixtures/effort/level-below-the-model-range-moves-up/request.json +17 -0
  38. package/fixtures/effort/minimal-never-lands-on-none/expected.json +8 -0
  39. package/fixtures/effort/minimal-never-lands-on-none/request.json +19 -0
  40. package/fixtures/effort/mixed-case-request/expected.json +4 -0
  41. package/fixtures/effort/mixed-case-request/request.json +17 -0
  42. package/fixtures/effort/model-that-does-not-reason/expected.json +8 -0
  43. package/fixtures/effort/model-that-does-not-reason/request.json +7 -0
  44. package/fixtures/effort/model-that-does-not-reason-none/expected.json +4 -0
  45. package/fixtures/effort/model-that-does-not-reason-none/request.json +7 -0
  46. package/fixtures/effort/nearest-is-above-when-closer/expected.json +8 -0
  47. package/fixtures/effort/nearest-is-above-when-closer/request.json +16 -0
  48. package/fixtures/effort/no-common-level/expected.json +8 -0
  49. package/fixtures/effort/no-common-level/request.json +15 -0
  50. package/fixtures/effort/none-on-budget-only-model-claude/expected.json +8 -0
  51. package/fixtures/effort/none-on-budget-only-model-claude/request.json +13 -0
  52. package/fixtures/effort/none-on-budget-only-model-pi/expected.json +8 -0
  53. package/fixtures/effort/none-on-budget-only-model-pi/request.json +13 -0
  54. package/fixtures/effort/none-on-claude-has-no-off/expected.json +8 -0
  55. package/fixtures/effort/none-on-claude-has-no-off/request.json +17 -0
  56. package/fixtures/effort/none-on-model-listing-none/expected.json +4 -0
  57. package/fixtures/effort/none-on-model-listing-none/request.json +17 -0
  58. package/fixtures/effort/none-on-model-with-no-control-codex/expected.json +8 -0
  59. package/fixtures/effort/none-on-model-with-no-control-codex/request.json +7 -0
  60. package/fixtures/effort/none-on-model-with-no-control-pi/expected.json +8 -0
  61. package/fixtures/effort/none-on-model-with-no-control-pi/request.json +7 -0
  62. package/fixtures/effort/none-on-toggle-only-model-pi/expected.json +4 -0
  63. package/fixtures/effort/none-on-toggle-only-model-pi/request.json +12 -0
  64. package/fixtures/effort/null-sends-nothing/expected.json +4 -0
  65. package/fixtures/effort/null-sends-nothing/request.json +16 -0
  66. package/fixtures/effort/o3-max-on-codex/expected.json +8 -0
  67. package/fixtures/effort/o3-max-on-codex/request.json +17 -0
  68. package/fixtures/effort/opencode-takes-the-models-levels/expected.json +8 -0
  69. package/fixtures/effort/opencode-takes-the-models-levels/request.json +19 -0
  70. package/fixtures/effort/unknown-model-none-claude/expected.json +8 -0
  71. package/fixtures/effort/unknown-model-none-claude/request.json +5 -0
  72. package/fixtures/effort/unknown-model-none-flow/expected.json +4 -0
  73. package/fixtures/effort/unknown-model-none-flow/request.json +5 -0
  74. package/fixtures/effort/unknown-model-pi/expected.json +4 -0
  75. package/fixtures/effort/unknown-model-pi/request.json +5 -0
  76. package/fixtures/effort/xhigh-on-toggle-only-model/expected.json +4 -0
  77. package/fixtures/effort/xhigh-on-toggle-only-model/request.json +12 -0
  78. package/fixtures/effort-levels/expected.json +9 -0
  79. package/fixtures/prepare/claude-reserved-keys/expected.json +1 -1
  80. package/fixtures/read/agent-model-policy-index/expected.json +1 -1
  81. package/fixtures/resolve/bounds-bytes/expected.json +29 -0
  82. package/fixtures/resolve/bounds-bytes/steps.json +47 -0
  83. package/fixtures/resolve/bounds-packages/expected.json +47 -0
  84. package/fixtures/resolve/bounds-packages/steps.json +76 -0
  85. package/fixtures/resolve/chain/expected.json +108 -0
  86. package/fixtures/resolve/chain/steps.json +98 -0
  87. package/fixtures/resolve/conflict/expected.json +58 -0
  88. package/fixtures/resolve/conflict/steps.json +82 -0
  89. package/fixtures/resolve/cycle/expected.json +85 -0
  90. package/fixtures/resolve/cycle/steps.json +73 -0
  91. package/fixtures/resolve/engine-skip/expected.json +62 -0
  92. package/fixtures/resolve/engine-skip/steps.json +61 -0
  93. package/fixtures/resolve/lock-kept/expected.json +61 -0
  94. package/fixtures/resolve/lock-kept/steps.json +49 -0
  95. package/fixtures/resolve/lock-subpath/expected.json +39 -0
  96. package/fixtures/resolve/lock-subpath/steps.json +52 -0
  97. package/fixtures/resolve/lock-tag-object/expected.json +38 -0
  98. package/fixtures/resolve/lock-tag-object/steps.json +35 -0
  99. package/fixtures/resolve/locked-commit-failed/expected.json +26 -0
  100. package/fixtures/resolve/locked-commit-failed/steps.json +35 -0
  101. package/fixtures/resolve/locked-commit-missing/expected.json +62 -0
  102. package/fixtures/resolve/locked-commit-missing/steps.json +64 -0
  103. package/fixtures/resolve/locked-commit-missing-latest/expected.json +60 -0
  104. package/fixtures/resolve/locked-commit-missing-latest/steps.json +64 -0
  105. package/fixtures/resolve/marketplace-local/expected.json +57 -0
  106. package/fixtures/resolve/marketplace-local/steps.json +45 -0
  107. package/fixtures/resolve/marketplace-remote/expected.json +75 -0
  108. package/fixtures/resolve/marketplace-remote/steps.json +68 -0
  109. package/fixtures/resolve/path-refused-fetched/expected.json +29 -0
  110. package/fixtures/resolve/path-refused-fetched/steps.json +44 -0
  111. package/fixtures/resolve/path-refused-root/expected.json +11 -0
  112. package/fixtures/resolve/path-refused-root/steps.json +15 -0
  113. package/fixtures/resolve/refresh-all/expected.json +73 -0
  114. package/fixtures/resolve/refresh-all/steps.json +86 -0
  115. package/fixtures/resolve/refresh-one/expected.json +69 -0
  116. package/fixtures/resolve/refresh-one/steps.json +72 -0
  117. package/fixtures/resolve/sibling-subpaths/expected.json +71 -0
  118. package/fixtures/resolve/sibling-subpaths/steps.json +53 -0
  119. package/fixtures/resolve/sibling-subpaths-whole/expected.json +71 -0
  120. package/fixtures/resolve/sibling-subpaths-whole/steps.json +57 -0
  121. package/fixtures/resolve/subpath-missing/expected.json +30 -0
  122. package/fixtures/resolve/subpath-missing/steps.json +44 -0
  123. package/fixtures/resolve/tree-broad-failed-then-subtree-found/expected.json +47 -0
  124. package/fixtures/resolve/tree-broad-failed-then-subtree-found/steps.json +53 -0
  125. package/fixtures/resolve/tree-later-answer-wins-failed/expected.json +34 -0
  126. package/fixtures/resolve/tree-later-answer-wins-failed/steps.json +53 -0
  127. package/fixtures/resolve/tree-later-answer-wins-found/expected.json +46 -0
  128. package/fixtures/resolve/tree-later-answer-wins-found/steps.json +53 -0
  129. package/fixtures/resolve/tree-subtree-found-then-broad-failed/expected.json +47 -0
  130. package/fixtures/resolve/tree-subtree-found-then-broad-failed/steps.json +53 -0
  131. package/fixtures/resolve/unavailable-missing/expected.json +34 -0
  132. package/fixtures/resolve/unavailable-missing/steps.json +44 -0
  133. package/index.d.ts +193 -3
  134. package/node/mars_schema_wasm.d.ts +30 -0
  135. package/node/mars_schema_wasm.js +104 -0
  136. package/node/mars_schema_wasm_bg.wasm +0 -0
  137. package/node/mars_schema_wasm_bg.wasm.d.ts +4 -0
  138. package/package.json +1 -1
  139. package/web/mars_schema_wasm.d.ts +34 -0
  140. package/web/mars_schema_wasm.js +100 -0
  141. package/web/mars_schema_wasm_bg.wasm +0 -0
  142. package/web/mars_schema_wasm_bg.wasm.d.ts +4 -0
@@ -0,0 +1,52 @@
1
+ {
2
+ "input": {
3
+ "root": {
4
+ "manifest": "[dependencies.x]\nurl = \"https://example.test/mono\"\nversion = \"^1\"\nsubpath = \"packages/x\"\n"
5
+ },
6
+ "engine": {
7
+ "mars": "0.35.0"
8
+ },
9
+ "locked": {
10
+ "x": {
11
+ "url": "example.test/mono",
12
+ "subpath": "packages/x",
13
+ "version": "v1.0.0",
14
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c"
15
+ }
16
+ }
17
+ },
18
+ "steps": [
19
+ {
20
+ "answers": []
21
+ },
22
+ {
23
+ "answers": [
24
+ {
25
+ "url": "https://example.test/mono",
26
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c",
27
+ "path": "packages/x",
28
+ "files": {
29
+ "packages/x/mars.toml": "[package]\nschema = 1\nname = \"x\"\nversion = \"1.0.0\"\n\n",
30
+ "packages/x/skills/x-skill/SKILL.md": "---\nname: x-skill\ndescription: x 1.0.0\n---\nbody x 1.0.0\n"
31
+ }
32
+ },
33
+ {
34
+ "need": {
35
+ "kind": "tags",
36
+ "url": "https://example.test/mono"
37
+ },
38
+ "tags": [
39
+ {
40
+ "tag": "v1.0.0",
41
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c"
42
+ },
43
+ {
44
+ "tag": "v1.1.0",
45
+ "commit": "7e9f31d0bfa8c2e5d1b4aa90c3c6e8f2b1d05a44"
46
+ }
47
+ ]
48
+ }
49
+ ]
50
+ }
51
+ ]
52
+ }
@@ -0,0 +1,38 @@
1
+ [
2
+ {
3
+ "needs": [
4
+ {
5
+ "kind": "tree",
6
+ "url": "https://example.test/a",
7
+ "commit": "cdf8150ed6e545ef6c65ec61f63b8c40433b84d7",
8
+ "path": null
9
+ }
10
+ ]
11
+ },
12
+ {
13
+ "resolved": {
14
+ "lock": {
15
+ "a": {
16
+ "url": "example.test/a",
17
+ "version": "v1.0.0",
18
+ "commit": "cdf8150ed6e545ef6c65ec61f63b8c40433b84d7"
19
+ }
20
+ },
21
+ "dependencies": {
22
+ "a": {
23
+ "url": "example.test/a",
24
+ "commit": "cdf8150ed6e545ef6c65ec61f63b8c40433b84d7",
25
+ "subpath": null,
26
+ "version": "v1.0.0",
27
+ "required_by": [
28
+ {
29
+ "by": "root",
30
+ "constraint": "^1"
31
+ }
32
+ ]
33
+ }
34
+ }
35
+ },
36
+ "diagnostics": []
37
+ }
38
+ ]
@@ -0,0 +1,35 @@
1
+ {
2
+ "input": {
3
+ "root": {
4
+ "manifest": "[dependencies.a]\nurl = \"https://example.test/a\"\nversion = \"^1\"\n"
5
+ },
6
+ "locked": {
7
+ "a": {
8
+ "url": "https://example.test/a",
9
+ "version": "v1.0.0",
10
+ "commit": "cdf8150ed6e545ef6c65ec61f63b8c40433b84d7"
11
+ }
12
+ },
13
+ "engine": {
14
+ "mars": "0.35.0"
15
+ }
16
+ },
17
+ "steps": [
18
+ {
19
+ "answers": []
20
+ },
21
+ {
22
+ "answers": [
23
+ {
24
+ "url": "https://example.test/a",
25
+ "commit": "cdf8150ed6e545ef6c65ec61f63b8c40433b84d7",
26
+ "path": null,
27
+ "files": {
28
+ "mars.toml": "[package]\nschema = 1\nname = \"a\"\nversion = \"1.0.0\"\n\n",
29
+ "skills/a-skill/SKILL.md": "---\nname: a-skill\ndescription: a 1.0.0\n---\nbody a 1.0.0\n"
30
+ }
31
+ }
32
+ ]
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,26 @@
1
+ [
2
+ {
3
+ "needs": [
4
+ {
5
+ "kind": "tree",
6
+ "url": "https://example.test/a",
7
+ "commit": "a6dfdeaa3a44a4c52d44284847d7160892b4017e",
8
+ "path": null
9
+ }
10
+ ]
11
+ },
12
+ {
13
+ "failed": {
14
+ "kind": "unavailable",
15
+ "need": {
16
+ "kind": "tree",
17
+ "url": "https://example.test/a",
18
+ "commit": "a6dfdeaa3a44a4c52d44284847d7160892b4017e",
19
+ "path": null
20
+ },
21
+ "reason": "503 from the host",
22
+ "message": "a: files of https://example.test/a at a6dfdeaa3a44a4c52d44284847d7160892b4017e: 503 from the host"
23
+ },
24
+ "diagnostics": []
25
+ }
26
+ ]
@@ -0,0 +1,35 @@
1
+ {
2
+ "input": {
3
+ "root": {
4
+ "manifest": "[dependencies.a]\nurl = \"https://example.test/a\"\nversion = \"^1\"\n"
5
+ },
6
+ "locked": {
7
+ "a": {
8
+ "url": "https://example.test/a",
9
+ "version": "v1.0.0",
10
+ "commit": "a6dfdeaa3a44a4c52d44284847d7160892b4017e"
11
+ }
12
+ },
13
+ "engine": {
14
+ "mars": "0.35.0"
15
+ }
16
+ },
17
+ "steps": [
18
+ {
19
+ "answers": []
20
+ },
21
+ {
22
+ "answers": [
23
+ {
24
+ "need": {
25
+ "kind": "tree",
26
+ "url": "https://example.test/a",
27
+ "commit": "a6dfdeaa3a44a4c52d44284847d7160892b4017e",
28
+ "path": null
29
+ },
30
+ "failed": "503 from the host"
31
+ }
32
+ ]
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,62 @@
1
+ [
2
+ {
3
+ "needs": [
4
+ {
5
+ "kind": "tree",
6
+ "url": "https://example.test/a",
7
+ "commit": "a6dfdeaa3a44a4c52d44284847d7160892b4017e",
8
+ "path": null
9
+ }
10
+ ]
11
+ },
12
+ {
13
+ "needs": [
14
+ {
15
+ "kind": "tags",
16
+ "url": "https://example.test/a"
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "needs": [
22
+ {
23
+ "kind": "tree",
24
+ "url": "https://example.test/a",
25
+ "commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc",
26
+ "path": null
27
+ }
28
+ ]
29
+ },
30
+ {
31
+ "resolved": {
32
+ "lock": {
33
+ "a": {
34
+ "url": "example.test/a",
35
+ "version": "v1.0.0",
36
+ "commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc"
37
+ }
38
+ },
39
+ "dependencies": {
40
+ "a": {
41
+ "url": "example.test/a",
42
+ "commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc",
43
+ "subpath": null,
44
+ "version": "v1.0.0",
45
+ "required_by": [
46
+ {
47
+ "by": "root",
48
+ "constraint": "^1"
49
+ }
50
+ ]
51
+ }
52
+ }
53
+ },
54
+ "diagnostics": [
55
+ {
56
+ "level": "warning",
57
+ "code": "locked-commit-unreachable",
58
+ "message": "locked commit a6dfdeaa3a44a4c52d44284847d7160892b4017e for https://example.test/a is unreachable; re-resolving from current tags"
59
+ }
60
+ ]
61
+ }
62
+ ]
@@ -0,0 +1,64 @@
1
+ {
2
+ "input": {
3
+ "root": {
4
+ "manifest": "[dependencies.a]\nurl = \"https://example.test/a\"\nversion = \"^1\"\n"
5
+ },
6
+ "locked": {
7
+ "a": {
8
+ "url": "https://example.test/a",
9
+ "version": "v1.0.0",
10
+ "commit": "a6dfdeaa3a44a4c52d44284847d7160892b4017e"
11
+ }
12
+ },
13
+ "engine": {
14
+ "mars": "0.35.0"
15
+ }
16
+ },
17
+ "steps": [
18
+ {
19
+ "answers": []
20
+ },
21
+ {
22
+ "answers": [
23
+ {
24
+ "need": {
25
+ "kind": "tree",
26
+ "url": "https://example.test/a",
27
+ "commit": "a6dfdeaa3a44a4c52d44284847d7160892b4017e",
28
+ "path": null
29
+ },
30
+ "missing": true
31
+ }
32
+ ]
33
+ },
34
+ {
35
+ "answers": [
36
+ {
37
+ "need": {
38
+ "kind": "tags",
39
+ "url": "https://example.test/a"
40
+ },
41
+ "tags": [
42
+ {
43
+ "tag": "v1.0.0",
44
+ "commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc"
45
+ }
46
+ ]
47
+ }
48
+ ]
49
+ },
50
+ {
51
+ "answers": [
52
+ {
53
+ "url": "https://example.test/a",
54
+ "commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc",
55
+ "path": null,
56
+ "files": {
57
+ "mars.toml": "[package]\nschema = 1\nname = \"a\"\nversion = \"1.0.0\"\n\n",
58
+ "skills/a-skill/SKILL.md": "---\nname: a-skill\ndescription: a 1.0.0\n---\nbody a 1.0.0\n"
59
+ }
60
+ }
61
+ ]
62
+ }
63
+ ]
64
+ }
@@ -0,0 +1,60 @@
1
+ [
2
+ {
3
+ "needs": [
4
+ {
5
+ "kind": "tags",
6
+ "url": "https://example.test/a"
7
+ }
8
+ ]
9
+ },
10
+ {
11
+ "needs": [
12
+ {
13
+ "kind": "tags",
14
+ "url": "https://example.test/a"
15
+ }
16
+ ]
17
+ },
18
+ {
19
+ "needs": [
20
+ {
21
+ "kind": "tree",
22
+ "url": "https://example.test/a",
23
+ "commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc",
24
+ "path": null
25
+ }
26
+ ]
27
+ },
28
+ {
29
+ "resolved": {
30
+ "lock": {
31
+ "a": {
32
+ "url": "example.test/a",
33
+ "version": "v1.0.0",
34
+ "commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc"
35
+ }
36
+ },
37
+ "dependencies": {
38
+ "a": {
39
+ "url": "example.test/a",
40
+ "commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc",
41
+ "subpath": null,
42
+ "version": "v1.0.0",
43
+ "required_by": [
44
+ {
45
+ "by": "root",
46
+ "constraint": null
47
+ }
48
+ ]
49
+ }
50
+ }
51
+ },
52
+ "diagnostics": [
53
+ {
54
+ "level": "warning",
55
+ "code": "locked-commit-unreachable",
56
+ "message": "locked commit a6dfdeaa3a44a4c52d44284847d7160892b4017e for https://example.test/a is unreachable; re-resolving from current tags"
57
+ }
58
+ ]
59
+ }
60
+ ]
@@ -0,0 +1,64 @@
1
+ {
2
+ "input": {
3
+ "root": {
4
+ "manifest": "[dependencies.a]\nurl = \"https://example.test/a\"\n"
5
+ },
6
+ "locked": {
7
+ "a": {
8
+ "url": "https://example.test/a",
9
+ "version": "v1.0.0",
10
+ "commit": "a6dfdeaa3a44a4c52d44284847d7160892b4017e"
11
+ }
12
+ },
13
+ "engine": {
14
+ "mars": "0.35.0"
15
+ }
16
+ },
17
+ "steps": [
18
+ {
19
+ "answers": []
20
+ },
21
+ {
22
+ "answers": [
23
+ {
24
+ "need": {
25
+ "kind": "tree",
26
+ "url": "https://example.test/a",
27
+ "commit": "a6dfdeaa3a44a4c52d44284847d7160892b4017e",
28
+ "path": null
29
+ },
30
+ "missing": true
31
+ }
32
+ ]
33
+ },
34
+ {
35
+ "answers": [
36
+ {
37
+ "need": {
38
+ "kind": "tags",
39
+ "url": "https://example.test/a"
40
+ },
41
+ "tags": [
42
+ {
43
+ "tag": "v1.0.0",
44
+ "commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc"
45
+ }
46
+ ]
47
+ }
48
+ ]
49
+ },
50
+ {
51
+ "answers": [
52
+ {
53
+ "url": "https://example.test/a",
54
+ "commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc",
55
+ "path": null,
56
+ "files": {
57
+ "mars.toml": "[package]\nschema = 1\nname = \"a\"\nversion = \"1.0.0\"\n\n",
58
+ "skills/a-skill/SKILL.md": "---\nname: a-skill\ndescription: a 1.0.0\n---\nbody a 1.0.0\n"
59
+ }
60
+ }
61
+ ]
62
+ }
63
+ ]
64
+ }
@@ -0,0 +1,57 @@
1
+ [
2
+ {
3
+ "needs": [
4
+ {
5
+ "kind": "tags",
6
+ "url": "https://example.test/mk"
7
+ }
8
+ ]
9
+ },
10
+ {
11
+ "needs": [
12
+ {
13
+ "kind": "tree",
14
+ "url": "https://example.test/mk",
15
+ "commit": "01f02fafc0a2ea63ca8b196d0e7388cb828d7dbe",
16
+ "path": null
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "resolved": {
22
+ "lock": {
23
+ "foo": {
24
+ "url": "example.test/mk",
25
+ "version": "v1.0.0",
26
+ "commit": "01f02fafc0a2ea63ca8b196d0e7388cb828d7dbe",
27
+ "plugin": "foo",
28
+ "content": {
29
+ "url": "example.test/mk",
30
+ "subpath": "plugins/foo",
31
+ "commit": "01f02fafc0a2ea63ca8b196d0e7388cb828d7dbe"
32
+ }
33
+ }
34
+ },
35
+ "dependencies": {
36
+ "foo": {
37
+ "url": "example.test/mk",
38
+ "commit": "01f02fafc0a2ea63ca8b196d0e7388cb828d7dbe",
39
+ "subpath": null,
40
+ "version": "v1.0.0",
41
+ "content": {
42
+ "url": "example.test/mk",
43
+ "subpath": "plugins/foo",
44
+ "commit": "01f02fafc0a2ea63ca8b196d0e7388cb828d7dbe"
45
+ },
46
+ "required_by": [
47
+ {
48
+ "by": "root",
49
+ "constraint": "^1"
50
+ }
51
+ ]
52
+ }
53
+ }
54
+ },
55
+ "diagnostics": []
56
+ }
57
+ ]
@@ -0,0 +1,45 @@
1
+ {
2
+ "input": {
3
+ "root": {
4
+ "manifest": "[dependencies.foo]\nurl = \"https://example.test/mk\"\nversion = \"^1\"\nplugin = \"foo\"\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/mk"
20
+ },
21
+ "tags": [
22
+ {
23
+ "tag": "v1.0.0",
24
+ "commit": "01f02fafc0a2ea63ca8b196d0e7388cb828d7dbe"
25
+ }
26
+ ]
27
+ }
28
+ ]
29
+ },
30
+ {
31
+ "answers": [
32
+ {
33
+ "url": "https://example.test/mk",
34
+ "commit": "01f02fafc0a2ea63ca8b196d0e7388cb828d7dbe",
35
+ "path": null,
36
+ "files": {
37
+ ".claude-plugin/marketplace.json": "{\"name\":\"mk\",\"owner\":{\"name\":\"o\"},\"plugins\":[{\"name\":\"foo\",\"source\":\"./plugins/foo\",\"description\":\"d\"}]}",
38
+ "plugins/foo/.claude-plugin/plugin.json": "{\"name\":\"foo\",\"version\":\"1.0.0\"}",
39
+ "plugins/foo/skills/foo-skill/SKILL.md": "---\nname: foo-skill\ndescription: foo\n---\nbody\n"
40
+ }
41
+ }
42
+ ]
43
+ }
44
+ ]
45
+ }
@@ -0,0 +1,75 @@
1
+ [
2
+ {
3
+ "needs": [
4
+ {
5
+ "kind": "tags",
6
+ "url": "https://example.test/mk"
7
+ }
8
+ ]
9
+ },
10
+ {
11
+ "needs": [
12
+ {
13
+ "kind": "tree",
14
+ "url": "https://example.test/mk",
15
+ "commit": "01f02fafc0a2ea63ca8b196d0e7388cb828d7dbe",
16
+ "path": null
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "needs": [
22
+ {
23
+ "kind": "ref",
24
+ "url": "https://example.test/pl",
25
+ "ref": "HEAD"
26
+ }
27
+ ]
28
+ },
29
+ {
30
+ "needs": [
31
+ {
32
+ "kind": "tree",
33
+ "url": "https://example.test/pl",
34
+ "commit": "8e3ba1fbef5e8f408a9df0a9e60268d153dc7319",
35
+ "path": null
36
+ }
37
+ ]
38
+ },
39
+ {
40
+ "resolved": {
41
+ "lock": {
42
+ "remote": {
43
+ "url": "example.test/mk",
44
+ "version": "v1.0.0",
45
+ "commit": "01f02fafc0a2ea63ca8b196d0e7388cb828d7dbe",
46
+ "plugin": "remote",
47
+ "content": {
48
+ "url": "example.test/pl",
49
+ "commit": "8e3ba1fbef5e8f408a9df0a9e60268d153dc7319"
50
+ }
51
+ }
52
+ },
53
+ "dependencies": {
54
+ "remote": {
55
+ "url": "example.test/mk",
56
+ "commit": "01f02fafc0a2ea63ca8b196d0e7388cb828d7dbe",
57
+ "subpath": null,
58
+ "version": "v1.0.0",
59
+ "content": {
60
+ "url": "example.test/pl",
61
+ "subpath": null,
62
+ "commit": "8e3ba1fbef5e8f408a9df0a9e60268d153dc7319"
63
+ },
64
+ "required_by": [
65
+ {
66
+ "by": "root",
67
+ "constraint": "^1"
68
+ }
69
+ ]
70
+ }
71
+ }
72
+ },
73
+ "diagnostics": []
74
+ }
75
+ ]
@@ -0,0 +1,68 @@
1
+ {
2
+ "input": {
3
+ "root": {
4
+ "manifest": "[dependencies.remote]\nurl = \"https://example.test/mk\"\nversion = \"^1\"\nplugin = \"remote\"\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/mk"
20
+ },
21
+ "tags": [
22
+ {
23
+ "tag": "v1.0.0",
24
+ "commit": "01f02fafc0a2ea63ca8b196d0e7388cb828d7dbe"
25
+ }
26
+ ]
27
+ }
28
+ ]
29
+ },
30
+ {
31
+ "answers": [
32
+ {
33
+ "url": "https://example.test/mk",
34
+ "commit": "01f02fafc0a2ea63ca8b196d0e7388cb828d7dbe",
35
+ "path": null,
36
+ "files": {
37
+ ".claude-plugin/marketplace.json": "{\"name\":\"mk\",\"owner\":{\"name\":\"o\"},\"plugins\":[{\"name\":\"remote\",\"source\":{\"source\":\"url\",\"url\":\"https://example.test/pl\"}}]}"
38
+ }
39
+ }
40
+ ]
41
+ },
42
+ {
43
+ "answers": [
44
+ {
45
+ "need": {
46
+ "kind": "ref",
47
+ "url": "https://example.test/pl",
48
+ "ref": "HEAD"
49
+ },
50
+ "commit": "8e3ba1fbef5e8f408a9df0a9e60268d153dc7319"
51
+ }
52
+ ]
53
+ },
54
+ {
55
+ "answers": [
56
+ {
57
+ "url": "https://example.test/pl",
58
+ "commit": "8e3ba1fbef5e8f408a9df0a9e60268d153dc7319",
59
+ "path": null,
60
+ "files": {
61
+ ".claude-plugin/plugin.json": "{\"name\":\"remote\",\"version\":\"1.0.0\"}",
62
+ "skills/remote-skill/SKILL.md": "---\nname: remote-skill\ndescription: remote\n---\nbody\n"
63
+ }
64
+ }
65
+ ]
66
+ }
67
+ ]
68
+ }