@ghostystudio/cli 0.93.1 → 0.94.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 +6 -0
- package/dist/index.js +280 -150
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -107,6 +107,8 @@ ghosty watch add <id> <url> [--every 24h] [--focus "heading"] [--instruction "
|
|
|
107
107
|
ghosty watch ls <id>
|
|
108
108
|
ghosty watch check <id> <watch-id> [--dry-run]
|
|
109
109
|
ghosty watch rm|resume <id> <watch-id>
|
|
110
|
+
ghosty brief [show] · brief on|off [--voice on|off] [--at HH:MM] [--days 1-5|all|0,6] # your morning brief: in your chat with a voice note, only when there's something
|
|
111
|
+
ghosty brief run [--dry-run]
|
|
110
112
|
ghosty tts "Hola, te aviso por WhatsApp." [--voice em_santa|em_alex|ef_dora] [--out voz.wav] # the house voice (Mexican Spanish + pronunciation lexicon)
|
|
111
113
|
ghosty teams post <workspace>#<room>[/<thread-id>] "msg" [--wait] # write there as you; any @agent it mentions answers
|
|
112
114
|
|
|
@@ -153,6 +155,10 @@ Every command has its own help with examples: `ghosty <command> --help` or `ghos
|
|
|
153
155
|
|
|
154
156
|
Exit codes: `0` ok · `1` API error · `2` usage error · `3` not signed in.
|
|
155
157
|
|
|
158
|
+
### Changes in 0.94.0
|
|
159
|
+
|
|
160
|
+
- `brief`: your morning brief is now the only morning notice (the full «morning briefing» turn is gone). It arrives at your time with a voice note (em_santa) on top of the lines. `ghosty brief [on|off] [--voice on|off] [--at HH:MM] [--days 1-5|all|0,6]` sets it; `brief show` prints voice, time and days; `brief run --dry-run` also makes the voice note and prints its link so you can hear it.
|
|
161
|
+
|
|
156
162
|
### Changes in 0.93.1
|
|
157
163
|
|
|
158
164
|
- `factory runs choose` also offers `fix_main`: a separate run fixes the main branch (CI permission, workflow) and the escalated run waits for it — it no longer counts as «your turn» — then updates itself and goes back to @check when the fix merges.
|
package/dist/index.js
CHANGED
|
@@ -1175,7 +1175,7 @@ async function postLong(path2, body, timeoutMs = 9e5) {
|
|
|
1175
1175
|
const req = httpsRequest(`${base}${path2}`, {
|
|
1176
1176
|
method: "POST",
|
|
1177
1177
|
timeout: timeoutMs,
|
|
1178
|
-
headers: { authorization: `Bearer ${token}`, "user-agent": `ghosty-cli/${"0.
|
|
1178
|
+
headers: { authorization: `Bearer ${token}`, "user-agent": `ghosty-cli/${"0.94.0"}`, "content-type": "application/json", "content-length": Buffer.byteLength(data) }
|
|
1179
1179
|
}, (res) => {
|
|
1180
1180
|
let buf = "";
|
|
1181
1181
|
res.on("data", (c) => buf += c);
|
|
@@ -1217,7 +1217,7 @@ async function request(path2, opts = {}, retried = false) {
|
|
|
1217
1217
|
method: opts.method ?? (opts.body !== void 0 || opts.raw !== void 0 ? "POST" : "GET"),
|
|
1218
1218
|
headers: {
|
|
1219
1219
|
authorization: `Bearer ${token}`,
|
|
1220
|
-
"user-agent": `ghosty-cli/${"0.
|
|
1220
|
+
"user-agent": `ghosty-cli/${"0.94.0"}`,
|
|
1221
1221
|
"accept-language": lang(),
|
|
1222
1222
|
...opts.body !== void 0 ? { "content-type": "application/json" } : {},
|
|
1223
1223
|
...opts.headers
|
|
@@ -1337,9 +1337,9 @@ var init_mteams = __esm({
|
|
|
1337
1337
|
}
|
|
1338
1338
|
});
|
|
1339
1339
|
|
|
1340
|
-
//
|
|
1340
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/nodes/identity.js
|
|
1341
1341
|
var require_identity = __commonJS({
|
|
1342
|
-
"
|
|
1342
|
+
"../../../ghosty-studio/node_modules/yaml/dist/nodes/identity.js"(exports) {
|
|
1343
1343
|
"use strict";
|
|
1344
1344
|
var ALIAS = /* @__PURE__ */ Symbol.for("yaml.alias");
|
|
1345
1345
|
var DOC = /* @__PURE__ */ Symbol.for("yaml.document");
|
|
@@ -1394,9 +1394,9 @@ var require_identity = __commonJS({
|
|
|
1394
1394
|
}
|
|
1395
1395
|
});
|
|
1396
1396
|
|
|
1397
|
-
//
|
|
1397
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/visit.js
|
|
1398
1398
|
var require_visit = __commonJS({
|
|
1399
|
-
"
|
|
1399
|
+
"../../../ghosty-studio/node_modules/yaml/dist/visit.js"(exports) {
|
|
1400
1400
|
"use strict";
|
|
1401
1401
|
var identity = require_identity();
|
|
1402
1402
|
var BREAK = /* @__PURE__ */ Symbol("break visit");
|
|
@@ -1552,9 +1552,9 @@ var require_visit = __commonJS({
|
|
|
1552
1552
|
}
|
|
1553
1553
|
});
|
|
1554
1554
|
|
|
1555
|
-
//
|
|
1555
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/doc/directives.js
|
|
1556
1556
|
var require_directives = __commonJS({
|
|
1557
|
-
"
|
|
1557
|
+
"../../../ghosty-studio/node_modules/yaml/dist/doc/directives.js"(exports) {
|
|
1558
1558
|
"use strict";
|
|
1559
1559
|
var identity = require_identity();
|
|
1560
1560
|
var visit = require_visit();
|
|
@@ -1723,9 +1723,9 @@ var require_directives = __commonJS({
|
|
|
1723
1723
|
}
|
|
1724
1724
|
});
|
|
1725
1725
|
|
|
1726
|
-
//
|
|
1726
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/doc/anchors.js
|
|
1727
1727
|
var require_anchors = __commonJS({
|
|
1728
|
-
"
|
|
1728
|
+
"../../../ghosty-studio/node_modules/yaml/dist/doc/anchors.js"(exports) {
|
|
1729
1729
|
"use strict";
|
|
1730
1730
|
var identity = require_identity();
|
|
1731
1731
|
var visit = require_visit();
|
|
@@ -1793,9 +1793,9 @@ var require_anchors = __commonJS({
|
|
|
1793
1793
|
}
|
|
1794
1794
|
});
|
|
1795
1795
|
|
|
1796
|
-
//
|
|
1796
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/doc/applyReviver.js
|
|
1797
1797
|
var require_applyReviver = __commonJS({
|
|
1798
|
-
"
|
|
1798
|
+
"../../../ghosty-studio/node_modules/yaml/dist/doc/applyReviver.js"(exports) {
|
|
1799
1799
|
"use strict";
|
|
1800
1800
|
function applyReviver(reviver, obj, key, val) {
|
|
1801
1801
|
if (val && typeof val === "object") {
|
|
@@ -1843,9 +1843,9 @@ var require_applyReviver = __commonJS({
|
|
|
1843
1843
|
}
|
|
1844
1844
|
});
|
|
1845
1845
|
|
|
1846
|
-
//
|
|
1846
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/nodes/toJS.js
|
|
1847
1847
|
var require_toJS = __commonJS({
|
|
1848
|
-
"
|
|
1848
|
+
"../../../ghosty-studio/node_modules/yaml/dist/nodes/toJS.js"(exports) {
|
|
1849
1849
|
"use strict";
|
|
1850
1850
|
var identity = require_identity();
|
|
1851
1851
|
function toJS(value, arg, ctx) {
|
|
@@ -1873,9 +1873,9 @@ var require_toJS = __commonJS({
|
|
|
1873
1873
|
}
|
|
1874
1874
|
});
|
|
1875
1875
|
|
|
1876
|
-
//
|
|
1876
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/nodes/Node.js
|
|
1877
1877
|
var require_Node = __commonJS({
|
|
1878
|
-
"
|
|
1878
|
+
"../../../ghosty-studio/node_modules/yaml/dist/nodes/Node.js"(exports) {
|
|
1879
1879
|
"use strict";
|
|
1880
1880
|
var applyReviver = require_applyReviver();
|
|
1881
1881
|
var identity = require_identity();
|
|
@@ -1914,9 +1914,9 @@ var require_Node = __commonJS({
|
|
|
1914
1914
|
}
|
|
1915
1915
|
});
|
|
1916
1916
|
|
|
1917
|
-
//
|
|
1917
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/nodes/Alias.js
|
|
1918
1918
|
var require_Alias = __commonJS({
|
|
1919
|
-
"
|
|
1919
|
+
"../../../ghosty-studio/node_modules/yaml/dist/nodes/Alias.js"(exports) {
|
|
1920
1920
|
"use strict";
|
|
1921
1921
|
var anchors = require_anchors();
|
|
1922
1922
|
var visit = require_visit();
|
|
@@ -2032,9 +2032,9 @@ var require_Alias = __commonJS({
|
|
|
2032
2032
|
}
|
|
2033
2033
|
});
|
|
2034
2034
|
|
|
2035
|
-
//
|
|
2035
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/nodes/Scalar.js
|
|
2036
2036
|
var require_Scalar = __commonJS({
|
|
2037
|
-
"
|
|
2037
|
+
"../../../ghosty-studio/node_modules/yaml/dist/nodes/Scalar.js"(exports) {
|
|
2038
2038
|
"use strict";
|
|
2039
2039
|
var identity = require_identity();
|
|
2040
2040
|
var Node = require_Node();
|
|
@@ -2062,9 +2062,9 @@ var require_Scalar = __commonJS({
|
|
|
2062
2062
|
}
|
|
2063
2063
|
});
|
|
2064
2064
|
|
|
2065
|
-
//
|
|
2065
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/doc/createNode.js
|
|
2066
2066
|
var require_createNode = __commonJS({
|
|
2067
|
-
"
|
|
2067
|
+
"../../../ghosty-studio/node_modules/yaml/dist/doc/createNode.js"(exports) {
|
|
2068
2068
|
"use strict";
|
|
2069
2069
|
var Alias = require_Alias();
|
|
2070
2070
|
var identity = require_identity();
|
|
@@ -2137,9 +2137,9 @@ var require_createNode = __commonJS({
|
|
|
2137
2137
|
}
|
|
2138
2138
|
});
|
|
2139
2139
|
|
|
2140
|
-
//
|
|
2140
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/nodes/Collection.js
|
|
2141
2141
|
var require_Collection = __commonJS({
|
|
2142
|
-
"
|
|
2142
|
+
"../../../ghosty-studio/node_modules/yaml/dist/nodes/Collection.js"(exports) {
|
|
2143
2143
|
"use strict";
|
|
2144
2144
|
var createNode = require_createNode();
|
|
2145
2145
|
var identity = require_identity();
|
|
@@ -2280,9 +2280,9 @@ var require_Collection = __commonJS({
|
|
|
2280
2280
|
}
|
|
2281
2281
|
});
|
|
2282
2282
|
|
|
2283
|
-
//
|
|
2283
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
2284
2284
|
var require_stringifyComment = __commonJS({
|
|
2285
|
-
"
|
|
2285
|
+
"../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyComment.js"(exports) {
|
|
2286
2286
|
"use strict";
|
|
2287
2287
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
2288
2288
|
function indentComment(comment, indent) {
|
|
@@ -2297,9 +2297,9 @@ var require_stringifyComment = __commonJS({
|
|
|
2297
2297
|
}
|
|
2298
2298
|
});
|
|
2299
2299
|
|
|
2300
|
-
//
|
|
2300
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
2301
2301
|
var require_foldFlowLines = __commonJS({
|
|
2302
|
-
"
|
|
2302
|
+
"../../../ghosty-studio/node_modules/yaml/dist/stringify/foldFlowLines.js"(exports) {
|
|
2303
2303
|
"use strict";
|
|
2304
2304
|
var FOLD_FLOW = "flow";
|
|
2305
2305
|
var FOLD_BLOCK = "block";
|
|
@@ -2433,9 +2433,9 @@ ${indent}${text.slice(fold + 1, end2)}`;
|
|
|
2433
2433
|
}
|
|
2434
2434
|
});
|
|
2435
2435
|
|
|
2436
|
-
//
|
|
2436
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyString.js
|
|
2437
2437
|
var require_stringifyString = __commonJS({
|
|
2438
|
-
"
|
|
2438
|
+
"../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyString.js"(exports) {
|
|
2439
2439
|
"use strict";
|
|
2440
2440
|
var Scalar = require_Scalar();
|
|
2441
2441
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -2716,9 +2716,9 @@ ${indent}`);
|
|
|
2716
2716
|
}
|
|
2717
2717
|
});
|
|
2718
2718
|
|
|
2719
|
-
//
|
|
2719
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/stringify/stringify.js
|
|
2720
2720
|
var require_stringify = __commonJS({
|
|
2721
|
-
"
|
|
2721
|
+
"../../../ghosty-studio/node_modules/yaml/dist/stringify/stringify.js"(exports) {
|
|
2722
2722
|
"use strict";
|
|
2723
2723
|
var anchors = require_anchors();
|
|
2724
2724
|
var identity = require_identity();
|
|
@@ -2840,9 +2840,9 @@ ${ctx.indent}${str}`;
|
|
|
2840
2840
|
}
|
|
2841
2841
|
});
|
|
2842
2842
|
|
|
2843
|
-
//
|
|
2843
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
2844
2844
|
var require_stringifyPair = __commonJS({
|
|
2845
|
-
"
|
|
2845
|
+
"../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyPair.js"(exports) {
|
|
2846
2846
|
"use strict";
|
|
2847
2847
|
var identity = require_identity();
|
|
2848
2848
|
var Scalar = require_Scalar();
|
|
@@ -2973,9 +2973,9 @@ ${ctx.indent}`;
|
|
|
2973
2973
|
}
|
|
2974
2974
|
});
|
|
2975
2975
|
|
|
2976
|
-
//
|
|
2976
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/log.js
|
|
2977
2977
|
var require_log = __commonJS({
|
|
2978
|
-
"
|
|
2978
|
+
"../../../ghosty-studio/node_modules/yaml/dist/log.js"(exports) {
|
|
2979
2979
|
"use strict";
|
|
2980
2980
|
var node_process = __require("process");
|
|
2981
2981
|
function debug(logLevel, ...messages) {
|
|
@@ -2995,9 +2995,9 @@ var require_log = __commonJS({
|
|
|
2995
2995
|
}
|
|
2996
2996
|
});
|
|
2997
2997
|
|
|
2998
|
-
//
|
|
2998
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
2999
2999
|
var require_merge = __commonJS({
|
|
3000
|
-
"
|
|
3000
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/merge.js"(exports) {
|
|
3001
3001
|
"use strict";
|
|
3002
3002
|
var identity = require_identity();
|
|
3003
3003
|
var Scalar = require_Scalar();
|
|
@@ -3055,9 +3055,9 @@ var require_merge = __commonJS({
|
|
|
3055
3055
|
}
|
|
3056
3056
|
});
|
|
3057
3057
|
|
|
3058
|
-
//
|
|
3058
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
3059
3059
|
var require_addPairToJSMap = __commonJS({
|
|
3060
|
-
"
|
|
3060
|
+
"../../../ghosty-studio/node_modules/yaml/dist/nodes/addPairToJSMap.js"(exports) {
|
|
3061
3061
|
"use strict";
|
|
3062
3062
|
var log = require_log();
|
|
3063
3063
|
var merge = require_merge();
|
|
@@ -3119,9 +3119,9 @@ var require_addPairToJSMap = __commonJS({
|
|
|
3119
3119
|
}
|
|
3120
3120
|
});
|
|
3121
3121
|
|
|
3122
|
-
//
|
|
3122
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/nodes/Pair.js
|
|
3123
3123
|
var require_Pair = __commonJS({
|
|
3124
|
-
"
|
|
3124
|
+
"../../../ghosty-studio/node_modules/yaml/dist/nodes/Pair.js"(exports) {
|
|
3125
3125
|
"use strict";
|
|
3126
3126
|
var createNode = require_createNode();
|
|
3127
3127
|
var stringifyPair = require_stringifyPair();
|
|
@@ -3159,9 +3159,9 @@ var require_Pair = __commonJS({
|
|
|
3159
3159
|
}
|
|
3160
3160
|
});
|
|
3161
3161
|
|
|
3162
|
-
//
|
|
3162
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
3163
3163
|
var require_stringifyCollection = __commonJS({
|
|
3164
|
-
"
|
|
3164
|
+
"../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyCollection.js"(exports) {
|
|
3165
3165
|
"use strict";
|
|
3166
3166
|
var identity = require_identity();
|
|
3167
3167
|
var stringify = require_stringify();
|
|
@@ -3310,9 +3310,9 @@ ${indent}${end}`;
|
|
|
3310
3310
|
}
|
|
3311
3311
|
});
|
|
3312
3312
|
|
|
3313
|
-
//
|
|
3313
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
3314
3314
|
var require_YAMLMap = __commonJS({
|
|
3315
|
-
"
|
|
3315
|
+
"../../../ghosty-studio/node_modules/yaml/dist/nodes/YAMLMap.js"(exports) {
|
|
3316
3316
|
"use strict";
|
|
3317
3317
|
var stringifyCollection = require_stringifyCollection();
|
|
3318
3318
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -3454,9 +3454,9 @@ var require_YAMLMap = __commonJS({
|
|
|
3454
3454
|
}
|
|
3455
3455
|
});
|
|
3456
3456
|
|
|
3457
|
-
//
|
|
3457
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/common/map.js
|
|
3458
3458
|
var require_map = __commonJS({
|
|
3459
|
-
"
|
|
3459
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/common/map.js"(exports) {
|
|
3460
3460
|
"use strict";
|
|
3461
3461
|
var identity = require_identity();
|
|
3462
3462
|
var YAMLMap = require_YAMLMap();
|
|
@@ -3476,9 +3476,9 @@ var require_map = __commonJS({
|
|
|
3476
3476
|
}
|
|
3477
3477
|
});
|
|
3478
3478
|
|
|
3479
|
-
//
|
|
3479
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
3480
3480
|
var require_YAMLSeq = __commonJS({
|
|
3481
|
-
"
|
|
3481
|
+
"../../../ghosty-studio/node_modules/yaml/dist/nodes/YAMLSeq.js"(exports) {
|
|
3482
3482
|
"use strict";
|
|
3483
3483
|
var createNode = require_createNode();
|
|
3484
3484
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -3592,9 +3592,9 @@ var require_YAMLSeq = __commonJS({
|
|
|
3592
3592
|
}
|
|
3593
3593
|
});
|
|
3594
3594
|
|
|
3595
|
-
//
|
|
3595
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/common/seq.js
|
|
3596
3596
|
var require_seq = __commonJS({
|
|
3597
|
-
"
|
|
3597
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/common/seq.js"(exports) {
|
|
3598
3598
|
"use strict";
|
|
3599
3599
|
var identity = require_identity();
|
|
3600
3600
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -3614,9 +3614,9 @@ var require_seq = __commonJS({
|
|
|
3614
3614
|
}
|
|
3615
3615
|
});
|
|
3616
3616
|
|
|
3617
|
-
//
|
|
3617
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/common/string.js
|
|
3618
3618
|
var require_string = __commonJS({
|
|
3619
|
-
"
|
|
3619
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/common/string.js"(exports) {
|
|
3620
3620
|
"use strict";
|
|
3621
3621
|
var stringifyString = require_stringifyString();
|
|
3622
3622
|
var string = {
|
|
@@ -3633,9 +3633,9 @@ var require_string = __commonJS({
|
|
|
3633
3633
|
}
|
|
3634
3634
|
});
|
|
3635
3635
|
|
|
3636
|
-
//
|
|
3636
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/common/null.js
|
|
3637
3637
|
var require_null = __commonJS({
|
|
3638
|
-
"
|
|
3638
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/common/null.js"(exports) {
|
|
3639
3639
|
"use strict";
|
|
3640
3640
|
var Scalar = require_Scalar();
|
|
3641
3641
|
var nullTag = {
|
|
@@ -3651,9 +3651,9 @@ var require_null = __commonJS({
|
|
|
3651
3651
|
}
|
|
3652
3652
|
});
|
|
3653
3653
|
|
|
3654
|
-
//
|
|
3654
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/core/bool.js
|
|
3655
3655
|
var require_bool = __commonJS({
|
|
3656
|
-
"
|
|
3656
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/core/bool.js"(exports) {
|
|
3657
3657
|
"use strict";
|
|
3658
3658
|
var Scalar = require_Scalar();
|
|
3659
3659
|
var boolTag = {
|
|
@@ -3675,9 +3675,9 @@ var require_bool = __commonJS({
|
|
|
3675
3675
|
}
|
|
3676
3676
|
});
|
|
3677
3677
|
|
|
3678
|
-
//
|
|
3678
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
3679
3679
|
var require_stringifyNumber = __commonJS({
|
|
3680
|
-
"
|
|
3680
|
+
"../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyNumber.js"(exports) {
|
|
3681
3681
|
"use strict";
|
|
3682
3682
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
3683
3683
|
if (typeof value === "bigint")
|
|
@@ -3702,9 +3702,9 @@ var require_stringifyNumber = __commonJS({
|
|
|
3702
3702
|
}
|
|
3703
3703
|
});
|
|
3704
3704
|
|
|
3705
|
-
//
|
|
3705
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/core/float.js
|
|
3706
3706
|
var require_float = __commonJS({
|
|
3707
|
-
"
|
|
3707
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/core/float.js"(exports) {
|
|
3708
3708
|
"use strict";
|
|
3709
3709
|
var Scalar = require_Scalar();
|
|
3710
3710
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -3748,9 +3748,9 @@ var require_float = __commonJS({
|
|
|
3748
3748
|
}
|
|
3749
3749
|
});
|
|
3750
3750
|
|
|
3751
|
-
//
|
|
3751
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/core/int.js
|
|
3752
3752
|
var require_int = __commonJS({
|
|
3753
|
-
"
|
|
3753
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/core/int.js"(exports) {
|
|
3754
3754
|
"use strict";
|
|
3755
3755
|
var stringifyNumber = require_stringifyNumber();
|
|
3756
3756
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -3793,9 +3793,9 @@ var require_int = __commonJS({
|
|
|
3793
3793
|
}
|
|
3794
3794
|
});
|
|
3795
3795
|
|
|
3796
|
-
//
|
|
3796
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/core/schema.js
|
|
3797
3797
|
var require_schema = __commonJS({
|
|
3798
|
-
"
|
|
3798
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/core/schema.js"(exports) {
|
|
3799
3799
|
"use strict";
|
|
3800
3800
|
var map = require_map();
|
|
3801
3801
|
var _null = require_null();
|
|
@@ -3821,9 +3821,9 @@ var require_schema = __commonJS({
|
|
|
3821
3821
|
}
|
|
3822
3822
|
});
|
|
3823
3823
|
|
|
3824
|
-
//
|
|
3824
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/json/schema.js
|
|
3825
3825
|
var require_schema2 = __commonJS({
|
|
3826
|
-
"
|
|
3826
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/json/schema.js"(exports) {
|
|
3827
3827
|
"use strict";
|
|
3828
3828
|
var Scalar = require_Scalar();
|
|
3829
3829
|
var map = require_map();
|
|
@@ -3888,9 +3888,9 @@ var require_schema2 = __commonJS({
|
|
|
3888
3888
|
}
|
|
3889
3889
|
});
|
|
3890
3890
|
|
|
3891
|
-
//
|
|
3891
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
3892
3892
|
var require_binary = __commonJS({
|
|
3893
|
-
"
|
|
3893
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/binary.js"(exports) {
|
|
3894
3894
|
"use strict";
|
|
3895
3895
|
var node_buffer = __require("buffer");
|
|
3896
3896
|
var Scalar = require_Scalar();
|
|
@@ -3954,9 +3954,9 @@ var require_binary = __commonJS({
|
|
|
3954
3954
|
}
|
|
3955
3955
|
});
|
|
3956
3956
|
|
|
3957
|
-
//
|
|
3957
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
3958
3958
|
var require_pairs = __commonJS({
|
|
3959
|
-
"
|
|
3959
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(exports) {
|
|
3960
3960
|
"use strict";
|
|
3961
3961
|
var identity = require_identity();
|
|
3962
3962
|
var Pair = require_Pair();
|
|
@@ -4032,9 +4032,9 @@ ${cn.comment}` : item.comment;
|
|
|
4032
4032
|
}
|
|
4033
4033
|
});
|
|
4034
4034
|
|
|
4035
|
-
//
|
|
4035
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
4036
4036
|
var require_omap = __commonJS({
|
|
4037
|
-
"
|
|
4037
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/omap.js"(exports) {
|
|
4038
4038
|
"use strict";
|
|
4039
4039
|
var identity = require_identity();
|
|
4040
4040
|
var toJS = require_toJS();
|
|
@@ -4110,9 +4110,9 @@ var require_omap = __commonJS({
|
|
|
4110
4110
|
}
|
|
4111
4111
|
});
|
|
4112
4112
|
|
|
4113
|
-
//
|
|
4113
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
4114
4114
|
var require_bool2 = __commonJS({
|
|
4115
|
-
"
|
|
4115
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/bool.js"(exports) {
|
|
4116
4116
|
"use strict";
|
|
4117
4117
|
var Scalar = require_Scalar();
|
|
4118
4118
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -4142,9 +4142,9 @@ var require_bool2 = __commonJS({
|
|
|
4142
4142
|
}
|
|
4143
4143
|
});
|
|
4144
4144
|
|
|
4145
|
-
//
|
|
4145
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
4146
4146
|
var require_float2 = __commonJS({
|
|
4147
|
-
"
|
|
4147
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/float.js"(exports) {
|
|
4148
4148
|
"use strict";
|
|
4149
4149
|
var Scalar = require_Scalar();
|
|
4150
4150
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -4191,9 +4191,9 @@ var require_float2 = __commonJS({
|
|
|
4191
4191
|
}
|
|
4192
4192
|
});
|
|
4193
4193
|
|
|
4194
|
-
//
|
|
4194
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
4195
4195
|
var require_int2 = __commonJS({
|
|
4196
|
-
"
|
|
4196
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/int.js"(exports) {
|
|
4197
4197
|
"use strict";
|
|
4198
4198
|
var stringifyNumber = require_stringifyNumber();
|
|
4199
4199
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -4270,9 +4270,9 @@ var require_int2 = __commonJS({
|
|
|
4270
4270
|
}
|
|
4271
4271
|
});
|
|
4272
4272
|
|
|
4273
|
-
//
|
|
4273
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
4274
4274
|
var require_set = __commonJS({
|
|
4275
|
-
"
|
|
4275
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/set.js"(exports) {
|
|
4276
4276
|
"use strict";
|
|
4277
4277
|
var identity = require_identity();
|
|
4278
4278
|
var Pair = require_Pair();
|
|
@@ -4359,9 +4359,9 @@ var require_set = __commonJS({
|
|
|
4359
4359
|
}
|
|
4360
4360
|
});
|
|
4361
4361
|
|
|
4362
|
-
//
|
|
4362
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
4363
4363
|
var require_timestamp = __commonJS({
|
|
4364
|
-
"
|
|
4364
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js"(exports) {
|
|
4365
4365
|
"use strict";
|
|
4366
4366
|
var stringifyNumber = require_stringifyNumber();
|
|
4367
4367
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -4447,9 +4447,9 @@ var require_timestamp = __commonJS({
|
|
|
4447
4447
|
}
|
|
4448
4448
|
});
|
|
4449
4449
|
|
|
4450
|
-
//
|
|
4450
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
4451
4451
|
var require_schema3 = __commonJS({
|
|
4452
|
-
"
|
|
4452
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/yaml-1.1/schema.js"(exports) {
|
|
4453
4453
|
"use strict";
|
|
4454
4454
|
var map = require_map();
|
|
4455
4455
|
var _null = require_null();
|
|
@@ -4491,9 +4491,9 @@ var require_schema3 = __commonJS({
|
|
|
4491
4491
|
}
|
|
4492
4492
|
});
|
|
4493
4493
|
|
|
4494
|
-
//
|
|
4494
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/tags.js
|
|
4495
4495
|
var require_tags = __commonJS({
|
|
4496
|
-
"
|
|
4496
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/tags.js"(exports) {
|
|
4497
4497
|
"use strict";
|
|
4498
4498
|
var map = require_map();
|
|
4499
4499
|
var _null = require_null();
|
|
@@ -4585,9 +4585,9 @@ var require_tags = __commonJS({
|
|
|
4585
4585
|
}
|
|
4586
4586
|
});
|
|
4587
4587
|
|
|
4588
|
-
//
|
|
4588
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/schema/Schema.js
|
|
4589
4589
|
var require_Schema = __commonJS({
|
|
4590
|
-
"
|
|
4590
|
+
"../../../ghosty-studio/node_modules/yaml/dist/schema/Schema.js"(exports) {
|
|
4591
4591
|
"use strict";
|
|
4592
4592
|
var identity = require_identity();
|
|
4593
4593
|
var map = require_map();
|
|
@@ -4617,9 +4617,9 @@ var require_Schema = __commonJS({
|
|
|
4617
4617
|
}
|
|
4618
4618
|
});
|
|
4619
4619
|
|
|
4620
|
-
//
|
|
4620
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
4621
4621
|
var require_stringifyDocument = __commonJS({
|
|
4622
|
-
"
|
|
4622
|
+
"../../../ghosty-studio/node_modules/yaml/dist/stringify/stringifyDocument.js"(exports) {
|
|
4623
4623
|
"use strict";
|
|
4624
4624
|
var identity = require_identity();
|
|
4625
4625
|
var stringify = require_stringify();
|
|
@@ -4697,9 +4697,9 @@ var require_stringifyDocument = __commonJS({
|
|
|
4697
4697
|
}
|
|
4698
4698
|
});
|
|
4699
4699
|
|
|
4700
|
-
//
|
|
4700
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/doc/Document.js
|
|
4701
4701
|
var require_Document = __commonJS({
|
|
4702
|
-
"
|
|
4702
|
+
"../../../ghosty-studio/node_modules/yaml/dist/doc/Document.js"(exports) {
|
|
4703
4703
|
"use strict";
|
|
4704
4704
|
var Alias = require_Alias();
|
|
4705
4705
|
var Collection = require_Collection();
|
|
@@ -5006,9 +5006,9 @@ var require_Document = __commonJS({
|
|
|
5006
5006
|
}
|
|
5007
5007
|
});
|
|
5008
5008
|
|
|
5009
|
-
//
|
|
5009
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/errors.js
|
|
5010
5010
|
var require_errors = __commonJS({
|
|
5011
|
-
"
|
|
5011
|
+
"../../../ghosty-studio/node_modules/yaml/dist/errors.js"(exports) {
|
|
5012
5012
|
"use strict";
|
|
5013
5013
|
var YAMLError = class extends Error {
|
|
5014
5014
|
constructor(name, pos, code, message) {
|
|
@@ -5071,9 +5071,9 @@ ${pointer}
|
|
|
5071
5071
|
}
|
|
5072
5072
|
});
|
|
5073
5073
|
|
|
5074
|
-
//
|
|
5074
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-props.js
|
|
5075
5075
|
var require_resolve_props = __commonJS({
|
|
5076
|
-
"
|
|
5076
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-props.js"(exports) {
|
|
5077
5077
|
"use strict";
|
|
5078
5078
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
5079
5079
|
let spaceBefore = false;
|
|
@@ -5205,9 +5205,9 @@ var require_resolve_props = __commonJS({
|
|
|
5205
5205
|
}
|
|
5206
5206
|
});
|
|
5207
5207
|
|
|
5208
|
-
//
|
|
5208
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
5209
5209
|
var require_util_contains_newline = __commonJS({
|
|
5210
|
-
"
|
|
5210
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/util-contains-newline.js"(exports) {
|
|
5211
5211
|
"use strict";
|
|
5212
5212
|
function containsNewline(key) {
|
|
5213
5213
|
if (!key)
|
|
@@ -5247,9 +5247,9 @@ var require_util_contains_newline = __commonJS({
|
|
|
5247
5247
|
}
|
|
5248
5248
|
});
|
|
5249
5249
|
|
|
5250
|
-
//
|
|
5250
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
5251
5251
|
var require_util_flow_indent_check = __commonJS({
|
|
5252
|
-
"
|
|
5252
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/util-flow-indent-check.js"(exports) {
|
|
5253
5253
|
"use strict";
|
|
5254
5254
|
var utilContainsNewline = require_util_contains_newline();
|
|
5255
5255
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -5265,9 +5265,9 @@ var require_util_flow_indent_check = __commonJS({
|
|
|
5265
5265
|
}
|
|
5266
5266
|
});
|
|
5267
5267
|
|
|
5268
|
-
//
|
|
5268
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/util-map-includes.js
|
|
5269
5269
|
var require_util_map_includes = __commonJS({
|
|
5270
|
-
"
|
|
5270
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/util-map-includes.js"(exports) {
|
|
5271
5271
|
"use strict";
|
|
5272
5272
|
var identity = require_identity();
|
|
5273
5273
|
function mapIncludes(ctx, items, search) {
|
|
@@ -5281,9 +5281,9 @@ var require_util_map_includes = __commonJS({
|
|
|
5281
5281
|
}
|
|
5282
5282
|
});
|
|
5283
5283
|
|
|
5284
|
-
//
|
|
5284
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
5285
5285
|
var require_resolve_block_map = __commonJS({
|
|
5286
|
-
"
|
|
5286
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-block-map.js"(exports) {
|
|
5287
5287
|
"use strict";
|
|
5288
5288
|
var Pair = require_Pair();
|
|
5289
5289
|
var YAMLMap = require_YAMLMap();
|
|
@@ -5389,9 +5389,9 @@ var require_resolve_block_map = __commonJS({
|
|
|
5389
5389
|
}
|
|
5390
5390
|
});
|
|
5391
5391
|
|
|
5392
|
-
//
|
|
5392
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
5393
5393
|
var require_resolve_block_seq = __commonJS({
|
|
5394
|
-
"
|
|
5394
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-block-seq.js"(exports) {
|
|
5395
5395
|
"use strict";
|
|
5396
5396
|
var YAMLSeq = require_YAMLSeq();
|
|
5397
5397
|
var resolveProps = require_resolve_props();
|
|
@@ -5440,9 +5440,9 @@ var require_resolve_block_seq = __commonJS({
|
|
|
5440
5440
|
}
|
|
5441
5441
|
});
|
|
5442
5442
|
|
|
5443
|
-
//
|
|
5443
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-end.js
|
|
5444
5444
|
var require_resolve_end = __commonJS({
|
|
5445
|
-
"
|
|
5445
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-end.js"(exports) {
|
|
5446
5446
|
"use strict";
|
|
5447
5447
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
5448
5448
|
let comment = "";
|
|
@@ -5483,9 +5483,9 @@ var require_resolve_end = __commonJS({
|
|
|
5483
5483
|
}
|
|
5484
5484
|
});
|
|
5485
5485
|
|
|
5486
|
-
//
|
|
5486
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
5487
5487
|
var require_resolve_flow_collection = __commonJS({
|
|
5488
|
-
"
|
|
5488
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-flow-collection.js"(exports) {
|
|
5489
5489
|
"use strict";
|
|
5490
5490
|
var identity = require_identity();
|
|
5491
5491
|
var Pair = require_Pair();
|
|
@@ -5677,9 +5677,9 @@ var require_resolve_flow_collection = __commonJS({
|
|
|
5677
5677
|
}
|
|
5678
5678
|
});
|
|
5679
5679
|
|
|
5680
|
-
//
|
|
5680
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/compose-collection.js
|
|
5681
5681
|
var require_compose_collection = __commonJS({
|
|
5682
|
-
"
|
|
5682
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/compose-collection.js"(exports) {
|
|
5683
5683
|
"use strict";
|
|
5684
5684
|
var identity = require_identity();
|
|
5685
5685
|
var Scalar = require_Scalar();
|
|
@@ -5742,9 +5742,9 @@ var require_compose_collection = __commonJS({
|
|
|
5742
5742
|
}
|
|
5743
5743
|
});
|
|
5744
5744
|
|
|
5745
|
-
//
|
|
5745
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
5746
5746
|
var require_resolve_block_scalar = __commonJS({
|
|
5747
|
-
"
|
|
5747
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-block-scalar.js"(exports) {
|
|
5748
5748
|
"use strict";
|
|
5749
5749
|
var Scalar = require_Scalar();
|
|
5750
5750
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -5925,9 +5925,9 @@ var require_resolve_block_scalar = __commonJS({
|
|
|
5925
5925
|
}
|
|
5926
5926
|
});
|
|
5927
5927
|
|
|
5928
|
-
//
|
|
5928
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
5929
5929
|
var require_resolve_flow_scalar = __commonJS({
|
|
5930
|
-
"
|
|
5930
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/resolve-flow-scalar.js"(exports) {
|
|
5931
5931
|
"use strict";
|
|
5932
5932
|
var Scalar = require_Scalar();
|
|
5933
5933
|
var resolveEnd = require_resolve_end();
|
|
@@ -6146,9 +6146,9 @@ var require_resolve_flow_scalar = __commonJS({
|
|
|
6146
6146
|
}
|
|
6147
6147
|
});
|
|
6148
6148
|
|
|
6149
|
-
//
|
|
6149
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/compose-scalar.js
|
|
6150
6150
|
var require_compose_scalar = __commonJS({
|
|
6151
|
-
"
|
|
6151
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/compose-scalar.js"(exports) {
|
|
6152
6152
|
"use strict";
|
|
6153
6153
|
var identity = require_identity();
|
|
6154
6154
|
var Scalar = require_Scalar();
|
|
@@ -6227,9 +6227,9 @@ var require_compose_scalar = __commonJS({
|
|
|
6227
6227
|
}
|
|
6228
6228
|
});
|
|
6229
6229
|
|
|
6230
|
-
//
|
|
6230
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
6231
6231
|
var require_util_empty_scalar_position = __commonJS({
|
|
6232
|
-
"
|
|
6232
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/util-empty-scalar-position.js"(exports) {
|
|
6233
6233
|
"use strict";
|
|
6234
6234
|
function emptyScalarPosition(offset, before, pos) {
|
|
6235
6235
|
if (before) {
|
|
@@ -6257,9 +6257,9 @@ var require_util_empty_scalar_position = __commonJS({
|
|
|
6257
6257
|
}
|
|
6258
6258
|
});
|
|
6259
6259
|
|
|
6260
|
-
//
|
|
6260
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/compose-node.js
|
|
6261
6261
|
var require_compose_node = __commonJS({
|
|
6262
|
-
"
|
|
6262
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/compose-node.js"(exports) {
|
|
6263
6263
|
"use strict";
|
|
6264
6264
|
var Alias = require_Alias();
|
|
6265
6265
|
var identity = require_identity();
|
|
@@ -6363,9 +6363,9 @@ var require_compose_node = __commonJS({
|
|
|
6363
6363
|
}
|
|
6364
6364
|
});
|
|
6365
6365
|
|
|
6366
|
-
//
|
|
6366
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/compose-doc.js
|
|
6367
6367
|
var require_compose_doc = __commonJS({
|
|
6368
|
-
"
|
|
6368
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/compose-doc.js"(exports) {
|
|
6369
6369
|
"use strict";
|
|
6370
6370
|
var Document = require_Document();
|
|
6371
6371
|
var composeNode = require_compose_node();
|
|
@@ -6406,9 +6406,9 @@ var require_compose_doc = __commonJS({
|
|
|
6406
6406
|
}
|
|
6407
6407
|
});
|
|
6408
6408
|
|
|
6409
|
-
//
|
|
6409
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/compose/composer.js
|
|
6410
6410
|
var require_composer = __commonJS({
|
|
6411
|
-
"
|
|
6411
|
+
"../../../ghosty-studio/node_modules/yaml/dist/compose/composer.js"(exports) {
|
|
6412
6412
|
"use strict";
|
|
6413
6413
|
var node_process = __require("process");
|
|
6414
6414
|
var directives = require_directives();
|
|
@@ -6614,9 +6614,9 @@ ${end.comment}` : end.comment;
|
|
|
6614
6614
|
}
|
|
6615
6615
|
});
|
|
6616
6616
|
|
|
6617
|
-
//
|
|
6617
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/parse/cst-scalar.js
|
|
6618
6618
|
var require_cst_scalar = __commonJS({
|
|
6619
|
-
"
|
|
6619
|
+
"../../../ghosty-studio/node_modules/yaml/dist/parse/cst-scalar.js"(exports) {
|
|
6620
6620
|
"use strict";
|
|
6621
6621
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
6622
6622
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -6799,9 +6799,9 @@ var require_cst_scalar = __commonJS({
|
|
|
6799
6799
|
}
|
|
6800
6800
|
});
|
|
6801
6801
|
|
|
6802
|
-
//
|
|
6802
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/parse/cst-stringify.js
|
|
6803
6803
|
var require_cst_stringify = __commonJS({
|
|
6804
|
-
"
|
|
6804
|
+
"../../../ghosty-studio/node_modules/yaml/dist/parse/cst-stringify.js"(exports) {
|
|
6805
6805
|
"use strict";
|
|
6806
6806
|
var stringify = (cst) => "type" in cst ? stringifyToken(cst) : stringifyItem(cst);
|
|
6807
6807
|
function stringifyToken(token) {
|
|
@@ -6860,9 +6860,9 @@ var require_cst_stringify = __commonJS({
|
|
|
6860
6860
|
}
|
|
6861
6861
|
});
|
|
6862
6862
|
|
|
6863
|
-
//
|
|
6863
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/parse/cst-visit.js
|
|
6864
6864
|
var require_cst_visit = __commonJS({
|
|
6865
|
-
"
|
|
6865
|
+
"../../../ghosty-studio/node_modules/yaml/dist/parse/cst-visit.js"(exports) {
|
|
6866
6866
|
"use strict";
|
|
6867
6867
|
var BREAK = /* @__PURE__ */ Symbol("break visit");
|
|
6868
6868
|
var SKIP2 = /* @__PURE__ */ Symbol("skip children");
|
|
@@ -6922,9 +6922,9 @@ var require_cst_visit = __commonJS({
|
|
|
6922
6922
|
}
|
|
6923
6923
|
});
|
|
6924
6924
|
|
|
6925
|
-
//
|
|
6925
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/parse/cst.js
|
|
6926
6926
|
var require_cst = __commonJS({
|
|
6927
|
-
"
|
|
6927
|
+
"../../../ghosty-studio/node_modules/yaml/dist/parse/cst.js"(exports) {
|
|
6928
6928
|
"use strict";
|
|
6929
6929
|
var cstScalar = require_cst_scalar();
|
|
6930
6930
|
var cstStringify = require_cst_stringify();
|
|
@@ -7024,9 +7024,9 @@ var require_cst = __commonJS({
|
|
|
7024
7024
|
}
|
|
7025
7025
|
});
|
|
7026
7026
|
|
|
7027
|
-
//
|
|
7027
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/parse/lexer.js
|
|
7028
7028
|
var require_lexer = __commonJS({
|
|
7029
|
-
"
|
|
7029
|
+
"../../../ghosty-studio/node_modules/yaml/dist/parse/lexer.js"(exports) {
|
|
7030
7030
|
"use strict";
|
|
7031
7031
|
var cst = require_cst();
|
|
7032
7032
|
function isEmpty(ch) {
|
|
@@ -7613,9 +7613,9 @@ var require_lexer = __commonJS({
|
|
|
7613
7613
|
}
|
|
7614
7614
|
});
|
|
7615
7615
|
|
|
7616
|
-
//
|
|
7616
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/parse/line-counter.js
|
|
7617
7617
|
var require_line_counter = __commonJS({
|
|
7618
|
-
"
|
|
7618
|
+
"../../../ghosty-studio/node_modules/yaml/dist/parse/line-counter.js"(exports) {
|
|
7619
7619
|
"use strict";
|
|
7620
7620
|
var LineCounter = class {
|
|
7621
7621
|
constructor() {
|
|
@@ -7644,9 +7644,9 @@ var require_line_counter = __commonJS({
|
|
|
7644
7644
|
}
|
|
7645
7645
|
});
|
|
7646
7646
|
|
|
7647
|
-
//
|
|
7647
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/parse/parser.js
|
|
7648
7648
|
var require_parser = __commonJS({
|
|
7649
|
-
"
|
|
7649
|
+
"../../../ghosty-studio/node_modules/yaml/dist/parse/parser.js"(exports) {
|
|
7650
7650
|
"use strict";
|
|
7651
7651
|
var node_process = __require("process");
|
|
7652
7652
|
var cst = require_cst();
|
|
@@ -8518,9 +8518,9 @@ var require_parser = __commonJS({
|
|
|
8518
8518
|
}
|
|
8519
8519
|
});
|
|
8520
8520
|
|
|
8521
|
-
//
|
|
8521
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/public-api.js
|
|
8522
8522
|
var require_public_api = __commonJS({
|
|
8523
|
-
"
|
|
8523
|
+
"../../../ghosty-studio/node_modules/yaml/dist/public-api.js"(exports) {
|
|
8524
8524
|
"use strict";
|
|
8525
8525
|
var composer = require_composer();
|
|
8526
8526
|
var Document = require_Document();
|
|
@@ -8615,9 +8615,9 @@ var require_public_api = __commonJS({
|
|
|
8615
8615
|
}
|
|
8616
8616
|
});
|
|
8617
8617
|
|
|
8618
|
-
//
|
|
8618
|
+
// ../../../ghosty-studio/node_modules/yaml/dist/index.js
|
|
8619
8619
|
var require_dist = __commonJS({
|
|
8620
|
-
"
|
|
8620
|
+
"../../../ghosty-studio/node_modules/yaml/dist/index.js"(exports) {
|
|
8621
8621
|
"use strict";
|
|
8622
8622
|
var composer = require_composer();
|
|
8623
8623
|
var Document = require_Document();
|
|
@@ -11278,7 +11278,7 @@ async function call(path2, v, init = {}) {
|
|
|
11278
11278
|
"x-ghosty-ts": ts,
|
|
11279
11279
|
"x-ghosty-sig": sig,
|
|
11280
11280
|
"content-type": "application/json",
|
|
11281
|
-
"user-agent": `ghosty-cli/${"0.
|
|
11281
|
+
"user-agent": `ghosty-cli/${"0.94.0"}`
|
|
11282
11282
|
},
|
|
11283
11283
|
body: method === "GET" ? void 0 : raw
|
|
11284
11284
|
});
|
|
@@ -11713,6 +11713,99 @@ ${dim(`id ${w.id} \xB7 ${t("conversation", "conversaci\xF3n")} ${w.sessionId} \x
|
|
|
11713
11713
|
throw usage(t(`Unknown watch subcommand: ${sub}.`, `Subcomando de watch desconocido: ${sub}.`), "ghosty watch ls|add|rm|check|resume <agent-id> \u2026");
|
|
11714
11714
|
}
|
|
11715
11715
|
|
|
11716
|
+
// src/commands/brief.ts
|
|
11717
|
+
init_api();
|
|
11718
|
+
init_util();
|
|
11719
|
+
init_i18n();
|
|
11720
|
+
var PATH = "/api/v2/me/digest";
|
|
11721
|
+
var pad = (n) => String(n).padStart(2, "0");
|
|
11722
|
+
var DAY_NAMES = { en: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], es: ["dom", "lun", "mar", "mi\xE9", "jue", "vie", "s\xE1b"] };
|
|
11723
|
+
function daysLabel(days) {
|
|
11724
|
+
const key = days.join(",");
|
|
11725
|
+
if (key === "0,1,2,3,4,5,6") return t("every day", "todos los d\xEDas");
|
|
11726
|
+
if (key === "1,2,3,4,5") return t("Mon\u2013Fri", "lun\u2013vie");
|
|
11727
|
+
return days.map((d) => t(DAY_NAMES.en[d], DAY_NAMES.es[d])).join(" ");
|
|
11728
|
+
}
|
|
11729
|
+
function parseDaysFlag(raw) {
|
|
11730
|
+
const s2 = raw.trim().toLowerCase();
|
|
11731
|
+
if (["all", "todos", "diario", "daily"].includes(s2)) return [0, 1, 2, 3, 4, 5, 6];
|
|
11732
|
+
if (["weekdays", "lv", "l-v", "lun-vie"].includes(s2)) return [1, 2, 3, 4, 5];
|
|
11733
|
+
if (["weekend", "fds", "finde"].includes(s2)) return [0, 6];
|
|
11734
|
+
const out2 = /* @__PURE__ */ new Set();
|
|
11735
|
+
for (const part of s2.split(",").map((x) => x.trim()).filter(Boolean)) {
|
|
11736
|
+
const m = /^(\d)(?:-(\d))?$/.exec(part);
|
|
11737
|
+
if (!m) return null;
|
|
11738
|
+
const a = Number(m[1]);
|
|
11739
|
+
const b = m[2] !== void 0 ? Number(m[2]) : a;
|
|
11740
|
+
if (a > 6 || b > 6 || b < a) return null;
|
|
11741
|
+
for (let d = a; d <= b; d++) out2.add(d);
|
|
11742
|
+
}
|
|
11743
|
+
return out2.size ? [...out2].sort((x, y) => x - y) : null;
|
|
11744
|
+
}
|
|
11745
|
+
function parseAtFlag(raw) {
|
|
11746
|
+
const m = /^(\d{1,2})(?::(\d{2}))?$/.exec(raw.trim());
|
|
11747
|
+
if (!m) return null;
|
|
11748
|
+
const hour = Number(m[1]);
|
|
11749
|
+
const minute = m[2] !== void 0 ? Number(m[2]) : 0;
|
|
11750
|
+
return hour <= 23 && minute <= 59 ? { hour, minute } : null;
|
|
11751
|
+
}
|
|
11752
|
+
function showView(v) {
|
|
11753
|
+
const state = v.enabled ? lavender(t("on", "encendido")) : dim(t("off", "apagado"));
|
|
11754
|
+
const at = v.hour !== void 0 && v.minute !== void 0 ? `${pad(v.hour)}:${pad(v.minute)}` : "7:30";
|
|
11755
|
+
const when = [at, v.days ? daysLabel(v.days) : null, v.timeZone].filter(Boolean).join(" \xB7 ");
|
|
11756
|
+
const voice = v.voice === void 0 ? "" : ` \xB7 ${v.voice ? t("with voice", "con voz") : t("no voice", "sin voz")}`;
|
|
11757
|
+
const lines = [`${bold(t("Morning brief", "Brief de la ma\xF1ana"))}: ${state} ${dim(`\xB7 ${when}${voice}`)}`];
|
|
11758
|
+
if (!v.globalEnabled) lines.push(dim(t("Paused for everyone by the platform.", "Pausado para todos por la plataforma.")));
|
|
11759
|
+
if (v.last) lines.push(dim(`${t("Last", "\xDAltimo")}: ${v.last.day} \xB7 ${v.last.status}${v.last.sessionId ? ` \xB7 ${v.last.agentId}/${v.last.sessionId}` : ""}`));
|
|
11760
|
+
return lines.join("\n");
|
|
11761
|
+
}
|
|
11762
|
+
function showRun(r) {
|
|
11763
|
+
const head = `${r.status === "sent" || r.status === "dry_run" ? lavender("\u2713") : dim("\xB7")} ${r.status} ${dim(`\xB7 ${r.day}${r.sessionId ? ` \xB7 ${r.agentId}/${r.sessionId}` : ""}`)}`;
|
|
11764
|
+
const parts = [head];
|
|
11765
|
+
if (r.items?.length) parts.push(dim(t("Collected:", "Junt\xF3:")), ...r.items.map((i) => ` ${i.needsYou ? "!" : "\xB7"} [${i.source}] ${i.title}${i.detail ? dim(` \u2014 ${i.detail}`) : ""}`));
|
|
11766
|
+
if (r.failedSources?.length) parts.push(dim(`${t("Sources that failed", "Fuentes que fallaron")}: ${r.failedSources.join(", ")}`));
|
|
11767
|
+
if (r.text) parts.push("", r.text, "", dim(`${t("model", "modelo")}: ${r.model}`));
|
|
11768
|
+
if (r.audio) parts.push(`${lavender("\u266A")} ${t("voice note", "nota de voz")} ${dim(`${Math.round(r.audio.durationMs / 1e3)} s \xB7 ${r.audio.mime}`)}
|
|
11769
|
+
${r.audio.url}`);
|
|
11770
|
+
else if (r.audio === null && r.text) parts.push(dim(t("No voice note (voice off, or the voice box didn't answer).", "Sin nota de voz (voz apagada o la caja de voz no contest\xF3).")));
|
|
11771
|
+
if (r.error) parts.push(dim(r.error));
|
|
11772
|
+
return parts.join("\n");
|
|
11773
|
+
}
|
|
11774
|
+
async function briefCmd(sub, v) {
|
|
11775
|
+
const patch = {};
|
|
11776
|
+
if (v.voice !== void 0) {
|
|
11777
|
+
const on = ["on", "si", "s\xED", "true", "1", "yes"].includes(v.voice.toLowerCase());
|
|
11778
|
+
const off = ["off", "no", "false", "0"].includes(v.voice.toLowerCase());
|
|
11779
|
+
if (!on && !off) throw usage(t("--voice takes on or off.", "--voice va con on u off."), "ghosty brief --voice off");
|
|
11780
|
+
patch.voice = on;
|
|
11781
|
+
}
|
|
11782
|
+
if (v.at !== void 0) {
|
|
11783
|
+
const at = parseAtFlag(v.at);
|
|
11784
|
+
if (!at) throw usage(t("--at takes HH:MM (24 h).", "--at va con HH:MM (24 h)."), "ghosty brief --at 8:15");
|
|
11785
|
+
Object.assign(patch, at);
|
|
11786
|
+
}
|
|
11787
|
+
if (v.days !== void 0) {
|
|
11788
|
+
const days = parseDaysFlag(v.days);
|
|
11789
|
+
if (!days) throw usage(t("--days takes all, weekdays, or 0\u20136 (0 = Sunday) with commas and ranges.", "--days va con todos, lv, o 0\u20136 (0 = domingo) con comas y rangos."), "ghosty brief --days 1-5");
|
|
11790
|
+
patch.days = days;
|
|
11791
|
+
}
|
|
11792
|
+
if (sub === "on" || sub === "off") patch.enabled = sub === "on";
|
|
11793
|
+
if (Object.keys(patch).length && (!sub || sub === "show" || sub === "set" || sub === "on" || sub === "off")) {
|
|
11794
|
+
const r = await api(PATH, { method: "PUT", body: { ...patch, via: "cli" } });
|
|
11795
|
+
return out(r, () => showView(r));
|
|
11796
|
+
}
|
|
11797
|
+
if (!sub || sub === "show" || sub === "status") {
|
|
11798
|
+
const r = await api(PATH);
|
|
11799
|
+
return out(r, () => showView(r));
|
|
11800
|
+
}
|
|
11801
|
+
if (sub === "run") {
|
|
11802
|
+
if (v.email && !v["dry-run"]) throw usage(t("--email only with --dry-run: nothing is ever sent to another account.", "--email s\xF3lo con --dry-run: a otra cuenta nunca se le manda nada."), "ghosty brief run --dry-run --email persona@x.com");
|
|
11803
|
+
const r = await api(`${PATH}/run`, { method: "POST", body: { dryRun: !!v["dry-run"], ...v.email ? { email: v.email } : {} } });
|
|
11804
|
+
return out(r, () => showRun(r));
|
|
11805
|
+
}
|
|
11806
|
+
throw usage(t(`Unknown brief subcommand: ${sub}.`, `Subcomando de brief desconocido: ${sub}.`), "ghosty brief [show] | on | off [--voice on|off] [--at HH:MM] [--days 1-5] | run [--dry-run] [--email X]");
|
|
11807
|
+
}
|
|
11808
|
+
|
|
11716
11809
|
// src/commands/data.ts
|
|
11717
11810
|
init_api();
|
|
11718
11811
|
import { readdir as readdir2, readFile as readFile6, writeFile as writeFile8 } from "node:fs/promises";
|
|
@@ -13594,6 +13687,18 @@ var HELPS_ES = {
|
|
|
13594
13687
|
],
|
|
13595
13688
|
notes: ["Al comparar se ignoran fechas, horas, \xABhace 5 minutos\xBB, scripts, im\xE1genes y URLs de las ligas: una p\xE1gina que s\xF3lo cambia su reloj no avisa.", "Topes: 10 por agente; por cuenta seg\xFAn el plan (Gratis 2, Pro 10, Power 25, Max 50, espacio de equipo 25). Tras 5 lecturas fallidas seguidas se pausa y te llega un push, una vez.", "Sin --conversation abre una nueva, donde caen los avisos. --conversation wa:<jid> | waba:\u2026 tambi\xE9n vale: el aviso sale por ese canal, como un turno programado.", "El agente tiene lo mismo como tools: watch_add, watch_list, watch_remove."]
|
|
13596
13689
|
},
|
|
13690
|
+
brief: {
|
|
13691
|
+
summary: "Tu brief de la ma\xF1ana: a tu hora (7:30 por default) cae en tu chat un resumen corto con nota de voz y un push \u2014 lo que va en curso y lo que te necesita, en 5 renglones. Encendido por default; s\xF3lo llega si hay algo que contar.",
|
|
13692
|
+
replace: [["person@x.com", "persona@x.com"]],
|
|
13693
|
+
flags: [
|
|
13694
|
+
["--voice on|off", "con o sin la nota de voz (em_santa) arriba de los renglones"],
|
|
13695
|
+
["--at HH:MM", "la hora a la que llega, 24 h, en tu zona"],
|
|
13696
|
+
["--days D", "qu\xE9 d\xEDas: todos, lv, fds, o 0\u20136 (0 = domingo) con comas y rangos (1-5, 0,6)"],
|
|
13697
|
+
["--dry-run", "run: junta y redacta ya el brief de hoy y lo imprime; no guarda, no publica ni manda push"],
|
|
13698
|
+
["--email X", "run --dry-run (staff de Ghosty): el brief de otra cuenta, sin mand\xE1rselo"]
|
|
13699
|
+
],
|
|
13700
|
+
notes: ["Cae en el chat personal m\xE1s reciente con tu agente principal, como mensaje suyo; tu agente sabe qu\xE9 dec\xEDa en tu siguiente mensaje.", "run --dry-run tambi\xE9n arma la nota de voz para que la oigas (imprime la liga); no publica nada.", "El pie \xAB\xBFTe sirve? \xB7 Ya no me lo mandes\xBB funciona con un toque; tambi\xE9n puedes pedirle a tu agente que lo prenda o lo apague."]
|
|
13701
|
+
},
|
|
13597
13702
|
teams: {
|
|
13598
13703
|
summary: "Escribe en un room o hilo de Teams a tu nombre; el @agente que menciones contesta, como en el composer.",
|
|
13599
13704
|
replace: [['"message"', '"mensaje"'], ["# new thread", "# hilo nuevo"], ["make Deploy wait for ci with needs", "que el Deploy espere al ci con needs"], ["how is it going?", "\xBFen qu\xE9 va?"]],
|
|
@@ -14437,6 +14542,19 @@ var HELPS = {
|
|
|
14437
14542
|
notes: ["Dates, times, \xAB5 minutes ago\xBB, scripts, images and link URLs are ignored when comparing: a page that only changes its clock doesn't notify.", "Caps: 10 per agent; per account by plan (Free 2, Pro 10, Power 25, Max 50, team space 25). After 5 failed reads in a row it pauses and pushes you once.", "No --conversation = a new conversation, where the notices land. --conversation wa:<jid> | waba:\u2026 also works: the notice goes out through that channel, like a scheduled turn.", "The agent has the same as tools: watch_add, watch_list, watch_remove."],
|
|
14438
14543
|
learn: `${REF}#vigilar-paginas`
|
|
14439
14544
|
},
|
|
14545
|
+
brief: {
|
|
14546
|
+
summary: "Your morning brief: at your time (7:30 by default) a short summary lands in your chat with a voice note and a push \u2014 what's in progress and what needs you, in 5 lines. On by default; it only arrives when there's something to tell.",
|
|
14547
|
+
usage: ["ghosty brief show", "ghosty brief on|off", "ghosty brief [--voice on|off] [--at HH:MM] [--days 1-5|all|0,6]", "ghosty brief run [--dry-run]", "ghosty brief run --dry-run --email person@x.com"],
|
|
14548
|
+
flags: [
|
|
14549
|
+
["--voice on|off", "with or without the voice note (em_santa) on top of the lines"],
|
|
14550
|
+
["--at HH:MM", "the time it arrives, 24 h, in your time zone"],
|
|
14551
|
+
["--days D", "which days: all, weekdays, weekend, or 0\u20136 (0 = Sunday) with commas and ranges (1-5, 0,6)"],
|
|
14552
|
+
["--dry-run", "run: collect and draft today's brief now and print it; saves nothing, posts nothing, pushes nobody"],
|
|
14553
|
+
["--email X", "run --dry-run (Ghosty staff): another account's brief, without sending it"]
|
|
14554
|
+
],
|
|
14555
|
+
examples: ["ghosty brief", "ghosty brief --at 8:15 --days 1-5", "ghosty brief --voice off", "ghosty brief run --dry-run", "ghosty brief off"],
|
|
14556
|
+
notes: ["It goes to the latest personal chat with your main agent, as a message from it; your agent knows what it said in your next message.", "run --dry-run also makes the voice note so you can hear it (the link is printed); nothing is posted.", "The footer \xABUseful? \xB7 Stop sending it\xBB works with one tap; you can also ask your agent to turn it on or off."]
|
|
14557
|
+
},
|
|
14440
14558
|
teams: {
|
|
14441
14559
|
summary: "Write in a Teams room or thread as yourself; any @agent you mention answers, like in the composer.",
|
|
14442
14560
|
usage: ['ghosty teams post <workspace>#<room> "message"', 'ghosty teams post <workspace>#<room>/<thread-id> "message" [--wait [--timeout 600]]'],
|
|
@@ -17258,6 +17376,11 @@ ${bold("Watch pages")} ${dim("(checked without a model turn; the agent only get
|
|
|
17258
17376
|
watch check <id> <watch-id> Check it in the next sweep [--dry-run: fetch and compare now, save nothing, notify nobody]
|
|
17259
17377
|
watch rm|resume <id> <watch-id> Stop watching \xB7 resume a paused one (or renew an expired one) [--days N]
|
|
17260
17378
|
|
|
17379
|
+
${bold("Morning brief")} ${dim("(on by default: 7:30 in your chat with a voice note and a push, only when there's something)")}
|
|
17380
|
+
brief [show] Is it on, voice, time, days, the last one sent
|
|
17381
|
+
brief on|off Turn it on or off [--voice on|off] [--at HH:MM] [--days 1-5|all|0,6]
|
|
17382
|
+
brief run Send today's now [--dry-run: collect and draft, send nothing] [--email X (staff, with --dry-run)]
|
|
17383
|
+
|
|
17261
17384
|
${bold("Teams")}
|
|
17262
17385
|
teams post WS#room[/thread] "msg" Write there as you; any @agent it mentions answers (no thread = new thread) [--wait [--timeout 600]: print their answers]
|
|
17263
17386
|
|
|
@@ -17477,6 +17600,11 @@ ${bold("Vigilar p\xE1ginas")} ${dim("(se revisan sin turno del modelo; el agent
|
|
|
17477
17600
|
watch check <id> <watch-id> Rev\xEDsala en el siguiente barrido [--dry-run: baja y compara ya, sin guardar ni avisar]
|
|
17478
17601
|
watch rm|resume <id> <watch-id> Deja de vigilarla \xB7 reanuda una pausada (o renueva una vencida) [--days N]
|
|
17479
17602
|
|
|
17603
|
+
${bold("Brief de la ma\xF1ana")} ${dim("(encendido por default: 7:30 en tu chat con nota de voz y un push, s\xF3lo si hay algo)")}
|
|
17604
|
+
brief [show] Si est\xE1 prendido, voz, hora, d\xEDas, el \xFAltimo que sali\xF3
|
|
17605
|
+
brief on|off Prenderlo o apagarlo [--voice on|off] [--at HH:MM] [--days 1-5|todos|0,6]
|
|
17606
|
+
brief run M\xE1ndalo ya [--dry-run: junta y redacta, no manda nada] [--email X (staff, con --dry-run)]
|
|
17607
|
+
|
|
17480
17608
|
${bold("Teams")}
|
|
17481
17609
|
teams post ESP#room[/hilo] "texto" Escribe ah\xED a tu nombre; el @agente que menciones contesta (sin hilo = hilo nuevo) [--wait [--timeout 600]: imprime sus respuestas]
|
|
17482
17610
|
|
|
@@ -17513,7 +17641,7 @@ ${bold("Opciones globales")}
|
|
|
17513
17641
|
${bold("C\xF3digos de salida")} 0 bien \xB7 1 error de la API \xB7 2 uso incorrecto \xB7 3 sin sesi\xF3n
|
|
17514
17642
|
${dim("Nota: `ghosty` puede chocar con otro binario en tu PATH (p. ej. la TUI de Ghosty). Rev\xEDsalo con `which -a ghosty`; corre `npx @ghostystudio/cli` para ir a la segura.")}
|
|
17515
17643
|
${dim("Documentaci\xF3n: https://www.ghosty.studio/docs/cli")}`;
|
|
17516
|
-
var COMMANDS = ["login", "logout", "whoami", "usage", "use", "apply", "plan", "engines", "bags", "spaces", "workspaces", "staff", "settings", "coupons", "ads", "audit", "factory", "events", "demos", "sites", "push", "novedades", "completion", "cards", "agents", "files", "skills", "mcp", "dbs", "turns", "try", "chat", "conversations", "schedule", "watch", "teams", "partner", "image", "tts", "me", "channels", "board", "boards", "access", "credentials", "connectors", "browser", "support", "docs", "help"];
|
|
17644
|
+
var COMMANDS = ["login", "logout", "whoami", "usage", "use", "apply", "plan", "engines", "bags", "spaces", "workspaces", "staff", "settings", "coupons", "ads", "audit", "factory", "events", "demos", "sites", "push", "novedades", "completion", "cards", "agents", "files", "skills", "mcp", "dbs", "turns", "try", "chat", "conversations", "schedule", "watch", "brief", "teams", "partner", "image", "tts", "me", "channels", "board", "boards", "access", "credentials", "connectors", "browser", "support", "docs", "help"];
|
|
17517
17645
|
var AGENTS_SUBS = ["ls", "create", "get", "show", "set", "export", "doctor", "docs", "share", "unshare", "shares", "teams", "rm", "restart", "demo", "embed", "box", "token", "memory", "transfer"];
|
|
17518
17646
|
function unknown(what, input, known, helpCmd) {
|
|
17519
17647
|
const s2 = suggest(input, known);
|
|
@@ -17840,7 +17968,7 @@ async function main() {
|
|
|
17840
17968
|
const tokens = splitTokens(pos, v);
|
|
17841
17969
|
globals.token = tokens.session;
|
|
17842
17970
|
globals.profile = v.profile;
|
|
17843
|
-
if (v.version) return out({ version: "0.
|
|
17971
|
+
if (v.version) return out({ version: "0.94.0" }, () => "0.94.0");
|
|
17844
17972
|
for (const n of normalizeArgs(pos, v)) if (!globals.json) info(dim(n));
|
|
17845
17973
|
const context = (await readConfig()).workspace;
|
|
17846
17974
|
if (!explicitToken()?.startsWith("gat_")) {
|
|
@@ -17977,6 +18105,8 @@ async function main() {
|
|
|
17977
18105
|
return scheduleCmd(sub, a1, a2, v);
|
|
17978
18106
|
case "watch":
|
|
17979
18107
|
return watchCmd(sub, a1, a2, v);
|
|
18108
|
+
case "brief":
|
|
18109
|
+
return briefCmd(sub, v);
|
|
17980
18110
|
case "teams":
|
|
17981
18111
|
return teamsCmd(sub, a1, a2, v);
|
|
17982
18112
|
case "browser":
|
|
@@ -18045,7 +18175,7 @@ async function main() {
|
|
|
18045
18175
|
throw unknown(cmd, cmd, COMMANDS, "ghosty --help");
|
|
18046
18176
|
}
|
|
18047
18177
|
}
|
|
18048
|
-
var notice = updateNotice("0.
|
|
18178
|
+
var notice = updateNotice("0.94.0").catch(() => null);
|
|
18049
18179
|
main().then(
|
|
18050
18180
|
async () => {
|
|
18051
18181
|
const n = process.stderr.isTTY ? await notice : null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ghostystudio/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.94.0",
|
|
4
4
|
"description": "Official Ghosty Studio CLI — configure, test and chat with your agents from the terminal. Built for humans and coding agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "esbuild src/index.ts --bundle --platform=node --format=esm --target=node22 --outfile=dist/index.js --banner:js='#!/usr/bin/env node\nimport { createRequire as __cr } from \"node:module\"; const require = __cr(import.meta.url);' --define:__VERSION__=\\\"$npm_package_version\\\"",
|
|
18
18
|
"prepack": "npm run build",
|
|
19
|
-
"test": "for t in flags prompt api rows wa-auth resolve aliases i18n help completion photos channels-retry spaces sites diff cards env teams agents chat owner; do esbuild src/$t.test.ts --bundle --platform=node --format=esm --outfile=/tmp/ghosty-cli-$t.test.mjs --log-level=error || exit 1; done && node --test /tmp/ghosty-cli-*.test.mjs"
|
|
19
|
+
"test": "for t in flags prompt api rows wa-auth resolve aliases i18n help completion photos channels-retry spaces sites diff cards env teams agents chat owner brief; do esbuild src/$t.test.ts --bundle --platform=node --format=esm --outfile=/tmp/ghosty-cli-$t.test.mjs --log-level=error || exit 1; done && node --test /tmp/ghosty-cli-*.test.mjs"
|
|
20
20
|
},
|
|
21
21
|
"keywords": [
|
|
22
22
|
"ghosty",
|