@celljs/ta 4.15.1 → 4.16.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/dist/cli.mjs +7 -3
- package/dist/gateway.mjs +2047 -288
- package/dist/pi/CHANGELOG.md +15 -0
- package/dist/pi/package.json +1 -1
- package/dist/pi/packages/ta-3d/package.json +1 -1
- package/dist/pi/packages/ta-agents/extension/index.mjs +8 -6
- package/dist/pi/packages/ta-agents/lib/acp-protocol.d.ts +2 -0
- package/dist/pi/packages/ta-agents/lib/acp-protocol.js +5 -0
- package/dist/pi/packages/ta-agents/lib/agent-session.d.ts +0 -2
- package/dist/pi/packages/ta-agents/lib/agent-session.js +1 -5
- package/dist/pi/packages/ta-agents/lib/agent-turn.d.ts +7 -2
- package/dist/pi/packages/ta-agents/lib/agent-turn.js +8 -4
- package/dist/pi/packages/ta-agents/package.json +1 -1
- package/dist/pi/packages/ta-bots/host/index.mjs +40 -3
- package/dist/pi/packages/ta-bots/package.json +1 -1
- package/dist/pi/packages/ta-changes/package.json +1 -1
- package/dist/pi/packages/ta-channels/host/index.mjs +41 -3
- package/dist/pi/packages/ta-channels/package.json +1 -1
- package/dist/pi/packages/ta-computer-use/package.json +1 -1
- package/dist/pi/packages/ta-cron/package.json +1 -1
- package/dist/pi/packages/ta-extensions/package.json +1 -1
- package/dist/pi/packages/ta-extensions/web/index.js +40 -3
- package/dist/pi/packages/ta-games/package.json +1 -1
- package/dist/pi/packages/ta-glance/README.en.md +2 -0
- package/dist/pi/packages/ta-glance/README.md +2 -0
- package/dist/pi/packages/ta-glance/extension/index.mjs +110 -21
- package/dist/pi/packages/ta-glance/lib/card.js +88 -8
- package/dist/pi/packages/ta-glance/lib/glance-prompt.d.ts +1 -1
- package/dist/pi/packages/ta-glance/lib/glance-prompt.js +7 -4
- package/dist/pi/packages/ta-glance/lib/glance-protocol.d.ts +34 -2
- package/dist/pi/packages/ta-glance/lib/glance-protocol.js +39 -1
- package/dist/pi/packages/ta-glance/lib/glance-spec.js +93 -19
- package/dist/pi/packages/ta-glance/lib/glance-util.d.ts +13 -0
- package/dist/pi/packages/ta-glance/lib/glance-util.js +28 -0
- package/dist/pi/packages/ta-glance/lib/style.d.ts +1 -1
- package/dist/pi/packages/ta-glance/lib/style.js +65 -2
- package/dist/pi/packages/ta-glance/package.json +1 -1
- package/dist/pi/packages/ta-glance/web/index.js +330 -34
- package/dist/pi/packages/ta-initiative/package.json +1 -1
- package/dist/pi/packages/ta-launcher/package.json +1 -1
- package/dist/pi/packages/ta-manual/package.json +1 -1
- package/dist/pi/packages/ta-moments/extension/index.mjs +40 -3
- package/dist/pi/packages/ta-moments/host/index.mjs +40 -3
- package/dist/pi/packages/ta-moments/package.json +1 -1
- package/dist/pi/packages/ta-moments/web/index.js +40 -3
- package/dist/pi/packages/ta-nearby/package.json +1 -1
- package/dist/pi/packages/ta-notify/package.json +1 -1
- package/dist/pi/packages/ta-plot/package.json +1 -1
- package/dist/pi/packages/ta-recall/package.json +1 -1
- package/dist/pi/packages/ta-rooms/package.json +1 -1
- package/dist/pi/packages/ta-share/package.json +1 -1
- package/dist/pi/packages/ta-sync/package.json +1 -1
- package/dist/pi/packages/ta-sync-cloud/package.json +1 -1
- package/dist/pi/packages/ta-team/package.json +1 -1
- package/dist/pi/packages/ta-workspace/package.json +1 -1
- package/dist/pi/packages/ta-workspace/web/index.js +40 -3
- package/dist/public/assets/{abnfDiagram-S7VZAUFO-CD8CaArq.js → abnfDiagram-S7VZAUFO-FSEuUCgT.js} +1 -1
- package/dist/public/assets/{architecture-WOLXFQ4H-f2a9bodL.js → architecture-WOLXFQ4H-Do_DyWCg.js} +1 -1
- package/dist/public/assets/{architectureDiagram-YGSQEFNW-BCWH9CwO.js → architectureDiagram-YGSQEFNW-D-N2qDs4.js} +1 -1
- package/dist/public/assets/{blockDiagram-APKKGZFW-fUamQMeJ.js → blockDiagram-APKKGZFW-Ds6DzHNZ.js} +1 -1
- package/dist/public/assets/{browser-CrMa174j.js → browser-KlrZxPbE.js} +1 -1
- package/dist/public/assets/{c4Diagram-KJ2TOQU5-CkLtnwp1.js → c4Diagram-KJ2TOQU5-D5ZdqxrP.js} +1 -1
- package/dist/public/assets/{chunk-6MUBBAK2-cwcGPuAH.js → chunk-6MUBBAK2-CWOwhB3b.js} +1 -1
- package/dist/public/assets/{chunk-AXFCVDMN-DNkmkYfC.js → chunk-AXFCVDMN-Dr6p2RGg.js} +1 -1
- package/dist/public/assets/{chunk-BG4553SI-C8qbbr2Z.js → chunk-BG4553SI-DUCV_pmW.js} +1 -1
- package/dist/public/assets/{chunk-DQASFODM-C-PJ2CrJ.js → chunk-DQASFODM-Yxd3jIXM.js} +1 -1
- package/dist/public/assets/{chunk-HFQBQIA3-BYcgxNEL.js → chunk-HFQBQIA3-C24I15MF.js} +1 -1
- package/dist/public/assets/{chunk-KQLB2F66-BTDNzrRl.js → chunk-KQLB2F66-Dxk-aejD.js} +1 -1
- package/dist/public/assets/{chunk-KS47KZWR-1sGg1pKP.js → chunk-KS47KZWR-DPyr7gb8.js} +1 -1
- package/dist/public/assets/{chunk-LEVMRMFU-7lAsFwHT.js → chunk-LEVMRMFU-D_mEFJGR.js} +1 -1
- package/dist/public/assets/{chunk-M57EVK23-C8K-ltig.js → chunk-M57EVK23-DfMFxQib.js} +1 -1
- package/dist/public/assets/{chunk-OY52VR5R-CBe1QL_V.js → chunk-OY52VR5R-O9W83Laa.js} +1 -1
- package/dist/public/assets/{chunk-QB3YPZ4I-COhYyyE_.js → chunk-QB3YPZ4I-IdikGcw1.js} +1 -1
- package/dist/public/assets/{chunk-R3KSYZAL-CREAgaSS.js → chunk-R3KSYZAL-DLpaFCvz.js} +1 -1
- package/dist/public/assets/{chunk-STOXU5M4-CTl0P8_C.js → chunk-STOXU5M4-Lx-CZ4Ql.js} +1 -1
- package/dist/public/assets/{chunk-TU62E6Q5-B_GG7baF.js → chunk-TU62E6Q5-DCnr5NsA.js} +1 -1
- package/dist/public/assets/{chunk-X4PVCEUW-CDrSpVOj.js → chunk-X4PVCEUW-Ct7aUJFY.js} +1 -1
- package/dist/public/assets/{chunk-XXDRQBXY-sKeiDEnC.js → chunk-XXDRQBXY-CQhxfoYw.js} +1 -1
- package/dist/public/assets/{classDiagram-v2-L25IHNXF-Cqo1O5FQ.js → classDiagram-v2-L25IHNXF-DPSu5qYq.js} +1 -1
- package/dist/public/assets/{cose-bilkent-JH36ORCC-CTSKeRBe.js → cose-bilkent-JH36ORCC-CFimsFsN.js} +1 -1
- package/dist/public/assets/cynefin-EF2NZ3EQ-Dcc0sCHf.js +1 -0
- package/dist/public/assets/{cynefinDiagram-L36ESFBY-67xEPyP9.js → cynefinDiagram-L36ESFBY-CiAWhkVp.js} +1 -1
- package/dist/public/assets/{d3-selection-BUiX-3qh.js → d3-selection-C8RIDfkO.js} +1 -1
- package/dist/public/assets/{dagre-SPEB5RXH-DDw-u3Kg.js → dagre-SPEB5RXH-l1nRD1Fx.js} +1 -1
- package/dist/public/assets/{diagram-3B7GL73J-BBFInaCs.js → diagram-3B7GL73J-ipqtnhoX.js} +1 -1
- package/dist/public/assets/{diagram-DNEMPZML-ZdnFKM7-.js → diagram-DNEMPZML-VpIcHRUP.js} +1 -1
- package/dist/public/assets/{diagram-L3MUGCDN-CPb04hOv.js → diagram-L3MUGCDN-8VdVmcS6.js} +1 -1
- package/dist/public/assets/{diagram-LA4NIPWU-P9wHFGDS.js → diagram-LA4NIPWU-Bej-aiF0.js} +1 -1
- package/dist/public/assets/{diagram-MHCOC4E2-Ce_Cr-t6.js → diagram-MHCOC4E2-D8gW4bVQ.js} +1 -1
- package/dist/public/assets/{diagram-XPFHEONP-CfS34OHW.js → diagram-XPFHEONP-BMevAJ1M.js} +1 -1
- package/dist/public/assets/{dist-6pZqZEaM.js → dist-DBKJcjvW.js} +1 -1
- package/dist/public/assets/{ebnfDiagram-UZSYDL2S-BkHabCn2.js → ebnfDiagram-UZSYDL2S-C3HDTOzn.js} +1 -1
- package/dist/public/assets/{editor.api-CO4Q0NKb.js → editor.api-BMWdjwhK.js} +1 -1
- package/dist/public/assets/{elk-XV6XMXQE-JpreOVeR.js → elk-XV6XMXQE-XOOPrVin.js} +1 -1
- package/dist/public/assets/{erDiagram-EYBAPDEH-DDFJwzHx.js → erDiagram-EYBAPDEH-Cr-vwx1l.js} +1 -1
- package/dist/public/assets/{eventmodeling-K75KTNOO-DsnkF6Zc.js → eventmodeling-K75KTNOO-DbPhpfxn.js} +1 -1
- package/dist/public/assets/flowDiagram-MALGAFMO-CDXqnHAQ.js +1 -0
- package/dist/public/assets/{freemarker2-Cm4NK652.js → freemarker2-6h_1-8qB.js} +1 -1
- package/dist/public/assets/{ganttDiagram-23REXITY-C7eedoYb.js → ganttDiagram-23REXITY-C7kNPXx3.js} +1 -1
- package/dist/public/assets/gitGraph-VSP46ZUC-KPsoB6Z1.js +1 -0
- package/dist/public/assets/{gitGraphDiagram-STJD7YCW-Cuh3ih-z.js → gitGraphDiagram-STJD7YCW-CVnEJEZr.js} +1 -1
- package/dist/public/assets/{handlebars-BnE51DUi.js → handlebars-F4lp3oLr.js} +1 -1
- package/dist/public/assets/{html-7koekDfa.js → html-Dj6f8B_g.js} +1 -1
- package/dist/public/assets/{index-CQG1XddL.js → index-DnNrrk68.js} +2 -2
- package/dist/public/assets/info-OHQRW6UA-CtM6s0SQ.js +1 -0
- package/dist/public/assets/{infoDiagram-KBXO4MBG-BY3iq7I8.js → infoDiagram-KBXO4MBG-DcttQWdp.js} +1 -1
- package/dist/public/assets/{ishikawaDiagram-M35NCXHK-COjlz24y.js → ishikawaDiagram-M35NCXHK-BSUYTZf6.js} +1 -1
- package/dist/public/assets/{javascript-BUZgUhdn.js → javascript-b_BkOE5Y.js} +1 -1
- package/dist/public/assets/{journeyDiagram-OPLOXDXO-DReJE04Q.js → journeyDiagram-OPLOXDXO-BCfd5-6n.js} +1 -1
- package/dist/public/assets/{jsonMode-qPeVDBDp.js → jsonMode-Cq5QJbVZ.js} +1 -1
- package/dist/public/assets/{kanban-definition-BZKZHSQY-BB0_ePvg.js → kanban-definition-BZKZHSQY-B3nenaw_.js} +1 -1
- package/dist/public/assets/{liquid-CNKL9dLX.js → liquid-CGuZI_Aa.js} +1 -1
- package/dist/public/assets/{mdx-D1_UzrBc.js → mdx-Dt9yTqnf.js} +1 -1
- package/dist/public/assets/{mermaid-parser.core-DiE3z_tV.js → mermaid-parser.core-CquzROwT.js} +3 -3
- package/dist/public/assets/{mermaid.core-CBCRrLdl.js → mermaid.core-Bx-e_Scq.js} +4 -4
- package/dist/public/assets/{mindmap-definition-I2QAS2VK-D-Y5fKl1.js → mindmap-definition-I2QAS2VK-DyeewbnH.js} +1 -1
- package/dist/public/assets/module-C-ofp7U4.js +1 -0
- package/dist/public/assets/module-dnDlIzeV.js +2616 -0
- package/dist/public/assets/{monaco--czRbHhk.js → monaco-nvIdDTWu.js} +3 -3
- package/dist/public/assets/packet-JDAUHWVQ-XKjiwdar.js +1 -0
- package/dist/public/assets/{pegDiagram-FD4XPPHP-1jx5jc73.js → pegDiagram-FD4XPPHP-B884_KoR.js} +1 -1
- package/dist/public/assets/pie-XZMESJXO-MuCMavHL.js +1 -0
- package/dist/public/assets/{pieDiagram-J4AKIIQI-DGv_WCCu.js → pieDiagram-J4AKIIQI-I40wRwyy.js} +1 -1
- package/dist/public/assets/{python-DNZu5LjV.js → python-Djw4wvG9.js} +1 -1
- package/dist/public/assets/{quadrantDiagram-XTYBLID2-BgY0lf8V.js → quadrantDiagram-XTYBLID2-DyNOImfk.js} +1 -1
- package/dist/public/assets/radar-ABXABTNO-Cq12GHJS.js +1 -0
- package/dist/public/assets/railroad-I3PHUGI6-CfeMswZU.js +1 -0
- package/dist/public/assets/{railroad-abnf-LNEFI6M7-tZ7rJxwM.js → railroad-abnf-LNEFI6M7-3G0zWzgf.js} +1 -1
- package/dist/public/assets/{railroad-ebnf-DWYD2UWJ-JO6n_1TK.js → railroad-ebnf-DWYD2UWJ-B5XRDRWS.js} +1 -1
- package/dist/public/assets/{railroad-peg-JR7BVNR7-Bf0PG2YJ.js → railroad-peg-JR7BVNR7-rcIioIyH.js} +1 -1
- package/dist/public/assets/{railroadDiagram-MRQ6NCDL-BMjog84X.js → railroadDiagram-MRQ6NCDL-CDM2ahQM.js} +1 -1
- package/dist/public/assets/{razor-DU-x8qSP.js → razor-CStezNUn.js} +1 -1
- package/dist/public/assets/{requirementDiagram-Y7LWUY3S-CktbbWjr.js → requirementDiagram-Y7LWUY3S-hbb6WtfM.js} +1 -1
- package/dist/public/assets/{sankeyDiagram-WGJFYUXA-CQonOre7.js → sankeyDiagram-WGJFYUXA-DLV3Aoae.js} +1 -1
- package/dist/public/assets/{sequenceDiagram-5NDRBG5M-CAe8-JvA.js → sequenceDiagram-5NDRBG5M-BWxOV5U9.js} +1 -1
- package/dist/public/assets/{stateDiagram-v2-FJ4FJNEA-BrkqOuRm.js → stateDiagram-v2-FJ4FJNEA-C-TaUPaQ.js} +1 -1
- package/dist/public/assets/{swimlanes-UMQ2AFYF-sLpgHBKo.js → swimlanes-UMQ2AFYF-CJY0BFmc.js} +1 -1
- package/dist/public/assets/swimlanesDiagram-OMPLPG4O-DdFDl6aK.js +8 -0
- package/dist/public/assets/{timeline-definition-SEUHKTQE-CHE0x-WN.js → timeline-definition-SEUHKTQE-CUfQb8Gv.js} +1 -1
- package/dist/public/assets/treeView-D4JQ5SDB-BQ4uUy4s.js +1 -0
- package/dist/public/assets/treemap-SAJKECNS-BFTTkjF9.js +1 -0
- package/dist/public/assets/{typescript-BrNT2oWW.js → typescript-B7kmi8MF.js} +1 -1
- package/dist/public/assets/{usecaseDiagram-AFA6YXN4-DwkFRI5R.js → usecaseDiagram-AFA6YXN4-BKTVAp-G.js} +1 -1
- package/dist/public/assets/{vennDiagram-NNMJR3RB-BquQVmJq.js → vennDiagram-NNMJR3RB-CN1RxNTS.js} +1 -1
- package/dist/public/assets/wardley-7MLQ67FV-BbyzsA8S.js +1 -0
- package/dist/public/assets/{wardleyDiagram-S7YFUSEH-sNYFUfMe.js → wardleyDiagram-S7YFUSEH-JJ6qcpu1.js} +1 -1
- package/dist/public/assets/{xml-BY65QKv7.js → xml-DVamlHEU.js} +1 -1
- package/dist/public/assets/{xychartDiagram-GGNKY7IX-CnWEYuid.js → xychartDiagram-GGNKY7IX-BNakYgUZ.js} +1 -1
- package/dist/public/assets/{yaml-BMovUwzO.js → yaml-BihGeFrM.js} +1 -1
- package/dist/public/index.html +1 -1
- package/dist/serve/index.mjs +5965 -5227
- package/package.json +39 -39
- package/dist/public/assets/cynefin-EF2NZ3EQ-CP12ndt7.js +0 -1
- package/dist/public/assets/flowDiagram-MALGAFMO-Djxeacjw.js +0 -1
- package/dist/public/assets/gitGraph-VSP46ZUC-qlWN7ijl.js +0 -1
- package/dist/public/assets/info-OHQRW6UA-jN69V28z.js +0 -1
- package/dist/public/assets/module-BEbKICB1.js +0 -2475
- package/dist/public/assets/module-Egyx6Otv.js +0 -1
- package/dist/public/assets/packet-JDAUHWVQ-Cl8QuXQJ.js +0 -1
- package/dist/public/assets/pie-XZMESJXO-kVGJsGZe.js +0 -1
- package/dist/public/assets/radar-ABXABTNO-Dw71L-n8.js +0 -1
- package/dist/public/assets/railroad-I3PHUGI6-DkaUvI4_.js +0 -1
- package/dist/public/assets/swimlanesDiagram-OMPLPG4O-amBdr5Wc.js +0 -8
- package/dist/public/assets/treeView-D4JQ5SDB-DKLyFqZk.js +0 -1
- package/dist/public/assets/treemap-SAJKECNS-CRG6ogj8.js +0 -1
- package/dist/public/assets/wardley-7MLQ67FV-D2jQfflX.js +0 -1
|
@@ -248,15 +248,47 @@ var TaGatewayServer = Symbol("TaGatewayServer");
|
|
|
248
248
|
var TaLocation;
|
|
249
249
|
(function(TaLocation2) {
|
|
250
250
|
TaLocation2.SSH = "ssh://";
|
|
251
|
+
TaLocation2.CLOUD = "ta://";
|
|
252
|
+
const CLOUD_NAME = /^[a-z0-9][a-z0-9-]{0,39}$/;
|
|
251
253
|
const HOST = /^(?!-)[\w.@:%+[\]-]+$/;
|
|
252
254
|
function isRemote(location) {
|
|
253
|
-
return location.startsWith(TaLocation2.SSH);
|
|
255
|
+
return location.startsWith(TaLocation2.SSH) || location.startsWith(TaLocation2.CLOUD);
|
|
254
256
|
}
|
|
255
257
|
TaLocation2.isRemote = isRemote;
|
|
258
|
+
function isCloud(host2) {
|
|
259
|
+
return !!host2 && host2.startsWith(TaLocation2.CLOUD);
|
|
260
|
+
}
|
|
261
|
+
TaLocation2.isCloud = isCloud;
|
|
262
|
+
function isCloudName(name) {
|
|
263
|
+
return CLOUD_NAME.test(name);
|
|
264
|
+
}
|
|
265
|
+
TaLocation2.isCloudName = isCloudName;
|
|
266
|
+
function cloud(name, path2 = "") {
|
|
267
|
+
return `${TaLocation2.CLOUD}${name}${path2 ? normalize(path2) : ""}`;
|
|
268
|
+
}
|
|
269
|
+
TaLocation2.cloud = cloud;
|
|
270
|
+
function cloudName(hostOrLocation) {
|
|
271
|
+
if (!hostOrLocation.startsWith(TaLocation2.CLOUD)) {
|
|
272
|
+
return;
|
|
273
|
+
}
|
|
274
|
+
const rest = hostOrLocation.slice(TaLocation2.CLOUD.length);
|
|
275
|
+
const slash = rest.indexOf("/");
|
|
276
|
+
return slash < 0 ? rest : rest.slice(0, slash);
|
|
277
|
+
}
|
|
278
|
+
TaLocation2.cloudName = cloudName;
|
|
256
279
|
function parse(location) {
|
|
280
|
+
var _a;
|
|
257
281
|
if (!isRemote(location)) {
|
|
258
282
|
return;
|
|
259
283
|
}
|
|
284
|
+
if (location.startsWith(TaLocation2.CLOUD)) {
|
|
285
|
+
const name = (_a = cloudName(location)) !== null && _a !== undefined ? _a : "";
|
|
286
|
+
if (!isCloudName(name)) {
|
|
287
|
+
throw new Error(`${JSON.stringify(location)} names no cloud workspace: write ta://<name>/<path>.`);
|
|
288
|
+
}
|
|
289
|
+
const path3 = location.slice(TaLocation2.CLOUD.length + name.length);
|
|
290
|
+
return { host: `${TaLocation2.CLOUD}${name}`, path: path3 ? normalize(path3) : "" };
|
|
291
|
+
}
|
|
260
292
|
const rest = location.slice(TaLocation2.SSH.length);
|
|
261
293
|
const slash = rest.indexOf("/");
|
|
262
294
|
const host2 = slash < 0 ? rest : rest.slice(0, slash);
|
|
@@ -268,7 +300,7 @@ var TaLocation;
|
|
|
268
300
|
}
|
|
269
301
|
TaLocation2.parse = parse;
|
|
270
302
|
function isHost(host2) {
|
|
271
|
-
return HOST.test(host2);
|
|
303
|
+
return isCloud(host2) ? isCloudName(host2.slice(TaLocation2.CLOUD.length)) : HOST.test(host2);
|
|
272
304
|
}
|
|
273
305
|
TaLocation2.isHost = isHost;
|
|
274
306
|
const FLAGS = /^-[46AaCfGgKkMNnqsTtVvXxYy]+$/;
|
|
@@ -332,10 +364,13 @@ var TaLocation;
|
|
|
332
364
|
}
|
|
333
365
|
TaLocation2.readHost = readHost;
|
|
334
366
|
function ssh(host2, path2 = "") {
|
|
335
|
-
return `${TaLocation2.SSH}${host2}${path2 ? normalize(path2) : ""}`;
|
|
367
|
+
return isCloud(host2) ? `${host2}${path2 ? normalize(path2) : ""}` : `${TaLocation2.SSH}${host2}${path2 ? normalize(path2) : ""}`;
|
|
336
368
|
}
|
|
337
369
|
TaLocation2.ssh = ssh;
|
|
338
370
|
function hostLabel(host2) {
|
|
371
|
+
if (isCloud(host2)) {
|
|
372
|
+
return host2.slice(TaLocation2.CLOUD.length);
|
|
373
|
+
}
|
|
339
374
|
const name = host2.replace(/^[^@]*@/, "").replace(/^\[(.*)\](?::\d+)?$/, "$1").replace(/^([^:]*):\d+$/, "$1");
|
|
340
375
|
return /^[\d.]+$/.test(name) || name.includes(":") ? name : name.split(".")[0] || name;
|
|
341
376
|
}
|
|
@@ -761,6 +796,8 @@ var TaActionUtil;
|
|
|
761
796
|
}
|
|
762
797
|
TaActionUtil2.inside = inside;
|
|
763
798
|
})(TaActionUtil || (TaActionUtil = {}));
|
|
799
|
+
// ../ta-protocol/esm/common/usage-protocol.js
|
|
800
|
+
var TaUsageServer = Symbol("TaUsageServer");
|
|
764
801
|
// ../ta-protocol/esm/common/workspace-protocol.js
|
|
765
802
|
var TaWorkspaceServer = Symbol("TaWorkspaceServer");
|
|
766
803
|
var TaTerminalServer = Symbol("TaTerminalServer");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-moments",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.16.0",
|
|
4
4
|
"description": "A pi package for Ta: Moments, what friends made with Ta that one can take and use. Ta drafts a post of what you made and you post it; your Ta friends see it, like it and take it, their Ta reading the code first",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
@@ -499,15 +499,47 @@ var TaGatewayServer = Symbol("TaGatewayServer");
|
|
|
499
499
|
var TaLocation;
|
|
500
500
|
(function(TaLocation2) {
|
|
501
501
|
TaLocation2.SSH = "ssh://";
|
|
502
|
+
TaLocation2.CLOUD = "ta://";
|
|
503
|
+
const CLOUD_NAME = /^[a-z0-9][a-z0-9-]{0,39}$/;
|
|
502
504
|
const HOST = /^(?!-)[\w.@:%+[\]-]+$/;
|
|
503
505
|
function isRemote(location) {
|
|
504
|
-
return location.startsWith(TaLocation2.SSH);
|
|
506
|
+
return location.startsWith(TaLocation2.SSH) || location.startsWith(TaLocation2.CLOUD);
|
|
505
507
|
}
|
|
506
508
|
TaLocation2.isRemote = isRemote;
|
|
509
|
+
function isCloud(host2) {
|
|
510
|
+
return !!host2 && host2.startsWith(TaLocation2.CLOUD);
|
|
511
|
+
}
|
|
512
|
+
TaLocation2.isCloud = isCloud;
|
|
513
|
+
function isCloudName(name) {
|
|
514
|
+
return CLOUD_NAME.test(name);
|
|
515
|
+
}
|
|
516
|
+
TaLocation2.isCloudName = isCloudName;
|
|
517
|
+
function cloud(name, path2 = "") {
|
|
518
|
+
return `${TaLocation2.CLOUD}${name}${path2 ? normalize(path2) : ""}`;
|
|
519
|
+
}
|
|
520
|
+
TaLocation2.cloud = cloud;
|
|
521
|
+
function cloudName(hostOrLocation) {
|
|
522
|
+
if (!hostOrLocation.startsWith(TaLocation2.CLOUD)) {
|
|
523
|
+
return;
|
|
524
|
+
}
|
|
525
|
+
const rest = hostOrLocation.slice(TaLocation2.CLOUD.length);
|
|
526
|
+
const slash = rest.indexOf("/");
|
|
527
|
+
return slash < 0 ? rest : rest.slice(0, slash);
|
|
528
|
+
}
|
|
529
|
+
TaLocation2.cloudName = cloudName;
|
|
507
530
|
function parse(location) {
|
|
531
|
+
var _a;
|
|
508
532
|
if (!isRemote(location)) {
|
|
509
533
|
return;
|
|
510
534
|
}
|
|
535
|
+
if (location.startsWith(TaLocation2.CLOUD)) {
|
|
536
|
+
const name = (_a = cloudName(location)) !== null && _a !== undefined ? _a : "";
|
|
537
|
+
if (!isCloudName(name)) {
|
|
538
|
+
throw new Error(`${JSON.stringify(location)} names no cloud workspace: write ta://<name>/<path>.`);
|
|
539
|
+
}
|
|
540
|
+
const path3 = location.slice(TaLocation2.CLOUD.length + name.length);
|
|
541
|
+
return { host: `${TaLocation2.CLOUD}${name}`, path: path3 ? normalize(path3) : "" };
|
|
542
|
+
}
|
|
511
543
|
const rest = location.slice(TaLocation2.SSH.length);
|
|
512
544
|
const slash = rest.indexOf("/");
|
|
513
545
|
const host2 = slash < 0 ? rest : rest.slice(0, slash);
|
|
@@ -519,7 +551,7 @@ var TaLocation;
|
|
|
519
551
|
}
|
|
520
552
|
TaLocation2.parse = parse;
|
|
521
553
|
function isHost(host2) {
|
|
522
|
-
return HOST.test(host2);
|
|
554
|
+
return isCloud(host2) ? isCloudName(host2.slice(TaLocation2.CLOUD.length)) : HOST.test(host2);
|
|
523
555
|
}
|
|
524
556
|
TaLocation2.isHost = isHost;
|
|
525
557
|
const FLAGS = /^-[46AaCfGgKkMNnqsTtVvXxYy]+$/;
|
|
@@ -583,10 +615,13 @@ var TaLocation;
|
|
|
583
615
|
}
|
|
584
616
|
TaLocation2.readHost = readHost;
|
|
585
617
|
function ssh(host2, path2 = "") {
|
|
586
|
-
return `${TaLocation2.SSH}${host2}${path2 ? normalize(path2) : ""}`;
|
|
618
|
+
return isCloud(host2) ? `${host2}${path2 ? normalize(path2) : ""}` : `${TaLocation2.SSH}${host2}${path2 ? normalize(path2) : ""}`;
|
|
587
619
|
}
|
|
588
620
|
TaLocation2.ssh = ssh;
|
|
589
621
|
function hostLabel(host2) {
|
|
622
|
+
if (isCloud(host2)) {
|
|
623
|
+
return host2.slice(TaLocation2.CLOUD.length);
|
|
624
|
+
}
|
|
590
625
|
const name = host2.replace(/^[^@]*@/, "").replace(/^\[(.*)\](?::\d+)?$/, "$1").replace(/^([^:]*):\d+$/, "$1");
|
|
591
626
|
return /^[\d.]+$/.test(name) || name.includes(":") ? name : name.split(".")[0] || name;
|
|
592
627
|
}
|
|
@@ -1118,6 +1153,8 @@ var TaActionUtil;
|
|
|
1118
1153
|
}
|
|
1119
1154
|
TaActionUtil2.inside = inside;
|
|
1120
1155
|
})(TaActionUtil || (TaActionUtil = {}));
|
|
1156
|
+
// ../ta-protocol/esm/common/usage-protocol.js
|
|
1157
|
+
var TaUsageServer = Symbol("TaUsageServer");
|
|
1121
1158
|
// ../ta-protocol/esm/common/workspace-protocol.js
|
|
1122
1159
|
var TaWorkspaceServer = Symbol("TaWorkspaceServer");
|
|
1123
1160
|
var TaTerminalServer = Symbol("TaTerminalServer");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-nearby",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.16.0",
|
|
4
4
|
"description": "A pi package for Ta: the other Ta around on the same network while you let them see you, known to Ta in your conversations, and rooms of those present made in a tap",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-notify",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.16.0",
|
|
4
4
|
"description": "A pi package for Ta: tells the user when a conversation needs them, failed or answered, while they look elsewhere, and lets Ta ask them to decide with answers to pick",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-recall",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.16.0",
|
|
4
4
|
"description": "A pi package for Ta: asks earlier conversations what was done, offers to keep a request asked again as an extension (steps, a card, a page), and writes a daily brief of what got done and what waits for the user",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-rooms",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.16.0",
|
|
4
4
|
"description": "A pi package for Ta: rooms shared with other Ta through the relay, end to end: who asks to join and the owner's answer, your rooms and their members, your Ta friends, and links that invite",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-share",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.16.0",
|
|
4
4
|
"description": "A pi package for Ta: share a conversation, a page or a file by a link, public, with a password or for yourself, end to end through the relay; open and import what others share",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-sync",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.16.0",
|
|
4
4
|
"description": "A pi package for Ta: the user's settings, instructions, skills, extensions and the data extensions declare, the same on each of their computers, through a room of the relay sealed end to end, without an account",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-sync-cloud",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.16.0",
|
|
4
4
|
"description": "A pi package for Ta: sync of the user's computers in storage of their own, a WebDAV server (Jianguoyun, Nextcloud, a NAS) a bucket of S3 (AWS, Cloudflare R2, MinIO) or a git repository, sealed, with no relay",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-team",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.16.0",
|
|
4
4
|
"description": "A pi package for Ta: people let into your Ta by a link, each with a role (admin, collaborator, viewer, guest, or one of your own), what they may do checked by the Ta service for every call and every tool, asking for more and the answers, and a record",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-workspace",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.16.0",
|
|
4
4
|
"description": "A pi package for Ta: the workspace beside the conversation, with an explorer, open files, search, source control, terminals and a browser",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
@@ -6221,15 +6221,47 @@ var TaGatewayServer = Symbol("TaGatewayServer");
|
|
|
6221
6221
|
var TaLocation;
|
|
6222
6222
|
(function(TaLocation2) {
|
|
6223
6223
|
TaLocation2.SSH = "ssh://";
|
|
6224
|
+
TaLocation2.CLOUD = "ta://";
|
|
6225
|
+
const CLOUD_NAME = /^[a-z0-9][a-z0-9-]{0,39}$/;
|
|
6224
6226
|
const HOST = /^(?!-)[\w.@:%+[\]-]+$/;
|
|
6225
6227
|
function isRemote(location2) {
|
|
6226
|
-
return location2.startsWith(TaLocation2.SSH);
|
|
6228
|
+
return location2.startsWith(TaLocation2.SSH) || location2.startsWith(TaLocation2.CLOUD);
|
|
6227
6229
|
}
|
|
6228
6230
|
TaLocation2.isRemote = isRemote;
|
|
6231
|
+
function isCloud(host2) {
|
|
6232
|
+
return !!host2 && host2.startsWith(TaLocation2.CLOUD);
|
|
6233
|
+
}
|
|
6234
|
+
TaLocation2.isCloud = isCloud;
|
|
6235
|
+
function isCloudName(name) {
|
|
6236
|
+
return CLOUD_NAME.test(name);
|
|
6237
|
+
}
|
|
6238
|
+
TaLocation2.isCloudName = isCloudName;
|
|
6239
|
+
function cloud(name, path2 = "") {
|
|
6240
|
+
return `${TaLocation2.CLOUD}${name}${path2 ? normalize(path2) : ""}`;
|
|
6241
|
+
}
|
|
6242
|
+
TaLocation2.cloud = cloud;
|
|
6243
|
+
function cloudName(hostOrLocation) {
|
|
6244
|
+
if (!hostOrLocation.startsWith(TaLocation2.CLOUD)) {
|
|
6245
|
+
return;
|
|
6246
|
+
}
|
|
6247
|
+
const rest = hostOrLocation.slice(TaLocation2.CLOUD.length);
|
|
6248
|
+
const slash = rest.indexOf("/");
|
|
6249
|
+
return slash < 0 ? rest : rest.slice(0, slash);
|
|
6250
|
+
}
|
|
6251
|
+
TaLocation2.cloudName = cloudName;
|
|
6229
6252
|
function parse(location2) {
|
|
6253
|
+
var _a;
|
|
6230
6254
|
if (!isRemote(location2)) {
|
|
6231
6255
|
return;
|
|
6232
6256
|
}
|
|
6257
|
+
if (location2.startsWith(TaLocation2.CLOUD)) {
|
|
6258
|
+
const name = (_a = cloudName(location2)) !== null && _a !== undefined ? _a : "";
|
|
6259
|
+
if (!isCloudName(name)) {
|
|
6260
|
+
throw new Error(`${JSON.stringify(location2)} names no cloud workspace: write ta://<name>/<path>.`);
|
|
6261
|
+
}
|
|
6262
|
+
const path3 = location2.slice(TaLocation2.CLOUD.length + name.length);
|
|
6263
|
+
return { host: `${TaLocation2.CLOUD}${name}`, path: path3 ? normalize(path3) : "" };
|
|
6264
|
+
}
|
|
6233
6265
|
const rest = location2.slice(TaLocation2.SSH.length);
|
|
6234
6266
|
const slash = rest.indexOf("/");
|
|
6235
6267
|
const host2 = slash < 0 ? rest : rest.slice(0, slash);
|
|
@@ -6241,7 +6273,7 @@ var TaLocation;
|
|
|
6241
6273
|
}
|
|
6242
6274
|
TaLocation2.parse = parse;
|
|
6243
6275
|
function isHost(host2) {
|
|
6244
|
-
return HOST.test(host2);
|
|
6276
|
+
return isCloud(host2) ? isCloudName(host2.slice(TaLocation2.CLOUD.length)) : HOST.test(host2);
|
|
6245
6277
|
}
|
|
6246
6278
|
TaLocation2.isHost = isHost;
|
|
6247
6279
|
const FLAGS = /^-[46AaCfGgKkMNnqsTtVvXxYy]+$/;
|
|
@@ -6305,10 +6337,13 @@ var TaLocation;
|
|
|
6305
6337
|
}
|
|
6306
6338
|
TaLocation2.readHost = readHost;
|
|
6307
6339
|
function ssh(host2, path2 = "") {
|
|
6308
|
-
return `${TaLocation2.SSH}${host2}${path2 ? normalize(path2) : ""}`;
|
|
6340
|
+
return isCloud(host2) ? `${host2}${path2 ? normalize(path2) : ""}` : `${TaLocation2.SSH}${host2}${path2 ? normalize(path2) : ""}`;
|
|
6309
6341
|
}
|
|
6310
6342
|
TaLocation2.ssh = ssh;
|
|
6311
6343
|
function hostLabel(host2) {
|
|
6344
|
+
if (isCloud(host2)) {
|
|
6345
|
+
return host2.slice(TaLocation2.CLOUD.length);
|
|
6346
|
+
}
|
|
6312
6347
|
const name = host2.replace(/^[^@]*@/, "").replace(/^\[(.*)\](?::\d+)?$/, "$1").replace(/^([^:]*):\d+$/, "$1");
|
|
6313
6348
|
return /^[\d.]+$/.test(name) || name.includes(":") ? name : name.split(".")[0] || name;
|
|
6314
6349
|
}
|
|
@@ -6840,6 +6875,8 @@ var TaActionUtil;
|
|
|
6840
6875
|
}
|
|
6841
6876
|
TaActionUtil2.inside = inside;
|
|
6842
6877
|
})(TaActionUtil || (TaActionUtil = {}));
|
|
6878
|
+
// ../ta-protocol/esm/common/usage-protocol.js
|
|
6879
|
+
var TaUsageServer = Symbol("TaUsageServer");
|
|
6843
6880
|
// ../ta-protocol/esm/common/workspace-protocol.js
|
|
6844
6881
|
var TaWorkspaceServer = Symbol("TaWorkspaceServer");
|
|
6845
6882
|
var TaTerminalServer = Symbol("TaTerminalServer");
|
package/dist/public/assets/{abnfDiagram-S7VZAUFO-CD8CaArq.js → abnfDiagram-S7VZAUFO-FSEuUCgT.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,r as t,t as n}from"./chunk-OY52VR5R-
|
|
1
|
+
import{n as e,r as t,t as n}from"./chunk-OY52VR5R-O9W83Laa.js";import{t as r}from"./chunk-JWPE2WC7-DVXcaiue.js";import"./mermaid.core-Bx-e_Scq.js";import"./chunk-BG4553SI-DUCV_pmW.js";import{n as i}from"./d3-selection-C8RIDfkO.js";import{n as a}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{m as o,t as s}from"./mermaid-parser.core-CquzROwT.js";var c=o().RailroadAbnf.parser.LangiumParser,l=a(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformAlternation`),u=a(e=>{let t=e.elements.map(f);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformConcatenation`),d=a(e=>{if(e.includes(`*`)){let[t,n]=e.split(`*`);return{min:t?parseInt(t,10):0,max:n?parseInt(n,10):1/0}}let t=parseInt(e,10);return{min:t,max:t}},`parseRepeat`),f=a(e=>{let t=p(e.primary);if(!e.repeat)return t;let{min:n,max:r}=d(e.repeat);return n===0&&r===1?{type:`optional`,element:t}:{type:`repetition`,element:t,min:n,max:r}},`transformElement`),p=a(e=>{switch(e.$type){case`AbnfStringLiteral`:return{type:`terminal`,value:e.value};case`AbnfNumVal`:return{type:`terminal`,value:e.value};case`AbnfRuleName`:return{type:`nonterminal`,name:e.name};case`AbnfGroup`:return l(e.element);case`AbnfOptionalGroup`:return{type:`optional`,element:l(e.element)};default:throw Error(`Unsupported ABNF primary node: ${e.$type}`)}},`transformPrimary`),m=a(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),h=a(e=>{r(e,n),e.title&&n.setTitle(e.title),e.rules.map(e=>n.addRule(m(e)))},`populateDb`),g={parser:{parse:a(e=>{n.clear(),i.debug(`[ABNF Parser] Starting Langium parse`);let t=c.parse(e);if(t.lexerErrors.length>0||t.parserErrors.length>0)throw new s(t);let r=t.value;i.debug(`[ABNF Parser] Parsed rules:`,r.rules.length),h(r),i.debug(`[ABNF Parser] Parse complete`)},`parse`),parser:{yy:n}},db:n,renderer:t,styles:e};export{g as diagram};
|
package/dist/public/assets/{architecture-WOLXFQ4H-f2a9bodL.js → architecture-WOLXFQ4H-Do_DyWCg.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{M as createArchitectureServices}from"./mermaid-parser.core-
|
|
1
|
+
export{M as createArchitectureServices}from"./mermaid-parser.core-CquzROwT.js";import"./chunk-NGNAAXSQ-Bxuf9Ivc.js";
|