@outerlayer/cli 0.34.0-next.20261025132734 → 0.34.0-next.20261025180645
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/{agent-setup-HEJM3D3V.js → agent-setup-FNDKCPUP.js} +8 -9
- package/dist/{bridge-NBCXFTT4.js → bridge-YJBB4YA3.js} +2 -3
- package/dist/build-B4OKU4MV.js +16 -0
- package/dist/{build-disk-LEZ6LAM3.js → build-disk-ZL46AEN3.js} +7 -9
- package/dist/build-info.json +1 -1
- package/dist/{builder-I32JOQII.js → builder-XFPWE74N.js} +6 -8
- package/dist/{check-OOUGS65D.js → check-QULEN437.js} +45 -45
- package/dist/{chunk-65AKMFBH.js → chunk-25GRRBTH.js} +1 -1
- package/dist/{chunk-3CKMB2UK.js → chunk-2D6CKNR7.js} +8 -4
- package/dist/{chunk-5THSC6BD.js → chunk-2ILU7UAU.js} +1 -1
- package/dist/{chunk-5QBUX5YZ.js → chunk-3EJBI5JW.js} +3 -3
- package/dist/{chunk-6RKD7YZ6.js → chunk-3N77LUQI.js} +1 -1
- package/dist/{chunk-ES4ULBAL.js → chunk-4UPET3R7.js} +7 -3
- package/dist/{chunk-43I7PXDP.js → chunk-5AFPP3GZ.js} +239 -15
- package/dist/{chunk-HVRQQOMH.js → chunk-63IVRRIO.js} +3 -3
- package/dist/{chunk-FVKH3PMV.js → chunk-6OLVVAOK.js} +5 -5
- package/dist/{chunk-6ZFY2L2T.js → chunk-AJYZNISW.js} +416 -20
- package/dist/{chunk-6NUPXDAA.js → chunk-AVPLEFQR.js} +3 -3
- package/dist/{chunk-EN3YWO7Q.js → chunk-BHSSGVOY.js} +4 -4
- package/dist/{chunk-O6DYCIVW.js → chunk-CAQCDYKF.js} +2 -2
- package/dist/{chunk-7WM7K2DY.js → chunk-DNZYXEMY.js} +35 -21
- package/dist/{chunk-QMWUPRYQ.js → chunk-EGVHFHY4.js} +4 -4
- package/dist/{chunk-ACRRO3MB.js → chunk-FD5ASWTG.js} +22 -22
- package/dist/{chunk-57L2YAJA.js → chunk-FDJPDZSR.js} +1 -1
- package/dist/{chunk-EE2ZZGQV.js → chunk-FVCHHSHB.js} +3 -3
- package/dist/{chunk-BALIE3BA.js → chunk-G4W4B33M.js} +191 -8
- package/dist/{chunk-ZW6L275N.js → chunk-HHFZXOBC.js} +12 -14
- package/dist/{chunk-AMEM2ZLL.js → chunk-INOUUSYI.js} +29 -9
- package/dist/{chunk-XFFUXXI4.js → chunk-JBCOUY4M.js} +3 -3
- package/dist/{chunk-YEVPRO7L.js → chunk-JQSZTQSK.js} +81 -52
- package/dist/{chunk-TDAQHYM4.js → chunk-K2UAQWYO.js} +3 -3
- package/dist/{chunk-ZYKFYNES.js → chunk-KM2HLQE3.js} +2 -2
- package/dist/{chunk-DXJTBU7A.js → chunk-LUHIN4UZ.js} +3 -3
- package/dist/{chunk-SOI6K5DY.js → chunk-MOI2KDLH.js} +1 -1
- package/dist/{chunk-QDVGOMSC.js → chunk-NW26E4YU.js} +3 -3
- package/dist/{chunk-YIBFGAYI.js → chunk-O4Z2MNNL.js} +6 -6
- package/dist/{chunk-L26V6ILJ.js → chunk-OGPEHSNW.js} +1 -1
- package/dist/{chunk-2JB4GD34.js → chunk-OQLF3MQQ.js} +3 -4
- package/dist/{chunk-Z5IW4DHH.js → chunk-OS7DJOQJ.js} +1 -1
- package/dist/{chunk-DA3PLB5N.js → chunk-PAK5P2ND.js} +1 -1
- package/dist/{chunk-3IH6K7KG.js → chunk-PFHTT4PP.js} +5 -5
- package/dist/{chunk-PA6CK6WQ.js → chunk-PXGU3GKY.js} +1 -1
- package/dist/{chunk-YGSY2NWU.js → chunk-QANM5COC.js} +6 -6
- package/dist/{chunk-K5Q6T7SE.js → chunk-QQP3S5FU.js} +3 -3
- package/dist/{chunk-62LXQM7U.js → chunk-RFVIQLNB.js} +5 -5
- package/dist/{chunk-E4ASIOVL.js → chunk-RHV5SRI2.js} +3 -3
- package/dist/{chunk-6LBSAW6I.js → chunk-SI6WDF3U.js} +1 -1
- package/dist/chunk-SUOZYOWO.js +51 -0
- package/dist/{chunk-MZBQTVFG.js → chunk-SYVRBBLW.js} +1 -1
- package/dist/{chunk-5HZGLLNW.js → chunk-TBKV4L2W.js} +5 -5
- package/dist/{chunk-GH246BGV.js → chunk-TFPNPS4Q.js} +1 -1
- package/dist/{chunk-NBZ7XBT6.js → chunk-UMYYYF7B.js} +1 -1
- package/dist/{chunk-Z4KWHSO4.js → chunk-UN3SQTVL.js} +7 -7
- package/dist/{chunk-ZVLSYWDF.js → chunk-UO4FQAOX.js} +16 -12
- package/dist/{chunk-4Y54SQXH.js → chunk-VJ34F55N.js} +105 -44
- package/dist/{chunk-272AKVRP.js → chunk-YHKU2NOZ.js} +1 -1
- package/dist/{chunk-F5UL23I2.js → chunk-YNMVVQOQ.js} +1 -1
- package/dist/{claude-launcher-MORG66PJ.js → claude-launcher-OQZNW7XJ.js} +1 -1
- package/dist/{cli-XI7RUSC5.js → cli-G3P2B2XE.js} +124 -118
- package/dist/{command-BJSHY6OB.js → command-4XOXVWFW.js} +169 -48
- package/dist/config-QASNKYM6.js +16 -0
- package/dist/{connect-cmd-YAUOCX4X.js → connect-cmd-MEDWMW3L.js} +8 -9
- package/dist/{container-start-QADK3YGL.js → container-start-2DHCWV73.js} +34 -36
- package/dist/{context-show-cmd-VHY3OBIA.js → context-show-cmd-VSFCG663.js} +9 -10
- package/dist/{control-plane-launch-QSBWTA2V.js → control-plane-launch-XBGHM7DB.js} +5 -6
- package/dist/{dist-ZAHCXYSG.js → dist-QGN5R4Y2.js} +1 -1
- package/dist/{docker-DJ73SZRC.js → docker-TAC6G4VU.js} +6 -8
- package/dist/{doctor-UR76MCGI.js → doctor-LK6E3XOW.js} +68 -43
- package/dist/{emit-artifact-cmd-DP2EQ54N.js → emit-artifact-cmd-L4REOPWX.js} +13 -14
- package/dist/{emit-cmd-7NMNKDK7.js → emit-cmd-7TU3JBJ2.js} +2 -2
- package/dist/{emit-criteria-cmd-TTFBN6RK.js → emit-criteria-cmd-QVFOQARC.js} +10 -11
- package/dist/{emit-demo-cmd-Z7YGLEBJ.js → emit-demo-cmd-L4B6OOTV.js} +15 -16
- package/dist/{emit-finding-cmd-IQRD3J2X.js → emit-finding-cmd-YXFCIWMU.js} +10 -11
- package/dist/{emit-result-cmd-GIWB6UHH.js → emit-result-cmd-NI4LCTUM.js} +12 -13
- package/dist/{emit-step-cmd-PU5TTU6C.js → emit-step-cmd-HWAUCZZB.js} +10 -11
- package/dist/{exec-client-7PT4W7JR.js → exec-client-QB4OZRGM.js} +3 -4
- package/dist/find-unit-4UR647S4.js +18 -0
- package/dist/{findings-cmd-7J5SHCUO.js → findings-cmd-O2IBO25E.js} +10 -11
- package/dist/{fleet-readiness-G63D76EX.js → fleet-readiness-NJYTQYTA.js} +5 -6
- package/dist/{governing-source-DLESDP6T.js → governing-source-JCI7VDQ6.js} +12 -13
- package/dist/{guest-init-J3F3AEEY.js → guest-init-IF5LXGUL.js} +4 -5
- package/dist/{hook-fast-VQXRDS6E.js → hook-fast-GPUL7T77.js} +1 -1
- package/dist/host-key-5RU322O3.js +9 -0
- package/dist/{image-tag-ADSLWXBA.js → image-tag-SEMBVB5D.js} +3 -4
- package/dist/index.js +4 -4
- package/dist/{init-KSXU4PA7.js → init-2CEULE3F.js} +25 -27
- package/dist/{init-67R7LO4C.js → init-FAIF7KOK.js} +25 -27
- package/dist/{init-cmd-MNOVMADM.js → init-cmd-HZUUMO45.js} +13 -14
- package/dist/{init-update-6KEXRCJH.js → init-update-TTMFFNMB.js} +12 -13
- package/dist/{install-cmd-FV7IZ7XF.js → install-cmd-TWGRGEVL.js} +5 -6
- package/dist/{logs-HI46FO6Z.js → logs-6CMB3DO6.js} +2 -3
- package/dist/{loop-KUEOPBKX.js → loop-7U7MVICV.js} +41 -43
- package/dist/{machine-EQEAPT76.js → machine-S3JHOX4V.js} +25 -27
- package/dist/{mcp-serve-cmd-7ABBV2QE.js → mcp-serve-cmd-MWGIN6YL.js} +4 -5
- package/dist/{paths-7HVTDE6J.js → paths-T2DEBI62.js} +2 -3
- package/dist/pending-ERXWVLLG.js +9 -0
- package/dist/{pidfile-5UDLYPMC.js → pidfile-EAD2OEM7.js} +3 -4
- package/dist/{record-PPZEXAVA.js → record-IMXQNHPB.js} +3 -4
- package/dist/runner-env-BJPUHAKZ.js +18 -0
- package/dist/runner-identity-ZCPPC2BJ.js +13 -0
- package/dist/{runner-key-ML7R33HF.js → runner-key-CYSUYKSX.js} +25 -27
- package/dist/{session-sender-A43GZQ7T.js → session-sender-5T7BXPKC.js} +13 -14
- package/dist/{spec-cmd-VVUJZSG2.js → spec-cmd-4ABYAFNZ.js} +11 -12
- package/dist/{status-4G6K7I2C.js → status-2AP7J2L7.js} +32 -34
- package/dist/{sync-cmd-ZEC65ABJ.js → sync-cmd-34CGNA6T.js} +12 -13
- package/dist/{update-steps-XLO7734I.js → update-steps-JQOCCDWO.js} +33 -35
- package/dist/{watch-QB4AMWR3.js → watch-6HU7LCUY.js} +12 -13
- package/dist/{work-claim-cmd-6W3GBHRS.js → work-claim-cmd-5QKLHSCR.js} +17 -19
- package/dist/{work-cmd-LTZXOPPN.js → work-cmd-3MKUIE2C.js} +10 -11
- package/dist/{work-comment-cmd-LDZBUO6M.js → work-comment-cmd-ESC3DSHI.js} +11 -12
- package/dist/{work-demo-cmd-77LISWQ3.js → work-demo-cmd-7S23DGYO.js} +10 -11
- package/dist/{work-logs-cmd-FK7HE7PC.js → work-logs-cmd-46UPNN7Q.js} +10 -11
- package/dist/{work-open-pr-cmd-WVONEHZL.js → work-open-pr-cmd-JNGTGLIP.js} +11 -12
- package/dist/{work-pr-cmd-6IPXWJEH.js → work-pr-cmd-2J2LKETD.js} +10 -11
- package/dist/{work-proofs-cmd-TGIAP5IO.js → work-proofs-cmd-HRWTHYSS.js} +11 -12
- package/dist/{work-proofs-record-XPAU7N57.js → work-proofs-record-6OKAT3IC.js} +18 -19
- package/dist/{work-stop-cmd-UJ45EV3A.js → work-stop-cmd-Y22XIVQ6.js} +10 -11
- package/package.json +1 -1
- package/dist/build-LSU25G3M.js +0 -14
- package/dist/chunk-3Z3MPR55.js +0 -226
- package/dist/chunk-HACGUL52.js +0 -183
- package/dist/config-WRHQDGVI.js +0 -18
- package/dist/host-key-UERIQRE6.js +0 -10
- package/dist/inspect-DNLXTXLA.js +0 -6
- package/dist/install-OCBERTPQ.js +0 -19
- package/dist/pending-5HZACM2V.js +0 -10
- package/dist/runner-env-L7OPH3O3.js +0 -20
- package/dist/runner-identity-VASV2AEQ.js +0 -15
- package/dist/{chunk-2AIOOU3A.js → chunk-KPHRRCUY.js} +1 -1
|
@@ -22021,15 +22021,15 @@ var ModelRegistryImpl = class {
|
|
|
22021
22021
|
};
|
|
22022
22022
|
var models_default = {
|
|
22023
22023
|
version: "1.0.0",
|
|
22024
|
-
generatedAt: "2026-10-
|
|
22024
|
+
generatedAt: "2026-10-25T03:54:26.839Z",
|
|
22025
22025
|
sources: {
|
|
22026
22026
|
litellm: {
|
|
22027
|
-
fetchedAt: "2026-10-
|
|
22028
|
-
modelCount:
|
|
22027
|
+
fetchedAt: "2026-10-25T03:54:26.839Z",
|
|
22028
|
+
modelCount: 2006
|
|
22029
22029
|
},
|
|
22030
22030
|
openrouter: {
|
|
22031
|
-
fetchedAt: "2026-10-
|
|
22032
|
-
modelCount:
|
|
22031
|
+
fetchedAt: "2026-10-25T03:54:26.839Z",
|
|
22032
|
+
modelCount: 198
|
|
22033
22033
|
}
|
|
22034
22034
|
},
|
|
22035
22035
|
models: {
|
|
@@ -23383,7 +23383,7 @@ var models_default = {
|
|
|
23383
23383
|
},
|
|
23384
23384
|
"gpt-3.5-turbo": {
|
|
23385
23385
|
provider: "openai",
|
|
23386
|
-
displayName: "
|
|
23386
|
+
displayName: "GPT-3.5 Turbo",
|
|
23387
23387
|
mode: "chat",
|
|
23388
23388
|
source: "litellm",
|
|
23389
23389
|
pricing: {
|
|
@@ -23396,17 +23396,9 @@ var models_default = {
|
|
|
23396
23396
|
},
|
|
23397
23397
|
capabilities: {
|
|
23398
23398
|
functionCalling: true,
|
|
23399
|
-
promptCaching: true
|
|
23400
|
-
structuredOutput: true
|
|
23399
|
+
promptCaching: true
|
|
23401
23400
|
},
|
|
23402
|
-
deprecationDate: "2026-10-23"
|
|
23403
|
-
supportedParameters: [
|
|
23404
|
-
"frequency_penalty",
|
|
23405
|
-
"max_tokens",
|
|
23406
|
-
"presence_penalty",
|
|
23407
|
-
"temperature",
|
|
23408
|
-
"top_p"
|
|
23409
|
-
]
|
|
23401
|
+
deprecationDate: "2026-10-23"
|
|
23410
23402
|
},
|
|
23411
23403
|
"gpt-3.5-turbo-0125": {
|
|
23412
23404
|
provider: "openai",
|
|
@@ -42645,7 +42637,7 @@ var models_default = {
|
|
|
42645
42637
|
cacheReadCostPerToken: 5e-7
|
|
42646
42638
|
},
|
|
42647
42639
|
context: {
|
|
42648
|
-
maxInputTokens:
|
|
42640
|
+
maxInputTokens: 128e3,
|
|
42649
42641
|
maxOutputTokens: 128e3
|
|
42650
42642
|
},
|
|
42651
42643
|
capabilities: {
|
|
@@ -43976,7 +43968,8 @@ var models_default = {
|
|
|
43976
43968
|
},
|
|
43977
43969
|
capabilities: {
|
|
43978
43970
|
structuredOutput: true
|
|
43979
|
-
}
|
|
43971
|
+
},
|
|
43972
|
+
deprecationDate: "2026-10-25"
|
|
43980
43973
|
},
|
|
43981
43974
|
"claude-3.7-sonnet": {
|
|
43982
43975
|
provider: "anthropic",
|
|
@@ -54620,7 +54613,8 @@ var models_default = {
|
|
|
54620
54613
|
capabilities: {
|
|
54621
54614
|
functionCalling: true,
|
|
54622
54615
|
structuredOutput: true
|
|
54623
|
-
}
|
|
54616
|
+
},
|
|
54617
|
+
deprecationDate: "2026-10-25"
|
|
54624
54618
|
},
|
|
54625
54619
|
"grok-4.20-0309-non-reasoning": {
|
|
54626
54620
|
provider: "xai",
|
|
@@ -57824,6 +57818,10 @@ var models_default = {
|
|
|
57824
57818
|
inputCostPerToken: 33e-8,
|
|
57825
57819
|
outputCostPerToken: 275e-8
|
|
57826
57820
|
},
|
|
57821
|
+
context: {
|
|
57822
|
+
maxInputTokens: 1e6,
|
|
57823
|
+
maxOutputTokens: 64e3
|
|
57824
|
+
},
|
|
57827
57825
|
capabilities: {
|
|
57828
57826
|
audioInput: true,
|
|
57829
57827
|
audioOutput: true
|
|
@@ -60601,7 +60599,7 @@ var models_default = {
|
|
|
60601
60599
|
cacheReadCostPerToken: 55e-8
|
|
60602
60600
|
},
|
|
60603
60601
|
context: {
|
|
60604
|
-
maxInputTokens:
|
|
60602
|
+
maxInputTokens: 128e3,
|
|
60605
60603
|
maxOutputTokens: 128e3
|
|
60606
60604
|
},
|
|
60607
60605
|
capabilities: {
|
|
@@ -66132,6 +66130,10 @@ var models_default = {
|
|
|
66132
66130
|
inputCostPerToken: 33e-8,
|
|
66133
66131
|
outputCostPerToken: 275e-8
|
|
66134
66132
|
},
|
|
66133
|
+
context: {
|
|
66134
|
+
maxInputTokens: 256e3,
|
|
66135
|
+
maxOutputTokens: 64e3
|
|
66136
|
+
},
|
|
66135
66137
|
capabilities: {
|
|
66136
66138
|
audioInput: true,
|
|
66137
66139
|
audioOutput: true
|
|
@@ -68112,6 +68114,400 @@ var models_default = {
|
|
|
68112
68114
|
capabilities: {
|
|
68113
68115
|
promptCaching: true
|
|
68114
68116
|
}
|
|
68117
|
+
},
|
|
68118
|
+
"zai-glm-5-3-flash": {
|
|
68119
|
+
provider: "mistral",
|
|
68120
|
+
displayName: "Zai Glm 5 3 Flash",
|
|
68121
|
+
mode: "chat",
|
|
68122
|
+
source: "litellm",
|
|
68123
|
+
pricing: {
|
|
68124
|
+
inputCostPerToken: 15e-8,
|
|
68125
|
+
outputCostPerToken: 5e-7,
|
|
68126
|
+
cacheReadCostPerToken: 3e-8
|
|
68127
|
+
},
|
|
68128
|
+
context: {
|
|
68129
|
+
maxInputTokens: 1048576,
|
|
68130
|
+
maxOutputTokens: 131072
|
|
68131
|
+
},
|
|
68132
|
+
capabilities: {
|
|
68133
|
+
vision: true,
|
|
68134
|
+
functionCalling: true,
|
|
68135
|
+
structuredOutput: true,
|
|
68136
|
+
promptCaching: true,
|
|
68137
|
+
reasoning: true
|
|
68138
|
+
}
|
|
68139
|
+
},
|
|
68140
|
+
"claude_platform/claude-fable-5": {
|
|
68141
|
+
provider: "bedrock",
|
|
68142
|
+
displayName: "Claude Platform/claude Fable 5",
|
|
68143
|
+
mode: "chat",
|
|
68144
|
+
source: "litellm",
|
|
68145
|
+
pricing: {
|
|
68146
|
+
inputCostPerToken: 1e-5,
|
|
68147
|
+
outputCostPerToken: 5e-5,
|
|
68148
|
+
cacheCreationCostPerToken: 125e-7,
|
|
68149
|
+
cacheReadCostPerToken: 1e-6,
|
|
68150
|
+
cacheCreation1hCostPerToken: 2e-5
|
|
68151
|
+
},
|
|
68152
|
+
context: {
|
|
68153
|
+
maxInputTokens: 1e6,
|
|
68154
|
+
maxOutputTokens: 128e3
|
|
68155
|
+
},
|
|
68156
|
+
capabilities: {
|
|
68157
|
+
vision: true,
|
|
68158
|
+
functionCalling: true,
|
|
68159
|
+
structuredOutput: true,
|
|
68160
|
+
promptCaching: true,
|
|
68161
|
+
reasoning: true,
|
|
68162
|
+
pdfInput: true,
|
|
68163
|
+
webSearch: true
|
|
68164
|
+
}
|
|
68165
|
+
},
|
|
68166
|
+
"claude_platform/claude-fable-5-1": {
|
|
68167
|
+
provider: "bedrock",
|
|
68168
|
+
displayName: "Claude Platform/claude Fable 5 1",
|
|
68169
|
+
mode: "chat",
|
|
68170
|
+
source: "litellm",
|
|
68171
|
+
pricing: {
|
|
68172
|
+
inputCostPerToken: 1e-5,
|
|
68173
|
+
outputCostPerToken: 5e-5,
|
|
68174
|
+
cacheCreationCostPerToken: 125e-7,
|
|
68175
|
+
cacheReadCostPerToken: 25e-8,
|
|
68176
|
+
cacheCreation1hCostPerToken: 2e-5
|
|
68177
|
+
},
|
|
68178
|
+
context: {
|
|
68179
|
+
maxInputTokens: 1e6,
|
|
68180
|
+
maxOutputTokens: 128e3
|
|
68181
|
+
},
|
|
68182
|
+
capabilities: {
|
|
68183
|
+
vision: true,
|
|
68184
|
+
functionCalling: true,
|
|
68185
|
+
structuredOutput: true,
|
|
68186
|
+
promptCaching: true,
|
|
68187
|
+
reasoning: true,
|
|
68188
|
+
pdfInput: true,
|
|
68189
|
+
webSearch: true
|
|
68190
|
+
}
|
|
68191
|
+
},
|
|
68192
|
+
"claude_platform/claude-haiku-4-5": {
|
|
68193
|
+
provider: "bedrock",
|
|
68194
|
+
displayName: "Claude Platform/claude Haiku 4 5",
|
|
68195
|
+
mode: "chat",
|
|
68196
|
+
source: "litellm",
|
|
68197
|
+
pricing: {
|
|
68198
|
+
inputCostPerToken: 1e-6,
|
|
68199
|
+
outputCostPerToken: 5e-6,
|
|
68200
|
+
cacheCreationCostPerToken: 125e-8,
|
|
68201
|
+
cacheReadCostPerToken: 1e-7,
|
|
68202
|
+
cacheCreation1hCostPerToken: 2e-6
|
|
68203
|
+
},
|
|
68204
|
+
context: {
|
|
68205
|
+
maxInputTokens: 2e5,
|
|
68206
|
+
maxOutputTokens: 64e3
|
|
68207
|
+
},
|
|
68208
|
+
capabilities: {
|
|
68209
|
+
vision: true,
|
|
68210
|
+
functionCalling: true,
|
|
68211
|
+
structuredOutput: true,
|
|
68212
|
+
promptCaching: true,
|
|
68213
|
+
reasoning: true,
|
|
68214
|
+
pdfInput: true
|
|
68215
|
+
}
|
|
68216
|
+
},
|
|
68217
|
+
"claude_platform/claude-haiku-5-5": {
|
|
68218
|
+
provider: "bedrock",
|
|
68219
|
+
displayName: "Claude Platform/claude Haiku 5 5",
|
|
68220
|
+
mode: "chat",
|
|
68221
|
+
source: "litellm",
|
|
68222
|
+
pricing: {
|
|
68223
|
+
inputCostPerToken: 1e-7,
|
|
68224
|
+
outputCostPerToken: 5e-7,
|
|
68225
|
+
cacheCreationCostPerToken: 125e-9,
|
|
68226
|
+
cacheReadCostPerToken: 1e-8,
|
|
68227
|
+
cacheCreation1hCostPerToken: 2e-7,
|
|
68228
|
+
tiers: [
|
|
68229
|
+
{
|
|
68230
|
+
aboveInputTokens: 1e5,
|
|
68231
|
+
inputCostPerToken: 5e-7,
|
|
68232
|
+
outputCostPerToken: 25e-7,
|
|
68233
|
+
cacheCreationCostPerToken: 625e-9,
|
|
68234
|
+
cacheCreation1hCostPerToken: 1e-6,
|
|
68235
|
+
cacheReadCostPerToken: 5e-8
|
|
68236
|
+
}
|
|
68237
|
+
]
|
|
68238
|
+
},
|
|
68239
|
+
context: {
|
|
68240
|
+
maxInputTokens: 1e6,
|
|
68241
|
+
maxOutputTokens: 128e3
|
|
68242
|
+
},
|
|
68243
|
+
capabilities: {
|
|
68244
|
+
vision: true,
|
|
68245
|
+
functionCalling: true,
|
|
68246
|
+
structuredOutput: true,
|
|
68247
|
+
promptCaching: true,
|
|
68248
|
+
reasoning: true,
|
|
68249
|
+
pdfInput: true,
|
|
68250
|
+
webSearch: true
|
|
68251
|
+
}
|
|
68252
|
+
},
|
|
68253
|
+
"claude_platform/claude-opus-4-5": {
|
|
68254
|
+
provider: "bedrock",
|
|
68255
|
+
displayName: "Claude Platform/claude Opus 4 5",
|
|
68256
|
+
mode: "chat",
|
|
68257
|
+
source: "litellm",
|
|
68258
|
+
pricing: {
|
|
68259
|
+
inputCostPerToken: 5e-6,
|
|
68260
|
+
outputCostPerToken: 25e-6,
|
|
68261
|
+
cacheCreationCostPerToken: 625e-8,
|
|
68262
|
+
cacheReadCostPerToken: 5e-7,
|
|
68263
|
+
cacheCreation1hCostPerToken: 1e-5
|
|
68264
|
+
},
|
|
68265
|
+
context: {
|
|
68266
|
+
maxInputTokens: 2e5,
|
|
68267
|
+
maxOutputTokens: 64e3
|
|
68268
|
+
},
|
|
68269
|
+
capabilities: {
|
|
68270
|
+
vision: true,
|
|
68271
|
+
functionCalling: true,
|
|
68272
|
+
structuredOutput: true,
|
|
68273
|
+
promptCaching: true,
|
|
68274
|
+
reasoning: true,
|
|
68275
|
+
pdfInput: true
|
|
68276
|
+
}
|
|
68277
|
+
},
|
|
68278
|
+
"claude_platform/claude-opus-4-6": {
|
|
68279
|
+
provider: "bedrock",
|
|
68280
|
+
displayName: "Claude Platform/claude Opus 4 6",
|
|
68281
|
+
mode: "chat",
|
|
68282
|
+
source: "litellm",
|
|
68283
|
+
pricing: {
|
|
68284
|
+
inputCostPerToken: 5e-6,
|
|
68285
|
+
outputCostPerToken: 25e-6,
|
|
68286
|
+
cacheCreationCostPerToken: 625e-8,
|
|
68287
|
+
cacheReadCostPerToken: 5e-7,
|
|
68288
|
+
cacheCreation1hCostPerToken: 1e-5
|
|
68289
|
+
},
|
|
68290
|
+
context: {
|
|
68291
|
+
maxInputTokens: 1e6,
|
|
68292
|
+
maxOutputTokens: 128e3
|
|
68293
|
+
},
|
|
68294
|
+
capabilities: {
|
|
68295
|
+
vision: true,
|
|
68296
|
+
functionCalling: true,
|
|
68297
|
+
structuredOutput: true,
|
|
68298
|
+
promptCaching: true,
|
|
68299
|
+
reasoning: true,
|
|
68300
|
+
pdfInput: true,
|
|
68301
|
+
webSearch: true
|
|
68302
|
+
}
|
|
68303
|
+
},
|
|
68304
|
+
"claude_platform/claude-opus-4-7": {
|
|
68305
|
+
provider: "bedrock",
|
|
68306
|
+
displayName: "Claude Platform/claude Opus 4 7",
|
|
68307
|
+
mode: "chat",
|
|
68308
|
+
source: "litellm",
|
|
68309
|
+
pricing: {
|
|
68310
|
+
inputCostPerToken: 5e-6,
|
|
68311
|
+
outputCostPerToken: 25e-6,
|
|
68312
|
+
cacheCreationCostPerToken: 625e-8,
|
|
68313
|
+
cacheReadCostPerToken: 5e-7,
|
|
68314
|
+
cacheCreation1hCostPerToken: 1e-5
|
|
68315
|
+
},
|
|
68316
|
+
context: {
|
|
68317
|
+
maxInputTokens: 1e6,
|
|
68318
|
+
maxOutputTokens: 128e3
|
|
68319
|
+
},
|
|
68320
|
+
capabilities: {
|
|
68321
|
+
vision: true,
|
|
68322
|
+
functionCalling: true,
|
|
68323
|
+
structuredOutput: true,
|
|
68324
|
+
promptCaching: true,
|
|
68325
|
+
reasoning: true,
|
|
68326
|
+
pdfInput: true,
|
|
68327
|
+
webSearch: true
|
|
68328
|
+
}
|
|
68329
|
+
},
|
|
68330
|
+
"claude_platform/claude-opus-4-8": {
|
|
68331
|
+
provider: "bedrock",
|
|
68332
|
+
displayName: "Claude Platform/claude Opus 4 8",
|
|
68333
|
+
mode: "chat",
|
|
68334
|
+
source: "litellm",
|
|
68335
|
+
pricing: {
|
|
68336
|
+
inputCostPerToken: 5e-6,
|
|
68337
|
+
outputCostPerToken: 25e-6,
|
|
68338
|
+
cacheCreationCostPerToken: 625e-8,
|
|
68339
|
+
cacheReadCostPerToken: 5e-7,
|
|
68340
|
+
cacheCreation1hCostPerToken: 1e-5
|
|
68341
|
+
},
|
|
68342
|
+
context: {
|
|
68343
|
+
maxInputTokens: 1e6,
|
|
68344
|
+
maxOutputTokens: 128e3
|
|
68345
|
+
},
|
|
68346
|
+
capabilities: {
|
|
68347
|
+
vision: true,
|
|
68348
|
+
functionCalling: true,
|
|
68349
|
+
structuredOutput: true,
|
|
68350
|
+
promptCaching: true,
|
|
68351
|
+
reasoning: true,
|
|
68352
|
+
pdfInput: true,
|
|
68353
|
+
webSearch: true
|
|
68354
|
+
}
|
|
68355
|
+
},
|
|
68356
|
+
"claude_platform/claude-opus-5": {
|
|
68357
|
+
provider: "bedrock",
|
|
68358
|
+
displayName: "Claude Platform/claude Opus 5",
|
|
68359
|
+
mode: "chat",
|
|
68360
|
+
source: "litellm",
|
|
68361
|
+
pricing: {
|
|
68362
|
+
inputCostPerToken: 5e-6,
|
|
68363
|
+
outputCostPerToken: 25e-6,
|
|
68364
|
+
cacheCreationCostPerToken: 625e-8,
|
|
68365
|
+
cacheReadCostPerToken: 5e-7,
|
|
68366
|
+
cacheCreation1hCostPerToken: 1e-5
|
|
68367
|
+
},
|
|
68368
|
+
context: {
|
|
68369
|
+
maxInputTokens: 1e6,
|
|
68370
|
+
maxOutputTokens: 128e3
|
|
68371
|
+
},
|
|
68372
|
+
capabilities: {
|
|
68373
|
+
vision: true,
|
|
68374
|
+
functionCalling: true,
|
|
68375
|
+
structuredOutput: true,
|
|
68376
|
+
promptCaching: true,
|
|
68377
|
+
reasoning: true,
|
|
68378
|
+
pdfInput: true,
|
|
68379
|
+
webSearch: true
|
|
68380
|
+
}
|
|
68381
|
+
},
|
|
68382
|
+
"claude_platform/claude-opus-5-5": {
|
|
68383
|
+
provider: "bedrock",
|
|
68384
|
+
displayName: "Claude Platform/claude Opus 5 5",
|
|
68385
|
+
mode: "chat",
|
|
68386
|
+
source: "litellm",
|
|
68387
|
+
pricing: {
|
|
68388
|
+
inputCostPerToken: 4e-6,
|
|
68389
|
+
outputCostPerToken: 2e-5,
|
|
68390
|
+
cacheCreationCostPerToken: 5e-6,
|
|
68391
|
+
cacheReadCostPerToken: 2e-7,
|
|
68392
|
+
cacheCreation1hCostPerToken: 8e-6
|
|
68393
|
+
},
|
|
68394
|
+
context: {
|
|
68395
|
+
maxInputTokens: 1e6,
|
|
68396
|
+
maxOutputTokens: 128e3
|
|
68397
|
+
},
|
|
68398
|
+
capabilities: {
|
|
68399
|
+
vision: true,
|
|
68400
|
+
functionCalling: true,
|
|
68401
|
+
structuredOutput: true,
|
|
68402
|
+
promptCaching: true,
|
|
68403
|
+
reasoning: true,
|
|
68404
|
+
pdfInput: true,
|
|
68405
|
+
webSearch: true
|
|
68406
|
+
}
|
|
68407
|
+
},
|
|
68408
|
+
"claude_platform/claude-sonnet-4-5": {
|
|
68409
|
+
provider: "bedrock",
|
|
68410
|
+
displayName: "Claude Platform/claude Sonnet 4 5",
|
|
68411
|
+
mode: "chat",
|
|
68412
|
+
source: "litellm",
|
|
68413
|
+
pricing: {
|
|
68414
|
+
inputCostPerToken: 3e-6,
|
|
68415
|
+
outputCostPerToken: 15e-6,
|
|
68416
|
+
cacheCreationCostPerToken: 375e-8,
|
|
68417
|
+
cacheReadCostPerToken: 3e-7,
|
|
68418
|
+
cacheCreation1hCostPerToken: 6e-6
|
|
68419
|
+
},
|
|
68420
|
+
context: {
|
|
68421
|
+
maxInputTokens: 2e5,
|
|
68422
|
+
maxOutputTokens: 64e3
|
|
68423
|
+
},
|
|
68424
|
+
capabilities: {
|
|
68425
|
+
vision: true,
|
|
68426
|
+
functionCalling: true,
|
|
68427
|
+
structuredOutput: true,
|
|
68428
|
+
promptCaching: true,
|
|
68429
|
+
reasoning: true,
|
|
68430
|
+
pdfInput: true
|
|
68431
|
+
},
|
|
68432
|
+
deprecationDate: "2026-11-30"
|
|
68433
|
+
},
|
|
68434
|
+
"claude_platform/claude-sonnet-4-6": {
|
|
68435
|
+
provider: "bedrock",
|
|
68436
|
+
displayName: "Claude Platform/claude Sonnet 4 6",
|
|
68437
|
+
mode: "chat",
|
|
68438
|
+
source: "litellm",
|
|
68439
|
+
pricing: {
|
|
68440
|
+
inputCostPerToken: 3e-6,
|
|
68441
|
+
outputCostPerToken: 15e-6,
|
|
68442
|
+
cacheCreationCostPerToken: 375e-8,
|
|
68443
|
+
cacheReadCostPerToken: 3e-7,
|
|
68444
|
+
cacheCreation1hCostPerToken: 6e-6
|
|
68445
|
+
},
|
|
68446
|
+
context: {
|
|
68447
|
+
maxInputTokens: 1e6,
|
|
68448
|
+
maxOutputTokens: 128e3
|
|
68449
|
+
},
|
|
68450
|
+
capabilities: {
|
|
68451
|
+
vision: true,
|
|
68452
|
+
functionCalling: true,
|
|
68453
|
+
structuredOutput: true,
|
|
68454
|
+
promptCaching: true,
|
|
68455
|
+
reasoning: true,
|
|
68456
|
+
pdfInput: true,
|
|
68457
|
+
webSearch: true
|
|
68458
|
+
}
|
|
68459
|
+
},
|
|
68460
|
+
"claude_platform/claude-sonnet-5": {
|
|
68461
|
+
provider: "bedrock",
|
|
68462
|
+
displayName: "Claude Platform/claude Sonnet 5",
|
|
68463
|
+
mode: "chat",
|
|
68464
|
+
source: "litellm",
|
|
68465
|
+
pricing: {
|
|
68466
|
+
inputCostPerToken: 2e-6,
|
|
68467
|
+
outputCostPerToken: 1e-5,
|
|
68468
|
+
cacheCreationCostPerToken: 25e-7,
|
|
68469
|
+
cacheReadCostPerToken: 2e-7,
|
|
68470
|
+
cacheCreation1hCostPerToken: 4e-6
|
|
68471
|
+
},
|
|
68472
|
+
context: {
|
|
68473
|
+
maxInputTokens: 1e6,
|
|
68474
|
+
maxOutputTokens: 128e3
|
|
68475
|
+
},
|
|
68476
|
+
capabilities: {
|
|
68477
|
+
vision: true,
|
|
68478
|
+
functionCalling: true,
|
|
68479
|
+
structuredOutput: true,
|
|
68480
|
+
promptCaching: true,
|
|
68481
|
+
reasoning: true,
|
|
68482
|
+
pdfInput: true,
|
|
68483
|
+
webSearch: true
|
|
68484
|
+
}
|
|
68485
|
+
},
|
|
68486
|
+
"claude_platform/claude-sonnet-5-5": {
|
|
68487
|
+
provider: "bedrock",
|
|
68488
|
+
displayName: "Claude Platform/claude Sonnet 5 5",
|
|
68489
|
+
mode: "chat",
|
|
68490
|
+
source: "litellm",
|
|
68491
|
+
pricing: {
|
|
68492
|
+
inputCostPerToken: 2e-6,
|
|
68493
|
+
outputCostPerToken: 1e-5,
|
|
68494
|
+
cacheCreationCostPerToken: 25e-7,
|
|
68495
|
+
cacheReadCostPerToken: 1e-7,
|
|
68496
|
+
cacheCreation1hCostPerToken: 4e-6
|
|
68497
|
+
},
|
|
68498
|
+
context: {
|
|
68499
|
+
maxInputTokens: 1e6,
|
|
68500
|
+
maxOutputTokens: 128e3
|
|
68501
|
+
},
|
|
68502
|
+
capabilities: {
|
|
68503
|
+
vision: true,
|
|
68504
|
+
functionCalling: true,
|
|
68505
|
+
structuredOutput: true,
|
|
68506
|
+
promptCaching: true,
|
|
68507
|
+
reasoning: true,
|
|
68508
|
+
pdfInput: true,
|
|
68509
|
+
webSearch: true
|
|
68510
|
+
}
|
|
68115
68511
|
}
|
|
68116
68512
|
}
|
|
68117
68513
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-
|
|
4
|
-
import {
|
|
5
|
-
import { resolveGatewayCredentials } from './chunk-6RKD7YZ6.js';
|
|
3
|
+
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-FVCHHSHB.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-3N77LUQI.js';
|
|
6
5
|
import { readCloudConfig } from './chunk-PJDQPF5N.js';
|
|
7
6
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
|
+
import { resolveRepoIdentity } from './chunk-AJYZNISW.js';
|
|
8
8
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
9
9
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
10
10
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveCredentials, postJson, getJson } from './chunk-
|
|
3
|
+
import { resolveCredentials, postJson, getJson } from './chunk-UN3SQTVL.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
5
|
-
import { sanitizeTerminal } from './chunk-MECW77XP.js';
|
|
6
|
-
import { resolveRepoIdentity } from './chunk-6ZFY2L2T.js';
|
|
7
5
|
import { C } from './chunk-ANPNT6PM.js';
|
|
8
|
-
import {
|
|
6
|
+
import { sanitizeTerminal } from './chunk-MECW77XP.js';
|
|
7
|
+
import { defaultFetch } from './chunk-3N77LUQI.js';
|
|
8
|
+
import { resolveRepoIdentity } from './chunk-AJYZNISW.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
11
11
|
import { randomUUID } from 'crypto';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { removeRetiredSkills } from './chunk-JWNH4ZTF.js';
|
|
4
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
5
|
-
import { withTokenHeader } from './chunk-BALIE3BA.js';
|
|
4
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-3N77LUQI.js';
|
|
6
5
|
import { appendContextProvenance } from './chunk-ZJSNLVCE.js';
|
|
7
6
|
import { loadMaintainedFiles, writeMaintainedFiles } from './chunk-ZQSANKS4.js';
|
|
8
7
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
9
8
|
import { writeDegraded, writeSourceCache, SOURCE_CACHE_TTL_RETRY_MS, writeContextManifest, SOURCE_CACHE_TTL_SUCCESS_MS, readSourceCache, isSourceCacheFresh, clearDegraded } from './chunk-YQR6E6OV.js';
|
|
10
9
|
import { normalizeRepoName, parseOuterlayerConfig, classifyTree, emitTree } from './chunk-FGXT5OXS.js';
|
|
11
10
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
11
|
+
import { withTokenHeader } from './chunk-G4W4B33M.js';
|
|
12
12
|
import { execFileSync } from 'child_process';
|
|
13
13
|
import { existsSync, mkdirSync, writeFileSync, chmodSync, lstatSync, readFileSync, copyFileSync } from 'fs';
|
|
14
14
|
import { isAbsolute, join, dirname } from 'path';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
4
|
-
import { checkFit } from './chunk-
|
|
5
|
-
import { builtinKind, imageBuildOf } from './chunk-
|
|
6
|
-
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
7
|
-
import { builderDiskPinned } from './chunk-
|
|
8
|
-
import { claudeCredentialVariablesSet, claudeCredential } from './chunk-
|
|
9
|
-
import { closeSync, openSync, constants } from 'fs';
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-JQSZTQSK.js';
|
|
4
|
+
import { checkFit } from './chunk-INOUUSYI.js';
|
|
5
|
+
import { builtinKind, imageBuildOf, keepsHostBuilder } from './chunk-2D6CKNR7.js';
|
|
6
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-KM2HLQE3.js';
|
|
7
|
+
import { builderDiskPinned } from './chunk-4UPET3R7.js';
|
|
8
|
+
import { FORWARDED_CLAUDE_CREDENTIAL_VARIABLES, claudeCredentialVariablesSet, claudeCredential, claudeEnvPath, parseRunnerEnv, BUILD_SLICE_MEMORY_ENV } from './chunk-G4W4B33M.js';
|
|
9
|
+
import { closeSync, openSync, constants, readFileSync } from 'fs';
|
|
10
|
+
import { join, dirname } from 'path';
|
|
10
11
|
import { totalmem } from 'os';
|
|
11
12
|
|
|
12
13
|
createRequire(import.meta.url);
|
|
@@ -24,6 +25,10 @@ function realBlockedProbes() {
|
|
|
24
25
|
return { env: process.env, kvm: openKvm, totalMemoryBytes: totalmem, imageBuilder: "unknown", buildDisk: sharedBuildDisk };
|
|
25
26
|
}
|
|
26
27
|
var DEFAULT_BUILD_MEMORY = "8g";
|
|
28
|
+
function sliceMemoryOf(env) {
|
|
29
|
+
const bytes = Number(env[BUILD_SLICE_MEMORY_ENV]);
|
|
30
|
+
return Number.isSafeInteger(bytes) && bytes > 0 ? bytes : void 0;
|
|
31
|
+
}
|
|
27
32
|
function managedProblems(facts) {
|
|
28
33
|
const problems = [];
|
|
29
34
|
if (builtinKind(facts.provision) !== "vm") {
|
|
@@ -38,15 +43,11 @@ function managedProblems(facts) {
|
|
|
38
43
|
const advice = problem.includes("pins no helper") || problem.includes("runner install") ? "" : ". Run `outerlayer runner install --service --replace` to install the root helper, then restart the service";
|
|
39
44
|
problems.push({ condition: "jailer", reason: `builds would run without the jailer, which a managed runner does not allow: ${problem}${advice}` });
|
|
40
45
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
condition: "credential",
|
|
44
|
-
reason: "CLAUDE_CODE_OAUTH_TOKEN is set in the runner's environment or credentials directory, and a managed runner accepts only ANTHROPIC_API_KEY. Remove CLAUDE_CODE_OAUTH_TOKEN from the claude.env and runner.env beside the config, store ANTHROPIC_API_KEY, then restart the service"
|
|
45
|
-
});
|
|
46
|
-
} else if (!facts.credentials.has("ANTHROPIC_API_KEY")) {
|
|
46
|
+
const held = FORWARDED_CLAUDE_CREDENTIAL_VARIABLES.filter((variable) => facts.credentials.has(variable));
|
|
47
|
+
if (held.length > 0) {
|
|
47
48
|
problems.push({
|
|
48
49
|
condition: "credential",
|
|
49
|
-
reason:
|
|
50
|
+
reason: `a managed runner holds no Claude credential of its own: it gets the factory's Anthropic API key from each claim. ${held.join(" and ")} ${held.length === 1 ? "is" : "are"} set in the runner's environment, runner.env or claude.env. Remove ${held.length === 1 ? "it" : "them"} from the environment and from the runner.env and claude.env beside the config, then restart the service`
|
|
50
51
|
});
|
|
51
52
|
}
|
|
52
53
|
if (facts.allowHosts === void 0) {
|
|
@@ -70,19 +71,31 @@ function managedProblems(facts) {
|
|
|
70
71
|
}
|
|
71
72
|
return problems;
|
|
72
73
|
}
|
|
74
|
+
function credentialsInFiles(configPath) {
|
|
75
|
+
const found = /* @__PURE__ */ new Set();
|
|
76
|
+
if (configPath === void 0) return found;
|
|
77
|
+
for (const path of [join(dirname(configPath), "runner.env"), claudeEnvPath(configPath)]) {
|
|
78
|
+
let text;
|
|
79
|
+
try {
|
|
80
|
+
text = readFileSync(path, "utf8");
|
|
81
|
+
} catch {
|
|
82
|
+
continue;
|
|
83
|
+
}
|
|
84
|
+
const values = parseRunnerEnv(text);
|
|
85
|
+
for (const variable of FORWARDED_CLAUDE_CREDENTIAL_VARIABLES) if ((values[variable] ?? "").trim() !== "") found.add(variable);
|
|
86
|
+
}
|
|
87
|
+
return found;
|
|
88
|
+
}
|
|
73
89
|
function managedFactsOf(config, probes) {
|
|
74
90
|
return {
|
|
75
91
|
provision: config.hooks.provision,
|
|
76
92
|
jailer: probes.jailer ?? "unknown",
|
|
77
|
-
credentials: claudeCredentialVariablesSet(probes.env),
|
|
93
|
+
credentials: /* @__PURE__ */ new Set([...claudeCredentialVariablesSet(probes.env), ...credentialsInFiles(config.configPath)]),
|
|
78
94
|
allowHosts: config.build?.allowHosts,
|
|
79
95
|
imageBuild: imageBuildOf(config),
|
|
80
96
|
builderDiskPinned: probes.builderDiskPinned ?? builderDiskPinned()
|
|
81
97
|
};
|
|
82
98
|
}
|
|
83
|
-
function keepsHostBuilder(config, builderDiskIsPinned) {
|
|
84
|
-
return !(builtinKind(config.hooks.provision) === "vm" && imageBuildOf(config) === "vm" && (builderDiskIsPinned ?? builderDiskPinned()));
|
|
85
|
-
}
|
|
86
99
|
function checkBlockedWithSlots(config, probes) {
|
|
87
100
|
const blocked = (reason) => ({ blocked: { reason } });
|
|
88
101
|
let slots;
|
|
@@ -97,7 +110,8 @@ function checkBlockedWithSlots(config, probes) {
|
|
|
97
110
|
const fit = checkFit({
|
|
98
111
|
concurrency: config.concurrency,
|
|
99
112
|
buildMemory: config.build?.memory ?? DEFAULT_BUILD_MEMORY,
|
|
100
|
-
usableBytes: probes.totalMemoryBytes()
|
|
113
|
+
usableBytes: probes.totalMemoryBytes(),
|
|
114
|
+
sliceBytes: sliceMemoryOf(probes.env)
|
|
101
115
|
});
|
|
102
116
|
if (!fit.fits) {
|
|
103
117
|
const advice = probes.inImage === true ? "Set OUTERLAYER_BUILD_MEMORY or OUTERLAYER_CONCURRENCY in the env file and recreate the container, or give the machine more memory" : `Lower runner.concurrency or runner.build.memory in ${config.configPath}`;
|
|
@@ -132,7 +146,7 @@ function checkBlockedWithSlots(config, probes) {
|
|
|
132
146
|
}
|
|
133
147
|
if (builder !== "usable") return { blocked: { reason: `${builder.problem}. The runner takes work again once its image builder works` }, slots };
|
|
134
148
|
}
|
|
135
|
-
if (kind !== "own" && claudeCredential(probes.env) === void 0) {
|
|
149
|
+
if (kind !== "own" && config.managed !== true && claudeCredential(probes.env) === void 0) {
|
|
136
150
|
return {
|
|
137
151
|
slots,
|
|
138
152
|
blocked: {
|
|
@@ -143,4 +157,4 @@ function checkBlockedWithSlots(config, probes) {
|
|
|
143
157
|
return { slots };
|
|
144
158
|
}
|
|
145
159
|
|
|
146
|
-
export { checkBlockedWithSlots,
|
|
160
|
+
export { checkBlockedWithSlots, managedFactsOf, managedProblems, realBlockedProbes };
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-ESVW4MJY.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
6
|
-
import { acquireSpoolLockAt } from './chunk-MECW77XP.js';
|
|
7
|
-
import { resolveRepoIdentity } from './chunk-6ZFY2L2T.js';
|
|
5
|
+
import { autoConnect } from './chunk-AVPLEFQR.js';
|
|
8
6
|
import { C } from './chunk-ANPNT6PM.js';
|
|
9
|
-
import {
|
|
7
|
+
import { acquireSpoolLockAt } from './chunk-MECW77XP.js';
|
|
8
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-3N77LUQI.js';
|
|
9
|
+
import { resolveRepoIdentity } from './chunk-AJYZNISW.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-T2Q7ISPE.js';
|
|
11
11
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
12
12
|
import { StepNameSchema, StepBodySchema } from './chunk-EOTMDIYC.js';
|