@runcofactor/cli 0.16.0 → 0.18.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.
- package/dist/{account-ZMV7NEFM.js → account-ZSM2Q3RB.js} +4 -4
- package/dist/{api-catalog-6HNOGVPA.js → api-catalog-MMPFWS52.js} +4 -4
- package/dist/{attachment-QAHR54HQ.js → attachment-NSYL5X3S.js} +4 -4
- package/dist/{augmentor-7T3L6ZR4.js → augmentor-LSJLMJYP.js} +4 -4
- package/dist/{auth-DURHUZDW.js → auth-OYF5A4BY.js} +4 -2
- package/dist/{chunk-RGDIVW3O.js → chunk-2R6544Z3.js} +2 -2
- package/dist/{chunk-AI3Y3AZH.js → chunk-7OO3RJYR.js} +1396 -185
- package/dist/chunk-7OO3RJYR.js.map +1 -0
- package/dist/{chunk-4NRDONSC.js → chunk-A6TH5VUI.js} +209 -79
- package/dist/chunk-A6TH5VUI.js.map +1 -0
- package/dist/{chunk-CEXV3MOC.js → chunk-E2FUQJVO.js} +4 -4
- package/dist/{chunk-D6AVOPOS.js → chunk-GFP4UEUT.js} +3 -3
- package/dist/{chunk-G5SXUXSU.js → chunk-H7ZML5QL.js} +2 -2
- package/dist/{chunk-LFFWD5JZ.js → chunk-IHCPMYKU.js} +3 -3
- package/dist/{chunk-UAJUZLDE.js → chunk-PVWG3V62.js} +3 -3
- package/dist/{chunk-3CZU7XCS.js → chunk-PWZ4ULCB.js} +20 -14
- package/dist/chunk-PWZ4ULCB.js.map +1 -0
- package/dist/{chunk-A4ISG3VX.js → chunk-U7OMQJ7V.js} +52 -4
- package/dist/chunk-U7OMQJ7V.js.map +1 -0
- package/dist/{chunk-DT2CEH2V.js → chunk-VHVOTGBQ.js} +3 -3
- package/dist/{chunk-IGHDIWZU.js → chunk-VYTIJ6HJ.js} +17 -2
- package/dist/{chunk-IGHDIWZU.js.map → chunk-VYTIJ6HJ.js.map} +1 -1
- package/dist/{credential-X6QKX473.js → credential-WOATCWOU.js} +4 -4
- package/dist/{credential-template-GD3D4MBI.js → credential-template-Q3DQE2AH.js} +4 -4
- package/dist/{debug-workflow-AAEOAME2.js → debug-workflow-ZNP5XZQF.js} +4 -4
- package/dist/{dist-QLTVBUMD.js → dist-4COOAKY3.js} +22 -2
- package/dist/{docs-BVUEXBY3.js → docs-XVU4LA7G.js} +4 -4
- package/dist/{doctor-RHMKD4W5.js → doctor-PGNHD3TI.js} +3 -3
- package/dist/{environment-WE7VVE6I.js → environment-MRDNWU47.js} +4 -4
- package/dist/{feature-flag-VJO2TJFT.js → feature-flag-D3DQZ6DX.js} +4 -4
- package/dist/index.js +51 -48
- package/dist/index.js.map +1 -1
- package/dist/{init-RQHHKJJD.js → init-DHWKUYIR.js} +4 -4
- package/dist/{install-CQLHNZ6U.js → install-DMEFGQHD.js} +4 -4
- package/dist/{issues-HK2JA5JS.js → issues-E4YQ4DVC.js} +4 -4
- package/dist/{knobs-ETJAV6YM.js → knobs-NA6SPLHX.js} +4 -4
- package/dist/{list-F6DGGW3Z.js → list-GJNGFQMC.js} +4 -4
- package/dist/{local-CMAY54I5.js → local-NSKOZHHA.js} +6 -6
- package/dist/{login-6CKG664C.js → login-AMSRVPXG.js} +4 -4
- package/dist/{mcp-GC2WOOZO.js → mcp-57VVZTXM.js} +5 -5
- package/dist/{metrics-IXICURAA.js → metrics-DM4YQQZN.js} +4 -4
- package/dist/{product-BUJWPYKB.js → product-WGOLTBRI.js} +4 -4
- package/dist/{property-4EXPWRNT.js → property-B7QMGLVW.js} +4 -4
- package/dist/{psql-XGLBI6T7.js → psql-4JHPJ2CO.js} +3 -3
- package/dist/{record-HL4QA7OX.js → record-RWVGZZSW.js} +5 -5
- package/dist/{redis-VJGCUJPV.js → redis-N44ZZ6VB.js} +3 -3
- package/dist/{release-2SMK5Y3V.js → release-R7GKLEAI.js} +4 -4
- package/dist/{sandbox-ORAPKOH3.js → sandbox-6D54ZQCG.js} +5 -5
- package/dist/{scenarios-DM5FDCAF.js → scenarios-WUUUKP2S.js} +4 -4
- package/dist/{session-X6IYGWYG.js → session-GDCMTNB3.js} +6 -6
- package/dist/{skill-ZU5V2EE5.js → skill-3SP7MAA4.js} +153 -2
- package/dist/skill-3SP7MAA4.js.map +1 -0
- package/dist/skills/optimize-cache/SKILL.md +25 -0
- package/dist/{spec-KO5QD6AY.js → spec-ESPA3H26.js} +3 -3
- package/dist/{src-DSD34JIX.js → src-5YXGM2KB.js} +18 -2
- package/dist/src-5YXGM2KB.js.map +1 -0
- package/dist/{src-PDYXACRP.js → src-B7CPYFLS.js} +4 -2
- package/dist/{src-HTGNKBUF.js → src-GRO2QR7U.js} +61 -23
- package/dist/{src-HTGNKBUF.js.map → src-GRO2QR7U.js.map} +1 -1
- package/dist/{start-2ECN4LX5.js → start-KDDRLUFN.js} +4 -4
- package/dist/{tag-R5I72HJ6.js → tag-DAGHQZAR.js} +5 -5
- package/dist/{task-V3JMSJIM.js → task-PRR75HI4.js} +4 -4
- package/dist/{test-suite-NOYVK6YX.js → test-suite-O3UY7EER.js} +6 -6
- package/dist/{trace-NOYEKNO4.js → trace-7LRHSPWN.js} +4 -4
- package/dist/{triage-4RFATHBE.js → triage-2BKUBMMX.js} +5 -5
- package/dist/{utilities-3WMXE743.js → utilities-O3OO64T5.js} +4 -4
- package/dist/{workflow-DC7WOTTW.js → workflow-5BFRS4CE.js} +10 -11
- package/dist/workflow-5BFRS4CE.js.map +1 -0
- package/dist/{workflow-cache-SDSI6SMF.js → workflow-cache-VVP3SPFM.js} +7 -7
- package/dist/{workflow-debug-6UQYP67Q.js → workflow-debug-XGOHNZ4E.js} +7 -7
- package/dist/{workflow-proposals-67AVGMHX.js → workflow-proposals-PGURJ6ZI.js} +4 -4
- package/package.json +5 -5
- package/dist/chunk-3CZU7XCS.js.map +0 -1
- package/dist/chunk-4NRDONSC.js.map +0 -1
- package/dist/chunk-A4ISG3VX.js.map +0 -1
- package/dist/chunk-AI3Y3AZH.js.map +0 -1
- package/dist/skill-ZU5V2EE5.js.map +0 -1
- package/dist/src-DSD34JIX.js.map +0 -1
- package/dist/workflow-DC7WOTTW.js.map +0 -1
- /package/dist/{account-ZMV7NEFM.js.map → account-ZSM2Q3RB.js.map} +0 -0
- /package/dist/{api-catalog-6HNOGVPA.js.map → api-catalog-MMPFWS52.js.map} +0 -0
- /package/dist/{attachment-QAHR54HQ.js.map → attachment-NSYL5X3S.js.map} +0 -0
- /package/dist/{augmentor-7T3L6ZR4.js.map → augmentor-LSJLMJYP.js.map} +0 -0
- /package/dist/{auth-DURHUZDW.js.map → auth-OYF5A4BY.js.map} +0 -0
- /package/dist/{chunk-RGDIVW3O.js.map → chunk-2R6544Z3.js.map} +0 -0
- /package/dist/{chunk-CEXV3MOC.js.map → chunk-E2FUQJVO.js.map} +0 -0
- /package/dist/{chunk-D6AVOPOS.js.map → chunk-GFP4UEUT.js.map} +0 -0
- /package/dist/{chunk-G5SXUXSU.js.map → chunk-H7ZML5QL.js.map} +0 -0
- /package/dist/{chunk-LFFWD5JZ.js.map → chunk-IHCPMYKU.js.map} +0 -0
- /package/dist/{chunk-UAJUZLDE.js.map → chunk-PVWG3V62.js.map} +0 -0
- /package/dist/{chunk-DT2CEH2V.js.map → chunk-VHVOTGBQ.js.map} +0 -0
- /package/dist/{credential-X6QKX473.js.map → credential-WOATCWOU.js.map} +0 -0
- /package/dist/{credential-template-GD3D4MBI.js.map → credential-template-Q3DQE2AH.js.map} +0 -0
- /package/dist/{debug-workflow-AAEOAME2.js.map → debug-workflow-ZNP5XZQF.js.map} +0 -0
- /package/dist/{dist-QLTVBUMD.js.map → dist-4COOAKY3.js.map} +0 -0
- /package/dist/{docs-BVUEXBY3.js.map → docs-XVU4LA7G.js.map} +0 -0
- /package/dist/{doctor-RHMKD4W5.js.map → doctor-PGNHD3TI.js.map} +0 -0
- /package/dist/{environment-WE7VVE6I.js.map → environment-MRDNWU47.js.map} +0 -0
- /package/dist/{feature-flag-VJO2TJFT.js.map → feature-flag-D3DQZ6DX.js.map} +0 -0
- /package/dist/{init-RQHHKJJD.js.map → init-DHWKUYIR.js.map} +0 -0
- /package/dist/{install-CQLHNZ6U.js.map → install-DMEFGQHD.js.map} +0 -0
- /package/dist/{issues-HK2JA5JS.js.map → issues-E4YQ4DVC.js.map} +0 -0
- /package/dist/{knobs-ETJAV6YM.js.map → knobs-NA6SPLHX.js.map} +0 -0
- /package/dist/{list-F6DGGW3Z.js.map → list-GJNGFQMC.js.map} +0 -0
- /package/dist/{local-CMAY54I5.js.map → local-NSKOZHHA.js.map} +0 -0
- /package/dist/{login-6CKG664C.js.map → login-AMSRVPXG.js.map} +0 -0
- /package/dist/{mcp-GC2WOOZO.js.map → mcp-57VVZTXM.js.map} +0 -0
- /package/dist/{metrics-IXICURAA.js.map → metrics-DM4YQQZN.js.map} +0 -0
- /package/dist/{product-BUJWPYKB.js.map → product-WGOLTBRI.js.map} +0 -0
- /package/dist/{property-4EXPWRNT.js.map → property-B7QMGLVW.js.map} +0 -0
- /package/dist/{psql-XGLBI6T7.js.map → psql-4JHPJ2CO.js.map} +0 -0
- /package/dist/{record-HL4QA7OX.js.map → record-RWVGZZSW.js.map} +0 -0
- /package/dist/{redis-VJGCUJPV.js.map → redis-N44ZZ6VB.js.map} +0 -0
- /package/dist/{release-2SMK5Y3V.js.map → release-R7GKLEAI.js.map} +0 -0
- /package/dist/{sandbox-ORAPKOH3.js.map → sandbox-6D54ZQCG.js.map} +0 -0
- /package/dist/{scenarios-DM5FDCAF.js.map → scenarios-WUUUKP2S.js.map} +0 -0
- /package/dist/{session-X6IYGWYG.js.map → session-GDCMTNB3.js.map} +0 -0
- /package/dist/{spec-KO5QD6AY.js.map → spec-ESPA3H26.js.map} +0 -0
- /package/dist/{src-PDYXACRP.js.map → src-B7CPYFLS.js.map} +0 -0
- /package/dist/{start-2ECN4LX5.js.map → start-KDDRLUFN.js.map} +0 -0
- /package/dist/{tag-R5I72HJ6.js.map → tag-DAGHQZAR.js.map} +0 -0
- /package/dist/{task-V3JMSJIM.js.map → task-PRR75HI4.js.map} +0 -0
- /package/dist/{test-suite-NOYVK6YX.js.map → test-suite-O3UY7EER.js.map} +0 -0
- /package/dist/{trace-NOYEKNO4.js.map → trace-7LRHSPWN.js.map} +0 -0
- /package/dist/{triage-4RFATHBE.js.map → triage-2BKUBMMX.js.map} +0 -0
- /package/dist/{utilities-3WMXE743.js.map → utilities-O3OO64T5.js.map} +0 -0
- /package/dist/{workflow-cache-SDSI6SMF.js.map → workflow-cache-VVP3SPFM.js.map} +0 -0
- /package/dist/{workflow-debug-6UQYP67Q.js.map → workflow-debug-XGOHNZ4E.js.map} +0 -0
- /package/dist/{workflow-proposals-67AVGMHX.js.map → workflow-proposals-PGURJ6ZI.js.map} +0 -0
|
@@ -2,13 +2,13 @@ import { createRequire as __cr } from "module"; const require = __cr(import.meta
|
|
|
2
2
|
import {
|
|
3
3
|
apiRequest,
|
|
4
4
|
fetchList
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-PVWG3V62.js";
|
|
6
|
+
import "./chunk-PWZ4ULCB.js";
|
|
7
7
|
import {
|
|
8
8
|
getArgValue,
|
|
9
9
|
hasFlag,
|
|
10
10
|
resolveConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VYTIJ6HJ.js";
|
|
12
12
|
import "./chunk-32P26BZT.js";
|
|
13
13
|
import "./chunk-JWHYXEA2.js";
|
|
14
14
|
import "./chunk-GZVCNYR4.js";
|
|
@@ -344,4 +344,4 @@ async function runProduct(argv) {
|
|
|
344
344
|
export {
|
|
345
345
|
runProduct
|
|
346
346
|
};
|
|
347
|
-
//# sourceMappingURL=product-
|
|
347
|
+
//# sourceMappingURL=product-WGOLTBRI.js.map
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
apiRequest,
|
|
4
4
|
fetchProperties,
|
|
5
5
|
getApplicationArg
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-PVWG3V62.js";
|
|
7
|
+
import "./chunk-PWZ4ULCB.js";
|
|
8
8
|
import {
|
|
9
9
|
getArgValue,
|
|
10
10
|
hasFlag,
|
|
11
11
|
resolveConfig
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VYTIJ6HJ.js";
|
|
13
13
|
import "./chunk-32P26BZT.js";
|
|
14
14
|
import "./chunk-JWHYXEA2.js";
|
|
15
15
|
import "./chunk-GZVCNYR4.js";
|
|
@@ -770,4 +770,4 @@ async function runProperty(argv) {
|
|
|
770
770
|
export {
|
|
771
771
|
runProperty
|
|
772
772
|
};
|
|
773
|
-
//# sourceMappingURL=property-
|
|
773
|
+
//# sourceMappingURL=property-B7QMGLVW.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createRequire as __cr } from "module"; const require = __cr(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
fetchOrExit
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PWZ4ULCB.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VYTIJ6HJ.js";
|
|
8
8
|
import "./chunk-32P26BZT.js";
|
|
9
9
|
import "./chunk-VKVL7WBN.js";
|
|
10
10
|
|
|
@@ -113,4 +113,4 @@ Time: ${json.durationMs}ms`);
|
|
|
113
113
|
export {
|
|
114
114
|
runPsql
|
|
115
115
|
};
|
|
116
|
-
//# sourceMappingURL=psql-
|
|
116
|
+
//# sourceMappingURL=psql-4JHPJ2CO.js.map
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
apiRequest,
|
|
8
8
|
downloadStorageState,
|
|
9
9
|
selectCredential
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-PVWG3V62.js";
|
|
11
|
+
import "./chunk-PWZ4ULCB.js";
|
|
12
12
|
import {
|
|
13
13
|
getArgValue,
|
|
14
14
|
hasFlag,
|
|
15
15
|
resolveConfig
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VYTIJ6HJ.js";
|
|
17
17
|
import "./chunk-32P26BZT.js";
|
|
18
18
|
import {
|
|
19
19
|
getCanaryTmpDir
|
|
@@ -86,7 +86,7 @@ async function runRecord(argv) {
|
|
|
86
86
|
);
|
|
87
87
|
}
|
|
88
88
|
console.log("Launching browser...");
|
|
89
|
-
const { PlaywrightClient, consoleLogger, captureElementAtPoint } = await import("./dist-
|
|
89
|
+
const { PlaywrightClient, consoleLogger, captureElementAtPoint } = await import("./dist-4COOAKY3.js");
|
|
90
90
|
const client = new PlaywrightClient({ logger: consoleLogger });
|
|
91
91
|
await client.connect({
|
|
92
92
|
browserMode: "headed",
|
|
@@ -229,4 +229,4 @@ Output directory: ${outDir}`);
|
|
|
229
229
|
export {
|
|
230
230
|
runRecord
|
|
231
231
|
};
|
|
232
|
-
//# sourceMappingURL=record-
|
|
232
|
+
//# sourceMappingURL=record-RWVGZZSW.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createRequire as __cr } from "module"; const require = __cr(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
fetchOrExit
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PWZ4ULCB.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VYTIJ6HJ.js";
|
|
8
8
|
import "./chunk-32P26BZT.js";
|
|
9
9
|
import "./chunk-VKVL7WBN.js";
|
|
10
10
|
|
|
@@ -114,4 +114,4 @@ Time: ${json_response.durationMs}ms`);
|
|
|
114
114
|
export {
|
|
115
115
|
runRedis
|
|
116
116
|
};
|
|
117
|
-
//# sourceMappingURL=redis-
|
|
117
|
+
//# sourceMappingURL=redis-N44ZZ6VB.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { createRequire as __cr } from "module"; const require = __cr(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
getApplicationIdArg
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-PVWG3V62.js";
|
|
5
|
+
import "./chunk-PWZ4ULCB.js";
|
|
6
6
|
import {
|
|
7
7
|
getArgValue,
|
|
8
8
|
hasFlag,
|
|
9
9
|
resolveConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VYTIJ6HJ.js";
|
|
11
11
|
import "./chunk-32P26BZT.js";
|
|
12
12
|
import "./chunk-JWHYXEA2.js";
|
|
13
13
|
import "./chunk-GZVCNYR4.js";
|
|
@@ -352,4 +352,4 @@ async function runRelease(argv) {
|
|
|
352
352
|
export {
|
|
353
353
|
runRelease
|
|
354
354
|
};
|
|
355
|
-
//# sourceMappingURL=release-
|
|
355
|
+
//# sourceMappingURL=release-R7GKLEAI.js.map
|
|
@@ -2,21 +2,21 @@ import { createRequire as __cr } from "module"; const require = __cr(import.meta
|
|
|
2
2
|
import {
|
|
3
3
|
SANDBOX_GUIDE_SECTIONS,
|
|
4
4
|
printGuide
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-A6TH5VUI.js";
|
|
6
6
|
import {
|
|
7
7
|
apiRequest,
|
|
8
8
|
selectProperty
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PVWG3V62.js";
|
|
10
10
|
import {
|
|
11
11
|
apiFetch,
|
|
12
12
|
exitOnFailure,
|
|
13
13
|
isTerminalFailure
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PWZ4ULCB.js";
|
|
15
15
|
import {
|
|
16
16
|
getArgValue,
|
|
17
17
|
hasFlag,
|
|
18
18
|
resolveConfig
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-VYTIJ6HJ.js";
|
|
20
20
|
import "./chunk-32P26BZT.js";
|
|
21
21
|
import "./chunk-JWHYXEA2.js";
|
|
22
22
|
import {
|
|
@@ -2088,4 +2088,4 @@ export {
|
|
|
2088
2088
|
parseDockerPs,
|
|
2089
2089
|
runSandbox
|
|
2090
2090
|
};
|
|
2091
|
-
//# sourceMappingURL=sandbox-
|
|
2091
|
+
//# sourceMappingURL=sandbox-6D54ZQCG.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { createRequire as __cr } from "module"; const require = __cr(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
apiRequest
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-PVWG3V62.js";
|
|
5
|
+
import "./chunk-PWZ4ULCB.js";
|
|
6
6
|
import {
|
|
7
7
|
getArgValue,
|
|
8
8
|
hasFlag,
|
|
9
9
|
resolveConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VYTIJ6HJ.js";
|
|
11
11
|
import "./chunk-32P26BZT.js";
|
|
12
12
|
import "./chunk-JWHYXEA2.js";
|
|
13
13
|
import "./chunk-GZVCNYR4.js";
|
|
@@ -278,4 +278,4 @@ async function handleReject(argv, apiUrl, token) {
|
|
|
278
278
|
export {
|
|
279
279
|
runScenarios
|
|
280
280
|
};
|
|
281
|
-
//# sourceMappingURL=scenarios-
|
|
281
|
+
//# sourceMappingURL=scenarios-WUUUKP2S.js.map
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
downloadStorageState,
|
|
8
8
|
selectCredential,
|
|
9
9
|
uploadStorageState
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-PVWG3V62.js";
|
|
11
|
+
import "./chunk-PWZ4ULCB.js";
|
|
12
12
|
import {
|
|
13
13
|
LocalBrowserHost,
|
|
14
14
|
USER_PAUSED_ERROR
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2R6544Z3.js";
|
|
16
16
|
import {
|
|
17
17
|
callTool,
|
|
18
18
|
createSession,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
getArgValue,
|
|
31
31
|
hasFlag,
|
|
32
32
|
resolveConfig
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VYTIJ6HJ.js";
|
|
34
34
|
import "./chunk-32P26BZT.js";
|
|
35
35
|
import {
|
|
36
36
|
BrowserToolExecutor,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
consoleLogger,
|
|
40
40
|
dispatchBrowserTool,
|
|
41
41
|
dispatchBrowserToolWithTimeout
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-7OO3RJYR.js";
|
|
43
43
|
import "./chunk-JWHYXEA2.js";
|
|
44
44
|
import "./chunk-GZVCNYR4.js";
|
|
45
45
|
import "./chunk-6LEZCKKV.js";
|
|
@@ -2476,4 +2476,4 @@ export {
|
|
|
2476
2476
|
buildToolArgs,
|
|
2477
2477
|
runSession
|
|
2478
2478
|
};
|
|
2479
|
-
//# sourceMappingURL=session-
|
|
2479
|
+
//# sourceMappingURL=session-GDCMTNB3.js.map
|
|
@@ -1460,6 +1460,156 @@ var debugRunTemplate = {
|
|
|
1460
1460
|
previousVersions
|
|
1461
1461
|
};
|
|
1462
1462
|
|
|
1463
|
+
// src/skill-templates/sandbox.ts
|
|
1464
|
+
var sandboxTemplate = {
|
|
1465
|
+
name: "sandbox",
|
|
1466
|
+
description: "Orientation for Canary sandboxes \u2014 ephemeral app environments built from a verified template",
|
|
1467
|
+
version: "1.0.0",
|
|
1468
|
+
render: () => `---
|
|
1469
|
+
name: sandbox
|
|
1470
|
+
version: 1.0.0
|
|
1471
|
+
description: Orientation for Canary sandboxes \u2014 ephemeral, containerized app environments built from a verified template. Use whenever the user mentions a sandbox or sandboxes (especially Canary sandboxes), sandbox templates or instances, provisioning / building / verifying / terminating a sandbox, sandbox artifacts / checklist / actions, or running PR / release tests against an ephemeral environment. Anchors to \`canary sandbox guide\`.
|
|
1472
|
+
allowed-tools: Bash(canary sandbox:*), Bash(canary login:*), Read
|
|
1473
|
+
---
|
|
1474
|
+
|
|
1475
|
+
# Canary Sandboxes
|
|
1476
|
+
|
|
1477
|
+
A **sandbox** is an ephemeral, containerized deployment of an app, provisioned on
|
|
1478
|
+
demand from a verified **template**. Use it to stand up a real, browsable
|
|
1479
|
+
environment for PR / release testing and to run server-side **actions** inside
|
|
1480
|
+
workflow runs.
|
|
1481
|
+
|
|
1482
|
+
> **Start with the guide.** The authoritative, always-current reference is the
|
|
1483
|
+
> built-in guide \u2014 read the relevant section before doing sandbox work:
|
|
1484
|
+
>
|
|
1485
|
+
> \`\`\`bash
|
|
1486
|
+
> canary sandbox guide [goal|research|artifacts|actions|verify|checklist]
|
|
1487
|
+
> canary sandbox --help
|
|
1488
|
+
> \`\`\`
|
|
1489
|
+
>
|
|
1490
|
+
> This skill is a thin map; the guide is the source of truth. Don't re-derive it
|
|
1491
|
+
> \u2014 hand off to it.
|
|
1492
|
+
|
|
1493
|
+
## Prerequisites
|
|
1494
|
+
|
|
1495
|
+
- \`canary\` CLI installed and authenticated (\`canary login\`).
|
|
1496
|
+
- Run \`canary sandbox --help\` for the full command surface.
|
|
1497
|
+
|
|
1498
|
+
## Core concepts
|
|
1499
|
+
|
|
1500
|
+
- **Template** \u2014 the reusable, verified blueprint: a git repo + branch, its
|
|
1501
|
+
artifacts (Dockerfile, compose, scripts), a config schema, a setup checklist,
|
|
1502
|
+
and optional sandbox actions. Lifecycle: \`draft \u2192 authoring \u2192 verified\`.
|
|
1503
|
+
- **Instance** \u2014 a running environment provisioned from a template, with a TTL
|
|
1504
|
+
(default 8h) and a public URL. Lifecycle:
|
|
1505
|
+
\`provisioning \u2192 running/healthy \u2192 terminated\` (or \`failed\`).
|
|
1506
|
+
|
|
1507
|
+
Templates are durable; instances are disposable. You author against a template,
|
|
1508
|
+
then provision throwaway instances from it.
|
|
1509
|
+
|
|
1510
|
+
## Lifecycle & key verbs
|
|
1511
|
+
|
|
1512
|
+
\`\`\`
|
|
1513
|
+
create Create a template + its first authoring instance (from a property/repo)
|
|
1514
|
+
\u2193 research the app, set config, upload artifacts (guide: research, artifacts)
|
|
1515
|
+
build Build images, start containers, generate routing
|
|
1516
|
+
\u2193 inspect with diagnostics / logs / run-command (guide: verify)
|
|
1517
|
+
verify Provision a fresh instance, probe it, flip template \u2192 verified
|
|
1518
|
+
\u2193
|
|
1519
|
+
provision Spin up fresh instances from the verified template (--ttl, --name)
|
|
1520
|
+
terminate Destroy one instance delete Remove the template + all instances
|
|
1521
|
+
\`\`\`
|
|
1522
|
+
|
|
1523
|
+
See \`canary sandbox guide goal\` for the full authoring loop and \`guide verify\`
|
|
1524
|
+
for the debugging playbook.
|
|
1525
|
+
|
|
1526
|
+
## Features (each defers to the guide for detail)
|
|
1527
|
+
|
|
1528
|
+
- **Checklist profiles** \u2014 \`minimal\` (code cloned), \`ci-ready\` (unit tests
|
|
1529
|
+
runnable), \`full-stack\` (app fully running). Items form a dependency-ordered
|
|
1530
|
+
list. \u2192 \`canary sandbox guide checklist\`
|
|
1531
|
+
- **Artifacts** \u2014 the typed files that define the sandbox: \`dockerfile\`,
|
|
1532
|
+
\`docker-compose\`, \`setup-script\`, \`startup-script\`, \`seed-script\`, \`file\`.
|
|
1533
|
+
Uploads are template-level \u2014 rebuild an instance to apply.
|
|
1534
|
+
\u2192 \`canary sandbox guide artifacts\`
|
|
1535
|
+
- **Config** \u2014 required / optional / sensitive env vars + per-template defaults,
|
|
1536
|
+
pushed to the instance as its \`.env\`. \u2192 \`canary sandbox config list|set\`
|
|
1537
|
+
- **Multi-repo** \u2014 link several repos to one template as distinct services.
|
|
1538
|
+
\u2192 \`canary sandbox repo list|add\`
|
|
1539
|
+
- **Actions** \u2014 template-scoped, parameterized scripts run against an instance,
|
|
1540
|
+
with typed input/output and optional credential output.
|
|
1541
|
+
\u2192 \`canary sandbox guide actions\`
|
|
1542
|
+
- **AMIs** \u2014 per-template golden images for fast provisioning.
|
|
1543
|
+
\u2192 \`canary sandbox ami list|rebake|use\`
|
|
1544
|
+
- **Sizing** \u2014 instance presets \`small \u2026 2xlarge\`. \u2192 \`canary sandbox set-size\`
|
|
1545
|
+
|
|
1546
|
+
## Getting started \u2014 create a sandbox
|
|
1547
|
+
|
|
1548
|
+
\`\`\`bash
|
|
1549
|
+
canary sandbox create <property> # template + first authoring instance
|
|
1550
|
+
# read \`canary sandbox guide research\`, then:
|
|
1551
|
+
canary sandbox config set <template-id> <KEY> <VALUE>
|
|
1552
|
+
canary sandbox artifact create <template-id> <type> <local-file>
|
|
1553
|
+
canary sandbox build <instance-id> # apply artifacts/config
|
|
1554
|
+
canary sandbox diagnostics <instance-id> # + logs to confirm it's up
|
|
1555
|
+
canary sandbox checklist complete <template-id> <item-id> --status success --summary "..."
|
|
1556
|
+
canary sandbox verify <template-id> # flip to verified
|
|
1557
|
+
\`\`\`
|
|
1558
|
+
|
|
1559
|
+
Batch your artifact + config changes, then \`build\` **once**. Walk the guide
|
|
1560
|
+
sections in order (\`goal \u2192 research \u2192 artifacts \u2192 verify \u2192 checklist\`) \u2014 they
|
|
1561
|
+
contain the env-var classification, migration, and monorepo build-order details
|
|
1562
|
+
that make the build succeed.
|
|
1563
|
+
|
|
1564
|
+
## Updating an existing sandbox
|
|
1565
|
+
|
|
1566
|
+
- Edit an artifact: \`canary sandbox artifact get <template-id> <type>\` \u2192 change
|
|
1567
|
+
it \u2192 \`canary sandbox artifact create <template-id> <type> <file>\` \u2192
|
|
1568
|
+
\`canary sandbox build <instance-id>\` to apply (artifact uploads are
|
|
1569
|
+
template-level; running instances need a rebuild).
|
|
1570
|
+
- Change config defaults: \`canary sandbox config set <template-id> <KEY> <VALUE>\`.
|
|
1571
|
+
- Re-run / update the checklist; \`canary sandbox ami rebake <template-id>\` for a
|
|
1572
|
+
fresh golden image after artifact changes.
|
|
1573
|
+
|
|
1574
|
+
## How sandboxes are used in Canary
|
|
1575
|
+
|
|
1576
|
+
1. **PR / release testing.** A verified template provisions an *ephemeral
|
|
1577
|
+
environment* that a test suite runs against. A spec/workflow binds to a
|
|
1578
|
+
template (the spec's \`sandboxTemplate:\` frontmatter); the suite
|
|
1579
|
+
auto-provisions one instance, shares it across the suite's runs, and tears it
|
|
1580
|
+
down afterward. \u2192 \`canary sandbox guide goal\`
|
|
1581
|
+
|
|
1582
|
+
2. **Actions inside workflows.** A sandbox action is a template-scoped script
|
|
1583
|
+
that runs *server-side* inside the run's backing instance (referenced by
|
|
1584
|
+
slug, so it's portable across environments). Its JSON output registers as
|
|
1585
|
+
workflow variables (\`$var.<key>\`), and it can emit an ephemeral login
|
|
1586
|
+
credential for downstream login steps. On a non-sandbox environment the step
|
|
1587
|
+
skips with a warning. \u2192 \`canary sandbox guide actions\`
|
|
1588
|
+
|
|
1589
|
+
## Cheat-sheet
|
|
1590
|
+
|
|
1591
|
+
\`\`\`bash
|
|
1592
|
+
canary sandbox list # templates + instances
|
|
1593
|
+
canary sandbox template <template-id> # template detail + config
|
|
1594
|
+
canary sandbox create <property> # new template + authoring instance
|
|
1595
|
+
canary sandbox provision <template-id> --ttl 4 # fresh instance from a verified template
|
|
1596
|
+
canary sandbox build <instance-id> # build/start services
|
|
1597
|
+
canary sandbox diagnostics <instance-id> # container health, URL, phase
|
|
1598
|
+
canary sandbox logs <instance-id> --service <name>
|
|
1599
|
+
canary sandbox run-command <instance-id> "<cmd>" # host VM (add --service <name> for a container)
|
|
1600
|
+
canary sandbox verify <template-id> # provision + probe + mark verified
|
|
1601
|
+
canary sandbox action list|get|create|execute <template-id> ...
|
|
1602
|
+
canary sandbox checklist <template-id> # setup progress
|
|
1603
|
+
canary sandbox terminate <instance-id> # destroy one instance
|
|
1604
|
+
\`\`\`
|
|
1605
|
+
|
|
1606
|
+
## More info
|
|
1607
|
+
|
|
1608
|
+
- \`canary sandbox guide <section>\` and \`canary sandbox --help\` \u2014 the source of truth.
|
|
1609
|
+
- Authoring deeper actions / credentials: \`canary sandbox guide actions\`.
|
|
1610
|
+
`
|
|
1611
|
+
};
|
|
1612
|
+
|
|
1463
1613
|
// src/skill-templates/index.ts
|
|
1464
1614
|
var SKILL_TEMPLATES = {
|
|
1465
1615
|
"canary-basic": canaryBasicTemplate,
|
|
@@ -1467,7 +1617,8 @@ var SKILL_TEMPLATES = {
|
|
|
1467
1617
|
"issue-log-xref": issueLogXrefTemplate,
|
|
1468
1618
|
"browser-testing": browserTestingTemplate,
|
|
1469
1619
|
"test-cases": testCasesTemplate,
|
|
1470
|
-
"debug-run": debugRunTemplate
|
|
1620
|
+
"debug-run": debugRunTemplate,
|
|
1621
|
+
"sandbox": sandboxTemplate
|
|
1471
1622
|
};
|
|
1472
1623
|
|
|
1473
1624
|
// src/skill.ts
|
|
@@ -1996,4 +2147,4 @@ export {
|
|
|
1996
2147
|
resolveInstallDir,
|
|
1997
2148
|
runSkill
|
|
1998
2149
|
};
|
|
1999
|
-
//# sourceMappingURL=skill-
|
|
2150
|
+
//# sourceMappingURL=skill-3SP7MAA4.js.map
|