@wirecat/notion-cli 0.6.0 → 0.7.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/CHANGELOG.md +12 -0
- package/dist/bin/notion.js +2 -2
- package/dist/bundle/agent-AILW4JPO.js +42 -0
- package/dist/bundle/{all-profiles-AELHUTFU.js → all-profiles-CKOACXTW.js} +11 -11
- package/dist/bundle/{anthropic-3CCYAGO3.js → anthropic-DWBBVTU3.js} +5 -5
- package/dist/bundle/{app-server-DJ6P4NY4.js → app-server-BHFYNCDE.js} +72 -72
- package/dist/bundle/{bun-2FLR4IV4.js → bun-ICK2XT7J.js} +2 -2
- package/dist/bundle/{bun-sqlite-QB6CU6TH.js → bun-sqlite-LU5V5Y4A.js} +6 -6
- package/dist/bundle/{chunk-4RFR4J2O.js → chunk-2OZVCNU5.js} +2 -2
- package/dist/bundle/{chunk-6EJCI47L.js → chunk-2RNJ2JP3.js} +4 -4
- package/dist/bundle/{chunk-F5ZAN7OC.js → chunk-364ET7LV.js} +1 -1
- package/dist/bundle/{chunk-WAGADES3.js → chunk-3AKMIKND.js} +17 -17
- package/dist/bundle/{chunk-HVXOA4FO.js → chunk-3DGHBXH2.js} +1 -1
- package/dist/bundle/{chunk-VH7526NL.js → chunk-3KOJNZH3.js} +3 -3
- package/dist/bundle/{chunk-T37TAXVL.js → chunk-3T3OAYL4.js} +2 -2
- package/dist/bundle/{chunk-XYQVVW4R.js → chunk-3YXYA6HB.js} +1 -1
- package/dist/bundle/{chunk-3MYN2RMG.js → chunk-3ZSUVFR7.js} +8 -8
- package/dist/bundle/{chunk-STTO2MSY.js → chunk-46JBCXLI.js} +6 -6
- package/dist/bundle/{chunk-HM6AMYHR.js → chunk-4FHKSSXQ.js} +2 -2
- package/dist/bundle/{chunk-RD7BKTWV.js → chunk-5NFIUY2P.js} +4 -4
- package/dist/bundle/{chunk-3UX4VJWD.js → chunk-63SW4UXG.js} +3 -4
- package/dist/bundle/{chunk-2XUV7HNE.js → chunk-64IK7JFO.js} +2 -2
- package/dist/bundle/{chunk-2Z7UOXFC.js → chunk-6MQSBWWF.js} +1 -1
- package/dist/bundle/{chunk-SAPP2LEH.js → chunk-6UZ5D2WP.js} +7 -7
- package/dist/bundle/{chunk-CL3YNUCC.js → chunk-7COTHS6G.js} +6 -6
- package/dist/bundle/{chunk-3LMW7U7F.js → chunk-A3RJ6FD5.js} +21 -8
- package/dist/bundle/{chunk-ZDYEOE7L.js → chunk-ADCAWRRX.js} +48 -48
- package/dist/bundle/{chunk-IJVTN5L3.js → chunk-ALAPDLCP.js} +2 -2
- package/dist/bundle/{chunk-DGMTSDKB.js → chunk-B6DJQBZI.js} +5 -5
- package/dist/bundle/{chunk-BAXNAOOL.js → chunk-BFCRGLOF.js} +3 -3
- package/dist/bundle/{chunk-YYQ5GKAI.js → chunk-BFHPT67P.js} +655 -565
- package/dist/bundle/{chunk-6YOMPW7Y.js → chunk-BQ6CXCLP.js} +8 -8
- package/dist/bundle/{chunk-BEV5LO4D.js → chunk-BXXHUO7Y.js} +13 -13
- package/dist/bundle/{chunk-W2VQDIU5.js → chunk-DCSPCOPB.js} +9 -9
- package/dist/bundle/{chunk-KB35BVTG.js → chunk-EMIJVLOA.js} +2 -2
- package/dist/bundle/{chunk-FMMYBVCH.js → chunk-EUF5JNPG.js} +1 -1
- package/dist/bundle/{chunk-Q7EIL6VU.js → chunk-EWXMIKZN.js} +28 -28
- package/dist/bundle/{chunk-LC6WE6JS.js → chunk-FHYV4VWY.js} +14 -7
- package/dist/bundle/{chunk-GPRJXJC7.js → chunk-FNESLLZS.js} +15 -1
- package/dist/bundle/{chunk-JFSVAOA7.js → chunk-FO3XY2Y2.js} +2 -2
- package/dist/bundle/{chunk-7L2XOKDZ.js → chunk-HJDQTM3T.js} +8 -8
- package/dist/bundle/{chunk-FV4WTZCU.js → chunk-HOO53OYK.js} +16 -16
- package/dist/bundle/{chunk-T6XIBULH.js → chunk-HSVKU4OJ.js} +45 -31
- package/dist/bundle/{chunk-OEQNP56V.js → chunk-IEY7KS6Q.js} +1 -1
- package/dist/bundle/{chunk-QGGRFRMP.js → chunk-ITW26OBI.js} +38 -38
- package/dist/bundle/{chunk-IURYZSG3.js → chunk-ITWINZ6R.js} +12 -12
- package/dist/bundle/{chunk-WAU5LSHP.js → chunk-IYZWHCZJ.js} +90 -11
- package/dist/bundle/{chunk-YUDVRFXN.js → chunk-J3DZVB67.js} +1 -1
- package/dist/bundle/{chunk-GCAJW4SR.js → chunk-JEZJFQQW.js} +1 -1
- package/dist/bundle/{chunk-AE4VW4NB.js → chunk-JPGN473W.js} +3 -3
- package/dist/bundle/{chunk-NSR43UEW.js → chunk-JVRBW5LH.js} +5 -5
- package/dist/bundle/{chunk-DIU2QJJF.js → chunk-KBY42GKW.js} +23 -23
- package/dist/bundle/{chunk-WGZH2M64.js → chunk-KWBLDSRV.js} +16 -3
- package/dist/bundle/{chunk-P27NDZQR.js → chunk-LBRTLZHI.js} +171 -157
- package/dist/bundle/{chunk-WB2KSQIP.js → chunk-LEPPRULN.js} +20 -6
- package/dist/bundle/{chunk-ERN53B3Z.js → chunk-LVAFTQ45.js} +18 -18
- package/dist/bundle/{chunk-PHKED7AG.js → chunk-MB4HXDBT.js} +5 -5
- package/dist/bundle/{chunk-BQBC2WIG.js → chunk-N3NJPHZB.js} +1 -1
- package/dist/bundle/{chunk-DHVVXQEL.js → chunk-NCCRLAAI.js} +3 -3
- package/dist/bundle/{chunk-HOVHE3A3.js → chunk-NV7NNL5T.js} +7 -7
- package/dist/bundle/{chunk-TFT4FVRU.js → chunk-OALFRUMI.js} +2 -2
- package/dist/bundle/{chunk-CFQQTDSA.js → chunk-OCGNOJYD.js} +1 -1
- package/dist/bundle/{chunk-2CMLY2X3.js → chunk-OFMCU3BH.js} +5 -5
- package/dist/bundle/{chunk-FRB2L7OE.js → chunk-OP2BH55P.js} +3 -3
- package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-OS4WPXPZ.js} +4 -4
- package/dist/bundle/{chunk-ESZHGC4Q.js → chunk-OW5HW3TD.js} +6 -6
- package/dist/bundle/{chunk-5OJLUUOJ.js → chunk-PDVXG3T3.js} +6 -6
- package/dist/bundle/{chunk-4VXXOJ2F.js → chunk-PSMRUOII.js} +3 -3
- package/dist/bundle/{chunk-EHW45LLT.js → chunk-QK52ARAU.js} +3 -3
- package/dist/bundle/{chunk-AZLDR36U.js → chunk-QMNEDK7Z.js} +3 -3
- package/dist/bundle/{chunk-RXU5T5NM.js → chunk-R4JV3VLU.js} +12 -12
- package/dist/bundle/{chunk-5XPHFV7H.js → chunk-REOBWSGV.js} +8 -8
- package/dist/bundle/{chunk-LECMHK2F.js → chunk-RNVYNPXT.js} +1 -1
- package/dist/bundle/{chunk-JVESLS7B.js → chunk-RXGX2CZX.js} +63 -63
- package/dist/bundle/{chunk-KNCPBX5P.js → chunk-S35UJBFZ.js} +19 -19
- package/dist/bundle/{chunk-LQVDFD65.js → chunk-S5P7THM5.js} +2 -2
- package/dist/bundle/{chunk-A42T4YX7.js → chunk-SRVTGI3M.js} +2 -2
- package/dist/bundle/{chunk-CHPWBQUK.js → chunk-TWY543BS.js} +1 -1
- package/dist/bundle/{chunk-EZMG5QXB.js → chunk-UO4O6WQ4.js} +8 -8
- package/dist/bundle/{chunk-KGAUINBO.js → chunk-UQVUXG7H.js} +10 -10
- package/dist/bundle/{chunk-GUIQJUJV.js → chunk-UYEDQGMI.js} +6 -6
- package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-VRBEYOJL.js} +1 -1
- package/dist/bundle/{chunk-YDDI4QIT.js → chunk-VXKD533R.js} +575 -447
- package/dist/bundle/{chunk-KZJQPJK5.js → chunk-VYZ2J7DT.js} +4 -4
- package/dist/bundle/{chunk-G4ZU73SD.js → chunk-WJFQMOVM.js} +75 -60
- package/dist/bundle/{chunk-YXYZAWWW.js → chunk-WUNEJRLJ.js} +6 -6
- package/dist/bundle/{chunk-HHEWTLAT.js → chunk-X5LUHN62.js} +2 -2
- package/dist/bundle/{chunk-UOC52GCB.js → chunk-X737FHZP.js} +4 -4
- package/dist/bundle/{chunk-K5IC4FZN.js → chunk-YSF5JBRA.js} +1 -1
- package/dist/bundle/{chunk-SEAGUFBX.js → chunk-ZGUUP2T3.js} +12 -12
- package/dist/bundle/{chunk-QEJFBORC.js → chunk-ZMKAI3F3.js} +3 -3
- package/dist/bundle/command-contract-C2CF4QAH.js +41 -0
- package/dist/bundle/{command-server-entry-VUR6WL77.js → command-server-entry-F3B2KSPO.js} +29 -29
- package/dist/bundle/{decode-I64PF2RM.js → decode-FDHFF7GC.js} +5 -5
- package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-IXKG5Z5Y.js} +8 -8
- package/dist/bundle/{echarts-YRRVLEX3.js → echarts-PGJPVPA4.js} +2 -2
- package/dist/bundle/{embed-BLXLKMK2.js → embed-U6X7CNNK.js} +6 -6
- package/dist/bundle/{embedder-JYGF6R7I.js → embedder-3ROL6ROQ.js} +9 -9
- package/dist/bundle/{failure-I6AAF5R5.js → failure-IYMRXM2X.js} +2 -2
- package/dist/bundle/{first-run-YLDOZGY6.js → first-run-PNVNHGR7.js} +12 -12
- package/dist/bundle/first-screen-DEDD64YH.js +41 -0
- package/dist/bundle/{instructions-AG7SRWTR.js → instructions-MJQWRI2D.js} +1 -1
- package/dist/bundle/{mcp-YGOAUNC3.js → mcp-JNHOSK4L.js} +2 -2
- package/dist/bundle/meeting-combined-HEC25QPY.js +25 -0
- package/dist/bundle/meeting-model-R7QPDNZZ.js +27 -0
- package/dist/bundle/{meeting-semantic-3DZPHM7L.js → meeting-semantic-7WPLMBNT.js} +6 -6
- package/dist/bundle/{node-GJQYN4FT.js → node-3UXNV3CD.js} +2 -2
- package/dist/bundle/{node-sqlite-7VXIRQPH.js → node-sqlite-ULWDWM3I.js} +7 -7
- package/dist/bundle/notes-search-7PE3E3C7.js +64 -0
- package/dist/bundle/notion.js +13 -13
- package/dist/bundle/{oauth-N67CH2TK.js → oauth-LNUZMA72.js} +7 -7
- package/dist/bundle/{open-JGXVHIKO.js → open-HGHC35M4.js} +5 -5
- package/dist/bundle/{openai-PFQJTF4H.js → openai-ISSP57MV.js} +18 -18
- package/dist/bundle/{process-MEKCZMX3.js → process-PB2WCOR2.js} +1 -1
- package/dist/bundle/{program-DUJYLJH5.js → program-GASBJRMG.js} +1987 -1245
- package/dist/bundle/{prompt-FW44QDHD.js → prompt-3VGQVX2B.js} +5 -5
- package/dist/bundle/{recognize-62TDQ6A7.js → recognize-7Q2P3NME.js} +4 -4
- package/dist/bundle/{remote-7ONFD7GG.js → remote-BBAWKVIT.js} +11 -11
- package/dist/bundle/{rerank-YOHQQJS4.js → rerank-H4PUS4HV.js} +7 -7
- package/dist/bundle/{schemas-IIGJ7DOP.js → schemas-TTVUADHT.js} +1 -1
- package/dist/bundle/{serve-ZCXGT5RB.js → serve-FZNSKY7R.js} +9 -9
- package/dist/bundle/{server-RQ74M637.js → server-BRRNDW6L.js} +64 -64
- package/dist/bundle/server-CQJ4LKAZ.js +90 -0
- package/dist/bundle/{services-FWBRZ57M.js → services-PEU557KZ.js} +51 -51
- package/dist/bundle/{sqlite-runtime-ZZBNGV5L.js → sqlite-runtime-4IZJ4YUM.js} +6 -6
- package/dist/bundle/{state-GDDFO62Y.js → state-MX3JVT5Q.js} +6 -6
- package/dist/bundle/{store-D2LRIWEI.js → store-JUT34REM.js} +23 -23
- package/dist/bundle/{store-KQCLR57N.js → store-PP4BPADZ.js} +21 -21
- package/dist/bundle/store-maintenance-command-GRFTJBSB.js +77 -0
- package/dist/bundle/surface-FPWES3NY.js +76 -0
- package/dist/commands/api.d.ts.map +1 -1
- package/dist/commands/api.js +3 -25
- package/dist/commands/api.js.map +1 -1
- package/dist/commands/library.d.ts.map +1 -1
- package/dist/commands/library.js +8 -6
- package/dist/commands/library.js.map +1 -1
- package/dist/context.d.ts +11 -3
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +20 -7
- package/dist/context.js.map +1 -1
- package/dist/generated/wirecat-config.d.ts +13 -0
- package/dist/generated/wirecat-config.d.ts.map +1 -0
- package/dist/generated/wirecat-config.js +82 -0
- package/dist/generated/wirecat-config.js.map +1 -0
- package/dist/library.d.ts +0 -5
- package/dist/library.d.ts.map +1 -1
- package/dist/library.js +0 -13
- package/dist/library.js.map +1 -1
- package/dist/notion/client.d.ts +2 -6
- package/dist/notion/client.d.ts.map +1 -1
- package/dist/notion/client.js +7 -8
- package/dist/notion/client.js.map +1 -1
- package/dist/notion/errors.d.ts +5 -0
- package/dist/notion/errors.d.ts.map +1 -1
- package/dist/notion/errors.js +21 -1
- package/dist/notion/errors.js.map +1 -1
- package/dist/notion/port.d.ts +10 -0
- package/dist/notion/port.d.ts.map +1 -1
- package/dist/notion/port.js +19 -0
- package/dist/notion/port.js.map +1 -1
- package/dist/sync/files.d.ts +3 -3
- package/dist/sync/files.d.ts.map +1 -1
- package/dist/sync/from-config.d.ts +13 -0
- package/dist/sync/from-config.d.ts.map +1 -0
- package/dist/sync/from-config.js +32 -0
- package/dist/sync/from-config.js.map +1 -0
- package/dist/sync/source.d.ts +2 -1
- package/dist/sync/source.d.ts.map +1 -1
- package/dist/sync/source.js +4 -20
- package/dist/sync/source.js.map +1 -1
- package/dist/sync/users.d.ts +1 -11
- package/dist/sync/users.d.ts.map +1 -1
- package/dist/sync/users.js +0 -33
- package/dist/sync/users.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +7 -7
- package/dist/bundle/agent-ILG6AH7S.js +0 -42
- package/dist/bundle/command-contract-L2FASWD6.js +0 -41
- package/dist/bundle/first-screen-GZH3LMLZ.js +0 -41
- package/dist/bundle/meeting-combined-OFQSGKBG.js +0 -25
- package/dist/bundle/meeting-model-K6NSX3O5.js +0 -27
- package/dist/bundle/notes-search-ACDOPTNH.js +0 -64
- package/dist/bundle/server-XMZF57WM.js +0 -90
- package/dist/bundle/store-maintenance-command-CK2MU5M6.js +0 -77
- package/dist/bundle/surface-K4TPIQW7.js +0 -76
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/notion-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.7.0 — 21.11.2026
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **`wirecat.config.ts` describes the sync's source.** The config names the account, every Notion call the sync
|
|
10
|
+
sends, the API version and both paces. cli-core reads the calls through the same request path as `notion api`.
|
|
11
|
+
Before, these were code over Notion's SDK. A page synced before authors were saved is now read again by cli-core's
|
|
12
|
+
engine, at most 50 a sync, not through a marked version. The same pages are read, with the same limits. One error
|
|
13
|
+
changed: a token whose answer names no workspace now fails with cli-core's `source.no-account`, not
|
|
14
|
+
`notion.no-workspace`. Why: attio and linear already build their sources from a config, and a new documents CLI can
|
|
15
|
+
now do the same ([docs/dev/SYNC.md](docs/dev/SYNC.md#where-the-requests-come-from)).
|
|
16
|
+
|
|
5
17
|
## 0.6.0 — 19.11.2026
|
|
6
18
|
|
|
7
19
|
### Added
|
package/dist/bin/notion.js
CHANGED
|
@@ -9,7 +9,7 @@ if (
|
|
|
9
9
|
(words[0] === "--version" || words[0] === "-V") &&
|
|
10
10
|
!Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
|
|
11
11
|
) {
|
|
12
|
-
process.stdout.write("0.
|
|
12
|
+
process.stdout.write("0.7.0\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -28,7 +28,7 @@ if (
|
|
|
28
28
|
: next(specifier, context),
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
|
-
const chunks = ["../bundle/agent-
|
|
31
|
+
const chunks = ["../bundle/agent-AILW4JPO.js","../bundle/all-profiles-CKOACXTW.js","../bundle/anthropic-DWBBVTU3.js","../bundle/app-server-BHFYNCDE.js","../bundle/bun-ICK2XT7J.js","../bundle/bun-sqlite-LU5V5Y4A.js","../bundle/decode-FDHFF7GC.js","../bundle/definitions-MB65223J.js","../bundle/dispatch-IXKG5Z5Y.js","../bundle/dist-ILNOLGYN.js","../bundle/dist-PAKDDIBT.js","../bundle/echarts-PGJPVPA4.js","../bundle/embed-U6X7CNNK.js","../bundle/embedder-3ROL6ROQ.js","../bundle/failure-IYMRXM2X.js","../bundle/first-screen-DEDD64YH.js","../bundle/instructions-MJQWRI2D.js","../bundle/mcp-JNHOSK4L.js","../bundle/meeting-combined-HEC25QPY.js","../bundle/meeting-model-R7QPDNZZ.js","../bundle/meeting-semantic-7WPLMBNT.js","../bundle/node-3UXNV3CD.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-ULWDWM3I.js","../bundle/oauth-LNUZMA72.js","../bundle/open-HGHC35M4.js","../bundle/openai-ISSP57MV.js","../bundle/process-PB2WCOR2.js","../bundle/program-GASBJRMG.js","../bundle/prompt-3VGQVX2B.js","../bundle/recognize-7Q2P3NME.js","../bundle/remote-BBAWKVIT.js","../bundle/rerank-H4PUS4HV.js","../bundle/schemas-TTVUADHT.js","../bundle/serve-FZNSKY7R.js","../bundle/server-BRRNDW6L.js","../bundle/server-CQJ4LKAZ.js","../bundle/services-PEU557KZ.js","../bundle/sqlite-runtime-4IZJ4YUM.js","../bundle/state-MX3JVT5Q.js","../bundle/store-JUT34REM.js","../bundle/store-PP4BPADZ.js","../bundle/store-maintenance-command-GRFTJBSB.js","../bundle/surface-FPWES3NY.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
runCommandForAgent,
|
|
5
|
+
toolsFromCommands
|
|
6
|
+
} from "./chunk-HSVKU4OJ.js";
|
|
7
|
+
import "./chunk-JPGN473W.js";
|
|
8
|
+
import "./chunk-FO3XY2Y2.js";
|
|
9
|
+
import "./chunk-UYEDQGMI.js";
|
|
10
|
+
import "./chunk-PL5P7UKW.js";
|
|
11
|
+
import "./chunk-R4JV3VLU.js";
|
|
12
|
+
import "./chunk-LBRTLZHI.js";
|
|
13
|
+
import "./chunk-BQ6CXCLP.js";
|
|
14
|
+
import "./chunk-ZMKAI3F3.js";
|
|
15
|
+
import "./chunk-EMIJVLOA.js";
|
|
16
|
+
import "./chunk-3ZSUVFR7.js";
|
|
17
|
+
import "./chunk-B6DJQBZI.js";
|
|
18
|
+
import "./chunk-J3DZVB67.js";
|
|
19
|
+
import "./chunk-NCCRLAAI.js";
|
|
20
|
+
import "./chunk-3KOJNZH3.js";
|
|
21
|
+
import "./chunk-KBY42GKW.js";
|
|
22
|
+
import "./chunk-N3NJPHZB.js";
|
|
23
|
+
import "./chunk-BXXHUO7Y.js";
|
|
24
|
+
import "./chunk-S5P7THM5.js";
|
|
25
|
+
import "./chunk-3T3OAYL4.js";
|
|
26
|
+
import "./chunk-RXGX2CZX.js";
|
|
27
|
+
import "./chunk-OP2BH55P.js";
|
|
28
|
+
import "./chunk-NV7NNL5T.js";
|
|
29
|
+
import "./chunk-5NFIUY2P.js";
|
|
30
|
+
import "./chunk-VRBEYOJL.js";
|
|
31
|
+
import "./chunk-OW5HW3TD.js";
|
|
32
|
+
import "./chunk-X5LUHN62.js";
|
|
33
|
+
import "./chunk-S35UJBFZ.js";
|
|
34
|
+
import "./chunk-A3RJ6FD5.js";
|
|
35
|
+
import "./chunk-S4UUN6LD.js";
|
|
36
|
+
import "./chunk-Y5E2WNWB.js";
|
|
37
|
+
import "./chunk-4FHKSSXQ.js";
|
|
38
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
39
|
+
export {
|
|
40
|
+
runCommandForAgent,
|
|
41
|
+
toolsFromCommands
|
|
42
|
+
};
|
|
@@ -4,35 +4,35 @@ import {
|
|
|
4
4
|
StdioServerTransport,
|
|
5
5
|
answeredWire,
|
|
6
6
|
serveStdio
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IEY7KS6Q.js";
|
|
8
8
|
import {
|
|
9
9
|
CALLER_META_KEY,
|
|
10
10
|
PROXY_CLIENT_NAME,
|
|
11
11
|
callerOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FO3XY2Y2.js";
|
|
13
13
|
import {
|
|
14
14
|
InMemoryTransport,
|
|
15
15
|
McpServer
|
|
16
16
|
} from "./chunk-PL5P7UKW.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-BQ6CXCLP.js";
|
|
18
|
+
import "./chunk-N3NJPHZB.js";
|
|
19
|
+
import "./chunk-S5P7THM5.js";
|
|
20
|
+
import "./chunk-VRBEYOJL.js";
|
|
21
|
+
import "./chunk-S35UJBFZ.js";
|
|
22
22
|
import {
|
|
23
23
|
errorObjectOf,
|
|
24
24
|
mcpErrorResult
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-A3RJ6FD5.js";
|
|
26
26
|
import "./chunk-S4UUN6LD.js";
|
|
27
27
|
import "./chunk-Y5E2WNWB.js";
|
|
28
28
|
import {
|
|
29
29
|
CliError
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-4FHKSSXQ.js";
|
|
31
31
|
import {
|
|
32
32
|
__name
|
|
33
33
|
} from "./chunk-ZVVMGPBJ.js";
|
|
34
34
|
|
|
35
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
36
36
|
import { spawn } from "node:child_process";
|
|
37
37
|
import { randomUUID } from "node:crypto";
|
|
38
38
|
var PROTOCOL = "2025-06-18";
|
|
@@ -291,7 +291,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
291
291
|
}, "serveAllProfilesOverStdio");
|
|
292
292
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
293
293
|
const { build, close } = allProfilesServer(options);
|
|
294
|
-
const { serveOverHttp } = await import("./serve-
|
|
294
|
+
const { serveOverHttp } = await import("./serve-FZNSKY7R.js");
|
|
295
295
|
const listening = await serveOverHttp(build, {
|
|
296
296
|
...http,
|
|
297
297
|
appName: options.command,
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
checkedOptions,
|
|
9
9
|
messagesFor,
|
|
10
10
|
systemFor
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-BFCRGLOF.js";
|
|
12
|
+
import "./chunk-S35UJBFZ.js";
|
|
13
|
+
import "./chunk-A3RJ6FD5.js";
|
|
14
14
|
import {
|
|
15
15
|
array,
|
|
16
16
|
literal,
|
|
@@ -22,12 +22,12 @@ import {
|
|
|
22
22
|
unknown
|
|
23
23
|
} from "./chunk-S4UUN6LD.js";
|
|
24
24
|
import "./chunk-Y5E2WNWB.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-4FHKSSXQ.js";
|
|
26
26
|
import {
|
|
27
27
|
__name
|
|
28
28
|
} from "./chunk-ZVVMGPBJ.js";
|
|
29
29
|
|
|
30
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
31
31
|
var options = strictObject({
|
|
32
32
|
stop_sequences: optional(array(string())),
|
|
33
33
|
thinking: optional(strictObject({ type: picklist(["disabled", "adaptive"]) })),
|
|
@@ -3,52 +3,52 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ITW26OBI.js";
|
|
7
7
|
import {
|
|
8
8
|
mcpUrlOf
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-EWXMIKZN.js";
|
|
10
|
+
import "./chunk-RNVYNPXT.js";
|
|
11
11
|
import {
|
|
12
12
|
skillResources
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7COTHS6G.js";
|
|
14
14
|
import {
|
|
15
15
|
appInstructions
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-JEZJFQQW.js";
|
|
17
17
|
import {
|
|
18
18
|
answered,
|
|
19
19
|
failed,
|
|
20
20
|
registerCommands
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HOO53OYK.js";
|
|
22
22
|
import {
|
|
23
23
|
agentJson
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IYZWHCZJ.js";
|
|
25
25
|
import {
|
|
26
26
|
StdioServerTransport,
|
|
27
27
|
answeredWire,
|
|
28
28
|
serveStdio
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-IEY7KS6Q.js";
|
|
30
|
+
import "./chunk-LVAFTQ45.js";
|
|
31
|
+
import "./chunk-HJDQTM3T.js";
|
|
32
|
+
import "./chunk-OALFRUMI.js";
|
|
33
|
+
import "./chunk-ALAPDLCP.js";
|
|
34
|
+
import "./chunk-2RNJ2JP3.js";
|
|
35
35
|
import {
|
|
36
36
|
runCommandForAgent,
|
|
37
37
|
toolsFromCommands
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-HSVKU4OJ.js";
|
|
39
|
+
import "./chunk-JPGN473W.js";
|
|
40
|
+
import "./chunk-FO3XY2Y2.js";
|
|
41
|
+
import "./chunk-UYEDQGMI.js";
|
|
42
42
|
import {
|
|
43
43
|
McpServer
|
|
44
44
|
} from "./chunk-PL5P7UKW.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-BFHPT67P.js";
|
|
46
|
+
import "./chunk-ITWINZ6R.js";
|
|
47
|
+
import "./chunk-TWY543BS.js";
|
|
48
|
+
import "./chunk-FNESLLZS.js";
|
|
49
|
+
import "./chunk-PSMRUOII.js";
|
|
50
|
+
import "./chunk-OCGNOJYD.js";
|
|
51
|
+
import "./chunk-R4JV3VLU.js";
|
|
52
52
|
import {
|
|
53
53
|
DEFAULT_OUTPUT_BYTES,
|
|
54
54
|
changesAuthorityAt,
|
|
@@ -58,68 +58,68 @@ import {
|
|
|
58
58
|
judgedTargets,
|
|
59
59
|
readsOverMcpAt,
|
|
60
60
|
rootOf2 as rootOf
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
61
|
+
} from "./chunk-LBRTLZHI.js";
|
|
62
|
+
import "./chunk-BQ6CXCLP.js";
|
|
63
|
+
import "./chunk-ZMKAI3F3.js";
|
|
64
|
+
import "./chunk-ADCAWRRX.js";
|
|
65
|
+
import "./chunk-YSF5JBRA.js";
|
|
66
|
+
import "./chunk-EMIJVLOA.js";
|
|
67
67
|
import {
|
|
68
68
|
readOnlyLockOf
|
|
69
|
-
} from "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
69
|
+
} from "./chunk-3ZSUVFR7.js";
|
|
70
|
+
import "./chunk-BFCRGLOF.js";
|
|
71
|
+
import "./chunk-PDVXG3T3.js";
|
|
72
|
+
import "./chunk-DCSPCOPB.js";
|
|
73
|
+
import "./chunk-MB4HXDBT.js";
|
|
74
|
+
import "./chunk-B6DJQBZI.js";
|
|
75
|
+
import "./chunk-QMNEDK7Z.js";
|
|
76
76
|
import {
|
|
77
77
|
mcpHttpMarker
|
|
78
|
-
} from "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-
|
|
89
|
-
import "./chunk-
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
95
|
-
import "./chunk-
|
|
96
|
-
import "./chunk-
|
|
97
|
-
import "./chunk-
|
|
98
|
-
import "./chunk-
|
|
99
|
-
import "./chunk-
|
|
100
|
-
import "./chunk-
|
|
101
|
-
import "./chunk-
|
|
102
|
-
import "./chunk-
|
|
103
|
-
import "./chunk-
|
|
78
|
+
} from "./chunk-X737FHZP.js";
|
|
79
|
+
import "./chunk-KWBLDSRV.js";
|
|
80
|
+
import "./chunk-J3DZVB67.js";
|
|
81
|
+
import "./chunk-3AKMIKND.js";
|
|
82
|
+
import "./chunk-NCCRLAAI.js";
|
|
83
|
+
import "./chunk-VXKD533R.js";
|
|
84
|
+
import "./chunk-3KOJNZH3.js";
|
|
85
|
+
import "./chunk-KBY42GKW.js";
|
|
86
|
+
import "./chunk-N3NJPHZB.js";
|
|
87
|
+
import "./chunk-UQVUXG7H.js";
|
|
88
|
+
import "./chunk-REOBWSGV.js";
|
|
89
|
+
import "./chunk-BXXHUO7Y.js";
|
|
90
|
+
import "./chunk-S5P7THM5.js";
|
|
91
|
+
import "./chunk-FHYV4VWY.js";
|
|
92
|
+
import "./chunk-6MQSBWWF.js";
|
|
93
|
+
import "./chunk-3T3OAYL4.js";
|
|
94
|
+
import "./chunk-RXGX2CZX.js";
|
|
95
|
+
import "./chunk-JVRBW5LH.js";
|
|
96
|
+
import "./chunk-OFMCU3BH.js";
|
|
97
|
+
import "./chunk-OP2BH55P.js";
|
|
98
|
+
import "./chunk-NV7NNL5T.js";
|
|
99
|
+
import "./chunk-46JBCXLI.js";
|
|
100
|
+
import "./chunk-5NFIUY2P.js";
|
|
101
|
+
import "./chunk-3DGHBXH2.js";
|
|
102
|
+
import "./chunk-VRBEYOJL.js";
|
|
103
|
+
import "./chunk-OW5HW3TD.js";
|
|
104
104
|
import "./chunk-D72URWJE.js";
|
|
105
|
-
import "./chunk-
|
|
106
|
-
import "./chunk-
|
|
107
|
-
import "./chunk-
|
|
108
|
-
import "./chunk-
|
|
105
|
+
import "./chunk-X5LUHN62.js";
|
|
106
|
+
import "./chunk-WUNEJRLJ.js";
|
|
107
|
+
import "./chunk-EUF5JNPG.js";
|
|
108
|
+
import "./chunk-S35UJBFZ.js";
|
|
109
109
|
import {
|
|
110
110
|
mcpErrorResult
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-A3RJ6FD5.js";
|
|
112
112
|
import "./chunk-S4UUN6LD.js";
|
|
113
113
|
import "./chunk-Y5E2WNWB.js";
|
|
114
114
|
import {
|
|
115
115
|
CliError
|
|
116
|
-
} from "./chunk-
|
|
117
|
-
import "./chunk-
|
|
116
|
+
} from "./chunk-4FHKSSXQ.js";
|
|
117
|
+
import "./chunk-364ET7LV.js";
|
|
118
118
|
import {
|
|
119
119
|
__name
|
|
120
120
|
} from "./chunk-ZVVMGPBJ.js";
|
|
121
121
|
|
|
122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
123
123
|
var EXCLUDED = [["mcp"]];
|
|
124
124
|
var aliasesOf = /* @__PURE__ */ __name((root, path) => {
|
|
125
125
|
let at = root;
|
|
@@ -235,7 +235,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
235
235
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
236
236
|
const { app } = options;
|
|
237
237
|
const { build } = createAppServer(command, context, options);
|
|
238
|
-
const { serveOverHttp } = await import("./serve-
|
|
238
|
+
const { serveOverHttp } = await import("./serve-FZNSKY7R.js");
|
|
239
239
|
const listening = await serveOverHttp(build, {
|
|
240
240
|
...http,
|
|
241
241
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-364ET7LV.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
|
|
27
27
|
import { Database } from "bun:sqlite";
|
|
28
28
|
var bunSQLiteCodecs = refineSqliteCodecs({
|
|
29
29
|
"integer:boolean": { normalize: booleanFromInteger },
|
|
@@ -3,22 +3,22 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-64IK7JFO.js";
|
|
7
7
|
import {
|
|
8
8
|
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-X5LUHN62.js";
|
|
10
|
+
import "./chunk-S35UJBFZ.js";
|
|
11
|
+
import "./chunk-A3RJ6FD5.js";
|
|
12
12
|
import "./chunk-S4UUN6LD.js";
|
|
13
13
|
import {
|
|
14
14
|
importFrom
|
|
15
15
|
} from "./chunk-Y5E2WNWB.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-4FHKSSXQ.js";
|
|
17
17
|
import {
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
|
|
22
22
|
var customised = false;
|
|
23
23
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
24
24
|
try {
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
CAPABILITY_STATEMENTS,
|
|
5
5
|
storeCapable
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WUNEJRLJ.js";
|
|
7
7
|
import {
|
|
8
8
|
importFrom
|
|
9
9
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
|
|
15
15
|
import { spawn, spawnSync } from "node:child_process";
|
|
16
16
|
import { readFileSync } from "node:fs";
|
|
17
17
|
import { dirname } from "node:path";
|
|
@@ -7,18 +7,18 @@ import {
|
|
|
7
7
|
describeOptions,
|
|
8
8
|
keyForCommand,
|
|
9
9
|
metaOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LBRTLZHI.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonSchemaOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-A3RJ6FD5.js";
|
|
14
14
|
import {
|
|
15
15
|
CliError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4FHKSSXQ.js";
|
|
17
17
|
import {
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
22
22
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
23
23
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
24
24
|
const entity = answerEntitySchema(command);
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-5XR7K42U.js
|
|
8
8
|
var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
|
|
9
9
|
var kindsByConstructor = /* @__PURE__ */ new WeakMap();
|
|
10
10
|
function collectKinds(ctor) {
|
|
@@ -23,28 +23,28 @@ import {
|
|
|
23
23
|
tagMemberIds,
|
|
24
24
|
thingOf,
|
|
25
25
|
write
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-VXKD533R.js";
|
|
27
27
|
import {
|
|
28
28
|
ADDED_PROVIDER,
|
|
29
29
|
filesAccountSql,
|
|
30
30
|
folderProviderOf,
|
|
31
31
|
folderProviderSql,
|
|
32
32
|
isDocumentAccountProvider
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-BXXHUO7Y.js";
|
|
34
34
|
import {
|
|
35
35
|
damagedFile
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-S5P7THM5.js";
|
|
37
37
|
import {
|
|
38
38
|
fold
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-6MQSBWWF.js";
|
|
40
40
|
import {
|
|
41
41
|
CliError
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-4FHKSSXQ.js";
|
|
43
43
|
import {
|
|
44
44
|
__name
|
|
45
45
|
} from "./chunk-ZVVMGPBJ.js";
|
|
46
46
|
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/store/damage.js
|
|
48
48
|
var DERIVED = /* @__PURE__ */ new Set(["mentions", "involvements", "embeddings"]);
|
|
49
49
|
var named = /* @__PURE__ */ __name((tables) => tables.length <= 5 ? tables.join(", ") : `${tables.slice(0, 5).join(", ")} and ${tables.length - 5} more`, "named");
|
|
50
50
|
var isDerivedTable = /* @__PURE__ */ __name((table, searchIndexes) => DERIVED.has(table) || table.startsWith("vector_index_") || searchIndexes.some((index) => table === index || table.startsWith(`${index}_`)), "isDerivedTable");
|
|
@@ -147,11 +147,11 @@ var storeDamageReport = /* @__PURE__ */ __name(({ health, command, mark = null,
|
|
|
147
147
|
};
|
|
148
148
|
}, "storeDamageReport");
|
|
149
149
|
|
|
150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
|
|
151
151
|
import { realpathSync, statSync } from "node:fs";
|
|
152
152
|
import { resolve } from "node:path";
|
|
153
153
|
|
|
154
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
|
|
155
155
|
var planPeople = /* @__PURE__ */ __name((database, snapshot, mappings, bindings, conflicts) => {
|
|
156
156
|
const creatable = /* @__PURE__ */ new Set();
|
|
157
157
|
let people = 0, identities = 0;
|
|
@@ -214,11 +214,11 @@ var copyPeople = /* @__PURE__ */ __name((database, snapshot, mappings, now) => {
|
|
|
214
214
|
}
|
|
215
215
|
}, "copyPeople");
|
|
216
216
|
|
|
217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
|
|
218
218
|
import { createHash } from "node:crypto";
|
|
219
219
|
var digest = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "digest");
|
|
220
220
|
|
|
221
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
|
|
222
222
|
var documentsKeyOf = /* @__PURE__ */ __name((collection) => {
|
|
223
223
|
const colon = collection.indexOf(":");
|
|
224
224
|
const provider = collection.slice(0, colon);
|
|
@@ -262,7 +262,7 @@ var currentCollection = /* @__PURE__ */ __name((row) => {
|
|
|
262
262
|
};
|
|
263
263
|
}, "currentCollection");
|
|
264
264
|
|
|
265
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
|
|
266
266
|
var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindings) => {
|
|
267
267
|
const mappings = /* @__PURE__ */ new Map();
|
|
268
268
|
const missing = /* @__PURE__ */ new Set(), conflicts = /* @__PURE__ */ new Set();
|
|
@@ -429,7 +429,7 @@ var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindin
|
|
|
429
429
|
};
|
|
430
430
|
}, "planTransfer");
|
|
431
431
|
|
|
432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
|
|
433
433
|
var TRANSFER_TABLES = { document: "documents", note: "notes", memory: "memories", fact: "facts" };
|
|
434
434
|
var MAX_ENTITIES = 1e3;
|
|
435
435
|
var MAX_AUXILIARY = 1e4;
|
|
@@ -591,7 +591,7 @@ var transferSnapshot = /* @__PURE__ */ __name((database, collection) => read(dat
|
|
|
591
591
|
};
|
|
592
592
|
}), "transferSnapshot");
|
|
593
593
|
|
|
594
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
594
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
|
|
595
595
|
var providerHere = /* @__PURE__ */ __name(({ provider, name, settings }) => {
|
|
596
596
|
if (provider !== "folder" || String(name ?? "").startsWith("google-drive:"))
|
|
597
597
|
return provider ?? null;
|
|
@@ -763,7 +763,7 @@ var remapEntity = /* @__PURE__ */ __name((database, entity, id, mappings) => {
|
|
|
763
763
|
database.prepare(`UPDATE ${TRANSFER_TABLES[entity.kind]} SET ${columns.join(",")} WHERE id=?`).run(...values, id);
|
|
764
764
|
}, "remapEntity");
|
|
765
765
|
|
|
766
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
766
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
|
|
767
767
|
var locations = /* @__PURE__ */ __name((options) => {
|
|
768
768
|
for (const value of [options.source, options.destination, options.collection])
|
|
769
769
|
if (typeof value !== "string" || !value.trim())
|
|
@@ -865,7 +865,7 @@ var applyWith = /* @__PURE__ */ __name(async (location, options) => {
|
|
|
865
865
|
}
|
|
866
866
|
}, "applyWith");
|
|
867
867
|
|
|
868
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
868
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/store/health.js
|
|
869
869
|
import { existsSync, statSync as statSync2 } from "node:fs";
|
|
870
870
|
var JSON_COLUMNS = {
|
|
871
871
|
accounts: ["settings"],
|
|
@@ -1007,7 +1007,7 @@ var storeHealth = /* @__PURE__ */ __name(async (path, { deep = false } = {}) =>
|
|
|
1007
1007
|
}
|
|
1008
1008
|
}, "storeHealth");
|
|
1009
1009
|
|
|
1010
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
|
|
1011
1011
|
var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) => {
|
|
1012
1012
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
1013
1013
|
throw new CliError("validation_error", "project preview options are required");
|
|
@@ -1033,7 +1033,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) =>
|
|
|
1033
1033
|
});
|
|
1034
1034
|
}, "previewProjectAnnotationSnapshot");
|
|
1035
1035
|
|
|
1036
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1036
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
|
|
1037
1037
|
var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
|
|
1038
1038
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
1039
1039
|
throw new CliError("validation_error", "snapshot options are required");
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
|
|
8
8
|
var installerOf = /* @__PURE__ */ __name((scriptPath) => {
|
|
9
9
|
const path = scriptPath.replaceAll("\\", "/");
|
|
10
10
|
if (path.includes("/_npx/"))
|
|
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
timezoneOf,
|
|
5
5
|
zonedMoment
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RXGX2CZX.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4FHKSSXQ.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.718.0_@wirecat+cli-base@0.125.0_commander@15.0.0_esbuild@0.28.2_typ_cfff6f86942c54bd7564e982a7834a83/node_modules/@wirecat/cli-core/dist/domain/moment.js
|
|
15
15
|
var calendarMoment = /* @__PURE__ */ __name((wanted, flag, { zone, end = false } = {}) => {
|
|
16
16
|
try {
|
|
17
17
|
return zonedMoment(wanted, timezoneOf(zone), { start: 0, end: wanted.length }, { end });
|