shiplightai 0.1.11 → 0.1.13
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/agentHelpers-MOO2YPML.js +3 -0
- package/dist/{agentLogin-U7QWF4AY.js → agentLogin-2SSRFZ2U.js} +1 -1
- package/dist/{chunk-HECRJRKW.js → chunk-4JBGAENP.js} +9 -9
- package/dist/{chunk-LZ2F7OA3.js → chunk-ESJGKHJ4.js} +5 -5
- package/dist/chunk-JY6U4L7Q.js +216 -0
- package/dist/{chunk-JNVFLK5Q.js → chunk-NDYQF4WM.js} +5 -5
- package/dist/chunk-QU5HYOUM.js +5 -0
- package/dist/chunk-SGXLY5OU.js +33 -0
- package/dist/chunk-SUZXLRAA.js +18 -0
- package/dist/{chunk-OM5W5GBC.js → chunk-VXL4KP4U.js} +31 -28
- package/dist/cjs/debugger-pw.cjs +7 -0
- package/dist/cjs/fixture.cjs +236 -258
- package/dist/cjs/index.cjs +230 -252
- package/dist/cli.js +1027 -1683
- package/dist/copilot-7JTVJQXP.js +5 -0
- package/dist/debugger-pw.d.ts +145 -0
- package/dist/debugger-pw.js +3 -0
- package/dist/dist-HN2P3FRX.js +14 -0
- package/dist/dist-OOFTSMK3.js +3 -0
- package/dist/dist-WQ66EMT6.js +3 -0
- package/dist/fixture.js +1 -1
- package/dist/{handler-YM2CNJMM.js → handler-XD2P4DE3.js} +1 -1
- package/dist/index.js +11 -11
- package/dist/intRunner-5A6M6JSJ.js +7 -0
- package/dist/{multipart-parser-IEIT2KXO.js → multipart-parser-KQFLHJKK.js} +1 -1
- package/dist/src-CXU6MEQY.js +5 -0
- package/dist/{task-SZERT63E.js → task-7OWMRRUU.js} +1 -1
- package/dist/testFlow-OQWWSEQT.js +3 -0
- package/package.json +7 -1
- package/dist/agentHelpers-YAPGMNDU.js +0 -3
- package/dist/chunk-5OEE46TI.js +0 -230
- package/dist/chunk-A2VNNKWB.js +0 -18
- package/dist/chunk-CYBAFQLF.js +0 -5
- package/dist/chunk-IMX7PO3X.js +0 -18
- package/dist/chunk-STSHJEMG.js +0 -3
- package/dist/chunk-SWUSVR2K.js +0 -30
- package/dist/chunk-Y2QWBQXE.js +0 -8
- package/dist/dist-5LVWKFH4.js +0 -3
- package/dist/dist-DAIQ7AOS.js +0 -14
- package/dist/dist-IH5NPMQ7.js +0 -3
- package/dist/fileFromPath-ROF7A3FH.js +0 -3
- package/dist/src-2RQUBO3W.js +0 -5
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "module";
|
|
2
|
+
const require = __createRequire(import.meta.url);
|
|
3
|
+
import{ca as c,fa as u,ga as m}from"./chunk-SUZXLRAA.js";import"./chunk-CSINHOOD.js";import{Router as g}from"express";import*as o from"fs/promises";import*as w from"path";function j(r){let a=g();return a.get("/api/test-flow",async(f,s)=>{try{let t=await o.readFile(r,"utf-8"),n=m(t),i=u(t),e=await o.stat(r);s.json({testFlow:n,metadata:i,filePath:r,fileName:w.basename(r),lastModified:e.mtimeMs})}catch(t){if(t.code==="ENOENT")return s.status(404).json({error:`File not found: ${r}`});console.error("[debugger] Error loading test flow:",t),s.status(500).json({error:t.message})}}),a.put("/api/test-flow",async(f,s)=>{try{let{testFlow:t,metadata:n}=f.body;if(!t)return s.status(400).json({error:"testFlow is required"});let i=c(t,n),e=r+".tmp";await o.writeFile(e,i,"utf-8"),await o.rename(e,r);let d=await o.stat(r);s.json({success:!0,lastModified:d.mtimeMs})}catch(t){console.error("[debugger] Error saving test flow:",t),s.status(500).json({error:t.message})}}),a}export{j as createTestFlowRouter};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shiplightai",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Shiplight CLI for running and debugging .test.yaml files",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -20,6 +20,12 @@
|
|
|
20
20
|
"import": "./dist/fixture.js",
|
|
21
21
|
"require": "./dist/cjs/fixture.cjs",
|
|
22
22
|
"default": "./dist/fixture.js"
|
|
23
|
+
},
|
|
24
|
+
"./debugger-pw": {
|
|
25
|
+
"types": "./dist/debugger-pw.d.ts",
|
|
26
|
+
"import": "./dist/debugger-pw.js",
|
|
27
|
+
"require": "./dist/cjs/debugger-pw.cjs",
|
|
28
|
+
"default": "./dist/debugger-pw.js"
|
|
23
29
|
}
|
|
24
30
|
},
|
|
25
31
|
"files": [
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from "module";
|
|
2
|
-
const require = __createRequire(import.meta.url);
|
|
3
|
-
import{d as t,e as o,f as r,g as p,h as i}from"./chunk-5OEE46TI.js";import"./chunk-OM5W5GBC.js";import"./chunk-CYBAFQLF.js";import"./chunk-BVOD5VWH.js";import"./chunk-FBJSHHRD.js";import"./chunk-A2VNNKWB.js";import"./chunk-STSHJEMG.js";import"./chunk-YU3XZJIJ.js";import"./chunk-CSINHOOD.js";export{p as evaluateStatement,t as executeAction,r as executeStep,o as generateActionStep,i as runTask};
|