skydive-cli 0.1.0-beta.382 → 0.1.0-beta.389
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 +1 -0
- package/dist/js/api-DRpbKHz6.mjs +145 -0
- package/dist/js/bin.mjs +267 -2224
- package/dist/js/{boot-B48ty_OV.mjs → boot-CMhIv1BG.mjs} +8 -3
- package/dist/js/client-BVOAwU8M.mjs +169 -0
- package/dist/js/client-C-s6b9Yu.mjs +6 -0
- package/dist/js/{client-XFsd0Wy9.mjs → client-DyRs3o5E.mjs} +3 -4
- package/dist/js/print-BhfjRrxI.mjs +466 -0
- package/dist/js/print-DFPzQQk8.mjs +5 -0
- package/dist/js/{raw-pty-C1DXKms6.mjs → raw-pty-Dbi2kb9v.mjs} +2 -4
- package/dist/js/raw-pty-pspO57gT.mjs +5 -0
- package/dist/js/rest-DQruM5kj.mjs +4 -0
- package/dist/js/rest-DTlkPko_.mjs +457 -0
- package/dist/js/theme-DRuLtrTy.mjs +974 -0
- package/dist/js/util-z9Pne47f.mjs +15 -0
- package/package.json +4 -2
- package/dist/js/rolldown-runtime-Cz4Tg37Z.mjs +0 -19
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
//#region src/chat/util.ts
|
|
3
|
+
/** Narrowing helper for the many `unknown` payloads the chat stream and
|
|
4
|
+
* tool inputs/outputs carry. A type predicate (not an `as` cast), so call
|
|
5
|
+
* sites can read properties without asserting. */
|
|
6
|
+
function isRecord(value) {
|
|
7
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
8
|
+
}
|
|
9
|
+
/** Best-effort message from an unknown thrown value. */
|
|
10
|
+
function errorMessage(err) {
|
|
11
|
+
return err instanceof Error ? err.message : String(err);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { isRecord as n, errorMessage as t };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skydive-cli",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
4
|
-
"description": "Skydive CLI —
|
|
3
|
+
"version": "0.1.0-beta.389",
|
|
4
|
+
"description": "Skydive CLI — cloud agents from the command line",
|
|
5
5
|
"homepage": "https://skydive.com",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"bin": {
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"open": "^10.1.0",
|
|
39
39
|
"react": "^19.0.0",
|
|
40
40
|
"react-devtools-core": "^7.0.1",
|
|
41
|
+
"semver": "^7.7.4",
|
|
41
42
|
"web-tree-sitter": "0.25.10",
|
|
42
43
|
"ws": "^8.21.0",
|
|
43
44
|
"yargs": "^17.7.2",
|
|
@@ -51,6 +52,7 @@
|
|
|
51
52
|
"@types/bun": "^1.3.14",
|
|
52
53
|
"@types/node": "^24.0.0",
|
|
53
54
|
"@types/react": "^19.0.0",
|
|
55
|
+
"@types/semver": "^7.7.1",
|
|
54
56
|
"@types/yargs": "^17.0.33",
|
|
55
57
|
"@typescript/native-preview": "^7.0.0-dev.20260113.1",
|
|
56
58
|
"@vitest/coverage-v8": "^2.1.8",
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
//#region \0rolldown/runtime.js
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __exportAll = (all, no_symbols) => {
|
|
5
|
-
let target = {};
|
|
6
|
-
for (var name in all) {
|
|
7
|
-
__defProp(target, name, {
|
|
8
|
-
get: all[name],
|
|
9
|
-
enumerable: true
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
if (!no_symbols) {
|
|
13
|
-
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
14
|
-
}
|
|
15
|
-
return target;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
//#endregion
|
|
19
|
-
export { __exportAll as t };
|