cascade-ai 0.12.4 → 0.12.5
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/cli.cjs +3 -89
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +3 -89
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +2 -92
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -92
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/keytar-VMICNFEJ.node +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -2225,7 +2225,7 @@ declare class Telemetry {
|
|
|
2225
2225
|
shutdown(): Promise<void>;
|
|
2226
2226
|
}
|
|
2227
2227
|
|
|
2228
|
-
declare const CASCADE_VERSION
|
|
2228
|
+
declare const CASCADE_VERSION: string;
|
|
2229
2229
|
declare const CASCADE_CONFIG_DIR = ".cascade";
|
|
2230
2230
|
declare const CASCADE_MD_FILE = "CASCADE.md";
|
|
2231
2231
|
declare const CASCADE_IGNORE_FILE = ".cascadeignore";
|
package/dist/index.d.ts
CHANGED
|
@@ -2225,7 +2225,7 @@ declare class Telemetry {
|
|
|
2225
2225
|
shutdown(): Promise<void>;
|
|
2226
2226
|
}
|
|
2227
2227
|
|
|
2228
|
-
declare const CASCADE_VERSION
|
|
2228
|
+
declare const CASCADE_VERSION: string;
|
|
2229
2229
|
declare const CASCADE_CONFIG_DIR = ".cascade";
|
|
2230
2230
|
declare const CASCADE_MD_FILE = "CASCADE.md";
|
|
2231
2231
|
declare const CASCADE_IGNORE_FILE = ".cascadeignore";
|
package/dist/index.js
CHANGED
|
@@ -32,100 +32,10 @@ import jwt from 'jsonwebtoken';
|
|
|
32
32
|
import cron from 'node-cron';
|
|
33
33
|
|
|
34
34
|
// Cascade AI — Multi-tier AI Orchestration System
|
|
35
|
-
var __create = Object.create;
|
|
36
|
-
var __defProp = Object.defineProperty;
|
|
37
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
38
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
39
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
40
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
41
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
42
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
43
|
-
}) : x)(function(x) {
|
|
44
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
45
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
46
|
-
});
|
|
47
|
-
var __esm = (fn, res) => function __init() {
|
|
48
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
49
|
-
};
|
|
50
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
51
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
52
|
-
};
|
|
53
|
-
var __copyProps = (to, from, except, desc) => {
|
|
54
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
55
|
-
for (let key of __getOwnPropNames(from))
|
|
56
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
57
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
58
|
-
}
|
|
59
|
-
return to;
|
|
60
|
-
};
|
|
61
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
62
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
63
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
64
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
65
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
66
|
-
__defProp(target, "default", { value: mod, enumerable: true }) ,
|
|
67
|
-
mod
|
|
68
|
-
));
|
|
69
|
-
|
|
70
|
-
// node_modules/keytar/build/Release/keytar.node
|
|
71
|
-
var keytar_default;
|
|
72
|
-
var init_keytar = __esm({
|
|
73
|
-
"node_modules/keytar/build/Release/keytar.node"() {
|
|
74
|
-
keytar_default = "./keytar-VMICNFEJ.node";
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
35
|
|
|
78
|
-
// node-file:/home/runner/work/Cascade-AI/Cascade-AI/node_modules/keytar/build/Release/keytar.node
|
|
79
|
-
var require_keytar = __commonJS({
|
|
80
|
-
"node-file:/home/runner/work/Cascade-AI/Cascade-AI/node_modules/keytar/build/Release/keytar.node"(exports, module) {
|
|
81
|
-
init_keytar();
|
|
82
|
-
try {
|
|
83
|
-
module.exports = __require(keytar_default);
|
|
84
|
-
} catch {
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
});
|
|
88
|
-
|
|
89
|
-
// node_modules/keytar/lib/keytar.js
|
|
90
|
-
var require_keytar2 = __commonJS({
|
|
91
|
-
"node_modules/keytar/lib/keytar.js"(exports, module) {
|
|
92
|
-
var keytar = require_keytar();
|
|
93
|
-
function checkRequired(val, name) {
|
|
94
|
-
if (!val || val.length <= 0) {
|
|
95
|
-
throw new Error(name + " is required.");
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
module.exports = {
|
|
99
|
-
getPassword: function(service, account) {
|
|
100
|
-
checkRequired(service, "Service");
|
|
101
|
-
checkRequired(account, "Account");
|
|
102
|
-
return keytar.getPassword(service, account);
|
|
103
|
-
},
|
|
104
|
-
setPassword: function(service, account, password) {
|
|
105
|
-
checkRequired(service, "Service");
|
|
106
|
-
checkRequired(account, "Account");
|
|
107
|
-
checkRequired(password, "Password");
|
|
108
|
-
return keytar.setPassword(service, account, password);
|
|
109
|
-
},
|
|
110
|
-
deletePassword: function(service, account) {
|
|
111
|
-
checkRequired(service, "Service");
|
|
112
|
-
checkRequired(account, "Account");
|
|
113
|
-
return keytar.deletePassword(service, account);
|
|
114
|
-
},
|
|
115
|
-
findPassword: function(service) {
|
|
116
|
-
checkRequired(service, "Service");
|
|
117
|
-
return keytar.findPassword(service);
|
|
118
|
-
},
|
|
119
|
-
findCredentials: function(service) {
|
|
120
|
-
checkRequired(service, "Service");
|
|
121
|
-
return keytar.findCredentials(service);
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
36
|
|
|
127
37
|
// src/constants.ts
|
|
128
|
-
var CASCADE_VERSION = "0.
|
|
38
|
+
var CASCADE_VERSION = "0.12.5";
|
|
129
39
|
var CASCADE_CONFIG_DIR = ".cascade";
|
|
130
40
|
var CASCADE_MD_FILE = "CASCADE.md";
|
|
131
41
|
var CASCADE_IGNORE_FILE = ".cascadeignore";
|
|
@@ -9264,7 +9174,7 @@ var PBKDF2_ITERATIONS = 1e5;
|
|
|
9264
9174
|
var KEYTAR_SERVICE = "cascade-ai";
|
|
9265
9175
|
async function loadKeytar() {
|
|
9266
9176
|
try {
|
|
9267
|
-
const mod = await
|
|
9177
|
+
const mod = await import('keytar');
|
|
9268
9178
|
const candidate = mod.default ?? mod;
|
|
9269
9179
|
if (typeof candidate.getPassword !== "function") return null;
|
|
9270
9180
|
return candidate;
|