@ghostystudio/cli 0.98.0 → 0.99.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/README.md +4 -0
- package/dist/index.js +166 -153
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -156,6 +156,10 @@ Every command has its own help with examples: `ghosty <command> --help` or `ghos
|
|
|
156
156
|
|
|
157
157
|
Exit codes: `0` ok · `1` API error · `2` usage error · `3` not signed in.
|
|
158
158
|
|
|
159
|
+
### Changes in 0.99.0
|
|
160
|
+
|
|
161
|
+
- `channels whatsapp connect <id>` now starts or resumes the connection and gives a link that works on any screen for 1 hour, in case the phone doesn't finish the Meta sign-in. Running it again never opens a second one and tells you whether it finished. Connecting needs no balance and doesn't turn the agent on.
|
|
162
|
+
|
|
159
163
|
### Changes in 0.98.0
|
|
160
164
|
|
|
161
165
|
- `brief pause <days|YYYY-MM-DD>` skips your morning brief for 1 to 90 days and it comes back on its own; `brief resume` removes the pause. `brief show` tells you when it returns, and `brief on|off` clears the pause.
|
package/dist/index.js
CHANGED
|
@@ -1183,7 +1183,7 @@ async function postLong(path2, body, timeoutMs = 9e5) {
|
|
|
1183
1183
|
const req = httpsRequest(`${base}${path2}`, {
|
|
1184
1184
|
method: "POST",
|
|
1185
1185
|
timeout: timeoutMs,
|
|
1186
|
-
headers: { authorization: `Bearer ${token}`, "user-agent": `ghosty-cli/${"0.
|
|
1186
|
+
headers: { authorization: `Bearer ${token}`, "user-agent": `ghosty-cli/${"0.99.0"}`, "content-type": "application/json", "content-length": Buffer.byteLength(data) }
|
|
1187
1187
|
}, (res) => {
|
|
1188
1188
|
let buf = "";
|
|
1189
1189
|
res.on("data", (c) => buf += c);
|
|
@@ -1225,7 +1225,7 @@ async function request(path2, opts = {}, retried = false) {
|
|
|
1225
1225
|
method: opts.method ?? (opts.body !== void 0 || opts.raw !== void 0 ? "POST" : "GET"),
|
|
1226
1226
|
headers: {
|
|
1227
1227
|
authorization: `Bearer ${token}`,
|
|
1228
|
-
"user-agent": `ghosty-cli/${"0.
|
|
1228
|
+
"user-agent": `ghosty-cli/${"0.99.0"}`,
|
|
1229
1229
|
"accept-language": lang(),
|
|
1230
1230
|
...opts.body !== void 0 ? { "content-type": "application/json" } : {},
|
|
1231
1231
|
...opts.headers
|
|
@@ -1345,9 +1345,9 @@ var init_mteams = __esm({
|
|
|
1345
1345
|
}
|
|
1346
1346
|
});
|
|
1347
1347
|
|
|
1348
|
-
//
|
|
1348
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/nodes/identity.js
|
|
1349
1349
|
var require_identity = __commonJS({
|
|
1350
|
-
"
|
|
1350
|
+
"../../../ghosty-studio/node_modules/yaml/dist/nodes/identity.js"(exports) {
|
|
1351
1351
|
"use strict";
|
|
1352
1352
|
var ALIAS = /* @__PURE__ */ Symbol.for("yaml.alias");
|
|
1353
1353
|
var DOC = /* @__PURE__ */ Symbol.for("yaml.document");
|
|
@@ -1402,9 +1402,9 @@ var require_identity = __commonJS({
|
|
|
1402
1402
|
}
|
|
1403
1403
|
});
|
|
1404
1404
|
|
|
1405
|
-
//
|
|
1405
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/visit.js
|
|
1406
1406
|
var require_visit = __commonJS({
|
|
1407
|
-
"
|
|
1407
|
+
"../../../ghosty-studio/node_modules/yaml/dist/visit.js"(exports) {
|
|
1408
1408
|
"use strict";
|
|
1409
1409
|
var identity = require_identity();
|
|
1410
1410
|
var BREAK = /* @__PURE__ */ Symbol("break visit");
|
|
@@ -1560,9 +1560,9 @@ var require_visit = __commonJS({
|
|
|
1560
1560
|
}
|
|
1561
1561
|
});
|
|
1562
1562
|
|
|
1563
|
-
//
|
|
1563
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/doc/directives.js
|
|
1564
1564
|
var require_directives = __commonJS({
|
|
1565
|
-
"
|
|
1565
|
+
"../../../ghosty-studio/node_modules/yaml/dist/doc/directives.js"(exports) {
|
|
1566
1566
|
"use strict";
|
|
1567
1567
|
var identity = require_identity();
|
|
1568
1568
|
var visit = require_visit();
|
|
@@ -1731,9 +1731,9 @@ var require_directives = __commonJS({
|
|
|
1731
1731
|
}
|
|
1732
1732
|
});
|
|
1733
1733
|
|
|
1734
|
-
//
|
|
1734
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/doc/anchors.js
|
|
1735
1735
|
var require_anchors = __commonJS({
|
|
1736
|
-
"
|
|
1736
|
+
"../../../ghosty-studio/node_modules/yaml/dist/doc/anchors.js"(exports) {
|
|
1737
1737
|
"use strict";
|
|
1738
1738
|
var identity = require_identity();
|
|
1739
1739
|
var visit = require_visit();
|
|
@@ -1801,9 +1801,9 @@ var require_anchors = __commonJS({
|
|
|
1801
1801
|
}
|
|
1802
1802
|
});
|
|
1803
1803
|
|
|
1804
|
-
//
|
|
1804
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/doc/applyReviver.js
|
|
1805
1805
|
var require_applyReviver = __commonJS({
|
|
1806
|
-
"
|
|
1806
|
+
"../../../ghosty-studio/node_modules/yaml/dist/doc/applyReviver.js"(exports) {
|
|
1807
1807
|
"use strict";
|
|
1808
1808
|
function applyReviver(reviver, obj, key, val) {
|
|
1809
1809
|
if (val && typeof val === "object") {
|
|
@@ -1851,9 +1851,9 @@ var require_applyReviver = __commonJS({
|
|
|
1851
1851
|
}
|
|
1852
1852
|
});
|
|
1853
1853
|
|
|
1854
|
-
//
|
|
1854
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/nodes/toJS.js
|
|
1855
1855
|
var require_toJS = __commonJS({
|
|
1856
|
-
"
|
|
1856
|
+
"../../../ghosty-studio/node_modules/yaml/dist/nodes/toJS.js"(exports) {
|
|
1857
1857
|
"use strict";
|
|
1858
1858
|
var identity = require_identity();
|
|
1859
1859
|
function toJS(value, arg, ctx) {
|
|
@@ -1881,9 +1881,9 @@ var require_toJS = __commonJS({
|
|
|
1881
1881
|
}
|
|
1882
1882
|
});
|
|
1883
1883
|
|
|
1884
|
-
//
|
|
1884
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/nodes/Node.js
|
|
1885
1885
|
var require_Node = __commonJS({
|
|
1886
|
-
"
|
|
1886
|
+
"../../../ghosty-studio/node_modules/yaml/dist/nodes/Node.js"(exports) {
|
|
1887
1887
|
"use strict";
|
|
1888
1888
|
var applyReviver = require_applyReviver();
|
|
1889
1889
|
var identity = require_identity();
|
|
@@ -1922,9 +1922,9 @@ var require_Node = __commonJS({
|
|
|
1922
1922
|
}
|
|
1923
1923
|
});
|
|
1924
1924
|
|
|
1925
|
-
//
|
|
1925
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/nodes/Alias.js
|
|
1926
1926
|
var require_Alias = __commonJS({
|
|
1927
|
-
"
|
|
1927
|
+
"../../../ghosty-studio/node_modules/yaml/dist/nodes/Alias.js"(exports) {
|
|
1928
1928
|
"use strict";
|
|
1929
1929
|
var anchors = require_anchors();
|
|
1930
1930
|
var visit = require_visit();
|
|
@@ -2040,9 +2040,9 @@ var require_Alias = __commonJS({
|
|
|
2040
2040
|
}
|
|
2041
2041
|
});
|
|
2042
2042
|
|
|
2043
|
-
//
|
|
2043
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/nodes/Scalar.js
|
|
2044
2044
|
var require_Scalar = __commonJS({
|
|
2045
|
-
"
|
|
2045
|
+
"../../../ghosty-studio/node_modules/yaml/dist/nodes/Scalar.js"(exports) {
|
|
2046
2046
|
"use strict";
|
|
2047
2047
|
var identity = require_identity();
|
|
2048
2048
|
var Node = require_Node();
|
|
@@ -2070,9 +2070,9 @@ var require_Scalar = __commonJS({
|
|
|
2070
2070
|
}
|
|
2071
2071
|
});
|
|
2072
2072
|
|
|
2073
|
-
//
|
|
2073
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/doc/createNode.js
|
|
2074
2074
|
var require_createNode = __commonJS({
|
|
2075
|
-
"
|
|
2075
|
+
"../../../ghosty-studio/node_modules/yaml/dist/doc/createNode.js"(exports) {
|
|
2076
2076
|
"use strict";
|
|
2077
2077
|
var Alias = require_Alias();
|
|
2078
2078
|
var identity = require_identity();
|
|
@@ -2145,9 +2145,9 @@ var require_createNode = __commonJS({
|
|
|
2145
2145
|
}
|
|
2146
2146
|
});
|
|
2147
2147
|
|
|
2148
|
-
//
|
|
2148
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/nodes/Collection.js
|
|
2149
2149
|
var require_Collection = __commonJS({
|
|
2150
|
-
"
|
|
2150
|
+
"../../../ghosty-studio/node_modules/yaml/dist/nodes/Collection.js"(exports) {
|
|
2151
2151
|
"use strict";
|
|
2152
2152
|
var createNode = require_createNode();
|
|
2153
2153
|
var identity = require_identity();
|
|
@@ -2288,9 +2288,9 @@ var require_Collection = __commonJS({
|
|
|
2288
2288
|
}
|
|
2289
2289
|
});
|
|
2290
2290
|
|
|
2291
|
-
//
|
|
2291
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
2292
2292
|
var require_stringifyComment = __commonJS({
|
|
2293
|
-
"
|
|
2293
|
+
"../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyComment.js"(exports) {
|
|
2294
2294
|
"use strict";
|
|
2295
2295
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
2296
2296
|
function indentComment(comment, indent) {
|
|
@@ -2305,9 +2305,9 @@ var require_stringifyComment = __commonJS({
|
|
|
2305
2305
|
}
|
|
2306
2306
|
});
|
|
2307
2307
|
|
|
2308
|
-
//
|
|
2308
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
2309
2309
|
var require_foldFlowLines = __commonJS({
|
|
2310
|
-
"
|
|
2310
|
+
"../../../ghosty-studio/node_modules/yaml/dist/stringify/foldFlowLines.js"(exports) {
|
|
2311
2311
|
"use strict";
|
|
2312
2312
|
var FOLD_FLOW = "flow";
|
|
2313
2313
|
var FOLD_BLOCK = "block";
|
|
@@ -2441,9 +2441,9 @@ ${indent}${text.slice(fold + 1, end2)}`;
|
|
|
2441
2441
|
}
|
|
2442
2442
|
});
|
|
2443
2443
|
|
|
2444
|
-
//
|
|
2444
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyString.js
|
|
2445
2445
|
var require_stringifyString = __commonJS({
|
|
2446
|
-
"
|
|
2446
|
+
"../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyString.js"(exports) {
|
|
2447
2447
|
"use strict";
|
|
2448
2448
|
var Scalar = require_Scalar();
|
|
2449
2449
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -2724,9 +2724,9 @@ ${indent}`);
|
|
|
2724
2724
|
}
|
|
2725
2725
|
});
|
|
2726
2726
|
|
|
2727
|
-
//
|
|
2727
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/stringify/stringify.js
|
|
2728
2728
|
var require_stringify = __commonJS({
|
|
2729
|
-
"
|
|
2729
|
+
"../../../ghosty-studio/node_modules/yaml/dist/stringify/stringify.js"(exports) {
|
|
2730
2730
|
"use strict";
|
|
2731
2731
|
var anchors = require_anchors();
|
|
2732
2732
|
var identity = require_identity();
|
|
@@ -2848,9 +2848,9 @@ ${ctx.indent}${str}`;
|
|
|
2848
2848
|
}
|
|
2849
2849
|
});
|
|
2850
2850
|
|
|
2851
|
-
//
|
|
2851
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
2852
2852
|
var require_stringifyPair = __commonJS({
|
|
2853
|
-
"
|
|
2853
|
+
"../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyPair.js"(exports) {
|
|
2854
2854
|
"use strict";
|
|
2855
2855
|
var identity = require_identity();
|
|
2856
2856
|
var Scalar = require_Scalar();
|
|
@@ -2981,9 +2981,9 @@ ${ctx.indent}`;
|
|
|
2981
2981
|
}
|
|
2982
2982
|
});
|
|
2983
2983
|
|
|
2984
|
-
//
|
|
2984
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/log.js
|
|
2985
2985
|
var require_log = __commonJS({
|
|
2986
|
-
"
|
|
2986
|
+
"../../../ghosty-studio/node_modules/yaml/dist/log.js"(exports) {
|
|
2987
2987
|
"use strict";
|
|
2988
2988
|
var node_process = __require("process");
|
|
2989
2989
|
function debug(logLevel, ...messages) {
|
|
@@ -3003,9 +3003,9 @@ var require_log = __commonJS({
|
|
|
3003
3003
|
}
|
|
3004
3004
|
});
|
|
3005
3005
|
|
|
3006
|
-
//
|
|
3006
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
3007
3007
|
var require_merge = __commonJS({
|
|
3008
|
-
"
|
|
3008
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/merge.js"(exports) {
|
|
3009
3009
|
"use strict";
|
|
3010
3010
|
var identity = require_identity();
|
|
3011
3011
|
var Scalar = require_Scalar();
|
|
@@ -3063,9 +3063,9 @@ var require_merge = __commonJS({
|
|
|
3063
3063
|
}
|
|
3064
3064
|
});
|
|
3065
3065
|
|
|
3066
|
-
//
|
|
3066
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
3067
3067
|
var require_addPairToJSMap = __commonJS({
|
|
3068
|
-
"
|
|
3068
|
+
"../../../ghosty-studio/node_modules/yaml/dist/nodes/addPairToJSMap.js"(exports) {
|
|
3069
3069
|
"use strict";
|
|
3070
3070
|
var log = require_log();
|
|
3071
3071
|
var merge = require_merge();
|
|
@@ -3127,9 +3127,9 @@ var require_addPairToJSMap = __commonJS({
|
|
|
3127
3127
|
}
|
|
3128
3128
|
});
|
|
3129
3129
|
|
|
3130
|
-
//
|
|
3130
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/nodes/Pair.js
|
|
3131
3131
|
var require_Pair = __commonJS({
|
|
3132
|
-
"
|
|
3132
|
+
"../../../ghosty-studio/node_modules/yaml/dist/nodes/Pair.js"(exports) {
|
|
3133
3133
|
"use strict";
|
|
3134
3134
|
var createNode = require_createNode();
|
|
3135
3135
|
var stringifyPair = require_stringifyPair();
|
|
@@ -3167,9 +3167,9 @@ var require_Pair = __commonJS({
|
|
|
3167
3167
|
}
|
|
3168
3168
|
});
|
|
3169
3169
|
|
|
3170
|
-
//
|
|
3170
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
3171
3171
|
var require_stringifyCollection = __commonJS({
|
|
3172
|
-
"
|
|
3172
|
+
"../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyCollection.js"(exports) {
|
|
3173
3173
|
"use strict";
|
|
3174
3174
|
var identity = require_identity();
|
|
3175
3175
|
var stringify = require_stringify();
|
|
@@ -3318,9 +3318,9 @@ ${indent}${end}`;
|
|
|
3318
3318
|
}
|
|
3319
3319
|
});
|
|
3320
3320
|
|
|
3321
|
-
//
|
|
3321
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
3322
3322
|
var require_YAMLMap = __commonJS({
|
|
3323
|
-
"
|
|
3323
|
+
"../../../ghosty-studio/node_modules/yaml/dist/nodes/YAMLMap.js"(exports) {
|
|
3324
3324
|
"use strict";
|
|
3325
3325
|
var stringifyCollection = require_stringifyCollection();
|
|
3326
3326
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -3462,9 +3462,9 @@ var require_YAMLMap = __commonJS({
|
|
|
3462
3462
|
}
|
|
3463
3463
|
});
|
|
3464
3464
|
|
|
3465
|
-
//
|
|
3465
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/common/map.js
|
|
3466
3466
|
var require_map = __commonJS({
|
|
3467
|
-
"
|
|
3467
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/common/map.js"(exports) {
|
|
3468
3468
|
"use strict";
|
|
3469
3469
|
var identity = require_identity();
|
|
3470
3470
|
var YAMLMap = require_YAMLMap();
|
|
@@ -3484,9 +3484,9 @@ var require_map = __commonJS({
|
|
|
3484
3484
|
}
|
|
3485
3485
|
});
|
|
3486
3486
|
|
|
3487
|
-
//
|
|
3487
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
3488
3488
|
var require_YAMLSeq = __commonJS({
|
|
3489
|
-
"
|
|
3489
|
+
"../../../ghosty-studio/node_modules/yaml/dist/nodes/YAMLSeq.js"(exports) {
|
|
3490
3490
|
"use strict";
|
|
3491
3491
|
var createNode = require_createNode();
|
|
3492
3492
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -3600,9 +3600,9 @@ var require_YAMLSeq = __commonJS({
|
|
|
3600
3600
|
}
|
|
3601
3601
|
});
|
|
3602
3602
|
|
|
3603
|
-
//
|
|
3603
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/common/seq.js
|
|
3604
3604
|
var require_seq = __commonJS({
|
|
3605
|
-
"
|
|
3605
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/common/seq.js"(exports) {
|
|
3606
3606
|
"use strict";
|
|
3607
3607
|
var identity = require_identity();
|
|
3608
3608
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -3622,9 +3622,9 @@ var require_seq = __commonJS({
|
|
|
3622
3622
|
}
|
|
3623
3623
|
});
|
|
3624
3624
|
|
|
3625
|
-
//
|
|
3625
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/common/string.js
|
|
3626
3626
|
var require_string = __commonJS({
|
|
3627
|
-
"
|
|
3627
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/common/string.js"(exports) {
|
|
3628
3628
|
"use strict";
|
|
3629
3629
|
var stringifyString = require_stringifyString();
|
|
3630
3630
|
var string = {
|
|
@@ -3641,9 +3641,9 @@ var require_string = __commonJS({
|
|
|
3641
3641
|
}
|
|
3642
3642
|
});
|
|
3643
3643
|
|
|
3644
|
-
//
|
|
3644
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/common/null.js
|
|
3645
3645
|
var require_null = __commonJS({
|
|
3646
|
-
"
|
|
3646
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/common/null.js"(exports) {
|
|
3647
3647
|
"use strict";
|
|
3648
3648
|
var Scalar = require_Scalar();
|
|
3649
3649
|
var nullTag = {
|
|
@@ -3659,9 +3659,9 @@ var require_null = __commonJS({
|
|
|
3659
3659
|
}
|
|
3660
3660
|
});
|
|
3661
3661
|
|
|
3662
|
-
//
|
|
3662
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/core/bool.js
|
|
3663
3663
|
var require_bool = __commonJS({
|
|
3664
|
-
"
|
|
3664
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/core/bool.js"(exports) {
|
|
3665
3665
|
"use strict";
|
|
3666
3666
|
var Scalar = require_Scalar();
|
|
3667
3667
|
var boolTag = {
|
|
@@ -3683,9 +3683,9 @@ var require_bool = __commonJS({
|
|
|
3683
3683
|
}
|
|
3684
3684
|
});
|
|
3685
3685
|
|
|
3686
|
-
//
|
|
3686
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
3687
3687
|
var require_stringifyNumber = __commonJS({
|
|
3688
|
-
"
|
|
3688
|
+
"../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyNumber.js"(exports) {
|
|
3689
3689
|
"use strict";
|
|
3690
3690
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
3691
3691
|
if (typeof value === "bigint")
|
|
@@ -3710,9 +3710,9 @@ var require_stringifyNumber = __commonJS({
|
|
|
3710
3710
|
}
|
|
3711
3711
|
});
|
|
3712
3712
|
|
|
3713
|
-
//
|
|
3713
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/core/float.js
|
|
3714
3714
|
var require_float = __commonJS({
|
|
3715
|
-
"
|
|
3715
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/core/float.js"(exports) {
|
|
3716
3716
|
"use strict";
|
|
3717
3717
|
var Scalar = require_Scalar();
|
|
3718
3718
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -3756,9 +3756,9 @@ var require_float = __commonJS({
|
|
|
3756
3756
|
}
|
|
3757
3757
|
});
|
|
3758
3758
|
|
|
3759
|
-
//
|
|
3759
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/core/int.js
|
|
3760
3760
|
var require_int = __commonJS({
|
|
3761
|
-
"
|
|
3761
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/core/int.js"(exports) {
|
|
3762
3762
|
"use strict";
|
|
3763
3763
|
var stringifyNumber = require_stringifyNumber();
|
|
3764
3764
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -3801,9 +3801,9 @@ var require_int = __commonJS({
|
|
|
3801
3801
|
}
|
|
3802
3802
|
});
|
|
3803
3803
|
|
|
3804
|
-
//
|
|
3804
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/core/schema.js
|
|
3805
3805
|
var require_schema = __commonJS({
|
|
3806
|
-
"
|
|
3806
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/core/schema.js"(exports) {
|
|
3807
3807
|
"use strict";
|
|
3808
3808
|
var map = require_map();
|
|
3809
3809
|
var _null = require_null();
|
|
@@ -3829,9 +3829,9 @@ var require_schema = __commonJS({
|
|
|
3829
3829
|
}
|
|
3830
3830
|
});
|
|
3831
3831
|
|
|
3832
|
-
//
|
|
3832
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/json/schema.js
|
|
3833
3833
|
var require_schema2 = __commonJS({
|
|
3834
|
-
"
|
|
3834
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/json/schema.js"(exports) {
|
|
3835
3835
|
"use strict";
|
|
3836
3836
|
var Scalar = require_Scalar();
|
|
3837
3837
|
var map = require_map();
|
|
@@ -3896,9 +3896,9 @@ var require_schema2 = __commonJS({
|
|
|
3896
3896
|
}
|
|
3897
3897
|
});
|
|
3898
3898
|
|
|
3899
|
-
//
|
|
3899
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
3900
3900
|
var require_binary = __commonJS({
|
|
3901
|
-
"
|
|
3901
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/binary.js"(exports) {
|
|
3902
3902
|
"use strict";
|
|
3903
3903
|
var node_buffer = __require("buffer");
|
|
3904
3904
|
var Scalar = require_Scalar();
|
|
@@ -3962,9 +3962,9 @@ var require_binary = __commonJS({
|
|
|
3962
3962
|
}
|
|
3963
3963
|
});
|
|
3964
3964
|
|
|
3965
|
-
//
|
|
3965
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
3966
3966
|
var require_pairs = __commonJS({
|
|
3967
|
-
"
|
|
3967
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(exports) {
|
|
3968
3968
|
"use strict";
|
|
3969
3969
|
var identity = require_identity();
|
|
3970
3970
|
var Pair = require_Pair();
|
|
@@ -4040,9 +4040,9 @@ ${cn.comment}` : item.comment;
|
|
|
4040
4040
|
}
|
|
4041
4041
|
});
|
|
4042
4042
|
|
|
4043
|
-
//
|
|
4043
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
4044
4044
|
var require_omap = __commonJS({
|
|
4045
|
-
"
|
|
4045
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/omap.js"(exports) {
|
|
4046
4046
|
"use strict";
|
|
4047
4047
|
var identity = require_identity();
|
|
4048
4048
|
var toJS = require_toJS();
|
|
@@ -4118,9 +4118,9 @@ var require_omap = __commonJS({
|
|
|
4118
4118
|
}
|
|
4119
4119
|
});
|
|
4120
4120
|
|
|
4121
|
-
//
|
|
4121
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
4122
4122
|
var require_bool2 = __commonJS({
|
|
4123
|
-
"
|
|
4123
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/bool.js"(exports) {
|
|
4124
4124
|
"use strict";
|
|
4125
4125
|
var Scalar = require_Scalar();
|
|
4126
4126
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -4150,9 +4150,9 @@ var require_bool2 = __commonJS({
|
|
|
4150
4150
|
}
|
|
4151
4151
|
});
|
|
4152
4152
|
|
|
4153
|
-
//
|
|
4153
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
4154
4154
|
var require_float2 = __commonJS({
|
|
4155
|
-
"
|
|
4155
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/float.js"(exports) {
|
|
4156
4156
|
"use strict";
|
|
4157
4157
|
var Scalar = require_Scalar();
|
|
4158
4158
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -4199,9 +4199,9 @@ var require_float2 = __commonJS({
|
|
|
4199
4199
|
}
|
|
4200
4200
|
});
|
|
4201
4201
|
|
|
4202
|
-
//
|
|
4202
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
4203
4203
|
var require_int2 = __commonJS({
|
|
4204
|
-
"
|
|
4204
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/int.js"(exports) {
|
|
4205
4205
|
"use strict";
|
|
4206
4206
|
var stringifyNumber = require_stringifyNumber();
|
|
4207
4207
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -4278,9 +4278,9 @@ var require_int2 = __commonJS({
|
|
|
4278
4278
|
}
|
|
4279
4279
|
});
|
|
4280
4280
|
|
|
4281
|
-
//
|
|
4281
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
4282
4282
|
var require_set = __commonJS({
|
|
4283
|
-
"
|
|
4283
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/set.js"(exports) {
|
|
4284
4284
|
"use strict";
|
|
4285
4285
|
var identity = require_identity();
|
|
4286
4286
|
var Pair = require_Pair();
|
|
@@ -4367,9 +4367,9 @@ var require_set = __commonJS({
|
|
|
4367
4367
|
}
|
|
4368
4368
|
});
|
|
4369
4369
|
|
|
4370
|
-
//
|
|
4370
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
4371
4371
|
var require_timestamp = __commonJS({
|
|
4372
|
-
"
|
|
4372
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js"(exports) {
|
|
4373
4373
|
"use strict";
|
|
4374
4374
|
var stringifyNumber = require_stringifyNumber();
|
|
4375
4375
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -4455,9 +4455,9 @@ var require_timestamp = __commonJS({
|
|
|
4455
4455
|
}
|
|
4456
4456
|
});
|
|
4457
4457
|
|
|
4458
|
-
//
|
|
4458
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
4459
4459
|
var require_schema3 = __commonJS({
|
|
4460
|
-
"
|
|
4460
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/schema.js"(exports) {
|
|
4461
4461
|
"use strict";
|
|
4462
4462
|
var map = require_map();
|
|
4463
4463
|
var _null = require_null();
|
|
@@ -4499,9 +4499,9 @@ var require_schema3 = __commonJS({
|
|
|
4499
4499
|
}
|
|
4500
4500
|
});
|
|
4501
4501
|
|
|
4502
|
-
//
|
|
4502
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/tags.js
|
|
4503
4503
|
var require_tags = __commonJS({
|
|
4504
|
-
"
|
|
4504
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/tags.js"(exports) {
|
|
4505
4505
|
"use strict";
|
|
4506
4506
|
var map = require_map();
|
|
4507
4507
|
var _null = require_null();
|
|
@@ -4593,9 +4593,9 @@ var require_tags = __commonJS({
|
|
|
4593
4593
|
}
|
|
4594
4594
|
});
|
|
4595
4595
|
|
|
4596
|
-
//
|
|
4596
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/Schema.js
|
|
4597
4597
|
var require_Schema = __commonJS({
|
|
4598
|
-
"
|
|
4598
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/Schema.js"(exports) {
|
|
4599
4599
|
"use strict";
|
|
4600
4600
|
var identity = require_identity();
|
|
4601
4601
|
var map = require_map();
|
|
@@ -4625,9 +4625,9 @@ var require_Schema = __commonJS({
|
|
|
4625
4625
|
}
|
|
4626
4626
|
});
|
|
4627
4627
|
|
|
4628
|
-
//
|
|
4628
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
4629
4629
|
var require_stringifyDocument = __commonJS({
|
|
4630
|
-
"
|
|
4630
|
+
"../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyDocument.js"(exports) {
|
|
4631
4631
|
"use strict";
|
|
4632
4632
|
var identity = require_identity();
|
|
4633
4633
|
var stringify = require_stringify();
|
|
@@ -4705,9 +4705,9 @@ var require_stringifyDocument = __commonJS({
|
|
|
4705
4705
|
}
|
|
4706
4706
|
});
|
|
4707
4707
|
|
|
4708
|
-
//
|
|
4708
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/doc/Document.js
|
|
4709
4709
|
var require_Document = __commonJS({
|
|
4710
|
-
"
|
|
4710
|
+
"../../../ghosty-studio/node_modules/yaml/dist/doc/Document.js"(exports) {
|
|
4711
4711
|
"use strict";
|
|
4712
4712
|
var Alias = require_Alias();
|
|
4713
4713
|
var Collection = require_Collection();
|
|
@@ -5014,9 +5014,9 @@ var require_Document = __commonJS({
|
|
|
5014
5014
|
}
|
|
5015
5015
|
});
|
|
5016
5016
|
|
|
5017
|
-
//
|
|
5017
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/errors.js
|
|
5018
5018
|
var require_errors = __commonJS({
|
|
5019
|
-
"
|
|
5019
|
+
"../../../ghosty-studio/node_modules/yaml/dist/errors.js"(exports) {
|
|
5020
5020
|
"use strict";
|
|
5021
5021
|
var YAMLError = class extends Error {
|
|
5022
5022
|
constructor(name, pos, code, message) {
|
|
@@ -5079,9 +5079,9 @@ ${pointer}
|
|
|
5079
5079
|
}
|
|
5080
5080
|
});
|
|
5081
5081
|
|
|
5082
|
-
//
|
|
5082
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-props.js
|
|
5083
5083
|
var require_resolve_props = __commonJS({
|
|
5084
|
-
"
|
|
5084
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-props.js"(exports) {
|
|
5085
5085
|
"use strict";
|
|
5086
5086
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
5087
5087
|
let spaceBefore = false;
|
|
@@ -5213,9 +5213,9 @@ var require_resolve_props = __commonJS({
|
|
|
5213
5213
|
}
|
|
5214
5214
|
});
|
|
5215
5215
|
|
|
5216
|
-
//
|
|
5216
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
5217
5217
|
var require_util_contains_newline = __commonJS({
|
|
5218
|
-
"
|
|
5218
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/util-contains-newline.js"(exports) {
|
|
5219
5219
|
"use strict";
|
|
5220
5220
|
function containsNewline(key) {
|
|
5221
5221
|
if (!key)
|
|
@@ -5255,9 +5255,9 @@ var require_util_contains_newline = __commonJS({
|
|
|
5255
5255
|
}
|
|
5256
5256
|
});
|
|
5257
5257
|
|
|
5258
|
-
//
|
|
5258
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
5259
5259
|
var require_util_flow_indent_check = __commonJS({
|
|
5260
|
-
"
|
|
5260
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/util-flow-indent-check.js"(exports) {
|
|
5261
5261
|
"use strict";
|
|
5262
5262
|
var utilContainsNewline = require_util_contains_newline();
|
|
5263
5263
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -5273,9 +5273,9 @@ var require_util_flow_indent_check = __commonJS({
|
|
|
5273
5273
|
}
|
|
5274
5274
|
});
|
|
5275
5275
|
|
|
5276
|
-
//
|
|
5276
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/util-map-includes.js
|
|
5277
5277
|
var require_util_map_includes = __commonJS({
|
|
5278
|
-
"
|
|
5278
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/util-map-includes.js"(exports) {
|
|
5279
5279
|
"use strict";
|
|
5280
5280
|
var identity = require_identity();
|
|
5281
5281
|
function mapIncludes(ctx, items, search) {
|
|
@@ -5289,9 +5289,9 @@ var require_util_map_includes = __commonJS({
|
|
|
5289
5289
|
}
|
|
5290
5290
|
});
|
|
5291
5291
|
|
|
5292
|
-
//
|
|
5292
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
5293
5293
|
var require_resolve_block_map = __commonJS({
|
|
5294
|
-
"
|
|
5294
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-block-map.js"(exports) {
|
|
5295
5295
|
"use strict";
|
|
5296
5296
|
var Pair = require_Pair();
|
|
5297
5297
|
var YAMLMap = require_YAMLMap();
|
|
@@ -5397,9 +5397,9 @@ var require_resolve_block_map = __commonJS({
|
|
|
5397
5397
|
}
|
|
5398
5398
|
});
|
|
5399
5399
|
|
|
5400
|
-
//
|
|
5400
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
5401
5401
|
var require_resolve_block_seq = __commonJS({
|
|
5402
|
-
"
|
|
5402
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-block-seq.js"(exports) {
|
|
5403
5403
|
"use strict";
|
|
5404
5404
|
var YAMLSeq = require_YAMLSeq();
|
|
5405
5405
|
var resolveProps = require_resolve_props();
|
|
@@ -5448,9 +5448,9 @@ var require_resolve_block_seq = __commonJS({
|
|
|
5448
5448
|
}
|
|
5449
5449
|
});
|
|
5450
5450
|
|
|
5451
|
-
//
|
|
5451
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-end.js
|
|
5452
5452
|
var require_resolve_end = __commonJS({
|
|
5453
|
-
"
|
|
5453
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-end.js"(exports) {
|
|
5454
5454
|
"use strict";
|
|
5455
5455
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
5456
5456
|
let comment = "";
|
|
@@ -5491,9 +5491,9 @@ var require_resolve_end = __commonJS({
|
|
|
5491
5491
|
}
|
|
5492
5492
|
});
|
|
5493
5493
|
|
|
5494
|
-
//
|
|
5494
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
5495
5495
|
var require_resolve_flow_collection = __commonJS({
|
|
5496
|
-
"
|
|
5496
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-flow-collection.js"(exports) {
|
|
5497
5497
|
"use strict";
|
|
5498
5498
|
var identity = require_identity();
|
|
5499
5499
|
var Pair = require_Pair();
|
|
@@ -5685,9 +5685,9 @@ var require_resolve_flow_collection = __commonJS({
|
|
|
5685
5685
|
}
|
|
5686
5686
|
});
|
|
5687
5687
|
|
|
5688
|
-
//
|
|
5688
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/compose-collection.js
|
|
5689
5689
|
var require_compose_collection = __commonJS({
|
|
5690
|
-
"
|
|
5690
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/compose-collection.js"(exports) {
|
|
5691
5691
|
"use strict";
|
|
5692
5692
|
var identity = require_identity();
|
|
5693
5693
|
var Scalar = require_Scalar();
|
|
@@ -5750,9 +5750,9 @@ var require_compose_collection = __commonJS({
|
|
|
5750
5750
|
}
|
|
5751
5751
|
});
|
|
5752
5752
|
|
|
5753
|
-
//
|
|
5753
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
5754
5754
|
var require_resolve_block_scalar = __commonJS({
|
|
5755
|
-
"
|
|
5755
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-block-scalar.js"(exports) {
|
|
5756
5756
|
"use strict";
|
|
5757
5757
|
var Scalar = require_Scalar();
|
|
5758
5758
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -5933,9 +5933,9 @@ var require_resolve_block_scalar = __commonJS({
|
|
|
5933
5933
|
}
|
|
5934
5934
|
});
|
|
5935
5935
|
|
|
5936
|
-
//
|
|
5936
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
5937
5937
|
var require_resolve_flow_scalar = __commonJS({
|
|
5938
|
-
"
|
|
5938
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-flow-scalar.js"(exports) {
|
|
5939
5939
|
"use strict";
|
|
5940
5940
|
var Scalar = require_Scalar();
|
|
5941
5941
|
var resolveEnd = require_resolve_end();
|
|
@@ -6154,9 +6154,9 @@ var require_resolve_flow_scalar = __commonJS({
|
|
|
6154
6154
|
}
|
|
6155
6155
|
});
|
|
6156
6156
|
|
|
6157
|
-
//
|
|
6157
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/compose-scalar.js
|
|
6158
6158
|
var require_compose_scalar = __commonJS({
|
|
6159
|
-
"
|
|
6159
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/compose-scalar.js"(exports) {
|
|
6160
6160
|
"use strict";
|
|
6161
6161
|
var identity = require_identity();
|
|
6162
6162
|
var Scalar = require_Scalar();
|
|
@@ -6235,9 +6235,9 @@ var require_compose_scalar = __commonJS({
|
|
|
6235
6235
|
}
|
|
6236
6236
|
});
|
|
6237
6237
|
|
|
6238
|
-
//
|
|
6238
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
6239
6239
|
var require_util_empty_scalar_position = __commonJS({
|
|
6240
|
-
"
|
|
6240
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/util-empty-scalar-position.js"(exports) {
|
|
6241
6241
|
"use strict";
|
|
6242
6242
|
function emptyScalarPosition(offset, before, pos) {
|
|
6243
6243
|
if (before) {
|
|
@@ -6265,9 +6265,9 @@ var require_util_empty_scalar_position = __commonJS({
|
|
|
6265
6265
|
}
|
|
6266
6266
|
});
|
|
6267
6267
|
|
|
6268
|
-
//
|
|
6268
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/compose-node.js
|
|
6269
6269
|
var require_compose_node = __commonJS({
|
|
6270
|
-
"
|
|
6270
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/compose-node.js"(exports) {
|
|
6271
6271
|
"use strict";
|
|
6272
6272
|
var Alias = require_Alias();
|
|
6273
6273
|
var identity = require_identity();
|
|
@@ -6371,9 +6371,9 @@ var require_compose_node = __commonJS({
|
|
|
6371
6371
|
}
|
|
6372
6372
|
});
|
|
6373
6373
|
|
|
6374
|
-
//
|
|
6374
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/compose-doc.js
|
|
6375
6375
|
var require_compose_doc = __commonJS({
|
|
6376
|
-
"
|
|
6376
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/compose-doc.js"(exports) {
|
|
6377
6377
|
"use strict";
|
|
6378
6378
|
var Document = require_Document();
|
|
6379
6379
|
var composeNode = require_compose_node();
|
|
@@ -6414,9 +6414,9 @@ var require_compose_doc = __commonJS({
|
|
|
6414
6414
|
}
|
|
6415
6415
|
});
|
|
6416
6416
|
|
|
6417
|
-
//
|
|
6417
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/composer.js
|
|
6418
6418
|
var require_composer = __commonJS({
|
|
6419
|
-
"
|
|
6419
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/composer.js"(exports) {
|
|
6420
6420
|
"use strict";
|
|
6421
6421
|
var node_process = __require("process");
|
|
6422
6422
|
var directives = require_directives();
|
|
@@ -6622,9 +6622,9 @@ ${end.comment}` : end.comment;
|
|
|
6622
6622
|
}
|
|
6623
6623
|
});
|
|
6624
6624
|
|
|
6625
|
-
//
|
|
6625
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/parse/cst-scalar.js
|
|
6626
6626
|
var require_cst_scalar = __commonJS({
|
|
6627
|
-
"
|
|
6627
|
+
"../../../ghosty-studio/node_modules/yaml/dist/parse/cst-scalar.js"(exports) {
|
|
6628
6628
|
"use strict";
|
|
6629
6629
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
6630
6630
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -6807,9 +6807,9 @@ var require_cst_scalar = __commonJS({
|
|
|
6807
6807
|
}
|
|
6808
6808
|
});
|
|
6809
6809
|
|
|
6810
|
-
//
|
|
6810
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/parse/cst-stringify.js
|
|
6811
6811
|
var require_cst_stringify = __commonJS({
|
|
6812
|
-
"
|
|
6812
|
+
"../../../ghosty-studio/node_modules/yaml/dist/parse/cst-stringify.js"(exports) {
|
|
6813
6813
|
"use strict";
|
|
6814
6814
|
var stringify = (cst) => "type" in cst ? stringifyToken(cst) : stringifyItem(cst);
|
|
6815
6815
|
function stringifyToken(token) {
|
|
@@ -6868,9 +6868,9 @@ var require_cst_stringify = __commonJS({
|
|
|
6868
6868
|
}
|
|
6869
6869
|
});
|
|
6870
6870
|
|
|
6871
|
-
//
|
|
6871
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/parse/cst-visit.js
|
|
6872
6872
|
var require_cst_visit = __commonJS({
|
|
6873
|
-
"
|
|
6873
|
+
"../../../ghosty-studio/node_modules/yaml/dist/parse/cst-visit.js"(exports) {
|
|
6874
6874
|
"use strict";
|
|
6875
6875
|
var BREAK = /* @__PURE__ */ Symbol("break visit");
|
|
6876
6876
|
var SKIP2 = /* @__PURE__ */ Symbol("skip children");
|
|
@@ -6930,9 +6930,9 @@ var require_cst_visit = __commonJS({
|
|
|
6930
6930
|
}
|
|
6931
6931
|
});
|
|
6932
6932
|
|
|
6933
|
-
//
|
|
6933
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/parse/cst.js
|
|
6934
6934
|
var require_cst = __commonJS({
|
|
6935
|
-
"
|
|
6935
|
+
"../../../ghosty-studio/node_modules/yaml/dist/parse/cst.js"(exports) {
|
|
6936
6936
|
"use strict";
|
|
6937
6937
|
var cstScalar = require_cst_scalar();
|
|
6938
6938
|
var cstStringify = require_cst_stringify();
|
|
@@ -7032,9 +7032,9 @@ var require_cst = __commonJS({
|
|
|
7032
7032
|
}
|
|
7033
7033
|
});
|
|
7034
7034
|
|
|
7035
|
-
//
|
|
7035
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/parse/lexer.js
|
|
7036
7036
|
var require_lexer = __commonJS({
|
|
7037
|
-
"
|
|
7037
|
+
"../../../ghosty-studio/node_modules/yaml/dist/parse/lexer.js"(exports) {
|
|
7038
7038
|
"use strict";
|
|
7039
7039
|
var cst = require_cst();
|
|
7040
7040
|
function isEmpty(ch) {
|
|
@@ -7621,9 +7621,9 @@ var require_lexer = __commonJS({
|
|
|
7621
7621
|
}
|
|
7622
7622
|
});
|
|
7623
7623
|
|
|
7624
|
-
//
|
|
7624
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/parse/line-counter.js
|
|
7625
7625
|
var require_line_counter = __commonJS({
|
|
7626
|
-
"
|
|
7626
|
+
"../../../ghosty-studio/node_modules/yaml/dist/parse/line-counter.js"(exports) {
|
|
7627
7627
|
"use strict";
|
|
7628
7628
|
var LineCounter = class {
|
|
7629
7629
|
constructor() {
|
|
@@ -7652,9 +7652,9 @@ var require_line_counter = __commonJS({
|
|
|
7652
7652
|
}
|
|
7653
7653
|
});
|
|
7654
7654
|
|
|
7655
|
-
//
|
|
7655
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/parse/parser.js
|
|
7656
7656
|
var require_parser = __commonJS({
|
|
7657
|
-
"
|
|
7657
|
+
"../../../ghosty-studio/node_modules/yaml/dist/parse/parser.js"(exports) {
|
|
7658
7658
|
"use strict";
|
|
7659
7659
|
var node_process = __require("process");
|
|
7660
7660
|
var cst = require_cst();
|
|
@@ -8526,9 +8526,9 @@ var require_parser = __commonJS({
|
|
|
8526
8526
|
}
|
|
8527
8527
|
});
|
|
8528
8528
|
|
|
8529
|
-
//
|
|
8529
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/public-api.js
|
|
8530
8530
|
var require_public_api = __commonJS({
|
|
8531
|
-
"
|
|
8531
|
+
"../../../ghosty-studio/node_modules/yaml/dist/public-api.js"(exports) {
|
|
8532
8532
|
"use strict";
|
|
8533
8533
|
var composer = require_composer();
|
|
8534
8534
|
var Document = require_Document();
|
|
@@ -8623,9 +8623,9 @@ var require_public_api = __commonJS({
|
|
|
8623
8623
|
}
|
|
8624
8624
|
});
|
|
8625
8625
|
|
|
8626
|
-
//
|
|
8626
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/index.js
|
|
8627
8627
|
var require_dist = __commonJS({
|
|
8628
|
-
"
|
|
8628
|
+
"../../../ghosty-studio/node_modules/yaml/dist/index.js"(exports) {
|
|
8629
8629
|
"use strict";
|
|
8630
8630
|
var composer = require_composer();
|
|
8631
8631
|
var Document = require_Document();
|
|
@@ -11286,7 +11286,7 @@ async function call(path2, v, init = {}) {
|
|
|
11286
11286
|
"x-ghosty-ts": ts,
|
|
11287
11287
|
"x-ghosty-sig": sig,
|
|
11288
11288
|
"content-type": "application/json",
|
|
11289
|
-
"user-agent": `ghosty-cli/${"0.
|
|
11289
|
+
"user-agent": `ghosty-cli/${"0.99.0"}`
|
|
11290
11290
|
},
|
|
11291
11291
|
body: method === "GET" ? void 0 : raw
|
|
11292
11292
|
});
|
|
@@ -13142,6 +13142,15 @@ async function contactsCmd(id, v) {
|
|
|
13142
13142
|
return lines.join("\n");
|
|
13143
13143
|
});
|
|
13144
13144
|
}
|
|
13145
|
+
async function whatsappConnectCmd(id, v) {
|
|
13146
|
+
const r = await api(`/api/v2/agents/${enc11(id)}/whatsapp/connect`, { method: "POST", body: {} });
|
|
13147
|
+
if (globals.json) return out(r);
|
|
13148
|
+
if (r.state === "connected") return out(r, () => `${lavender("\u2713")} ${t(`Connected${r.phoneNumber ? `: ${r.phoneNumber}` : ""}. It doesn't answer yet: ghosty channels whatsapp enable ${id} <number>`, `Conectado${r.phoneNumber ? `: ${r.phoneNumber}` : ""}. Todav\xEDa no contesta: ghosty channels whatsapp enable ${id} <n\xFAmero>`)}`);
|
|
13149
|
+
if (r.state === "other_owner") throw new CliError(t("That number already belongs to another account; nothing changed.", "Ese n\xFAmero ya es de otra cuenta; no se cambi\xF3 nada."));
|
|
13150
|
+
info(`${lavender("\u203A")} ${r.url}
|
|
13151
|
+
${dim(t("Open it where you can sign in to Meta, then run this again to confirm.", "\xC1brela donde puedas entrar a Meta y luego corre esto otra vez para confirmar."))}`);
|
|
13152
|
+
if (!v["no-open"] && r.url) await openUrl(r.url);
|
|
13153
|
+
}
|
|
13145
13154
|
|
|
13146
13155
|
// src/commands/board.ts
|
|
13147
13156
|
init_api();
|
|
@@ -14719,7 +14728,8 @@ HELPS.channels = {
|
|
|
14719
14728
|
"ghosty channels messenger ls <agent-id> [--orphans]",
|
|
14720
14729
|
"ghosty channels messenger status <agent-id> # who answers each page, last webhook, token health",
|
|
14721
14730
|
"ghosty channels messenger on|off <agent-id> <page> [--take] [--dry-run] [--yes]",
|
|
14722
|
-
"ghosty channels whatsapp
|
|
14731
|
+
"ghosty channels whatsapp connect <agent-id> [--no-open] # starts or resumes it: a link for any screen; connecting needs no balance and does not turn the agent on",
|
|
14732
|
+
"ghosty channels messenger connect <agent-id> [--no-open] # opens Channels: Meta sign-in in the browser",
|
|
14723
14733
|
"ghosty channels whatsapp link <agent-id> --integration <formmy-id> --answer on|off [--forward] [--dry-run] [--yes]",
|
|
14724
14734
|
"ghosty channels whatsapp unlink <agent-id> --integration <formmy-id> [--dry-run] [--yes]",
|
|
14725
14735
|
"ghosty channels whatsapp history <agent-id> --integration <formmy-id> [--days 7] [--media] [--dry-run] [--yes]",
|
|
@@ -17500,7 +17510,8 @@ ${bold("Configure an agent")}
|
|
|
17500
17510
|
mcp get|set <id> MCP servers [--file servers.json] (http headers accept \${turn.token})
|
|
17501
17511
|
mcp connect <id> --name N --url U Add one remote MCP by its URL; opens the browser if it asks for OAuth [--from-env VAR: its token] [--no-open]
|
|
17502
17512
|
channels whatsapp ls|enable|disable <id> [number] Which WhatsApp Business numbers it answers [--dry-run]
|
|
17503
|
-
channels whatsapp
|
|
17513
|
+
channels whatsapp connect <id> Starts or resumes connecting a number and gives a link you can open on any screen; run it again to see how it went [--no-open]
|
|
17514
|
+
channels messenger connect <id> Opens the agent's Channels page to connect a page with Meta (browser sign-in) [--no-open]
|
|
17504
17515
|
channels whatsapp integrations <id> Its owner's WhatsApp Business numbers in Formmy (number, who answers today, who answered last, Integration id) [--orphans: answered by nobody but with turns]
|
|
17505
17516
|
channels messenger ls <id> The workspace's Messenger pages: who answers now and who answered last [--orphans]
|
|
17506
17517
|
channels messenger status <id> Each page: who answers, last webhook and token health (asks Meta now)
|
|
@@ -17729,7 +17740,8 @@ ${bold("Configurar un agente")}
|
|
|
17729
17740
|
mcp get|set <id> Servidores MCP [--file servers.json] (headers http admiten \${turn.token})
|
|
17730
17741
|
mcp connect <id> --name N --url U Agrega un MCP remoto con su URL; abre el navegador si pide OAuth [--from-env VAR: su token] [--no-open]
|
|
17731
17742
|
channels whatsapp ls|enable|disable <id> [n\xFAmero] Qu\xE9 n\xFAmeros de WhatsApp Business contesta [--dry-run]
|
|
17732
|
-
channels whatsapp
|
|
17743
|
+
channels whatsapp connect <id> Abre o retoma la conexi\xF3n de un n\xFAmero y da una liga para abrir en cualquier pantalla; c\xF3rrelo otra vez para ver c\xF3mo va [--no-open]
|
|
17744
|
+
channels messenger connect <id> Abre la p\xE1gina Canales del agente para conectar una p\xE1gina con Meta (inicio de sesi\xF3n en el navegador) [--no-open]
|
|
17733
17745
|
channels whatsapp integrations <id> Los n\xFAmeros de WhatsApp Business de su due\xF1o en Formmy (n\xFAmero, qui\xE9n contesta hoy, qui\xE9n contest\xF3 al \xFAltimo, id de la Integration) [--orphans: sin qui\xE9n conteste pero con turnos]
|
|
17734
17746
|
channels messenger ls <id> Las p\xE1ginas de Messenger del espacio: qui\xE9n contesta hoy y qui\xE9n contest\xF3 al \xFAltimo [--orphans]
|
|
17735
17747
|
channels messenger status <id> Cada p\xE1gina: qui\xE9n contesta, \xFAltimo webhook y salud del token (le pregunta a Meta en el momento)
|
|
@@ -18178,7 +18190,7 @@ async function main() {
|
|
|
18178
18190
|
const tokens = splitTokens(pos, v);
|
|
18179
18191
|
globals.token = tokens.session;
|
|
18180
18192
|
globals.profile = v.profile;
|
|
18181
|
-
if (v.version) return out({ version: "0.
|
|
18193
|
+
if (v.version) return out({ version: "0.99.0" }, () => "0.99.0");
|
|
18182
18194
|
for (const n of normalizeArgs(pos, v)) if (!globals.json) info(dim(n));
|
|
18183
18195
|
const context = (await readConfig()).workspace;
|
|
18184
18196
|
if (!explicitToken()?.startsWith("gat_")) {
|
|
@@ -18289,7 +18301,8 @@ async function main() {
|
|
|
18289
18301
|
case "channels":
|
|
18290
18302
|
if (a1 === "connect" && ["whatsapp", "wa", "messenger", "fb"].includes(sub ?? "")) {
|
|
18291
18303
|
if (!a2) throw usage(t("Missing agent id.", "Falta el id del agente."), `ghosty channels ${sub} connect <agent-id>`);
|
|
18292
|
-
|
|
18304
|
+
if (sub === "whatsapp" || sub === "wa") return whatsappConnectCmd(a2, v);
|
|
18305
|
+
return openPage(`/app/agents/${encodeURIComponent(a2)}/canales`, t("Connect Messenger (Meta sign-in in your browser)", "Conectar Messenger (inicio de sesi\xF3n de Meta en tu navegador)"), v);
|
|
18293
18306
|
}
|
|
18294
18307
|
if (a1 === "groups") return groupsCmd(pos.slice(3).filter((x) => x !== void 0), v);
|
|
18295
18308
|
return channelsCmd(sub, a1, a2, pos.slice(4).join(" ") || void 0, v);
|
|
@@ -18385,7 +18398,7 @@ async function main() {
|
|
|
18385
18398
|
throw unknown(cmd, cmd, COMMANDS, "ghosty --help");
|
|
18386
18399
|
}
|
|
18387
18400
|
}
|
|
18388
|
-
var notice = updateNotice("0.
|
|
18401
|
+
var notice = updateNotice("0.99.0").catch(() => null);
|
|
18389
18402
|
main().then(
|
|
18390
18403
|
async () => {
|
|
18391
18404
|
const n = process.stderr.isTTY ? await notice : null;
|
package/package.json
CHANGED