@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,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": "path",
23
+ "name": "local",
24
+ "declared_in": "a",
25
+ "message": "`a` declares a path dependency `local`, which this resolution cannot read: a path names a folder on one machine"
26
+ },
27
+ "diagnostics": []
28
+ }
29
+ ]
@@ -0,0 +1,44 @@
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.local]\npath = \"../local\"\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
+ }
@@ -0,0 +1,11 @@
1
+ [
2
+ {
3
+ "failed": {
4
+ "kind": "path",
5
+ "name": "local",
6
+ "declared_in": "root",
7
+ "message": "`mars.toml` declares a path dependency `local`, which this resolution cannot read: a path names a folder on one machine"
8
+ },
9
+ "diagnostics": []
10
+ }
11
+ ]
@@ -0,0 +1,15 @@
1
+ {
2
+ "input": {
3
+ "root": {
4
+ "manifest": "[dependencies.local]\npath = \"../local\"\n"
5
+ },
6
+ "engine": {
7
+ "mars": "0.35.0"
8
+ }
9
+ },
10
+ "steps": [
11
+ {
12
+ "answers": []
13
+ }
14
+ ]
15
+ }
@@ -0,0 +1,73 @@
1
+ [
2
+ {
3
+ "needs": [
4
+ {
5
+ "kind": "tags",
6
+ "url": "https://example.test/a"
7
+ },
8
+ {
9
+ "kind": "tags",
10
+ "url": "https://example.test/b"
11
+ }
12
+ ]
13
+ },
14
+ {
15
+ "needs": [
16
+ {
17
+ "kind": "tree",
18
+ "url": "https://example.test/a",
19
+ "commit": "205f3b426ab51966b7166c696ee9d812a4232a0e",
20
+ "path": null
21
+ },
22
+ {
23
+ "kind": "tree",
24
+ "url": "https://example.test/b",
25
+ "commit": "33b1f7e48076f138c9208a2746277d640075e44b",
26
+ "path": null
27
+ }
28
+ ]
29
+ },
30
+ {
31
+ "resolved": {
32
+ "lock": {
33
+ "a": {
34
+ "url": "example.test/a",
35
+ "version": "v1.1.0",
36
+ "commit": "205f3b426ab51966b7166c696ee9d812a4232a0e"
37
+ },
38
+ "b": {
39
+ "url": "example.test/b",
40
+ "version": "v1.1.0",
41
+ "commit": "33b1f7e48076f138c9208a2746277d640075e44b"
42
+ }
43
+ },
44
+ "dependencies": {
45
+ "a": {
46
+ "url": "example.test/a",
47
+ "commit": "205f3b426ab51966b7166c696ee9d812a4232a0e",
48
+ "subpath": null,
49
+ "version": "v1.1.0",
50
+ "required_by": [
51
+ {
52
+ "by": "root",
53
+ "constraint": "^1"
54
+ }
55
+ ]
56
+ },
57
+ "b": {
58
+ "url": "example.test/b",
59
+ "commit": "33b1f7e48076f138c9208a2746277d640075e44b",
60
+ "subpath": null,
61
+ "version": "v1.1.0",
62
+ "required_by": [
63
+ {
64
+ "by": "root",
65
+ "constraint": "^1"
66
+ }
67
+ ]
68
+ }
69
+ }
70
+ },
71
+ "diagnostics": []
72
+ }
73
+ ]
@@ -0,0 +1,86 @@
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
+ "refresh": "all",
19
+ "engine": {
20
+ "mars": "0.35.0"
21
+ }
22
+ },
23
+ "steps": [
24
+ {
25
+ "answers": []
26
+ },
27
+ {
28
+ "answers": [
29
+ {
30
+ "need": {
31
+ "kind": "tags",
32
+ "url": "https://example.test/a"
33
+ },
34
+ "tags": [
35
+ {
36
+ "tag": "v1.0.0",
37
+ "commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc"
38
+ },
39
+ {
40
+ "tag": "v1.1.0",
41
+ "commit": "205f3b426ab51966b7166c696ee9d812a4232a0e"
42
+ }
43
+ ]
44
+ },
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
+ "tag": "v1.1.0",
57
+ "commit": "33b1f7e48076f138c9208a2746277d640075e44b"
58
+ }
59
+ ]
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "answers": [
65
+ {
66
+ "url": "https://example.test/a",
67
+ "commit": "205f3b426ab51966b7166c696ee9d812a4232a0e",
68
+ "path": null,
69
+ "files": {
70
+ "mars.toml": "[package]\nschema = 1\nname = \"a\"\nversion = \"1.1.0\"\n\n",
71
+ "skills/a-skill/SKILL.md": "---\nname: a-skill\ndescription: a 1.1.0\n---\nbody a 1.1.0\n"
72
+ }
73
+ },
74
+ {
75
+ "url": "https://example.test/b",
76
+ "commit": "33b1f7e48076f138c9208a2746277d640075e44b",
77
+ "path": null,
78
+ "files": {
79
+ "mars.toml": "[package]\nschema = 1\nname = \"b\"\nversion = \"1.1.0\"\n\n",
80
+ "skills/b-skill/SKILL.md": "---\nname: b-skill\ndescription: b 1.1.0\n---\nbody b 1.1.0\n"
81
+ }
82
+ }
83
+ ]
84
+ }
85
+ ]
86
+ }
@@ -0,0 +1,69 @@
1
+ [
2
+ {
3
+ "needs": [
4
+ {
5
+ "kind": "tags",
6
+ "url": "https://example.test/a"
7
+ },
8
+ {
9
+ "kind": "tree",
10
+ "url": "https://example.test/b",
11
+ "commit": "c48ba15919af8b17fa5825731959a1f6d53320d9",
12
+ "path": null
13
+ }
14
+ ]
15
+ },
16
+ {
17
+ "needs": [
18
+ {
19
+ "kind": "tree",
20
+ "url": "https://example.test/a",
21
+ "commit": "205f3b426ab51966b7166c696ee9d812a4232a0e",
22
+ "path": null
23
+ }
24
+ ]
25
+ },
26
+ {
27
+ "resolved": {
28
+ "lock": {
29
+ "a": {
30
+ "url": "example.test/a",
31
+ "version": "v1.1.0",
32
+ "commit": "205f3b426ab51966b7166c696ee9d812a4232a0e"
33
+ },
34
+ "b": {
35
+ "url": "example.test/b",
36
+ "version": "v1.0.0",
37
+ "commit": "c48ba15919af8b17fa5825731959a1f6d53320d9"
38
+ }
39
+ },
40
+ "dependencies": {
41
+ "a": {
42
+ "url": "example.test/a",
43
+ "commit": "205f3b426ab51966b7166c696ee9d812a4232a0e",
44
+ "subpath": null,
45
+ "version": "v1.1.0",
46
+ "required_by": [
47
+ {
48
+ "by": "root",
49
+ "constraint": "^1"
50
+ }
51
+ ]
52
+ },
53
+ "b": {
54
+ "url": "example.test/b",
55
+ "commit": "c48ba15919af8b17fa5825731959a1f6d53320d9",
56
+ "subpath": null,
57
+ "version": "v1.0.0",
58
+ "required_by": [
59
+ {
60
+ "by": "root",
61
+ "constraint": "^1"
62
+ }
63
+ ]
64
+ }
65
+ }
66
+ },
67
+ "diagnostics": []
68
+ }
69
+ ]
@@ -0,0 +1,72 @@
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
+ "refresh": [
19
+ "a"
20
+ ],
21
+ "engine": {
22
+ "mars": "0.35.0"
23
+ }
24
+ },
25
+ "steps": [
26
+ {
27
+ "answers": []
28
+ },
29
+ {
30
+ "answers": [
31
+ {
32
+ "need": {
33
+ "kind": "tags",
34
+ "url": "https://example.test/a"
35
+ },
36
+ "tags": [
37
+ {
38
+ "tag": "v1.0.0",
39
+ "commit": "d4f7c82123a8d693b05e11e1d0dfa614fd049acc"
40
+ },
41
+ {
42
+ "tag": "v1.1.0",
43
+ "commit": "205f3b426ab51966b7166c696ee9d812a4232a0e"
44
+ }
45
+ ]
46
+ },
47
+ {
48
+ "url": "https://example.test/b",
49
+ "commit": "c48ba15919af8b17fa5825731959a1f6d53320d9",
50
+ "path": null,
51
+ "files": {
52
+ "mars.toml": "[package]\nschema = 1\nname = \"b\"\nversion = \"1.0.0\"\n\n",
53
+ "skills/b-skill/SKILL.md": "---\nname: b-skill\ndescription: b 1.0.0\n---\nbody b 1.0.0\n"
54
+ }
55
+ }
56
+ ]
57
+ },
58
+ {
59
+ "answers": [
60
+ {
61
+ "url": "https://example.test/a",
62
+ "commit": "205f3b426ab51966b7166c696ee9d812a4232a0e",
63
+ "path": null,
64
+ "files": {
65
+ "mars.toml": "[package]\nschema = 1\nname = \"a\"\nversion = \"1.1.0\"\n\n",
66
+ "skills/a-skill/SKILL.md": "---\nname: a-skill\ndescription: a 1.1.0\n---\nbody a 1.1.0\n"
67
+ }
68
+ }
69
+ ]
70
+ }
71
+ ]
72
+ }
@@ -0,0 +1,71 @@
1
+ [
2
+ {
3
+ "needs": [
4
+ {
5
+ "kind": "tags",
6
+ "url": "https://example.test/mono"
7
+ }
8
+ ]
9
+ },
10
+ {
11
+ "needs": [
12
+ {
13
+ "kind": "tree",
14
+ "url": "https://example.test/mono",
15
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c",
16
+ "path": "packages/x"
17
+ },
18
+ {
19
+ "kind": "tree",
20
+ "url": "https://example.test/mono",
21
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c",
22
+ "path": "packages/y"
23
+ }
24
+ ]
25
+ },
26
+ {
27
+ "resolved": {
28
+ "lock": {
29
+ "x": {
30
+ "url": "example.test/mono",
31
+ "subpath": "packages/x",
32
+ "version": "v1.0.0",
33
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c"
34
+ },
35
+ "y": {
36
+ "url": "example.test/mono",
37
+ "subpath": "packages/y",
38
+ "version": "v1.0.0",
39
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c"
40
+ }
41
+ },
42
+ "dependencies": {
43
+ "x": {
44
+ "url": "example.test/mono",
45
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c",
46
+ "subpath": "packages/x",
47
+ "version": "v1.0.0",
48
+ "required_by": [
49
+ {
50
+ "by": "root",
51
+ "constraint": "^1"
52
+ }
53
+ ]
54
+ },
55
+ "y": {
56
+ "url": "example.test/mono",
57
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c",
58
+ "subpath": "packages/y",
59
+ "version": "v1.0.0",
60
+ "required_by": [
61
+ {
62
+ "by": "root",
63
+ "constraint": "^1"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ },
69
+ "diagnostics": []
70
+ }
71
+ ]
@@ -0,0 +1,53 @@
1
+ {
2
+ "input": {
3
+ "root": {
4
+ "manifest": "[dependencies.x]\nurl = \"https://example.test/mono\"\nversion = \"^1\"\nsubpath = \"packages/x\"\n\n[dependencies.y]\nurl = \"https://example.test/mono\"\nversion = \"^1\"\nsubpath = \"packages/y\"\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/mono"
20
+ },
21
+ "tags": [
22
+ {
23
+ "tag": "v1.0.0",
24
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c"
25
+ }
26
+ ]
27
+ }
28
+ ]
29
+ },
30
+ {
31
+ "answers": [
32
+ {
33
+ "url": "https://example.test/mono",
34
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c",
35
+ "path": "packages/x",
36
+ "files": {
37
+ "packages/x/mars.toml": "[package]\nschema = 1\nname = \"x\"\nversion = \"1.0.0\"\n\n",
38
+ "packages/x/skills/x-skill/SKILL.md": "---\nname: x-skill\ndescription: x 1.0.0\n---\nbody x 1.0.0\n"
39
+ }
40
+ },
41
+ {
42
+ "url": "https://example.test/mono",
43
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c",
44
+ "path": "packages/y",
45
+ "files": {
46
+ "packages/y/mars.toml": "[package]\nschema = 1\nname = \"y\"\nversion = \"1.0.0\"\n\n",
47
+ "packages/y/skills/y-skill/SKILL.md": "---\nname: y-skill\ndescription: y 1.0.0\n---\nbody y 1.0.0\n"
48
+ }
49
+ }
50
+ ]
51
+ }
52
+ ]
53
+ }
@@ -0,0 +1,71 @@
1
+ [
2
+ {
3
+ "needs": [
4
+ {
5
+ "kind": "tags",
6
+ "url": "https://example.test/mono"
7
+ }
8
+ ]
9
+ },
10
+ {
11
+ "needs": [
12
+ {
13
+ "kind": "tree",
14
+ "url": "https://example.test/mono",
15
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c",
16
+ "path": "packages/x"
17
+ },
18
+ {
19
+ "kind": "tree",
20
+ "url": "https://example.test/mono",
21
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c",
22
+ "path": "packages/y"
23
+ }
24
+ ]
25
+ },
26
+ {
27
+ "resolved": {
28
+ "lock": {
29
+ "x": {
30
+ "url": "example.test/mono",
31
+ "subpath": "packages/x",
32
+ "version": "v1.0.0",
33
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c"
34
+ },
35
+ "y": {
36
+ "url": "example.test/mono",
37
+ "subpath": "packages/y",
38
+ "version": "v1.0.0",
39
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c"
40
+ }
41
+ },
42
+ "dependencies": {
43
+ "x": {
44
+ "url": "example.test/mono",
45
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c",
46
+ "subpath": "packages/x",
47
+ "version": "v1.0.0",
48
+ "required_by": [
49
+ {
50
+ "by": "root",
51
+ "constraint": "^1"
52
+ }
53
+ ]
54
+ },
55
+ "y": {
56
+ "url": "example.test/mono",
57
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c",
58
+ "subpath": "packages/y",
59
+ "version": "v1.0.0",
60
+ "required_by": [
61
+ {
62
+ "by": "root",
63
+ "constraint": "^1"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ },
69
+ "diagnostics": []
70
+ }
71
+ ]
@@ -0,0 +1,57 @@
1
+ {
2
+ "input": {
3
+ "root": {
4
+ "manifest": "[dependencies.x]\nurl = \"https://example.test/mono\"\nversion = \"^1\"\nsubpath = \"packages/x\"\n\n[dependencies.y]\nurl = \"https://example.test/mono\"\nversion = \"^1\"\nsubpath = \"packages/y\"\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/mono"
20
+ },
21
+ "tags": [
22
+ {
23
+ "tag": "v1.0.0",
24
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c"
25
+ }
26
+ ]
27
+ }
28
+ ]
29
+ },
30
+ {
31
+ "answers": [
32
+ {
33
+ "url": "https://example.test/mono",
34
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c",
35
+ "path": null,
36
+ "files": {
37
+ "packages/x/mars.toml": "[package]\nschema = 1\nname = \"x\"\nversion = \"1.0.0\"\n\n",
38
+ "packages/x/skills/x-skill/SKILL.md": "---\nname: x-skill\ndescription: x 1.0.0\n---\nbody x 1.0.0\n",
39
+ "packages/y/mars.toml": "[package]\nschema = 1\nname = \"y\"\nversion = \"1.0.0\"\n\n",
40
+ "packages/y/skills/y-skill/SKILL.md": "---\nname: y-skill\ndescription: y 1.0.0\n---\nbody y 1.0.0\n"
41
+ }
42
+ },
43
+ {
44
+ "url": "https://example.test/mono",
45
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c",
46
+ "path": null,
47
+ "files": {
48
+ "packages/x/mars.toml": "[package]\nschema = 1\nname = \"x\"\nversion = \"1.0.0\"\n\n",
49
+ "packages/x/skills/x-skill/SKILL.md": "---\nname: x-skill\ndescription: x 1.0.0\n---\nbody x 1.0.0\n",
50
+ "packages/y/mars.toml": "[package]\nschema = 1\nname = \"y\"\nversion = \"1.0.0\"\n\n",
51
+ "packages/y/skills/y-skill/SKILL.md": "---\nname: y-skill\ndescription: y 1.0.0\n---\nbody y 1.0.0\n"
52
+ }
53
+ }
54
+ ]
55
+ }
56
+ ]
57
+ }
@@ -0,0 +1,30 @@
1
+ [
2
+ {
3
+ "needs": [
4
+ {
5
+ "kind": "tags",
6
+ "url": "https://example.test/mono"
7
+ }
8
+ ]
9
+ },
10
+ {
11
+ "needs": [
12
+ {
13
+ "kind": "tree",
14
+ "url": "https://example.test/mono",
15
+ "commit": "a4073b0ca977eb2cde07bedd1dc9f498c9b9210c",
16
+ "path": "packages/x"
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "failed": {
22
+ "kind": "subpath",
23
+ "name": "x",
24
+ "subpath": "packages/x",
25
+ "detail": "missing",
26
+ "message": "source error: x: subpath `packages/x` does not exist in the source"
27
+ },
28
+ "diagnostics": []
29
+ }
30
+ ]