@mc-and-his-agents/loom-installer 0.1.75 → 0.1.76
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/package.json +1 -1
- package/payload/manifest.json +41 -41
- package/payload/plugin/loom/skills/loom-adopt/.loom-runtime/shared/scripts/loom_init.py +12 -4
- package/payload/plugin/loom/skills/loom-handoff/.loom-runtime/shared/scripts/loom_init.py +12 -4
- package/payload/plugin/loom/skills/loom-init/.loom-runtime/shared/scripts/loom_init.py +12 -4
- package/payload/plugin/loom/skills/loom-merge-ready/.loom-runtime/shared/scripts/loom_init.py +12 -4
- package/payload/plugin/loom/skills/loom-pre-review/.loom-runtime/shared/scripts/loom_init.py +12 -4
- package/payload/plugin/loom/skills/loom-resume/.loom-runtime/shared/scripts/loom_init.py +12 -4
- package/payload/plugin/loom/skills/loom-retire/.loom-runtime/shared/scripts/loom_init.py +12 -4
- package/payload/plugin/loom/skills/loom-review/.loom-runtime/shared/scripts/loom_init.py +12 -4
- package/payload/plugin/loom/skills/loom-spec-review/.loom-runtime/shared/scripts/loom_init.py +12 -4
- package/payload/plugin/loom/skills/shared/scripts/loom_init.py +12 -4
- package/payload/skills/loom-adopt/.loom-runtime/shared/scripts/loom_init.py +12 -4
- package/payload/skills/loom-handoff/.loom-runtime/shared/scripts/loom_init.py +12 -4
- package/payload/skills/loom-init/.loom-runtime/shared/scripts/loom_init.py +12 -4
- package/payload/skills/loom-merge-ready/.loom-runtime/shared/scripts/loom_init.py +12 -4
- package/payload/skills/loom-pre-review/.loom-runtime/shared/scripts/loom_init.py +12 -4
- package/payload/skills/loom-resume/.loom-runtime/shared/scripts/loom_init.py +12 -4
- package/payload/skills/loom-retire/.loom-runtime/shared/scripts/loom_init.py +12 -4
- package/payload/skills/loom-review/.loom-runtime/shared/scripts/loom_init.py +12 -4
- package/payload/skills/loom-spec-review/.loom-runtime/shared/scripts/loom_init.py +12 -4
package/package.json
CHANGED
package/payload/manifest.json
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"schema_version": "loom-installer-payload/v1",
|
|
3
3
|
"loom_version": "v0.6.0",
|
|
4
4
|
"source_repository": "https://github.com/MC-and-his-Agents/Loom",
|
|
5
|
-
"source_commit": "
|
|
5
|
+
"source_commit": "ae1b1e37ea9e0da631ba5425aae0370766338d08",
|
|
6
6
|
"source_ref": "main",
|
|
7
|
-
"built_at": "2026-05-
|
|
7
|
+
"built_at": "2026-05-09T00:23:14+08:00",
|
|
8
8
|
"version_context": {
|
|
9
9
|
"repo_version": "v0.6.0",
|
|
10
|
-
"installer_package_version": "0.1.
|
|
10
|
+
"installer_package_version": "0.1.76",
|
|
11
11
|
"plugin_surface_version": "0.4.0",
|
|
12
12
|
"host_adapter_version": "1.0.0",
|
|
13
13
|
"skills_registry_version": "1.4.0",
|
|
@@ -767,8 +767,8 @@
|
|
|
767
767
|
},
|
|
768
768
|
{
|
|
769
769
|
"path": "plugin/loom/skills/loom-adopt/.loom-runtime/shared/scripts/loom_init.py",
|
|
770
|
-
"bytes":
|
|
771
|
-
"sha256": "
|
|
770
|
+
"bytes": 94123,
|
|
771
|
+
"sha256": "6a3a9c010949e00c07d55f2559329a54a2f1c17513005076b77fb42c5eca36c9"
|
|
772
772
|
},
|
|
773
773
|
{
|
|
774
774
|
"path": "plugin/loom/skills/loom-adopt/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -1452,8 +1452,8 @@
|
|
|
1452
1452
|
},
|
|
1453
1453
|
{
|
|
1454
1454
|
"path": "plugin/loom/skills/loom-handoff/.loom-runtime/shared/scripts/loom_init.py",
|
|
1455
|
-
"bytes":
|
|
1456
|
-
"sha256": "
|
|
1455
|
+
"bytes": 94123,
|
|
1456
|
+
"sha256": "6a3a9c010949e00c07d55f2559329a54a2f1c17513005076b77fb42c5eca36c9"
|
|
1457
1457
|
},
|
|
1458
1458
|
{
|
|
1459
1459
|
"path": "plugin/loom/skills/loom-handoff/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -2137,8 +2137,8 @@
|
|
|
2137
2137
|
},
|
|
2138
2138
|
{
|
|
2139
2139
|
"path": "plugin/loom/skills/loom-init/.loom-runtime/shared/scripts/loom_init.py",
|
|
2140
|
-
"bytes":
|
|
2141
|
-
"sha256": "
|
|
2140
|
+
"bytes": 94123,
|
|
2141
|
+
"sha256": "6a3a9c010949e00c07d55f2559329a54a2f1c17513005076b77fb42c5eca36c9"
|
|
2142
2142
|
},
|
|
2143
2143
|
{
|
|
2144
2144
|
"path": "plugin/loom/skills/loom-init/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -2827,8 +2827,8 @@
|
|
|
2827
2827
|
},
|
|
2828
2828
|
{
|
|
2829
2829
|
"path": "plugin/loom/skills/loom-merge-ready/.loom-runtime/shared/scripts/loom_init.py",
|
|
2830
|
-
"bytes":
|
|
2831
|
-
"sha256": "
|
|
2830
|
+
"bytes": 94123,
|
|
2831
|
+
"sha256": "6a3a9c010949e00c07d55f2559329a54a2f1c17513005076b77fb42c5eca36c9"
|
|
2832
2832
|
},
|
|
2833
2833
|
{
|
|
2834
2834
|
"path": "plugin/loom/skills/loom-merge-ready/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -3512,8 +3512,8 @@
|
|
|
3512
3512
|
},
|
|
3513
3513
|
{
|
|
3514
3514
|
"path": "plugin/loom/skills/loom-pre-review/.loom-runtime/shared/scripts/loom_init.py",
|
|
3515
|
-
"bytes":
|
|
3516
|
-
"sha256": "
|
|
3515
|
+
"bytes": 94123,
|
|
3516
|
+
"sha256": "6a3a9c010949e00c07d55f2559329a54a2f1c17513005076b77fb42c5eca36c9"
|
|
3517
3517
|
},
|
|
3518
3518
|
{
|
|
3519
3519
|
"path": "plugin/loom/skills/loom-pre-review/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -4197,8 +4197,8 @@
|
|
|
4197
4197
|
},
|
|
4198
4198
|
{
|
|
4199
4199
|
"path": "plugin/loom/skills/loom-resume/.loom-runtime/shared/scripts/loom_init.py",
|
|
4200
|
-
"bytes":
|
|
4201
|
-
"sha256": "
|
|
4200
|
+
"bytes": 94123,
|
|
4201
|
+
"sha256": "6a3a9c010949e00c07d55f2559329a54a2f1c17513005076b77fb42c5eca36c9"
|
|
4202
4202
|
},
|
|
4203
4203
|
{
|
|
4204
4204
|
"path": "plugin/loom/skills/loom-resume/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -4882,8 +4882,8 @@
|
|
|
4882
4882
|
},
|
|
4883
4883
|
{
|
|
4884
4884
|
"path": "plugin/loom/skills/loom-retire/.loom-runtime/shared/scripts/loom_init.py",
|
|
4885
|
-
"bytes":
|
|
4886
|
-
"sha256": "
|
|
4885
|
+
"bytes": 94123,
|
|
4886
|
+
"sha256": "6a3a9c010949e00c07d55f2559329a54a2f1c17513005076b77fb42c5eca36c9"
|
|
4887
4887
|
},
|
|
4888
4888
|
{
|
|
4889
4889
|
"path": "plugin/loom/skills/loom-retire/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -5567,8 +5567,8 @@
|
|
|
5567
5567
|
},
|
|
5568
5568
|
{
|
|
5569
5569
|
"path": "plugin/loom/skills/loom-review/.loom-runtime/shared/scripts/loom_init.py",
|
|
5570
|
-
"bytes":
|
|
5571
|
-
"sha256": "
|
|
5570
|
+
"bytes": 94123,
|
|
5571
|
+
"sha256": "6a3a9c010949e00c07d55f2559329a54a2f1c17513005076b77fb42c5eca36c9"
|
|
5572
5572
|
},
|
|
5573
5573
|
{
|
|
5574
5574
|
"path": "plugin/loom/skills/loom-review/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -6252,8 +6252,8 @@
|
|
|
6252
6252
|
},
|
|
6253
6253
|
{
|
|
6254
6254
|
"path": "plugin/loom/skills/loom-spec-review/.loom-runtime/shared/scripts/loom_init.py",
|
|
6255
|
-
"bytes":
|
|
6256
|
-
"sha256": "
|
|
6255
|
+
"bytes": 94123,
|
|
6256
|
+
"sha256": "6a3a9c010949e00c07d55f2559329a54a2f1c17513005076b77fb42c5eca36c9"
|
|
6257
6257
|
},
|
|
6258
6258
|
{
|
|
6259
6259
|
"path": "plugin/loom/skills/loom-spec-review/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -6652,8 +6652,8 @@
|
|
|
6652
6652
|
},
|
|
6653
6653
|
{
|
|
6654
6654
|
"path": "plugin/loom/skills/shared/scripts/loom_init.py",
|
|
6655
|
-
"bytes":
|
|
6656
|
-
"sha256": "
|
|
6655
|
+
"bytes": 94123,
|
|
6656
|
+
"sha256": "6a3a9c010949e00c07d55f2559329a54a2f1c17513005076b77fb42c5eca36c9"
|
|
6657
6657
|
},
|
|
6658
6658
|
{
|
|
6659
6659
|
"path": "plugin/loom/skills/shared/scripts/loom_status.py",
|
|
@@ -7302,8 +7302,8 @@
|
|
|
7302
7302
|
},
|
|
7303
7303
|
{
|
|
7304
7304
|
"path": "skills/loom-adopt/.loom-runtime/shared/scripts/loom_init.py",
|
|
7305
|
-
"bytes":
|
|
7306
|
-
"sha256": "
|
|
7305
|
+
"bytes": 94123,
|
|
7306
|
+
"sha256": "6a3a9c010949e00c07d55f2559329a54a2f1c17513005076b77fb42c5eca36c9"
|
|
7307
7307
|
},
|
|
7308
7308
|
{
|
|
7309
7309
|
"path": "skills/loom-adopt/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -7987,8 +7987,8 @@
|
|
|
7987
7987
|
},
|
|
7988
7988
|
{
|
|
7989
7989
|
"path": "skills/loom-handoff/.loom-runtime/shared/scripts/loom_init.py",
|
|
7990
|
-
"bytes":
|
|
7991
|
-
"sha256": "
|
|
7990
|
+
"bytes": 94123,
|
|
7991
|
+
"sha256": "6a3a9c010949e00c07d55f2559329a54a2f1c17513005076b77fb42c5eca36c9"
|
|
7992
7992
|
},
|
|
7993
7993
|
{
|
|
7994
7994
|
"path": "skills/loom-handoff/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -8672,8 +8672,8 @@
|
|
|
8672
8672
|
},
|
|
8673
8673
|
{
|
|
8674
8674
|
"path": "skills/loom-init/.loom-runtime/shared/scripts/loom_init.py",
|
|
8675
|
-
"bytes":
|
|
8676
|
-
"sha256": "
|
|
8675
|
+
"bytes": 94123,
|
|
8676
|
+
"sha256": "6a3a9c010949e00c07d55f2559329a54a2f1c17513005076b77fb42c5eca36c9"
|
|
8677
8677
|
},
|
|
8678
8678
|
{
|
|
8679
8679
|
"path": "skills/loom-init/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -9362,8 +9362,8 @@
|
|
|
9362
9362
|
},
|
|
9363
9363
|
{
|
|
9364
9364
|
"path": "skills/loom-merge-ready/.loom-runtime/shared/scripts/loom_init.py",
|
|
9365
|
-
"bytes":
|
|
9366
|
-
"sha256": "
|
|
9365
|
+
"bytes": 94123,
|
|
9366
|
+
"sha256": "6a3a9c010949e00c07d55f2559329a54a2f1c17513005076b77fb42c5eca36c9"
|
|
9367
9367
|
},
|
|
9368
9368
|
{
|
|
9369
9369
|
"path": "skills/loom-merge-ready/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -10047,8 +10047,8 @@
|
|
|
10047
10047
|
},
|
|
10048
10048
|
{
|
|
10049
10049
|
"path": "skills/loom-pre-review/.loom-runtime/shared/scripts/loom_init.py",
|
|
10050
|
-
"bytes":
|
|
10051
|
-
"sha256": "
|
|
10050
|
+
"bytes": 94123,
|
|
10051
|
+
"sha256": "6a3a9c010949e00c07d55f2559329a54a2f1c17513005076b77fb42c5eca36c9"
|
|
10052
10052
|
},
|
|
10053
10053
|
{
|
|
10054
10054
|
"path": "skills/loom-pre-review/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -10732,8 +10732,8 @@
|
|
|
10732
10732
|
},
|
|
10733
10733
|
{
|
|
10734
10734
|
"path": "skills/loom-resume/.loom-runtime/shared/scripts/loom_init.py",
|
|
10735
|
-
"bytes":
|
|
10736
|
-
"sha256": "
|
|
10735
|
+
"bytes": 94123,
|
|
10736
|
+
"sha256": "6a3a9c010949e00c07d55f2559329a54a2f1c17513005076b77fb42c5eca36c9"
|
|
10737
10737
|
},
|
|
10738
10738
|
{
|
|
10739
10739
|
"path": "skills/loom-resume/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -11417,8 +11417,8 @@
|
|
|
11417
11417
|
},
|
|
11418
11418
|
{
|
|
11419
11419
|
"path": "skills/loom-retire/.loom-runtime/shared/scripts/loom_init.py",
|
|
11420
|
-
"bytes":
|
|
11421
|
-
"sha256": "
|
|
11420
|
+
"bytes": 94123,
|
|
11421
|
+
"sha256": "6a3a9c010949e00c07d55f2559329a54a2f1c17513005076b77fb42c5eca36c9"
|
|
11422
11422
|
},
|
|
11423
11423
|
{
|
|
11424
11424
|
"path": "skills/loom-retire/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -12102,8 +12102,8 @@
|
|
|
12102
12102
|
},
|
|
12103
12103
|
{
|
|
12104
12104
|
"path": "skills/loom-review/.loom-runtime/shared/scripts/loom_init.py",
|
|
12105
|
-
"bytes":
|
|
12106
|
-
"sha256": "
|
|
12105
|
+
"bytes": 94123,
|
|
12106
|
+
"sha256": "6a3a9c010949e00c07d55f2559329a54a2f1c17513005076b77fb42c5eca36c9"
|
|
12107
12107
|
},
|
|
12108
12108
|
{
|
|
12109
12109
|
"path": "skills/loom-review/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -12787,8 +12787,8 @@
|
|
|
12787
12787
|
},
|
|
12788
12788
|
{
|
|
12789
12789
|
"path": "skills/loom-spec-review/.loom-runtime/shared/scripts/loom_init.py",
|
|
12790
|
-
"bytes":
|
|
12791
|
-
"sha256": "
|
|
12790
|
+
"bytes": 94123,
|
|
12791
|
+
"sha256": "6a3a9c010949e00c07d55f2559329a54a2f1c17513005076b77fb42c5eca36c9"
|
|
12792
12792
|
},
|
|
12793
12793
|
{
|
|
12794
12794
|
"path": "skills/loom-spec-review/.loom-runtime/shared/scripts/loom_status.py",
|
|
@@ -1081,14 +1081,22 @@ def git_branch_name(target_root: Path) -> str | None:
|
|
|
1081
1081
|
return branch
|
|
1082
1082
|
|
|
1083
1083
|
|
|
1084
|
-
def portable_bootstrap_value(
|
|
1084
|
+
def portable_bootstrap_value(
|
|
1085
|
+
value: object,
|
|
1086
|
+
replacements: list[tuple[str, str]],
|
|
1087
|
+
current_branch: str | None,
|
|
1088
|
+
path: tuple[str, ...] = (),
|
|
1089
|
+
) -> object:
|
|
1085
1090
|
if isinstance(value, dict):
|
|
1086
|
-
return {
|
|
1091
|
+
return {
|
|
1092
|
+
key: portable_bootstrap_value(child, replacements, current_branch, path + (key,))
|
|
1093
|
+
for key, child in value.items()
|
|
1094
|
+
}
|
|
1087
1095
|
if isinstance(value, list):
|
|
1088
|
-
return [portable_bootstrap_value(child, replacements, current_branch) for child in value]
|
|
1096
|
+
return [portable_bootstrap_value(child, replacements, current_branch, path) for child in value]
|
|
1089
1097
|
if not isinstance(value, str):
|
|
1090
1098
|
return value
|
|
1091
|
-
if current_branch and value == current_branch:
|
|
1099
|
+
if current_branch and value == current_branch and path[-1:] != ("default_branch",):
|
|
1092
1100
|
return "${CURRENT_BRANCH}"
|
|
1093
1101
|
portable = value
|
|
1094
1102
|
for source, replacement in replacements:
|
|
@@ -1081,14 +1081,22 @@ def git_branch_name(target_root: Path) -> str | None:
|
|
|
1081
1081
|
return branch
|
|
1082
1082
|
|
|
1083
1083
|
|
|
1084
|
-
def portable_bootstrap_value(
|
|
1084
|
+
def portable_bootstrap_value(
|
|
1085
|
+
value: object,
|
|
1086
|
+
replacements: list[tuple[str, str]],
|
|
1087
|
+
current_branch: str | None,
|
|
1088
|
+
path: tuple[str, ...] = (),
|
|
1089
|
+
) -> object:
|
|
1085
1090
|
if isinstance(value, dict):
|
|
1086
|
-
return {
|
|
1091
|
+
return {
|
|
1092
|
+
key: portable_bootstrap_value(child, replacements, current_branch, path + (key,))
|
|
1093
|
+
for key, child in value.items()
|
|
1094
|
+
}
|
|
1087
1095
|
if isinstance(value, list):
|
|
1088
|
-
return [portable_bootstrap_value(child, replacements, current_branch) for child in value]
|
|
1096
|
+
return [portable_bootstrap_value(child, replacements, current_branch, path) for child in value]
|
|
1089
1097
|
if not isinstance(value, str):
|
|
1090
1098
|
return value
|
|
1091
|
-
if current_branch and value == current_branch:
|
|
1099
|
+
if current_branch and value == current_branch and path[-1:] != ("default_branch",):
|
|
1092
1100
|
return "${CURRENT_BRANCH}"
|
|
1093
1101
|
portable = value
|
|
1094
1102
|
for source, replacement in replacements:
|
|
@@ -1081,14 +1081,22 @@ def git_branch_name(target_root: Path) -> str | None:
|
|
|
1081
1081
|
return branch
|
|
1082
1082
|
|
|
1083
1083
|
|
|
1084
|
-
def portable_bootstrap_value(
|
|
1084
|
+
def portable_bootstrap_value(
|
|
1085
|
+
value: object,
|
|
1086
|
+
replacements: list[tuple[str, str]],
|
|
1087
|
+
current_branch: str | None,
|
|
1088
|
+
path: tuple[str, ...] = (),
|
|
1089
|
+
) -> object:
|
|
1085
1090
|
if isinstance(value, dict):
|
|
1086
|
-
return {
|
|
1091
|
+
return {
|
|
1092
|
+
key: portable_bootstrap_value(child, replacements, current_branch, path + (key,))
|
|
1093
|
+
for key, child in value.items()
|
|
1094
|
+
}
|
|
1087
1095
|
if isinstance(value, list):
|
|
1088
|
-
return [portable_bootstrap_value(child, replacements, current_branch) for child in value]
|
|
1096
|
+
return [portable_bootstrap_value(child, replacements, current_branch, path) for child in value]
|
|
1089
1097
|
if not isinstance(value, str):
|
|
1090
1098
|
return value
|
|
1091
|
-
if current_branch and value == current_branch:
|
|
1099
|
+
if current_branch and value == current_branch and path[-1:] != ("default_branch",):
|
|
1092
1100
|
return "${CURRENT_BRANCH}"
|
|
1093
1101
|
portable = value
|
|
1094
1102
|
for source, replacement in replacements:
|
package/payload/plugin/loom/skills/loom-merge-ready/.loom-runtime/shared/scripts/loom_init.py
CHANGED
|
@@ -1081,14 +1081,22 @@ def git_branch_name(target_root: Path) -> str | None:
|
|
|
1081
1081
|
return branch
|
|
1082
1082
|
|
|
1083
1083
|
|
|
1084
|
-
def portable_bootstrap_value(
|
|
1084
|
+
def portable_bootstrap_value(
|
|
1085
|
+
value: object,
|
|
1086
|
+
replacements: list[tuple[str, str]],
|
|
1087
|
+
current_branch: str | None,
|
|
1088
|
+
path: tuple[str, ...] = (),
|
|
1089
|
+
) -> object:
|
|
1085
1090
|
if isinstance(value, dict):
|
|
1086
|
-
return {
|
|
1091
|
+
return {
|
|
1092
|
+
key: portable_bootstrap_value(child, replacements, current_branch, path + (key,))
|
|
1093
|
+
for key, child in value.items()
|
|
1094
|
+
}
|
|
1087
1095
|
if isinstance(value, list):
|
|
1088
|
-
return [portable_bootstrap_value(child, replacements, current_branch) for child in value]
|
|
1096
|
+
return [portable_bootstrap_value(child, replacements, current_branch, path) for child in value]
|
|
1089
1097
|
if not isinstance(value, str):
|
|
1090
1098
|
return value
|
|
1091
|
-
if current_branch and value == current_branch:
|
|
1099
|
+
if current_branch and value == current_branch and path[-1:] != ("default_branch",):
|
|
1092
1100
|
return "${CURRENT_BRANCH}"
|
|
1093
1101
|
portable = value
|
|
1094
1102
|
for source, replacement in replacements:
|
package/payload/plugin/loom/skills/loom-pre-review/.loom-runtime/shared/scripts/loom_init.py
CHANGED
|
@@ -1081,14 +1081,22 @@ def git_branch_name(target_root: Path) -> str | None:
|
|
|
1081
1081
|
return branch
|
|
1082
1082
|
|
|
1083
1083
|
|
|
1084
|
-
def portable_bootstrap_value(
|
|
1084
|
+
def portable_bootstrap_value(
|
|
1085
|
+
value: object,
|
|
1086
|
+
replacements: list[tuple[str, str]],
|
|
1087
|
+
current_branch: str | None,
|
|
1088
|
+
path: tuple[str, ...] = (),
|
|
1089
|
+
) -> object:
|
|
1085
1090
|
if isinstance(value, dict):
|
|
1086
|
-
return {
|
|
1091
|
+
return {
|
|
1092
|
+
key: portable_bootstrap_value(child, replacements, current_branch, path + (key,))
|
|
1093
|
+
for key, child in value.items()
|
|
1094
|
+
}
|
|
1087
1095
|
if isinstance(value, list):
|
|
1088
|
-
return [portable_bootstrap_value(child, replacements, current_branch) for child in value]
|
|
1096
|
+
return [portable_bootstrap_value(child, replacements, current_branch, path) for child in value]
|
|
1089
1097
|
if not isinstance(value, str):
|
|
1090
1098
|
return value
|
|
1091
|
-
if current_branch and value == current_branch:
|
|
1099
|
+
if current_branch and value == current_branch and path[-1:] != ("default_branch",):
|
|
1092
1100
|
return "${CURRENT_BRANCH}"
|
|
1093
1101
|
portable = value
|
|
1094
1102
|
for source, replacement in replacements:
|
|
@@ -1081,14 +1081,22 @@ def git_branch_name(target_root: Path) -> str | None:
|
|
|
1081
1081
|
return branch
|
|
1082
1082
|
|
|
1083
1083
|
|
|
1084
|
-
def portable_bootstrap_value(
|
|
1084
|
+
def portable_bootstrap_value(
|
|
1085
|
+
value: object,
|
|
1086
|
+
replacements: list[tuple[str, str]],
|
|
1087
|
+
current_branch: str | None,
|
|
1088
|
+
path: tuple[str, ...] = (),
|
|
1089
|
+
) -> object:
|
|
1085
1090
|
if isinstance(value, dict):
|
|
1086
|
-
return {
|
|
1091
|
+
return {
|
|
1092
|
+
key: portable_bootstrap_value(child, replacements, current_branch, path + (key,))
|
|
1093
|
+
for key, child in value.items()
|
|
1094
|
+
}
|
|
1087
1095
|
if isinstance(value, list):
|
|
1088
|
-
return [portable_bootstrap_value(child, replacements, current_branch) for child in value]
|
|
1096
|
+
return [portable_bootstrap_value(child, replacements, current_branch, path) for child in value]
|
|
1089
1097
|
if not isinstance(value, str):
|
|
1090
1098
|
return value
|
|
1091
|
-
if current_branch and value == current_branch:
|
|
1099
|
+
if current_branch and value == current_branch and path[-1:] != ("default_branch",):
|
|
1092
1100
|
return "${CURRENT_BRANCH}"
|
|
1093
1101
|
portable = value
|
|
1094
1102
|
for source, replacement in replacements:
|
|
@@ -1081,14 +1081,22 @@ def git_branch_name(target_root: Path) -> str | None:
|
|
|
1081
1081
|
return branch
|
|
1082
1082
|
|
|
1083
1083
|
|
|
1084
|
-
def portable_bootstrap_value(
|
|
1084
|
+
def portable_bootstrap_value(
|
|
1085
|
+
value: object,
|
|
1086
|
+
replacements: list[tuple[str, str]],
|
|
1087
|
+
current_branch: str | None,
|
|
1088
|
+
path: tuple[str, ...] = (),
|
|
1089
|
+
) -> object:
|
|
1085
1090
|
if isinstance(value, dict):
|
|
1086
|
-
return {
|
|
1091
|
+
return {
|
|
1092
|
+
key: portable_bootstrap_value(child, replacements, current_branch, path + (key,))
|
|
1093
|
+
for key, child in value.items()
|
|
1094
|
+
}
|
|
1087
1095
|
if isinstance(value, list):
|
|
1088
|
-
return [portable_bootstrap_value(child, replacements, current_branch) for child in value]
|
|
1096
|
+
return [portable_bootstrap_value(child, replacements, current_branch, path) for child in value]
|
|
1089
1097
|
if not isinstance(value, str):
|
|
1090
1098
|
return value
|
|
1091
|
-
if current_branch and value == current_branch:
|
|
1099
|
+
if current_branch and value == current_branch and path[-1:] != ("default_branch",):
|
|
1092
1100
|
return "${CURRENT_BRANCH}"
|
|
1093
1101
|
portable = value
|
|
1094
1102
|
for source, replacement in replacements:
|
|
@@ -1081,14 +1081,22 @@ def git_branch_name(target_root: Path) -> str | None:
|
|
|
1081
1081
|
return branch
|
|
1082
1082
|
|
|
1083
1083
|
|
|
1084
|
-
def portable_bootstrap_value(
|
|
1084
|
+
def portable_bootstrap_value(
|
|
1085
|
+
value: object,
|
|
1086
|
+
replacements: list[tuple[str, str]],
|
|
1087
|
+
current_branch: str | None,
|
|
1088
|
+
path: tuple[str, ...] = (),
|
|
1089
|
+
) -> object:
|
|
1085
1090
|
if isinstance(value, dict):
|
|
1086
|
-
return {
|
|
1091
|
+
return {
|
|
1092
|
+
key: portable_bootstrap_value(child, replacements, current_branch, path + (key,))
|
|
1093
|
+
for key, child in value.items()
|
|
1094
|
+
}
|
|
1087
1095
|
if isinstance(value, list):
|
|
1088
|
-
return [portable_bootstrap_value(child, replacements, current_branch) for child in value]
|
|
1096
|
+
return [portable_bootstrap_value(child, replacements, current_branch, path) for child in value]
|
|
1089
1097
|
if not isinstance(value, str):
|
|
1090
1098
|
return value
|
|
1091
|
-
if current_branch and value == current_branch:
|
|
1099
|
+
if current_branch and value == current_branch and path[-1:] != ("default_branch",):
|
|
1092
1100
|
return "${CURRENT_BRANCH}"
|
|
1093
1101
|
portable = value
|
|
1094
1102
|
for source, replacement in replacements:
|
package/payload/plugin/loom/skills/loom-spec-review/.loom-runtime/shared/scripts/loom_init.py
CHANGED
|
@@ -1081,14 +1081,22 @@ def git_branch_name(target_root: Path) -> str | None:
|
|
|
1081
1081
|
return branch
|
|
1082
1082
|
|
|
1083
1083
|
|
|
1084
|
-
def portable_bootstrap_value(
|
|
1084
|
+
def portable_bootstrap_value(
|
|
1085
|
+
value: object,
|
|
1086
|
+
replacements: list[tuple[str, str]],
|
|
1087
|
+
current_branch: str | None,
|
|
1088
|
+
path: tuple[str, ...] = (),
|
|
1089
|
+
) -> object:
|
|
1085
1090
|
if isinstance(value, dict):
|
|
1086
|
-
return {
|
|
1091
|
+
return {
|
|
1092
|
+
key: portable_bootstrap_value(child, replacements, current_branch, path + (key,))
|
|
1093
|
+
for key, child in value.items()
|
|
1094
|
+
}
|
|
1087
1095
|
if isinstance(value, list):
|
|
1088
|
-
return [portable_bootstrap_value(child, replacements, current_branch) for child in value]
|
|
1096
|
+
return [portable_bootstrap_value(child, replacements, current_branch, path) for child in value]
|
|
1089
1097
|
if not isinstance(value, str):
|
|
1090
1098
|
return value
|
|
1091
|
-
if current_branch and value == current_branch:
|
|
1099
|
+
if current_branch and value == current_branch and path[-1:] != ("default_branch",):
|
|
1092
1100
|
return "${CURRENT_BRANCH}"
|
|
1093
1101
|
portable = value
|
|
1094
1102
|
for source, replacement in replacements:
|
|
@@ -1081,14 +1081,22 @@ def git_branch_name(target_root: Path) -> str | None:
|
|
|
1081
1081
|
return branch
|
|
1082
1082
|
|
|
1083
1083
|
|
|
1084
|
-
def portable_bootstrap_value(
|
|
1084
|
+
def portable_bootstrap_value(
|
|
1085
|
+
value: object,
|
|
1086
|
+
replacements: list[tuple[str, str]],
|
|
1087
|
+
current_branch: str | None,
|
|
1088
|
+
path: tuple[str, ...] = (),
|
|
1089
|
+
) -> object:
|
|
1085
1090
|
if isinstance(value, dict):
|
|
1086
|
-
return {
|
|
1091
|
+
return {
|
|
1092
|
+
key: portable_bootstrap_value(child, replacements, current_branch, path + (key,))
|
|
1093
|
+
for key, child in value.items()
|
|
1094
|
+
}
|
|
1087
1095
|
if isinstance(value, list):
|
|
1088
|
-
return [portable_bootstrap_value(child, replacements, current_branch) for child in value]
|
|
1096
|
+
return [portable_bootstrap_value(child, replacements, current_branch, path) for child in value]
|
|
1089
1097
|
if not isinstance(value, str):
|
|
1090
1098
|
return value
|
|
1091
|
-
if current_branch and value == current_branch:
|
|
1099
|
+
if current_branch and value == current_branch and path[-1:] != ("default_branch",):
|
|
1092
1100
|
return "${CURRENT_BRANCH}"
|
|
1093
1101
|
portable = value
|
|
1094
1102
|
for source, replacement in replacements:
|
|
@@ -1081,14 +1081,22 @@ def git_branch_name(target_root: Path) -> str | None:
|
|
|
1081
1081
|
return branch
|
|
1082
1082
|
|
|
1083
1083
|
|
|
1084
|
-
def portable_bootstrap_value(
|
|
1084
|
+
def portable_bootstrap_value(
|
|
1085
|
+
value: object,
|
|
1086
|
+
replacements: list[tuple[str, str]],
|
|
1087
|
+
current_branch: str | None,
|
|
1088
|
+
path: tuple[str, ...] = (),
|
|
1089
|
+
) -> object:
|
|
1085
1090
|
if isinstance(value, dict):
|
|
1086
|
-
return {
|
|
1091
|
+
return {
|
|
1092
|
+
key: portable_bootstrap_value(child, replacements, current_branch, path + (key,))
|
|
1093
|
+
for key, child in value.items()
|
|
1094
|
+
}
|
|
1087
1095
|
if isinstance(value, list):
|
|
1088
|
-
return [portable_bootstrap_value(child, replacements, current_branch) for child in value]
|
|
1096
|
+
return [portable_bootstrap_value(child, replacements, current_branch, path) for child in value]
|
|
1089
1097
|
if not isinstance(value, str):
|
|
1090
1098
|
return value
|
|
1091
|
-
if current_branch and value == current_branch:
|
|
1099
|
+
if current_branch and value == current_branch and path[-1:] != ("default_branch",):
|
|
1092
1100
|
return "${CURRENT_BRANCH}"
|
|
1093
1101
|
portable = value
|
|
1094
1102
|
for source, replacement in replacements:
|
|
@@ -1081,14 +1081,22 @@ def git_branch_name(target_root: Path) -> str | None:
|
|
|
1081
1081
|
return branch
|
|
1082
1082
|
|
|
1083
1083
|
|
|
1084
|
-
def portable_bootstrap_value(
|
|
1084
|
+
def portable_bootstrap_value(
|
|
1085
|
+
value: object,
|
|
1086
|
+
replacements: list[tuple[str, str]],
|
|
1087
|
+
current_branch: str | None,
|
|
1088
|
+
path: tuple[str, ...] = (),
|
|
1089
|
+
) -> object:
|
|
1085
1090
|
if isinstance(value, dict):
|
|
1086
|
-
return {
|
|
1091
|
+
return {
|
|
1092
|
+
key: portable_bootstrap_value(child, replacements, current_branch, path + (key,))
|
|
1093
|
+
for key, child in value.items()
|
|
1094
|
+
}
|
|
1087
1095
|
if isinstance(value, list):
|
|
1088
|
-
return [portable_bootstrap_value(child, replacements, current_branch) for child in value]
|
|
1096
|
+
return [portable_bootstrap_value(child, replacements, current_branch, path) for child in value]
|
|
1089
1097
|
if not isinstance(value, str):
|
|
1090
1098
|
return value
|
|
1091
|
-
if current_branch and value == current_branch:
|
|
1099
|
+
if current_branch and value == current_branch and path[-1:] != ("default_branch",):
|
|
1092
1100
|
return "${CURRENT_BRANCH}"
|
|
1093
1101
|
portable = value
|
|
1094
1102
|
for source, replacement in replacements:
|
|
@@ -1081,14 +1081,22 @@ def git_branch_name(target_root: Path) -> str | None:
|
|
|
1081
1081
|
return branch
|
|
1082
1082
|
|
|
1083
1083
|
|
|
1084
|
-
def portable_bootstrap_value(
|
|
1084
|
+
def portable_bootstrap_value(
|
|
1085
|
+
value: object,
|
|
1086
|
+
replacements: list[tuple[str, str]],
|
|
1087
|
+
current_branch: str | None,
|
|
1088
|
+
path: tuple[str, ...] = (),
|
|
1089
|
+
) -> object:
|
|
1085
1090
|
if isinstance(value, dict):
|
|
1086
|
-
return {
|
|
1091
|
+
return {
|
|
1092
|
+
key: portable_bootstrap_value(child, replacements, current_branch, path + (key,))
|
|
1093
|
+
for key, child in value.items()
|
|
1094
|
+
}
|
|
1087
1095
|
if isinstance(value, list):
|
|
1088
|
-
return [portable_bootstrap_value(child, replacements, current_branch) for child in value]
|
|
1096
|
+
return [portable_bootstrap_value(child, replacements, current_branch, path) for child in value]
|
|
1089
1097
|
if not isinstance(value, str):
|
|
1090
1098
|
return value
|
|
1091
|
-
if current_branch and value == current_branch:
|
|
1099
|
+
if current_branch and value == current_branch and path[-1:] != ("default_branch",):
|
|
1092
1100
|
return "${CURRENT_BRANCH}"
|
|
1093
1101
|
portable = value
|
|
1094
1102
|
for source, replacement in replacements:
|
|
@@ -1081,14 +1081,22 @@ def git_branch_name(target_root: Path) -> str | None:
|
|
|
1081
1081
|
return branch
|
|
1082
1082
|
|
|
1083
1083
|
|
|
1084
|
-
def portable_bootstrap_value(
|
|
1084
|
+
def portable_bootstrap_value(
|
|
1085
|
+
value: object,
|
|
1086
|
+
replacements: list[tuple[str, str]],
|
|
1087
|
+
current_branch: str | None,
|
|
1088
|
+
path: tuple[str, ...] = (),
|
|
1089
|
+
) -> object:
|
|
1085
1090
|
if isinstance(value, dict):
|
|
1086
|
-
return {
|
|
1091
|
+
return {
|
|
1092
|
+
key: portable_bootstrap_value(child, replacements, current_branch, path + (key,))
|
|
1093
|
+
for key, child in value.items()
|
|
1094
|
+
}
|
|
1087
1095
|
if isinstance(value, list):
|
|
1088
|
-
return [portable_bootstrap_value(child, replacements, current_branch) for child in value]
|
|
1096
|
+
return [portable_bootstrap_value(child, replacements, current_branch, path) for child in value]
|
|
1089
1097
|
if not isinstance(value, str):
|
|
1090
1098
|
return value
|
|
1091
|
-
if current_branch and value == current_branch:
|
|
1099
|
+
if current_branch and value == current_branch and path[-1:] != ("default_branch",):
|
|
1092
1100
|
return "${CURRENT_BRANCH}"
|
|
1093
1101
|
portable = value
|
|
1094
1102
|
for source, replacement in replacements:
|
|
@@ -1081,14 +1081,22 @@ def git_branch_name(target_root: Path) -> str | None:
|
|
|
1081
1081
|
return branch
|
|
1082
1082
|
|
|
1083
1083
|
|
|
1084
|
-
def portable_bootstrap_value(
|
|
1084
|
+
def portable_bootstrap_value(
|
|
1085
|
+
value: object,
|
|
1086
|
+
replacements: list[tuple[str, str]],
|
|
1087
|
+
current_branch: str | None,
|
|
1088
|
+
path: tuple[str, ...] = (),
|
|
1089
|
+
) -> object:
|
|
1085
1090
|
if isinstance(value, dict):
|
|
1086
|
-
return {
|
|
1091
|
+
return {
|
|
1092
|
+
key: portable_bootstrap_value(child, replacements, current_branch, path + (key,))
|
|
1093
|
+
for key, child in value.items()
|
|
1094
|
+
}
|
|
1087
1095
|
if isinstance(value, list):
|
|
1088
|
-
return [portable_bootstrap_value(child, replacements, current_branch) for child in value]
|
|
1096
|
+
return [portable_bootstrap_value(child, replacements, current_branch, path) for child in value]
|
|
1089
1097
|
if not isinstance(value, str):
|
|
1090
1098
|
return value
|
|
1091
|
-
if current_branch and value == current_branch:
|
|
1099
|
+
if current_branch and value == current_branch and path[-1:] != ("default_branch",):
|
|
1092
1100
|
return "${CURRENT_BRANCH}"
|
|
1093
1101
|
portable = value
|
|
1094
1102
|
for source, replacement in replacements:
|
|
@@ -1081,14 +1081,22 @@ def git_branch_name(target_root: Path) -> str | None:
|
|
|
1081
1081
|
return branch
|
|
1082
1082
|
|
|
1083
1083
|
|
|
1084
|
-
def portable_bootstrap_value(
|
|
1084
|
+
def portable_bootstrap_value(
|
|
1085
|
+
value: object,
|
|
1086
|
+
replacements: list[tuple[str, str]],
|
|
1087
|
+
current_branch: str | None,
|
|
1088
|
+
path: tuple[str, ...] = (),
|
|
1089
|
+
) -> object:
|
|
1085
1090
|
if isinstance(value, dict):
|
|
1086
|
-
return {
|
|
1091
|
+
return {
|
|
1092
|
+
key: portable_bootstrap_value(child, replacements, current_branch, path + (key,))
|
|
1093
|
+
for key, child in value.items()
|
|
1094
|
+
}
|
|
1087
1095
|
if isinstance(value, list):
|
|
1088
|
-
return [portable_bootstrap_value(child, replacements, current_branch) for child in value]
|
|
1096
|
+
return [portable_bootstrap_value(child, replacements, current_branch, path) for child in value]
|
|
1089
1097
|
if not isinstance(value, str):
|
|
1090
1098
|
return value
|
|
1091
|
-
if current_branch and value == current_branch:
|
|
1099
|
+
if current_branch and value == current_branch and path[-1:] != ("default_branch",):
|
|
1092
1100
|
return "${CURRENT_BRANCH}"
|
|
1093
1101
|
portable = value
|
|
1094
1102
|
for source, replacement in replacements:
|
|
@@ -1081,14 +1081,22 @@ def git_branch_name(target_root: Path) -> str | None:
|
|
|
1081
1081
|
return branch
|
|
1082
1082
|
|
|
1083
1083
|
|
|
1084
|
-
def portable_bootstrap_value(
|
|
1084
|
+
def portable_bootstrap_value(
|
|
1085
|
+
value: object,
|
|
1086
|
+
replacements: list[tuple[str, str]],
|
|
1087
|
+
current_branch: str | None,
|
|
1088
|
+
path: tuple[str, ...] = (),
|
|
1089
|
+
) -> object:
|
|
1085
1090
|
if isinstance(value, dict):
|
|
1086
|
-
return {
|
|
1091
|
+
return {
|
|
1092
|
+
key: portable_bootstrap_value(child, replacements, current_branch, path + (key,))
|
|
1093
|
+
for key, child in value.items()
|
|
1094
|
+
}
|
|
1087
1095
|
if isinstance(value, list):
|
|
1088
|
-
return [portable_bootstrap_value(child, replacements, current_branch) for child in value]
|
|
1096
|
+
return [portable_bootstrap_value(child, replacements, current_branch, path) for child in value]
|
|
1089
1097
|
if not isinstance(value, str):
|
|
1090
1098
|
return value
|
|
1091
|
-
if current_branch and value == current_branch:
|
|
1099
|
+
if current_branch and value == current_branch and path[-1:] != ("default_branch",):
|
|
1092
1100
|
return "${CURRENT_BRANCH}"
|
|
1093
1101
|
portable = value
|
|
1094
1102
|
for source, replacement in replacements:
|
|
@@ -1081,14 +1081,22 @@ def git_branch_name(target_root: Path) -> str | None:
|
|
|
1081
1081
|
return branch
|
|
1082
1082
|
|
|
1083
1083
|
|
|
1084
|
-
def portable_bootstrap_value(
|
|
1084
|
+
def portable_bootstrap_value(
|
|
1085
|
+
value: object,
|
|
1086
|
+
replacements: list[tuple[str, str]],
|
|
1087
|
+
current_branch: str | None,
|
|
1088
|
+
path: tuple[str, ...] = (),
|
|
1089
|
+
) -> object:
|
|
1085
1090
|
if isinstance(value, dict):
|
|
1086
|
-
return {
|
|
1091
|
+
return {
|
|
1092
|
+
key: portable_bootstrap_value(child, replacements, current_branch, path + (key,))
|
|
1093
|
+
for key, child in value.items()
|
|
1094
|
+
}
|
|
1087
1095
|
if isinstance(value, list):
|
|
1088
|
-
return [portable_bootstrap_value(child, replacements, current_branch) for child in value]
|
|
1096
|
+
return [portable_bootstrap_value(child, replacements, current_branch, path) for child in value]
|
|
1089
1097
|
if not isinstance(value, str):
|
|
1090
1098
|
return value
|
|
1091
|
-
if current_branch and value == current_branch:
|
|
1099
|
+
if current_branch and value == current_branch and path[-1:] != ("default_branch",):
|
|
1092
1100
|
return "${CURRENT_BRANCH}"
|
|
1093
1101
|
portable = value
|
|
1094
1102
|
for source, replacement in replacements:
|
|
@@ -1081,14 +1081,22 @@ def git_branch_name(target_root: Path) -> str | None:
|
|
|
1081
1081
|
return branch
|
|
1082
1082
|
|
|
1083
1083
|
|
|
1084
|
-
def portable_bootstrap_value(
|
|
1084
|
+
def portable_bootstrap_value(
|
|
1085
|
+
value: object,
|
|
1086
|
+
replacements: list[tuple[str, str]],
|
|
1087
|
+
current_branch: str | None,
|
|
1088
|
+
path: tuple[str, ...] = (),
|
|
1089
|
+
) -> object:
|
|
1085
1090
|
if isinstance(value, dict):
|
|
1086
|
-
return {
|
|
1091
|
+
return {
|
|
1092
|
+
key: portable_bootstrap_value(child, replacements, current_branch, path + (key,))
|
|
1093
|
+
for key, child in value.items()
|
|
1094
|
+
}
|
|
1087
1095
|
if isinstance(value, list):
|
|
1088
|
-
return [portable_bootstrap_value(child, replacements, current_branch) for child in value]
|
|
1096
|
+
return [portable_bootstrap_value(child, replacements, current_branch, path) for child in value]
|
|
1089
1097
|
if not isinstance(value, str):
|
|
1090
1098
|
return value
|
|
1091
|
-
if current_branch and value == current_branch:
|
|
1099
|
+
if current_branch and value == current_branch and path[-1:] != ("default_branch",):
|
|
1092
1100
|
return "${CURRENT_BRANCH}"
|
|
1093
1101
|
portable = value
|
|
1094
1102
|
for source, replacement in replacements:
|