@wirecat/tg-cli 0.113.0 → 0.114.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/bin/tg.js +6 -2
- package/dist/bundle/{adapter-EQKEFGPB.js → adapter-YAEHX3QB.js} +45 -45
- package/dist/bundle/{all-profiles-TTBFF663.js → all-profiles-R5CW42HQ.js} +8 -8
- package/dist/bundle/{anthropic-XPZS7267.js → anthropic-F25RHYV2.js} +5 -5
- package/dist/bundle/{app-server-ZSZ7KRAY.js → app-server-FAG6FNXR.js} +41 -40
- package/dist/bundle/{bot-api-X7BOVNIO.js → bot-api-KOIAXTQR.js} +46 -46
- package/dist/bundle/{bot-history-DWIUIPN5.js → bot-history-PRAOZEWC.js} +16 -15
- package/dist/bundle/{bun-ZGZVAJU2.js → bun-XIMM6EHD.js} +2 -2
- package/dist/bundle/{bun-sqlite-UN2UJ6SI.js → bun-sqlite-DSUCO4TR.js} +4 -4
- package/dist/bundle/{chunk-KK3JVOOV.js → chunk-2PAKHXIV.js} +29 -28
- package/dist/bundle/{chunk-KQ23JWLJ.js → chunk-34USFPBF.js} +18 -18
- package/dist/bundle/{chunk-WSAHUQ6K.js → chunk-3EZ43DAF.js} +3 -3
- package/dist/bundle/{chunk-Q264PYGE.js → chunk-3R43O3GG.js} +49 -16
- package/dist/bundle/{chunk-JDQSX2JQ.js → chunk-4JOKO4IW.js} +6810 -5767
- package/dist/bundle/{chunk-6OKGHHRL.js → chunk-5HKMEXVQ.js} +35 -35
- package/dist/bundle/{chunk-7IWDS2CM.js → chunk-6SPLZI5P.js} +2 -2
- package/dist/bundle/{chunk-J6USEBA6.js → chunk-7FOT4XD2.js} +2178 -923
- package/dist/bundle/{chunk-GX4LRLVD.js → chunk-AL36NHO6.js} +5110 -946
- package/dist/bundle/{chunk-UE75KPAC.js → chunk-ALHKUQDZ.js} +4 -4
- package/dist/bundle/{chunk-IDUYRTPF.js → chunk-C34IDOA5.js} +2 -2
- package/dist/bundle/{chunk-XXNJF3ZM.js → chunk-C7K7AP6G.js} +72 -30
- package/dist/bundle/{chunk-ZID2Y4XU.js → chunk-CDCBFMEI.js} +2 -2
- package/dist/bundle/{chunk-TQ6EA7TB.js → chunk-CS5DQ6KM.js} +15 -14
- package/dist/bundle/{chunk-6WJ5M2Q4.js → chunk-DQQEN3X4.js} +4 -4
- package/dist/bundle/{chunk-4GLMEES6.js → chunk-E2IRSRTB.js} +1 -1
- package/dist/bundle/{chunk-PCRLXJRH.js → chunk-EARO464A.js} +9 -7
- package/dist/bundle/{chunk-K3F46QVN.js → chunk-EQJG44KE.js} +4 -4
- package/dist/bundle/{chunk-VDEXNNMH.js → chunk-HA35XN2Z.js} +6 -4
- package/dist/bundle/{chunk-HNN7EKIM.js → chunk-I6BKSGZQ.js} +333 -164
- package/dist/bundle/{chunk-U3MJQLZQ.js → chunk-IN25CJ3D.js} +13 -13
- package/dist/bundle/{chunk-EGR5IJCG.js → chunk-J5U2HKGZ.js} +32 -26
- package/dist/bundle/{chunk-OQR442B6.js → chunk-KIZT2MI6.js} +1 -1
- package/dist/bundle/{chunk-AGUCXSSM.js → chunk-KZQXOZFC.js} +5 -5
- package/dist/bundle/chunk-L4CMCC3V.js +34 -0
- package/dist/bundle/{chunk-OYNSFQ7K.js → chunk-LPUFOWL3.js} +1 -1
- package/dist/bundle/{chunk-T4TTRFP5.js → chunk-M3IWROIF.js} +7 -7
- package/dist/bundle/{chunk-ENXO43TV.js → chunk-MQTTVQ3V.js} +6 -6
- package/dist/bundle/{chunk-G74QMORP.js → chunk-NJ2I4KFZ.js} +2 -2
- package/dist/bundle/{chunk-PHPNA2HU.js → chunk-NKP3RUM4.js} +11 -11
- package/dist/bundle/{chunk-VDATXIO4.js → chunk-NMVFFWF2.js} +6 -6
- package/dist/bundle/{chunk-KOWQVHXI.js → chunk-NTF34HJP.js} +3 -3
- package/dist/bundle/{chunk-JO45BOYE.js → chunk-NUVBC3LJ.js} +8 -3
- package/dist/bundle/{chunk-UIVLDKWT.js → chunk-O7CBGHI7.js} +1 -1
- package/dist/bundle/{chunk-VVA4555T.js → chunk-OFDMD3YF.js} +8 -8
- package/dist/bundle/{chunk-OC4RRFKH.js → chunk-OWHF6BON.js} +4 -4
- package/dist/bundle/{chunk-HO53POQG.js → chunk-P4YBABUC.js} +5 -40
- package/dist/bundle/{chunk-TUD4MU7S.js → chunk-QCXYJKPF.js} +2 -2
- package/dist/bundle/{chunk-JW7BMJ6O.js → chunk-RBC7JQ4Y.js} +2 -2
- package/dist/bundle/{chunk-5NF7M4MN.js → chunk-RFRI2HFT.js} +1 -1
- package/dist/bundle/{chunk-MTX5EDYJ.js → chunk-TKNCJMYN.js} +1096 -499
- package/dist/bundle/{chunk-PHYDBR5M.js → chunk-TRRRRGMI.js} +2 -2
- package/dist/bundle/{chunk-KVLCIZUK.js → chunk-TTTDZOBW.js} +3 -3
- package/dist/bundle/{chunk-AVUIWZTP.js → chunk-ULFTCR5W.js} +2 -2
- package/dist/bundle/{chunk-IYKRHDX6.js → chunk-VHO66SMY.js} +174 -45
- package/dist/bundle/{chunk-XZ2ZHIAO.js → chunk-VVKEWWSO.js} +1 -1
- package/dist/bundle/{chunk-BI5YJZJB.js → chunk-WIRDTH3J.js} +115 -29
- package/dist/bundle/{chunk-4SQB5VKL.js → chunk-WOQGUIXE.js} +1 -1
- package/dist/bundle/{chunk-OSBAISA5.js → chunk-XDOPONC3.js} +8 -13
- package/dist/bundle/{chunk-3MAYYFKY.js → chunk-Y3AQHPAJ.js} +1 -1
- package/dist/bundle/{chunk-T5RM4Y35.js → chunk-Y4LCSCSH.js} +3 -3
- package/dist/bundle/{chunk-Z6TRIW2O.js → chunk-YPABTT7A.js} +8 -8
- package/dist/bundle/{chunk-6F6K3LWV.js → chunk-YQ64ZNLD.js} +14 -13
- package/dist/bundle/{chunk-JRTZ5I6M.js → chunk-ZFMOPKPT.js} +2 -2
- package/dist/bundle/command-contract-SOTDPG22.js +31 -0
- package/dist/bundle/{decode-AMQVTEMW.js → decode-7U4SXPAN.js} +4 -4
- package/dist/bundle/{echarts-ECYONFQJ.js → echarts-GKEZEAL7.js} +2 -2
- package/dist/bundle/{embed-VZYBZEWI.js → embed-IDZDQMSW.js} +5 -5
- package/dist/bundle/{embedder-GSWBGHRK.js → embedder-RY5R2PGO.js} +8 -8
- package/dist/bundle/{entry-LALZILY4.js → entry-P6YZ3ZV6.js} +8 -5
- package/dist/bundle/{first-run-LEAI623Q.js → first-run-66KTCVQK.js} +9 -9
- package/dist/bundle/first-screen-NY46X6QU.js +29 -0
- package/dist/bundle/{identity-54HA5GN6.js → identity-GXVKGCNU.js} +3 -3
- package/dist/bundle/{instructions-AXLQQS3G.js → instructions-P5E34PQR.js} +1 -1
- package/dist/bundle/{mcp-VVMPUDSL.js → mcp-FUSDPAOL.js} +2 -2
- package/dist/bundle/{node-7JHC5K77.js → node-GKPRXS5Y.js} +2 -2
- package/dist/bundle/{node-sqlite-LYJEK46T.js → node-sqlite-VUXFVPJ6.js} +10 -4
- package/dist/bundle/{oauth-BROPKI3K.js → oauth-7SQIPMOY.js} +6 -6
- package/dist/bundle/{open-C6XQ46JK.js → open-W3BN2SIO.js} +4 -3
- package/dist/bundle/{openai-VWSU7ZDD.js → openai-LQTK3ZMC.js} +13 -13
- package/dist/bundle/{process-QKEFL5HL.js → process-U2P5Z6UF.js} +1 -1
- package/dist/bundle/{program-ACY7O33O.js → program-DIPSLR6O.js} +48 -48
- package/dist/bundle/{prompt-EGULVW2F.js → prompt-GESHKSM5.js} +4 -4
- package/dist/bundle/{proxy-transport-KIMADLQ2.js → proxy-transport-C2EUUT32.js} +4 -4
- package/dist/bundle/{recognize-UMTKLWVR.js → recognize-FEQTIJET.js} +3 -3
- package/dist/bundle/{remote-DABI7PSQ.js → remote-UXOPBPKS.js} +6 -6
- package/dist/bundle/{rerank-ZFATWWBE.js → rerank-L4JM4REK.js} +6 -6
- package/dist/bundle/{serve-B7YYCMGN.js → serve-DDWW44DB.js} +10 -9
- package/dist/bundle/{server-DGKZISZH.js → server-UTWBIZHB.js} +32 -32
- package/dist/bundle/server-ZI7WDAW6.js +56 -0
- package/dist/bundle/{state-AQ2PABA5.js → state-EV7FGEK4.js} +5 -5
- package/dist/bundle/{store-46GJTFLJ.js → store-EXBUF4OG.js} +11 -10
- package/dist/bundle/store-maintenance-command-UBZE2Z6T.js +46 -0
- package/dist/bundle/tg.js +4 -4
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +6 -4
- package/dist/commands/context.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +5 -0
- package/dist/reasons.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/chunk-452UZ2PU.js +0 -3603
- package/dist/bundle/command-contract-GV67H22L.js +0 -32
- package/dist/bundle/first-screen-MOCVLE23.js +0 -30
- package/dist/bundle/server-UC7UWUIS.js +0 -56
- package/dist/bundle/store-maintenance-command-FCFKHGRM.js +0 -45
- /package/dist/bundle/{chunk-HPXYN7F3.js → chunk-NUN6OGOV.js} +0 -0
|
@@ -18,9 +18,9 @@ import {
|
|
|
18
18
|
strictObject,
|
|
19
19
|
string,
|
|
20
20
|
unknown
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-EARO464A.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
24
24
|
var text = string();
|
|
25
25
|
var id = pipe(string(), minLength(1));
|
|
26
26
|
var time = isoTime;
|
|
@@ -44,7 +44,37 @@ var author = strictObject({
|
|
|
44
44
|
name: nullable(text)
|
|
45
45
|
});
|
|
46
46
|
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
48
|
+
var organization = strictObject({
|
|
49
|
+
id,
|
|
50
|
+
ref: reference,
|
|
51
|
+
kind: picklist(["company", "team", "family", "community"]),
|
|
52
|
+
name: text,
|
|
53
|
+
scope: picklist(["personal", "work"]),
|
|
54
|
+
created_at: time
|
|
55
|
+
});
|
|
56
|
+
var project = strictObject({
|
|
57
|
+
id,
|
|
58
|
+
ref: reference,
|
|
59
|
+
key: text,
|
|
60
|
+
name: text,
|
|
61
|
+
kind: picklist(["project", "inbox"]),
|
|
62
|
+
type: picklist(["work", "client", "personal", "oss", "other"]),
|
|
63
|
+
organization_id: nullable(id),
|
|
64
|
+
scope: picklist(["personal", "work"]),
|
|
65
|
+
created_at: time
|
|
66
|
+
});
|
|
67
|
+
var reminder = strictObject({
|
|
68
|
+
id,
|
|
69
|
+
task: text,
|
|
70
|
+
due_at: time,
|
|
71
|
+
timezone: text,
|
|
72
|
+
state: picklist(["pending", "leased", "delivered", "cancelled"]),
|
|
73
|
+
revision: number(),
|
|
74
|
+
receipt: nullable(text)
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
48
78
|
var link = {
|
|
49
79
|
target_text: nullable(text),
|
|
50
80
|
kind: text,
|
|
@@ -85,36 +115,6 @@ var note = strictObject({
|
|
|
85
115
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
86
116
|
});
|
|
87
117
|
|
|
88
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
89
|
-
var organization = strictObject({
|
|
90
|
-
id,
|
|
91
|
-
ref: reference,
|
|
92
|
-
kind: picklist(["company", "team", "family", "community"]),
|
|
93
|
-
name: text,
|
|
94
|
-
scope: picklist(["personal", "work"]),
|
|
95
|
-
created_at: time
|
|
96
|
-
});
|
|
97
|
-
var project = strictObject({
|
|
98
|
-
id,
|
|
99
|
-
ref: reference,
|
|
100
|
-
key: text,
|
|
101
|
-
name: text,
|
|
102
|
-
kind: picklist(["project", "inbox"]),
|
|
103
|
-
type: picklist(["work", "client", "personal", "oss", "other"]),
|
|
104
|
-
organization_id: nullable(id),
|
|
105
|
-
scope: picklist(["personal", "work"]),
|
|
106
|
-
created_at: time
|
|
107
|
-
});
|
|
108
|
-
var reminder = strictObject({
|
|
109
|
-
id,
|
|
110
|
-
task: text,
|
|
111
|
-
due_at: time,
|
|
112
|
-
timezone: text,
|
|
113
|
-
state: picklist(["pending", "leased", "delivered", "cancelled"]),
|
|
114
|
-
revision: number(),
|
|
115
|
-
receipt: nullable(text)
|
|
116
|
-
});
|
|
117
|
-
|
|
118
118
|
export {
|
|
119
119
|
text,
|
|
120
120
|
id,
|
|
@@ -125,8 +125,8 @@ export {
|
|
|
125
125
|
providerMetadata,
|
|
126
126
|
evidenceSource,
|
|
127
127
|
author,
|
|
128
|
-
note,
|
|
129
128
|
organization,
|
|
130
129
|
project,
|
|
131
|
-
reminder
|
|
130
|
+
reminder,
|
|
131
|
+
note
|
|
132
132
|
};
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EARO464A.js";
|
|
6
6
|
import {
|
|
7
7
|
importFrom
|
|
8
8
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.553.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.75.0_commander@15._c8fb11a0c49a39da33a9d557d170ff7b/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
|
|
14
14
|
import { readFileSync } from "node:fs";
|
|
15
15
|
var musl = /* @__PURE__ */ __name(() => {
|
|
16
16
|
if (process.platform !== "linux")
|