@meridian-flow/mars-schema 0.34.6-rc.1 → 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,15 @@
1
+ {
2
+ "requested": "high",
3
+ "model": {
4
+ "reasoning": true,
5
+ "reasoning_options": [
6
+ {
7
+ "type": "effort",
8
+ "values": [
9
+ "none"
10
+ ]
11
+ }
12
+ ]
13
+ },
14
+ "host": "claude"
15
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "level": "low",
3
+ "moved": {
4
+ "from": "none",
5
+ "to": "low",
6
+ "why": "model_levels"
7
+ }
8
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "requested": "none",
3
+ "model": {
4
+ "reasoning": true,
5
+ "reasoning_options": [
6
+ {
7
+ "type": "budget_tokens",
8
+ "min": 1024
9
+ }
10
+ ]
11
+ },
12
+ "host": "claude"
13
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "level": "minimal",
3
+ "moved": {
4
+ "from": "none",
5
+ "to": "minimal",
6
+ "why": "model_levels"
7
+ }
8
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "requested": "none",
3
+ "model": {
4
+ "reasoning": true,
5
+ "reasoning_options": [
6
+ {
7
+ "type": "budget_tokens",
8
+ "min": 1024
9
+ }
10
+ ]
11
+ },
12
+ "host": "pi"
13
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "level": "low",
3
+ "moved": {
4
+ "from": "none",
5
+ "to": "low",
6
+ "why": "harness_levels"
7
+ }
8
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "requested": "none",
3
+ "model": {
4
+ "reasoning": true,
5
+ "reasoning_options": [
6
+ {
7
+ "type": "effort",
8
+ "values": [
9
+ "none",
10
+ "low",
11
+ "high"
12
+ ]
13
+ }
14
+ ]
15
+ },
16
+ "host": "claude"
17
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "level": "none",
3
+ "moved": null
4
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "requested": "none",
3
+ "model": {
4
+ "reasoning": true,
5
+ "reasoning_options": [
6
+ {
7
+ "type": "effort",
8
+ "values": [
9
+ "none",
10
+ "low",
11
+ "high"
12
+ ]
13
+ }
14
+ ]
15
+ },
16
+ "host": "codex"
17
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "level": "minimal",
3
+ "moved": {
4
+ "from": "none",
5
+ "to": "minimal",
6
+ "why": "model_levels"
7
+ }
8
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "requested": "none",
3
+ "model": {
4
+ "reasoning": true
5
+ },
6
+ "host": "codex"
7
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "level": "minimal",
3
+ "moved": {
4
+ "from": "none",
5
+ "to": "minimal",
6
+ "why": "model_levels"
7
+ }
8
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "requested": "none",
3
+ "model": {
4
+ "reasoning": true
5
+ },
6
+ "host": "pi"
7
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "level": "none",
3
+ "moved": null
4
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "requested": "none",
3
+ "model": {
4
+ "reasoning": true,
5
+ "reasoning_options": [
6
+ {
7
+ "type": "toggle"
8
+ }
9
+ ]
10
+ },
11
+ "host": "pi"
12
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "level": null,
3
+ "moved": null
4
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "requested": null,
3
+ "model": {
4
+ "reasoning": true,
5
+ "reasoning_options": [
6
+ {
7
+ "type": "effort",
8
+ "values": [
9
+ "low",
10
+ "high"
11
+ ]
12
+ }
13
+ ]
14
+ },
15
+ "host": "claude"
16
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "level": "high",
3
+ "moved": {
4
+ "from": "max",
5
+ "to": "high",
6
+ "why": "model_levels"
7
+ }
8
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "requested": "max",
3
+ "model": {
4
+ "reasoning": true,
5
+ "reasoning_options": [
6
+ {
7
+ "type": "effort",
8
+ "values": [
9
+ "low",
10
+ "medium",
11
+ "high"
12
+ ]
13
+ }
14
+ ]
15
+ },
16
+ "host": "codex"
17
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "level": "xhigh",
3
+ "moved": {
4
+ "from": "max",
5
+ "to": "xhigh",
6
+ "why": "model_levels"
7
+ }
8
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "requested": "max",
3
+ "model": {
4
+ "reasoning": true,
5
+ "reasoning_options": [
6
+ {
7
+ "type": "effort",
8
+ "values": [
9
+ "none",
10
+ "low",
11
+ "medium",
12
+ "high",
13
+ "xhigh"
14
+ ]
15
+ }
16
+ ]
17
+ },
18
+ "host": "opencode"
19
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "level": "low",
3
+ "moved": {
4
+ "from": "none",
5
+ "to": "low",
6
+ "why": "harness_levels"
7
+ }
8
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "requested": "none",
3
+ "model": null,
4
+ "host": "claude"
5
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "level": "none",
3
+ "moved": null
4
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "requested": "none",
3
+ "model": null,
4
+ "host": "meridian-flow"
5
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "level": "xhigh",
3
+ "moved": null
4
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "requested": "xhigh",
3
+ "model": null,
4
+ "host": "pi"
5
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "level": "xhigh",
3
+ "moved": null
4
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "requested": "xhigh",
3
+ "model": {
4
+ "reasoning": true,
5
+ "reasoning_options": [
6
+ {
7
+ "type": "toggle"
8
+ }
9
+ ]
10
+ },
11
+ "host": "codex"
12
+ }
@@ -0,0 +1,9 @@
1
+ [
2
+ "none",
3
+ "minimal",
4
+ "low",
5
+ "medium",
6
+ "high",
7
+ "xhigh",
8
+ "max"
9
+ ]
@@ -150,7 +150,7 @@
150
150
  "path": [
151
151
  "effort"
152
152
  ],
