@alpic-ai/sdk 0.0.0-dev.gea1c14d → 0.0.0-dev.geae8e2a
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/auth/index.d.ts +4 -0
- package/dist/auth/index.js +11 -0
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/server/assets/authorize.html +1 -1
- package/dist/client.d.ts +6 -0
- package/dist/client.js +10 -0
- package/dist/client.js.map +1 -1
- package/dist/deploy/archive.d.ts +8 -0
- package/dist/deploy/archive.js +61 -0
- package/dist/deploy/archive.js.map +1 -0
- package/dist/deploy/deployments.d.ts +45 -0
- package/dist/deploy/deployments.js +90 -0
- package/dist/deploy/deployments.js.map +1 -0
- package/dist/deploy/poll.d.ts +2 -0
- package/dist/deploy/poll.js +10 -0
- package/dist/deploy/poll.js.map +1 -0
- package/dist/deploy/upload.d.ts +1 -0
- package/dist/deploy/upload.js +13 -0
- package/dist/deploy/upload.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/project/config.d.ts +10 -0
- package/dist/project/config.js +29 -0
- package/dist/project/config.js.map +1 -0
- package/dist/project/detect-runtime.d.ts +2 -0
- package/dist/project/detect-runtime.js +25 -0
- package/dist/project/detect-runtime.js.map +1 -0
- package/dist/project/projects.d.ts +21 -0
- package/dist/project/projects.js +52 -0
- package/dist/project/projects.js.map +1 -0
- package/dist/vendor/pipenet.js +21 -40
- package/dist/vendor/pipenet.js.map +4 -4
- package/dist/whoami.d.ts +15 -0
- package/dist/whoami.js +12 -0
- package/dist/whoami.js.map +1 -0
- package/package.json +10 -9
package/dist/vendor/pipenet.js
CHANGED
|
@@ -9593,9 +9593,9 @@ var require_get_proto = __commonJS({
|
|
|
9593
9593
|
}
|
|
9594
9594
|
});
|
|
9595
9595
|
|
|
9596
|
-
// ../../node_modules/.pnpm/hasown@2.0.
|
|
9596
|
+
// ../../node_modules/.pnpm/hasown@2.0.4/node_modules/hasown/index.js
|
|
9597
9597
|
var require_hasown = __commonJS({
|
|
9598
|
-
"../../node_modules/.pnpm/hasown@2.0.
|
|
9598
|
+
"../../node_modules/.pnpm/hasown@2.0.4/node_modules/hasown/index.js"(exports, module) {
|
|
9599
9599
|
"use strict";
|
|
9600
9600
|
var call = Function.prototype.call;
|
|
9601
9601
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
@@ -9978,17 +9978,6 @@ var require_es_set_tostringtag = __commonJS({
|
|
|
9978
9978
|
}
|
|
9979
9979
|
});
|
|
9980
9980
|
|
|
9981
|
-
// ../../node_modules/.pnpm/hasown@2.0.4/node_modules/hasown/index.js
|
|
9982
|
-
var require_hasown2 = __commonJS({
|
|
9983
|
-
"../../node_modules/.pnpm/hasown@2.0.4/node_modules/hasown/index.js"(exports, module) {
|
|
9984
|
-
"use strict";
|
|
9985
|
-
var call = Function.prototype.call;
|
|
9986
|
-
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
9987
|
-
var bind2 = require_function_bind();
|
|
9988
|
-
module.exports = bind2.call(call, $hasOwn);
|
|
9989
|
-
}
|
|
9990
|
-
});
|
|
9991
|
-
|
|
9992
9981
|
// ../../node_modules/.pnpm/form-data@4.0.6/node_modules/form-data/lib/populate.js
|
|
9993
9982
|
var require_populate = __commonJS({
|
|
9994
9983
|
"../../node_modules/.pnpm/form-data@4.0.6/node_modules/form-data/lib/populate.js"(exports, module) {
|
|
@@ -10018,7 +10007,7 @@ var require_form_data = __commonJS({
|
|
|
10018
10007
|
var mime = require_mime_types();
|
|
10019
10008
|
var asynckit = require_asynckit();
|
|
10020
10009
|
var setToStringTag = require_es_set_tostringtag();
|
|
10021
|
-
var hasOwn =
|
|
10010
|
+
var hasOwn = require_hasown();
|
|
10022
10011
|
var populate = require_populate();
|
|
10023
10012
|
function escapeHeaderParam(str) {
|
|
10024
10013
|
return String(str).replace(/\r/g, "%0D").replace(/\n/g, "%0A").replace(/"/g, "%22");
|
|
@@ -11099,9 +11088,9 @@ var require_src = __commonJS({
|
|
|
11099
11088
|
}
|
|
11100
11089
|
});
|
|
11101
11090
|
|
|
11102
|
-
// ../../node_modules/.pnpm/agent-base@6.0.
|
|
11091
|
+
// ../../node_modules/.pnpm/agent-base@6.0.2/node_modules/agent-base/dist/src/promisify.js
|
|
11103
11092
|
var require_promisify = __commonJS({
|
|
11104
|
-
"../../node_modules/.pnpm/agent-base@6.0.
|
|
11093
|
+
"../../node_modules/.pnpm/agent-base@6.0.2/node_modules/agent-base/dist/src/promisify.js"(exports) {
|
|
11105
11094
|
"use strict";
|
|
11106
11095
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11107
11096
|
function promisify(fn) {
|
|
@@ -11121,9 +11110,9 @@ var require_promisify = __commonJS({
|
|
|
11121
11110
|
}
|
|
11122
11111
|
});
|
|
11123
11112
|
|
|
11124
|
-
// ../../node_modules/.pnpm/agent-base@6.0.
|
|
11113
|
+
// ../../node_modules/.pnpm/agent-base@6.0.2/node_modules/agent-base/dist/src/index.js
|
|
11125
11114
|
var require_src2 = __commonJS({
|
|
11126
|
-
"../../node_modules/.pnpm/agent-base@6.0.
|
|
11115
|
+
"../../node_modules/.pnpm/agent-base@6.0.2/node_modules/agent-base/dist/src/index.js"(exports, module) {
|
|
11127
11116
|
"use strict";
|
|
11128
11117
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
11129
11118
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -11304,9 +11293,9 @@ var require_src2 = __commonJS({
|
|
|
11304
11293
|
}
|
|
11305
11294
|
});
|
|
11306
11295
|
|
|
11307
|
-
// ../../node_modules/.pnpm/https-proxy-agent@5.0.
|
|
11296
|
+
// ../../node_modules/.pnpm/https-proxy-agent@5.0.1/node_modules/https-proxy-agent/dist/parse-proxy-response.js
|
|
11308
11297
|
var require_parse_proxy_response = __commonJS({
|
|
11309
|
-
"../../node_modules/.pnpm/https-proxy-agent@5.0.
|
|
11298
|
+
"../../node_modules/.pnpm/https-proxy-agent@5.0.1/node_modules/https-proxy-agent/dist/parse-proxy-response.js"(exports) {
|
|
11310
11299
|
"use strict";
|
|
11311
11300
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
11312
11301
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -11370,9 +11359,9 @@ var require_parse_proxy_response = __commonJS({
|
|
|
11370
11359
|
}
|
|
11371
11360
|
});
|
|
11372
11361
|
|
|
11373
|
-
// ../../node_modules/.pnpm/https-proxy-agent@5.0.
|
|
11362
|
+
// ../../node_modules/.pnpm/https-proxy-agent@5.0.1/node_modules/https-proxy-agent/dist/agent.js
|
|
11374
11363
|
var require_agent = __commonJS({
|
|
11375
|
-
"../../node_modules/.pnpm/https-proxy-agent@5.0.
|
|
11364
|
+
"../../node_modules/.pnpm/https-proxy-agent@5.0.1/node_modules/https-proxy-agent/dist/agent.js"(exports) {
|
|
11376
11365
|
"use strict";
|
|
11377
11366
|
var __awaiter = exports && exports.__awaiter || function(thisArg, _arguments, P, generator) {
|
|
11378
11367
|
function adopt(value) {
|
|
@@ -11530,9 +11519,9 @@ var require_agent = __commonJS({
|
|
|
11530
11519
|
}
|
|
11531
11520
|
});
|
|
11532
11521
|
|
|
11533
|
-
// ../../node_modules/.pnpm/https-proxy-agent@5.0.
|
|
11522
|
+
// ../../node_modules/.pnpm/https-proxy-agent@5.0.1/node_modules/https-proxy-agent/dist/index.js
|
|
11534
11523
|
var require_dist = __commonJS({
|
|
11535
|
-
"../../node_modules/.pnpm/https-proxy-agent@5.0.
|
|
11524
|
+
"../../node_modules/.pnpm/https-proxy-agent@5.0.1/node_modules/https-proxy-agent/dist/index.js"(exports, module) {
|
|
11536
11525
|
"use strict";
|
|
11537
11526
|
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
11538
11527
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -16585,18 +16574,18 @@ var {
|
|
|
16585
16574
|
create
|
|
16586
16575
|
} = axios_default;
|
|
16587
16576
|
|
|
16588
|
-
// ../../node_modules/.pnpm/pipenet@1.4.
|
|
16577
|
+
// ../../node_modules/.pnpm/pipenet@1.4.2_patch_hash=09c4ab8ce9e1d77e9c735905927fa4bc2790e673c18d6cf3a62fd19ba4d9b576/node_modules/pipenet/dist/Tunnel.js
|
|
16589
16578
|
var import_debug2 = __toESM(require_src(), 1);
|
|
16590
16579
|
import { EventEmitter as EventEmitter3 } from "events";
|
|
16591
16580
|
|
|
16592
|
-
// ../../node_modules/.pnpm/pipenet@1.4.
|
|
16581
|
+
// ../../node_modules/.pnpm/pipenet@1.4.2_patch_hash=09c4ab8ce9e1d77e9c735905927fa4bc2790e673c18d6cf3a62fd19ba4d9b576/node_modules/pipenet/dist/TunnelCluster.js
|
|
16593
16582
|
var import_debug = __toESM(require_src(), 1);
|
|
16594
16583
|
import { EventEmitter as EventEmitter2 } from "events";
|
|
16595
16584
|
import fs from "fs";
|
|
16596
16585
|
import net from "net";
|
|
16597
16586
|
import tls from "tls";
|
|
16598
16587
|
|
|
16599
|
-
// ../../node_modules/.pnpm/pipenet@1.4.
|
|
16588
|
+
// ../../node_modules/.pnpm/pipenet@1.4.2_patch_hash=09c4ab8ce9e1d77e9c735905927fa4bc2790e673c18d6cf3a62fd19ba4d9b576/node_modules/pipenet/dist/HeaderHostTransformer.js
|
|
16600
16589
|
import { Transform } from "stream";
|
|
16601
16590
|
var HeaderHostTransformer = class extends Transform {
|
|
16602
16591
|
host;
|
|
@@ -16614,7 +16603,7 @@ var HeaderHostTransformer = class extends Transform {
|
|
|
16614
16603
|
}
|
|
16615
16604
|
};
|
|
16616
16605
|
|
|
16617
|
-
// ../../node_modules/.pnpm/pipenet@1.4.
|
|
16606
|
+
// ../../node_modules/.pnpm/pipenet@1.4.2_patch_hash=09c4ab8ce9e1d77e9c735905927fa4bc2790e673c18d6cf3a62fd19ba4d9b576/node_modules/pipenet/dist/TunnelCluster.js
|
|
16618
16607
|
var log = (0, import_debug.default)("pipenet:client");
|
|
16619
16608
|
var TunnelCluster = class extends EventEmitter2 {
|
|
16620
16609
|
opts;
|
|
@@ -16647,18 +16636,10 @@ var TunnelCluster = class extends EventEmitter2 {
|
|
|
16647
16636
|
}
|
|
16648
16637
|
remote.end();
|
|
16649
16638
|
});
|
|
16650
|
-
let deadEmitted = false;
|
|
16651
|
-
const emitDead = () => {
|
|
16652
|
-
if (deadEmitted) {
|
|
16653
|
-
return;
|
|
16654
|
-
}
|
|
16655
|
-
deadEmitted = true;
|
|
16656
|
-
this.emit("dead", remote);
|
|
16657
|
-
};
|
|
16658
16639
|
const connLocal = () => {
|
|
16659
16640
|
if (remote.destroyed) {
|
|
16660
16641
|
log("remote destroyed");
|
|
16661
|
-
|
|
16642
|
+
this.emit("dead", remote);
|
|
16662
16643
|
return;
|
|
16663
16644
|
}
|
|
16664
16645
|
log("connecting locally to %s://%s:%d", localProtocol, localHost, localPort);
|
|
@@ -16674,7 +16655,7 @@ var TunnelCluster = class extends EventEmitter2 {
|
|
|
16674
16655
|
const local = opt.localHttps ? tls.connect({ host: localHost, port: localPort, ...getLocalCertOpts() }) : net.connect({ host: localHost, port: localPort });
|
|
16675
16656
|
const remoteClose = () => {
|
|
16676
16657
|
log("remote close");
|
|
16677
|
-
|
|
16658
|
+
this.emit("dead", remote);
|
|
16678
16659
|
local.end();
|
|
16679
16660
|
};
|
|
16680
16661
|
remote.once("close", remoteClose);
|
|
@@ -16722,7 +16703,7 @@ var TunnelCluster = class extends EventEmitter2 {
|
|
|
16722
16703
|
}
|
|
16723
16704
|
};
|
|
16724
16705
|
|
|
16725
|
-
// ../../node_modules/.pnpm/pipenet@1.4.
|
|
16706
|
+
// ../../node_modules/.pnpm/pipenet@1.4.2_patch_hash=09c4ab8ce9e1d77e9c735905927fa4bc2790e673c18d6cf3a62fd19ba4d9b576/node_modules/pipenet/dist/Tunnel.js
|
|
16726
16707
|
var log2 = (0, import_debug2.default)("pipenet:client");
|
|
16727
16708
|
var Tunnel = class extends EventEmitter3 {
|
|
16728
16709
|
cachedUrl;
|
|
@@ -16870,7 +16851,7 @@ var Tunnel = class extends EventEmitter3 {
|
|
|
16870
16851
|
}
|
|
16871
16852
|
};
|
|
16872
16853
|
|
|
16873
|
-
// ../../node_modules/.pnpm/pipenet@1.4.
|
|
16854
|
+
// ../../node_modules/.pnpm/pipenet@1.4.2_patch_hash=09c4ab8ce9e1d77e9c735905927fa4bc2790e673c18d6cf3a62fd19ba4d9b576/node_modules/pipenet/dist/pipenet.js
|
|
16874
16855
|
function pipenet(arg1, arg2, arg3) {
|
|
16875
16856
|
const options = typeof arg1 === "object" ? arg1 : { ...arg2, port: arg1 };
|
|
16876
16857
|
const callback = typeof arg1 === "object" ? arg2 : arg3;
|