153
- "message": "`effort` is not valid in schema v1 (agent field `effort` has invalid value `ultra`; allowed: none, low, medium, high, xhigh, max); it was dropped, because Mars lowers `effort` itself and an override would not carry it"
153
+ "message": "`effort` is not valid in schema v1 (agent field `effort` has invalid value `ultra`; allowed: auto, none, minimal, low, medium, high, xhigh, max); it was dropped, because Mars lowers `effort` itself and an override would not carry it"
154
154
  },
155
155
  {
156
156
  "code": "field.restriction-lost",
@@ -48,7 +48,7 @@
48
48
  "override",
49
49
  "effort"
50
50
  ],
51
- "message": "agent field `model-policies[0].override.effort` has invalid value `impossible`; allowed: none, low, medium, high, xhigh, max"
51
+ "message": "agent field `model-policies[0].override.effort` has invalid value `impossible`; allowed: auto, none, minimal, low, medium, high, xhigh, max"
52
52
  }
53
53
  ]
54
54
  }
@@ -0,0 +1,29 @@
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
+ "failed": {
22
+ "kind": "bounds",
23
+ "limit": "bytes",
24
+ "at": "a",
25
+ "message": "the dependency graph is over its size limit at `a`"
26
+ },
27
+ "diagnostics": []
28
+ }
29
+ ]
@@ -0,0 +1,47 @@
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
+ "bounds": {
10
+ "bytes": 100
11
+ }
12
+ },
13
+ "steps": [
14
+ {
15
+ "answers": []
16
+ },
17
+ {
18
+ "answers": [
19
+ {
20
+ "need": {
21
+ "kind": "tags",
22
+ "url": "https://example.test/a"
23
+ },
24
+ "tags": [
25
+ {
26
+ "tag": "v1.0.0",
27
+ "commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc"
28
+ }
29
+ ]
30
+ }
31
+ ]
32
+ },
33
+ {
34
+ "answers": [
35
+ {
36
+ "url": "https://example.test/a",
37
+ "commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc",
38
+ "path": null,
39
+ "files": {
40
+ "mars.toml": "[package]\nschema = 1\nname = \"a\"\nversion = \"1.0.0\"\n\n[dependencies.b]\nurl = \"https://example.test/b\"\nversion = \"^1\"\n",
41
+ "skills/a-skill/SKILL.md": "---\nname: a-skill\ndescription: a 1.0.0\n---\nbody a 1.0.0\n"
42
+ }
43
+ }
44
+ ]
45
+ }
46
+ ]
47
+ }
@@ -0,0 +1,47 @@
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
+ "failed": {
40
+ "kind": "bounds",
41
+ "limit": "packages",
42
+ "at": "b",
43
+ "message": "the dependency graph is over its package limit at `b`"
44
+ },
45
+ "diagnostics": []
46
+ }
47
+ ]
@@ -0,0 +1,76 @@
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
+ "bounds": {
10
+ "packages": 1
11
+ }
12
+ },
13
+ "steps": [
14
+ {
15
+ "answers": []
16
+ },
17
+ {
18
+ "answers": [
19
+ {
20
+ "need": {
21
+ "kind": "tags",
22
+ "url": "https://example.test/a"
23
+ },
24
+ "tags": [
25
+ {
26
+ "tag": "v1.0.0",
27
+ "commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc"
28
+ }
29
+ ]
30
+ }
31
+ ]
32
+ },
33
+ {
34
+ "answers": [
35
+ {
36
+ "url": "https://example.test/a",
37
+ "commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc",
38
+ "path": null,
39
+ "files": {
40
+ "mars.toml": "[package]\nschema = 1\nname = \"a\"\nversion = \"1.0.0\"\n\n[dependencies.b]\nurl = \"https://example.test/b\"\nversion = \"^1\"\n",
41
+ "skills/a-skill/SKILL.md": "---\nname: a-skill\ndescription: a 1.0.0\n---\nbody a 1.0.0\n"
42
+ }
43
+ }
44
+ ]
45
+ },
46
+ {
47
+ "answers": [
48
+ {
49
+ "need": {
50
+ "kind": "tags",
51
+ "url": "https://example.test/b"
52
+ },
53
+ "tags": [
54
+ {
55
+ "tag": "v1.0.0",
56
+ "commit": "c48ba15919af8b17fa5825731959a1f6d53320d9"
57
+ }
58
+ ]
59
+ }
60
+ ]
61
+ },
62
+ {
63
+ "answers": [
64
+ {
65
+ "url": "https://example.test/b",
66
+ "commit": "c48ba15919af8b17fa5825731959a1f6d53320d9",
67
+ "path": null,
68
+ "files": {
69
+ "mars.toml": "[package]\nschema = 1\nname = \"b\"\nversion = \"1.0.0\"\n\n",
70
+ "skills/b-skill/SKILL.md": "---\nname: b-skill\ndescription: b 1.0.0\n---\nbody b 1.0.0\n"
71
+ }
72
+ }
73
+ ]
74
+ }
75
+ ]
76
+ }
@@ -0,0 +1,108 @@
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": "7a448cc7f8fb71994fae0a68ae0f267d58fb5f4f",
26
+ "path": null
27
+ }
28
+ ]
29
+ },
30
+ {
31
+ "needs": [
32
+ {
33
+ "kind": "tags",
34
+ "url": "https://example.test/b"
35
+ }
36
+ ]
37
+ },
38
+ {
39
+ "needs": [
40
+ {
41
+ "kind": "tree",
42
+ "url": "https://example.test/b",
43
+ "commit": "122f1c221f26276a0b5d30539f69f67656b7f6e5",
44
+ "path": null
45
+ }
46
+ ]
47
+ },
48
+ {
49
+ "resolved": {
50
+ "lock": {
51
+ "a": {
52
+ "url": "example.test/a",
53
+ "version": "v1.0.0",
54
+ "commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc"
55
+ },
56
+ "b": {
57
+ "url": "example.test/b",
58
+ "version": "v1.2.0",
59
+ "commit": "122f1c221f26276a0b5d30539f69f67656b7f6e5"
60
+ },
61
+ "c": {
62
+ "url": "example.test/c",
63
+ "version": "v0.3.0",
64
+ "commit": "7a448cc7f8fb71994fae0a68ae0f267d58fb5f4f"
65
+ }
66
+ },
67
+ "dependencies": {
68
+ "a": {
69
+ "url": "example.test/a",
70
+ "commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc",
71
+ "subpath": null,
72
+ "version": "v1.0.0",
73
+ "required_by": [
74
+ {
75
+ "by": "root",
76
+ "constraint": "^1"
77
+ }
78
+ ]
79
+ },
80
+ "b": {
81
+ "url": "example.test/b",
82
+ "commit": "122f1c221f26276a0b5d30539f69f67656b7f6e5",
83
+ "subpath": null,
84
+ "version": "v1.2.0",
85
+ "required_by": [
86
+ {
87
+ "by": "a",
88
+ "constraint": "^1"
89
+ }
90
+ ]
91
+ },
92
+ "c": {
93
+ "url": "example.test/c",
94
+ "commit": "7a448cc7f8fb71994fae0a68ae0f267d58fb5f4f",
95
+ "subpath": null,
96
+ "version": "v0.3.0",
97
+ "required_by": [
98
+ {
99
+ "by": "root",
100
+ "constraint": null
101
+ }
102
+ ]
103
+ }
104
+ }
105
+ },
106
+ "diagnostics": []
107
+ }
108
+ ]