@wirecat/attio-cli 0.5.3 → 0.6.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 +10 -0
- package/README.md +4 -4
- package/contracts/wirecat.json +45 -0
- package/dist/activities.d.ts +4 -0
- package/dist/activities.d.ts.map +1 -0
- package/dist/activities.js +83 -0
- package/dist/activities.js.map +1 -0
- package/dist/bin/attio.js +2 -2
- package/dist/bundle/agent-GZ3MFZMA.js +37 -0
- package/dist/bundle/{all-profiles-ONLZNT2O.js → all-profiles-AO5MQUUX.js} +6 -6
- package/dist/bundle/{anthropic-7NHDUCS7.js → anthropic-5VDU2NRC.js} +2 -2
- package/dist/bundle/{app-server-76UZBJNR.js → app-server-MUZ7JG2T.js} +53 -53
- package/dist/bundle/attio.js +2 -2
- package/dist/bundle/{bun-3M7LDMJY.js → bun-4BURI4ZN.js} +2 -2
- package/dist/bundle/{bun-sqlite-WWPYULNT.js → bun-sqlite-5B3HOPNU.js} +3 -3
- package/dist/bundle/{chunk-RDXB7HFB.js → chunk-2L6RP3YO.js} +2 -2
- package/dist/bundle/{chunk-H7RYW7CD.js → chunk-3TNRZCXA.js} +1 -1
- package/dist/bundle/{chunk-HPYDPVGU.js → chunk-4LUZ4UMN.js} +2 -2
- package/dist/bundle/{chunk-VIXMK7ZG.js → chunk-4Y4H5WDN.js} +6 -6
- package/dist/bundle/{chunk-2HU7TYQK.js → chunk-5J35ZXZC.js} +1 -1
- package/dist/bundle/{chunk-NCYBA5FH.js → chunk-6KYUVBIS.js} +2 -2
- package/dist/bundle/{chunk-EKRO2AYG.js → chunk-6W4WDGLX.js} +7 -7
- package/dist/bundle/{chunk-LQDZSJ3V.js → chunk-6XXSLMSH.js} +1 -1
- package/dist/bundle/{chunk-PZE4D63W.js → chunk-7E7JZXE6.js} +5 -5
- package/dist/bundle/{chunk-X6NSSCMF.js → chunk-7HPQV627.js} +1 -1
- package/dist/bundle/{chunk-T3QKHFGB.js → chunk-C3O5D2M3.js} +12 -12
- package/dist/bundle/{chunk-T2TW53JB.js → chunk-D65YVJVM.js} +6 -6
- package/dist/bundle/{chunk-WVXEVCMY.js → chunk-DGHETDUU.js} +7 -7
- package/dist/bundle/{chunk-OLKDUVWD.js → chunk-DGL7FDXO.js} +12 -12
- package/dist/bundle/{chunk-65OPLJBL.js → chunk-DNPG5FFD.js} +2 -2
- package/dist/bundle/{chunk-V2AF7BYP.js → chunk-DPHQABPF.js} +54 -54
- package/dist/bundle/{chunk-3QYMX2QX.js → chunk-DRMEQXZ2.js} +2 -2
- package/dist/bundle/{chunk-WUECAFAJ.js → chunk-F2BLHGGF.js} +1 -1
- package/dist/bundle/{chunk-S552I4P7.js → chunk-FD2SMO3B.js} +1 -1
- package/dist/bundle/{chunk-NKVJV5GN.js → chunk-GJ46ZIBN.js} +1 -1
- package/dist/bundle/{chunk-NN7Z5RK6.js → chunk-GQ2HJ2LS.js} +7 -7
- package/dist/bundle/{chunk-U3KTIE6B.js → chunk-HWCXM5MI.js} +1 -1
- package/dist/bundle/{chunk-PQHS4Z5G.js → chunk-IKYOUZ7S.js} +1 -1
- package/dist/bundle/{chunk-MFPYCWMY.js → chunk-IM6YXEZW.js} +4 -4
- package/dist/bundle/{chunk-STEUWWU5.js → chunk-IMZI45WT.js} +12 -11
- package/dist/bundle/{chunk-FVBZHGFE.js → chunk-JFI3VK4W.js} +1 -1
- package/dist/bundle/{chunk-7ONN7UCC.js → chunk-JNQFGXKZ.js} +1 -1
- package/dist/bundle/{chunk-M62QM7VF.js → chunk-JXN2WHB6.js} +9 -9
- package/dist/bundle/{chunk-BSPMRKPS.js → chunk-KBXEQGZT.js} +5 -5
- package/dist/bundle/{chunk-YQNZFXOW.js → chunk-KGE62QLH.js} +6 -6
- package/dist/bundle/{chunk-PVZK2COW.js → chunk-KNRMYOV5.js} +4 -4
- package/dist/bundle/{chunk-UFFAPBAP.js → chunk-KRCESNQ7.js} +4 -4
- package/dist/bundle/{chunk-DOTBJMPB.js → chunk-LH7LQWPC.js} +2 -2
- package/dist/bundle/{chunk-MUDJABVF.js → chunk-LJVNAHQZ.js} +2 -2
- package/dist/bundle/{chunk-S3SA2XXD.js → chunk-LX72M3FE.js} +9 -9
- package/dist/bundle/{chunk-JRHDYND7.js → chunk-MFPHMCFD.js} +1 -1
- package/dist/bundle/{chunk-KTGIA7CC.js → chunk-MS4IBIMA.js} +4573 -4411
- package/dist/bundle/{chunk-3TFPJCTB.js → chunk-NANAZFZE.js} +23 -23
- package/dist/bundle/{chunk-ABMNYUSQ.js → chunk-NBUIGJQ5.js} +11 -11
- package/dist/bundle/{chunk-LSFZSGQK.js → chunk-NCFTSBMZ.js} +2 -2
- package/dist/bundle/{chunk-TL7NUBVM.js → chunk-NJZEHFQE.js} +1 -1
- package/dist/bundle/{chunk-PZBQH5B7.js → chunk-OKXTO7YQ.js} +2 -2
- package/dist/bundle/{chunk-GHT7KPTC.js → chunk-PFIHHLVJ.js} +32 -32
- package/dist/bundle/{chunk-3MZREGLN.js → chunk-QFMB6VR5.js} +11 -11
- package/dist/bundle/{chunk-V6RWAUX7.js → chunk-QLL6THD6.js} +3 -3
- package/dist/bundle/{chunk-764RTGNI.js → chunk-QYGUACZO.js} +2 -2
- package/dist/bundle/{chunk-N6VLRVCC.js → chunk-RLR52L52.js} +51 -51
- package/dist/bundle/{chunk-NGVO2UTA.js → chunk-RO753JYR.js} +16 -16
- package/dist/bundle/{chunk-TVDBAZFO.js → chunk-RP5AVORT.js} +5 -5
- package/dist/bundle/{chunk-HGD4JW37.js → chunk-SNE444HV.js} +10 -10
- package/dist/bundle/{chunk-PYFVVNAD.js → chunk-SSRHBFL5.js} +1 -1
- package/dist/bundle/{chunk-J3ZQ4JWD.js → chunk-TD5O4LIV.js} +32 -32
- package/dist/bundle/{chunk-6MPA7CKD.js → chunk-UIMVEYNX.js} +2 -2
- package/dist/bundle/{chunk-QRHPXZST.js → chunk-UX5HAZC5.js} +2 -2
- package/dist/bundle/{chunk-KWJ4GAYR.js → chunk-VNDDWBIO.js} +3 -3
- package/dist/bundle/{chunk-AYF2JNHE.js → chunk-W2LQAZPM.js} +2 -2
- package/dist/bundle/{chunk-A5A2I2DY.js → chunk-XD3CY4TM.js} +1 -1
- package/dist/bundle/{chunk-6MEPMDWU.js → chunk-XHUVMCHI.js} +151 -151
- package/dist/bundle/{chunk-F5IGO45Z.js → chunk-XPZ4JGD2.js} +5 -5
- package/dist/bundle/{chunk-RUNJPSJ3.js → chunk-XUXSY6RG.js} +331 -287
- package/dist/bundle/{chunk-VNGG6O5T.js → chunk-XZ5XK3LS.js} +5 -5
- package/dist/bundle/{chunk-TF33UDFE.js → chunk-ZWUMTNGV.js} +1 -1
- package/dist/bundle/{chunk-Y2HZQMNK.js → chunk-ZZYPXW4E.js} +1 -1
- package/dist/bundle/{command-contract-7BABQLZN.js → command-contract-S54DCSQY.js} +15 -15
- package/dist/bundle/{command-server-entry-6UEGWYW7.js → command-server-entry-XSHJ5FW3.js} +21 -21
- package/dist/bundle/{decode-BF2CNTOP.js → decode-IRF7DV6S.js} +2 -2
- package/dist/bundle/{echarts-ELZMS7DC.js → echarts-2VZGK4IS.js} +2 -2
- package/dist/bundle/{embed-SXU7JVUG.js → embed-22IHPVQJ.js} +3 -3
- package/dist/bundle/{embedder-ZVNBHGXC.js → embedder-6P7PRQAM.js} +6 -6
- package/dist/bundle/{first-run-SLIPSHPE.js → first-run-J7K3GFD6.js} +6 -6
- package/dist/bundle/first-screen-AWRCVE5Z.js +37 -0
- package/dist/bundle/{instructions-Q6QKH7MV.js → instructions-3DTYFYZN.js} +1 -1
- package/dist/bundle/{meeting-combined-DLXVVC5J.js → meeting-combined-MLGWRQ6A.js} +10 -10
- package/dist/bundle/{meeting-model-XJ6OWIAP.js → meeting-model-YTQI46NN.js} +8 -8
- package/dist/bundle/{meeting-semantic-7TJE4HX6.js → meeting-semantic-4AQIACOP.js} +2 -2
- package/dist/bundle/{node-YNLEE4BB.js → node-ZN4HEANX.js} +2 -2
- package/dist/bundle/{node-sqlite-24VK6J3W.js → node-sqlite-ECNNSIOA.js} +4 -4
- package/dist/bundle/{oauth-4TLSBITF.js → oauth-YUVPUNBC.js} +4 -4
- package/dist/bundle/{open-U6M2RLYK.js → open-F3F3THJB.js} +2 -2
- package/dist/bundle/{openai-UKD2XQ5J.js → openai-TGPN54Q4.js} +12 -12
- package/dist/bundle/{process-UIE2CRFP.js → process-SNVAXNUR.js} +1 -1
- package/dist/bundle/{program-HXMBQWIM.js → program-LGU4MURZ.js} +622 -537
- package/dist/bundle/{prompt-TSDXFP3E.js → prompt-ZDWDMLII.js} +2 -2
- package/dist/bundle/{recognize-Y534SZIK.js → recognize-2TCTQBGC.js} +1 -1
- package/dist/bundle/{remote-PJNOYKXU.js → remote-KUWGFPIT.js} +6 -6
- package/dist/bundle/{rerank-TE4HIS5A.js → rerank-GIWBYYU3.js} +4 -4
- package/dist/bundle/{serve-ZOZWJKHB.js → serve-SFE5XJM5.js} +6 -6
- package/dist/bundle/{server-3K4IC4OA.js → server-26SGKDDF.js} +45 -45
- package/dist/bundle/server-GYTA24HH.js +79 -0
- package/dist/bundle/{sqlite-runtime-6R6CHLEM.js → sqlite-runtime-PBT7XUSK.js} +3 -3
- package/dist/bundle/{state-DFAH57DP.js → state-M5FASHHH.js} +3 -3
- package/dist/bundle/{store-LPO5SHGK.js → store-V5JQWH4C.js} +14 -14
- package/dist/bundle/{store-6B5JF2LC.js → store-XOPZMD2A.js} +18 -16
- package/dist/bundle/store-maintenance-command-GV4AXE3N.js +66 -0
- package/dist/bundle/surface-WI2E3QRQ.js +65 -0
- package/dist/commands/crm.d.ts.map +1 -1
- package/dist/commands/crm.js +4 -1
- package/dist/commands/crm.js.map +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +6 -2
- package/dist/config.js.map +1 -1
- package/dist/hooks.d.ts +37 -0
- package/dist/hooks.d.ts.map +1 -1
- package/dist/hooks.js +3 -3
- package/dist/hooks.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/attio-cli/SKILL.md +8 -7
- package/dist/bundle/agent-YCPGDAWJ.js +0 -37
- package/dist/bundle/first-screen-UPNPU4MF.js +0 -37
- package/dist/bundle/server-HPHPHKNF.js +0 -79
- package/dist/bundle/store-maintenance-command-UBNM3ADW.js +0 -66
- package/dist/bundle/surface-WQ7UR2NJ.js +0 -65
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/attio-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.6.0 — 25.11.2026
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **Add a note or a task to a deal, a person or a company.** `activities create comment` adds a note,
|
|
10
|
+
`activities create task` a task with a title, a text and a deadline, and `activities close` marks a task done.
|
|
11
|
+
Each asks first, as every change to Attio does. `activities list` lists the notes and tasks the copy holds, open
|
|
12
|
+
tasks first. Adding them needs the token's `note:read-write` and `task:read-write` scopes
|
|
13
|
+
([usage](docs/usage.md#notes-and-tasks-on-a-deal)).
|
|
14
|
+
|
|
5
15
|
## 0.5.3 — 25.11.2026
|
|
6
16
|
|
|
7
17
|
### Fixed
|
package/README.md
CHANGED
|
@@ -60,7 +60,7 @@ Agent: (runs attio work changes list change:won "at>=7d")
|
|
|
60
60
|
- **Your CRM beside your other context.** Deals sit in the same local store as your messages, mail, notes and
|
|
61
61
|
meetings from the other WireCat tools, so one search covers all of them.
|
|
62
62
|
- **The whole Attio API too.** Every operation is a command with its own help, for what has no command of its own
|
|
63
|
-
yet:
|
|
63
|
+
yet: lists, custom objects, meetings.
|
|
64
64
|
- **Free and open source.** Apache 2.0.
|
|
65
65
|
|
|
66
66
|
## Quick start
|
|
@@ -193,9 +193,9 @@ More: [permissions](https://github.com/WireCatLabs/attio-cli/blob/main/docs/perm
|
|
|
193
193
|
|
|
194
194
|
## Limits
|
|
195
195
|
|
|
196
|
-
-
|
|
197
|
-
[roadmap](https://github.com/WireCatLabs/attio-cli/blob/main/docs/roadmap.md). Reading notes and tasks
|
|
198
|
-
|
|
196
|
+
- Custom objects, lists and a one-click sign-in are on the
|
|
197
|
+
[roadmap](https://github.com/WireCatLabs/attio-cli/blob/main/docs/roadmap.md). Reading notes and tasks needs the
|
|
198
|
+
`activities` setting on.
|
|
199
199
|
- Only a workspace admin can make the token, and it reads the whole workspace.
|
|
200
200
|
- Attio documents 100 reads and 25 writes a second
|
|
201
201
|
([rate limits](https://docs.attio.com/rest-api/guides/rate-limiting)).
|
package/contracts/wirecat.json
CHANGED
|
@@ -1822,6 +1822,45 @@
|
|
|
1822
1822
|
"permission": "users.show",
|
|
1823
1823
|
"entity": "crm_user"
|
|
1824
1824
|
},
|
|
1825
|
+
{
|
|
1826
|
+
"path": [
|
|
1827
|
+
"activities",
|
|
1828
|
+
"list"
|
|
1829
|
+
],
|
|
1830
|
+
"summary": "activities copied from the CRM, open ones first by due time, then the rest…",
|
|
1831
|
+
"effects": {
|
|
1832
|
+
"remote": "none",
|
|
1833
|
+
"local": "read"
|
|
1834
|
+
},
|
|
1835
|
+
"permission": "activities.list",
|
|
1836
|
+
"entity": "crm_activity"
|
|
1837
|
+
},
|
|
1838
|
+
{
|
|
1839
|
+
"path": [
|
|
1840
|
+
"activities",
|
|
1841
|
+
"create"
|
|
1842
|
+
],
|
|
1843
|
+
"summary": "add a comment or task to records of the CRM, then store the CRM's copy of it…",
|
|
1844
|
+
"effects": {
|
|
1845
|
+
"remote": "write",
|
|
1846
|
+
"local": "write"
|
|
1847
|
+
},
|
|
1848
|
+
"permission": "activities.create",
|
|
1849
|
+
"entity": "crm_activity_write"
|
|
1850
|
+
},
|
|
1851
|
+
{
|
|
1852
|
+
"path": [
|
|
1853
|
+
"activities",
|
|
1854
|
+
"close"
|
|
1855
|
+
],
|
|
1856
|
+
"summary": "mark a task done in the CRM, then store the CRM's copy of it when the…",
|
|
1857
|
+
"effects": {
|
|
1858
|
+
"remote": "write",
|
|
1859
|
+
"local": "write"
|
|
1860
|
+
},
|
|
1861
|
+
"permission": "activities.close",
|
|
1862
|
+
"entity": "crm_activity_write"
|
|
1863
|
+
},
|
|
1825
1864
|
{
|
|
1826
1865
|
"path": [
|
|
1827
1866
|
"changes",
|
|
@@ -2297,6 +2336,12 @@
|
|
|
2297
2336
|
"department_ids"
|
|
2298
2337
|
]
|
|
2299
2338
|
},
|
|
2339
|
+
"crm_activity": {
|
|
2340
|
+
"fields": [
|
|
2341
|
+
"status",
|
|
2342
|
+
"kind"
|
|
2343
|
+
]
|
|
2344
|
+
},
|
|
2300
2345
|
"crm_change": {
|
|
2301
2346
|
"fields": [
|
|
2302
2347
|
"change"
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CrmManifestActivities } from "@wirecat/cli-core/crm";
|
|
2
|
+
/** Notes and tasks, written as `src/hooks.ts` reads them back, so a sync keeps each under the same id. */
|
|
3
|
+
export declare const ACTIVITIES: CrmManifestActivities;
|
|
4
|
+
//# sourceMappingURL=activities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"activities.d.ts","sourceRoot":"","sources":["../src/activities.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAA;AAwClE,0GAA0G;AAC1G,eAAO,MAAM,UAAU,EAAE,qBAoDxB,CAAA"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { CliError } from "@wirecat/cli-base";
|
|
2
|
+
import { KINDS, noteActivity, taskActivity } from "./hooks.js";
|
|
3
|
+
const SLUGS = Object.fromEntries(Object.entries(KINDS).map(([slug, kind]) => [kind, slug]));
|
|
4
|
+
const MOST_TASK = 2000;
|
|
5
|
+
const input = (body, path = {}) => ({
|
|
6
|
+
path,
|
|
7
|
+
query: {},
|
|
8
|
+
headers: {},
|
|
9
|
+
fields: {},
|
|
10
|
+
...(body === undefined ? {} : { body: JSON.stringify({ data: body }) }),
|
|
11
|
+
});
|
|
12
|
+
const slugOf = (kind) => {
|
|
13
|
+
const slug = SLUGS[kind];
|
|
14
|
+
if (!slug)
|
|
15
|
+
throw new CliError("validation_error", `Attio keeps notes and tasks on deals, people and companies, not a ${kind}`, {
|
|
16
|
+
reason: "crm.activity-invalid",
|
|
17
|
+
param: "--subject",
|
|
18
|
+
sent: false,
|
|
19
|
+
});
|
|
20
|
+
return slug;
|
|
21
|
+
};
|
|
22
|
+
// A task's answer names its records by the object's id; the slugs come from the workspace's objects.
|
|
23
|
+
const objectsOf = async (send) => {
|
|
24
|
+
const { data } = (await send("getV2Objects", input()));
|
|
25
|
+
return new Map(data.flatMap((one) => {
|
|
26
|
+
const kind = KINDS[one.api_slug];
|
|
27
|
+
return kind ? [[one.id.object_id, kind]] : [];
|
|
28
|
+
}));
|
|
29
|
+
};
|
|
30
|
+
/** Notes and tasks, written as `src/hooks.ts` reads them back, so a sync keeps each under the same id. */
|
|
31
|
+
export const ACTIVITIES = {
|
|
32
|
+
operations: { comment: "postV2Notes", task: "postV2Tasks", close: "patchV2TasksByTaskId" },
|
|
33
|
+
async create(draft, send) {
|
|
34
|
+
if (draft.kind === "comment") {
|
|
35
|
+
const [parent, ...more] = draft.on;
|
|
36
|
+
if (!parent || more.length > 0)
|
|
37
|
+
throw new CliError("validation_error", "an Attio note is on one record: give --subject once", {
|
|
38
|
+
reason: "crm.activity-invalid",
|
|
39
|
+
param: "--subject",
|
|
40
|
+
sent: false,
|
|
41
|
+
});
|
|
42
|
+
const body = {
|
|
43
|
+
parent_object: slugOf(parent.kind),
|
|
44
|
+
parent_record_id: parent.externalId,
|
|
45
|
+
title: draft.subject ?? "",
|
|
46
|
+
format: "plaintext",
|
|
47
|
+
content: draft.body ?? "",
|
|
48
|
+
};
|
|
49
|
+
return noteActivity((await send("postV2Notes", input(body))).data);
|
|
50
|
+
}
|
|
51
|
+
// Attio's task is one text: a description given goes under the title.
|
|
52
|
+
const content = [draft.subject, draft.body].filter(Boolean).join("\n\n");
|
|
53
|
+
if (content.length > MOST_TASK)
|
|
54
|
+
throw new CliError("validation_error", `an Attio task is at most ${MOST_TASK} characters, title and text`, {
|
|
55
|
+
reason: "crm.activity-invalid",
|
|
56
|
+
param: "--text",
|
|
57
|
+
sent: false,
|
|
58
|
+
});
|
|
59
|
+
const body = {
|
|
60
|
+
content,
|
|
61
|
+
format: "plaintext",
|
|
62
|
+
deadline_at: draft.dueAt === undefined ? null : new Date(draft.dueAt).toISOString(),
|
|
63
|
+
is_completed: false,
|
|
64
|
+
linked_records: draft.on.map((one) => ({ target_object: slugOf(one.kind), target_record_id: one.externalId })),
|
|
65
|
+
assignees: draft.assignee === undefined
|
|
66
|
+
? []
|
|
67
|
+
: [{ referenced_actor_type: "workspace-member", referenced_actor_id: draft.assignee }],
|
|
68
|
+
};
|
|
69
|
+
const { data } = (await send("postV2Tasks", input(body)));
|
|
70
|
+
return taskActivity(data, await objectsOf(send));
|
|
71
|
+
},
|
|
72
|
+
async complete(externalId, send) {
|
|
73
|
+
const id = externalId.replace(/^task:/, "");
|
|
74
|
+
if (id === externalId)
|
|
75
|
+
throw new CliError("validation_error", "only a task is marked done: name it task:<id>, as activities list does", {
|
|
76
|
+
reason: "ref.malformed",
|
|
77
|
+
sent: false,
|
|
78
|
+
});
|
|
79
|
+
const answer = await send("patchV2TasksByTaskId", input({ is_completed: true }, { task_id: id }));
|
|
80
|
+
return taskActivity(answer.data, await objectsOf(send));
|
|
81
|
+
},
|
|
82
|
+
};
|
|
83
|
+
//# sourceMappingURL=activities.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"activities.js","sourceRoot":"","sources":["../src/activities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAG5C,OAAO,EAAE,KAAK,EAAa,YAAY,EAAa,YAAY,EAAE,MAAM,YAAY,CAAA;AAEpF,MAAM,KAAK,GAAG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AAE,KAAK,UAAU;YACnB,MAAM,IAAI,QAAQ,CAAC,kBAAkB,EAAE,wEAAwE,EAAE;gBAC/G,MAAM,EAAE,eAAe;gBACvB,IAAI,EAAE,KAAK;aACZ,CAAC,CAAA;QACJ,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,sBAAsB,EAAE,KAAK,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAC,CAAA;QACjG,OAAO,YAAY,CAAE,MAAyB,CAAC,IAAI,EAAE,MAAM,SAAS,CAAC,IAAI,CAAC,CAAC,CAAA;IAC7E,CAAC;CACF,CAAA"}
|
package/dist/bin/attio.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.6.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-GZ3MFZMA.js","../bundle/all-profiles-AO5MQUUX.js","../bundle/anthropic-5VDU2NRC.js","../bundle/app-server-MUZ7JG2T.js","../bundle/bun-4BURI4ZN.js","../bundle/bun-sqlite-5B3HOPNU.js","../bundle/decode-IRF7DV6S.js","../bundle/definitions-FODOIPM2.js","../bundle/dispatch-ZRVKJENQ.js","../bundle/dist-EM7KLEG4.js","../bundle/dist-PAKDDIBT.js","../bundle/echarts-2VZGK4IS.js","../bundle/embed-22IHPVQJ.js","../bundle/embedder-6P7PRQAM.js","../bundle/failure-C2B7PYPJ.js","../bundle/first-screen-AWRCVE5Z.js","../bundle/instructions-3DTYFYZN.js","../bundle/mcp-VNOYBWW2.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-ZN4HEANX.js","../bundle/node-sqlite-ECNNSIOA.js","../bundle/oauth-YUVPUNBC.js","../bundle/open-F3F3THJB.js","../bundle/openai-TGPN54Q4.js","../bundle/process-SNVAXNUR.js","../bundle/program-LGU4MURZ.js","../bundle/prompt-ZDWDMLII.js","../bundle/recognize-2TCTQBGC.js","../bundle/remote-KUWGFPIT.js","../bundle/rerank-GIWBYYU3.js","../bundle/schemas-7JX36UC7.js","../bundle/serve-SFE5XJM5.js","../bundle/server-26SGKDDF.js","../bundle/server-GYTA24HH.js","../bundle/sqlite-runtime-PBT7XUSK.js","../bundle/state-M5FASHHH.js","../bundle/store-V5JQWH4C.js","../bundle/store-XOPZMD2A.js","../bundle/store-maintenance-command-GV4AXE3N.js","../bundle/surface-WI2E3QRQ.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
runCommandForAgent,
|
|
5
|
+
toolsFromCommands
|
|
6
|
+
} from "./chunk-LX72M3FE.js";
|
|
7
|
+
import "./chunk-W2LQAZPM.js";
|
|
8
|
+
import "./chunk-KNRMYOV5.js";
|
|
9
|
+
import "./chunk-DRMEQXZ2.js";
|
|
10
|
+
import "./chunk-DGL7FDXO.js";
|
|
11
|
+
import "./chunk-PL5P7UKW.js";
|
|
12
|
+
import "./chunk-XHUVMCHI.js";
|
|
13
|
+
import "./chunk-KGE62QLH.js";
|
|
14
|
+
import "./chunk-LH7LQWPC.js";
|
|
15
|
+
import "./chunk-KRCESNQ7.js";
|
|
16
|
+
import "./chunk-XD3CY4TM.js";
|
|
17
|
+
import "./chunk-2L6RP3YO.js";
|
|
18
|
+
import "./chunk-NCFTSBMZ.js";
|
|
19
|
+
import "./chunk-TD5O4LIV.js";
|
|
20
|
+
import "./chunk-UX5HAZC5.js";
|
|
21
|
+
import "./chunk-HWCXM5MI.js";
|
|
22
|
+
import "./chunk-RLR52L52.js";
|
|
23
|
+
import "./chunk-VHPNTMJJ.js";
|
|
24
|
+
import "./chunk-ZZYPXW4E.js";
|
|
25
|
+
import "./chunk-XPZ4JGD2.js";
|
|
26
|
+
import "./chunk-QLL6THD6.js";
|
|
27
|
+
import "./chunk-JFI3VK4W.js";
|
|
28
|
+
import "./chunk-SCBLAAZU.js";
|
|
29
|
+
import "./chunk-DDFQEOLX.js";
|
|
30
|
+
import "./chunk-S4UUN6LD.js";
|
|
31
|
+
import "./chunk-Y5E2WNWB.js";
|
|
32
|
+
import "./chunk-TSHMRHL6.js";
|
|
33
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
34
|
+
export {
|
|
35
|
+
runCommandForAgent,
|
|
36
|
+
toolsFromCommands
|
|
37
|
+
};
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
StdioServerTransport,
|
|
5
5
|
answeredWire,
|
|
6
6
|
serveStdio
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FD2SMO3B.js";
|
|
8
8
|
import {
|
|
9
9
|
CALLER_META_KEY,
|
|
10
10
|
PROXY_CLIENT_NAME,
|
|
11
11
|
callerOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DRMEQXZ2.js";
|
|
13
13
|
import {
|
|
14
14
|
InMemoryTransport,
|
|
15
15
|
McpServer
|
|
16
16
|
} from "./chunk-PL5P7UKW.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-KGE62QLH.js";
|
|
18
|
+
import "./chunk-UX5HAZC5.js";
|
|
19
19
|
import "./chunk-VHPNTMJJ.js";
|
|
20
20
|
import "./chunk-SCBLAAZU.js";
|
|
21
21
|
import {
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.753.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_25c6da2cdd0623264522d57a62102dc8/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
35
35
|
import { spawn } from "node:child_process";
|
|
36
36
|
import { randomUUID } from "node:crypto";
|
|
37
37
|
var PROTOCOL = "2025-06-18";
|
|
@@ -290,7 +290,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
290
290
|
}, "serveAllProfilesOverStdio");
|
|
291
291
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
292
292
|
const { build, close } = allProfilesServer(options);
|
|
293
|
-
const { serveOverHttp } = await import("./serve-
|
|
293
|
+
const { serveOverHttp } = await import("./serve-SFE5XJM5.js");
|
|
294
294
|
const listening = await serveOverHttp(build, {
|
|
295
295
|
...http,
|
|
296
296
|
appName: options.command,
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
checkedOptions,
|
|
6
6
|
messagesFor,
|
|
7
7
|
systemFor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OKXTO7YQ.js";
|
|
9
9
|
import {
|
|
10
10
|
Anthropic
|
|
11
11
|
} from "./chunk-XQUUANA2.js";
|
|
@@ -27,7 +27,7 @@ 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.753.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_25c6da2cdd0623264522d57a62102dc8/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,58 +3,58 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PFIHHLVJ.js";
|
|
7
7
|
import {
|
|
8
8
|
mcpUrlOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NANAZFZE.js";
|
|
10
10
|
import {
|
|
11
11
|
skillResources
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-SSRHBFL5.js";
|
|
13
13
|
import {
|
|
14
14
|
StdioServerTransport,
|
|
15
15
|
answeredWire,
|
|
16
16
|
serveStdio
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-FD2SMO3B.js";
|
|
18
|
+
import "./chunk-ZWUMTNGV.js";
|
|
19
|
+
import "./chunk-QFMB6VR5.js";
|
|
20
|
+
import "./chunk-GQ2HJ2LS.js";
|
|
21
21
|
import {
|
|
22
22
|
runCommandForAgent,
|
|
23
23
|
toolsFromCommands
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-LX72M3FE.js";
|
|
25
|
+
import "./chunk-W2LQAZPM.js";
|
|
26
|
+
import "./chunk-KNRMYOV5.js";
|
|
27
27
|
import {
|
|
28
28
|
appInstructions
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-6XXSLMSH.js";
|
|
30
30
|
import {
|
|
31
31
|
answered,
|
|
32
32
|
failed,
|
|
33
33
|
registerCommands
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-NBUIGJQ5.js";
|
|
35
35
|
import {
|
|
36
36
|
agentJson
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-IMZI45WT.js";
|
|
38
|
+
import "./chunk-XUXSY6RG.js";
|
|
39
|
+
import "./chunk-C3O5D2M3.js";
|
|
40
40
|
import "./chunk-YJKP6UZC.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-7HPQV627.js";
|
|
42
42
|
import "./chunk-INCLKCAJ.js";
|
|
43
43
|
import "./chunk-BFESDJPU.js";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-DRMEQXZ2.js";
|
|
45
|
+
import "./chunk-DGL7FDXO.js";
|
|
46
46
|
import {
|
|
47
47
|
McpServer
|
|
48
48
|
} from "./chunk-PL5P7UKW.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-OKXTO7YQ.js";
|
|
50
|
+
import "./chunk-XZ5XK3LS.js";
|
|
51
|
+
import "./chunk-JXN2WHB6.js";
|
|
52
|
+
import "./chunk-4LUZ4UMN.js";
|
|
53
53
|
import {
|
|
54
54
|
mcpHttpMarker
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
55
|
+
} from "./chunk-IM6YXEZW.js";
|
|
56
|
+
import "./chunk-DNPG5FFD.js";
|
|
57
|
+
import "./chunk-LJVNAHQZ.js";
|
|
58
58
|
import {
|
|
59
59
|
DEFAULT_OUTPUT_BYTES,
|
|
60
60
|
changesAuthorityAt,
|
|
@@ -65,34 +65,34 @@ import {
|
|
|
65
65
|
readOnlyLockOf,
|
|
66
66
|
readsOverMcpAt,
|
|
67
67
|
rootOf2 as rootOf
|
|
68
|
-
} from "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
68
|
+
} from "./chunk-XHUVMCHI.js";
|
|
69
|
+
import "./chunk-KGE62QLH.js";
|
|
70
|
+
import "./chunk-LH7LQWPC.js";
|
|
71
|
+
import "./chunk-KRCESNQ7.js";
|
|
72
|
+
import "./chunk-XD3CY4TM.js";
|
|
73
|
+
import "./chunk-MFPHMCFD.js";
|
|
74
|
+
import "./chunk-RO753JYR.js";
|
|
75
|
+
import "./chunk-2L6RP3YO.js";
|
|
76
|
+
import "./chunk-MS4IBIMA.js";
|
|
77
|
+
import "./chunk-6W4WDGLX.js";
|
|
78
|
+
import "./chunk-NCFTSBMZ.js";
|
|
79
|
+
import "./chunk-4Y4H5WDN.js";
|
|
80
|
+
import "./chunk-3TNRZCXA.js";
|
|
81
|
+
import "./chunk-TD5O4LIV.js";
|
|
82
|
+
import "./chunk-UX5HAZC5.js";
|
|
83
|
+
import "./chunk-HWCXM5MI.js";
|
|
84
|
+
import "./chunk-RLR52L52.js";
|
|
85
85
|
import "./chunk-VHPNTMJJ.js";
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-
|
|
89
|
-
import "./chunk-
|
|
90
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-DGHETDUU.js";
|
|
87
|
+
import "./chunk-ZZYPXW4E.js";
|
|
88
|
+
import "./chunk-XPZ4JGD2.js";
|
|
89
|
+
import "./chunk-KBXEQGZT.js";
|
|
90
|
+
import "./chunk-QLL6THD6.js";
|
|
91
91
|
import "./chunk-K34B37AP.js";
|
|
92
92
|
import "./chunk-D72URWJE.js";
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
95
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-JFI3VK4W.js";
|
|
94
|
+
import "./chunk-7E7JZXE6.js";
|
|
95
|
+
import "./chunk-IKYOUZ7S.js";
|
|
96
96
|
import "./chunk-SCBLAAZU.js";
|
|
97
97
|
import {
|
|
98
98
|
mcpErrorResult
|
|
@@ -102,12 +102,12 @@ import "./chunk-Y5E2WNWB.js";
|
|
|
102
102
|
import {
|
|
103
103
|
CliError
|
|
104
104
|
} from "./chunk-TSHMRHL6.js";
|
|
105
|
-
import "./chunk-
|
|
105
|
+
import "./chunk-5J35ZXZC.js";
|
|
106
106
|
import {
|
|
107
107
|
__name
|
|
108
108
|
} from "./chunk-ZVVMGPBJ.js";
|
|
109
109
|
|
|
110
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
110
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.753.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_25c6da2cdd0623264522d57a62102dc8/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
111
111
|
var EXCLUDED = [["mcp"]];
|
|
112
112
|
var aliasesOf = /* @__PURE__ */ __name((root, path) => {
|
|
113
113
|
let at = root;
|
|
@@ -223,7 +223,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
223
223
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
224
224
|
const { app } = options;
|
|
225
225
|
const { build } = createAppServer(command, context, options);
|
|
226
|
-
const { serveOverHttp } = await import("./serve-
|
|
226
|
+
const { serveOverHttp } = await import("./serve-SFE5XJM5.js");
|
|
227
227
|
const listening = await serveOverHttp(build, {
|
|
228
228
|
...http,
|
|
229
229
|
appName: app.command,
|
package/dist/bundle/attio.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
3
3
|
const require = __bundleRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
DESKTOP
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GJ46ZIBN.js";
|
|
7
7
|
import {
|
|
8
8
|
installerOf
|
|
9
9
|
} from "./chunk-K34B37AP.js";
|
|
@@ -177,7 +177,7 @@ var wcat = await wcatStart(DESKTOP);
|
|
|
177
177
|
if (wcat.code !== void 0) {
|
|
178
178
|
process.exitCode = wcat.code;
|
|
179
179
|
} else {
|
|
180
|
-
const { run } = await import("./program-
|
|
180
|
+
const { run } = await import("./program-LGU4MURZ.js");
|
|
181
181
|
process.exitCode = await run(process.argv.slice(2));
|
|
182
182
|
}
|
|
183
183
|
stopCatching();
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5J35ZXZC.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.753.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_25c6da2cdd0623264522d57a62102dc8/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,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-F2BLHGGF.js";
|
|
7
7
|
import {
|
|
8
8
|
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JFI3VK4W.js";
|
|
10
10
|
import "./chunk-SCBLAAZU.js";
|
|
11
11
|
import "./chunk-DDFQEOLX.js";
|
|
12
12
|
import "./chunk-S4UUN6LD.js";
|
|
@@ -18,7 +18,7 @@ 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.753.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_25c6da2cdd0623264522d57a62102dc8/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 {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
id,
|
|
6
6
|
text,
|
|
7
7
|
time
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TD5O4LIV.js";
|
|
9
9
|
import {
|
|
10
10
|
reference
|
|
11
11
|
} from "./chunk-DDFQEOLX.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
unknown
|
|
21
21
|
} from "./chunk-S4UUN6LD.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.753.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_25c6da2cdd0623264522d57a62102dc8/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
24
24
|
var link = {
|
|
25
25
|
target_text: nullable(text),
|
|
26
26
|
kind: text,
|
|
@@ -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.753.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_25c6da2cdd0623264522d57a62102dc8/node_modules/@wirecat/cli-core/dist/store/normalize.js
|
|
8
8
|
var NORMALIZER_VERSION = 1;
|
|
9
9
|
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
10
10
|
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
formatMeetingReference
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RLR52L52.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-TSHMRHL6.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.753.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_25c6da2cdd0623264522d57a62102dc8/node_modules/@wirecat/cli-core/dist/services/meeting-semantic.js
|
|
14
14
|
var positive = /* @__PURE__ */ __name((value, name, max) => {
|
|
15
15
|
if (!Number.isSafeInteger(value) || value < 1 || value > max)
|
|
16
16
|
throw new CliError("validation_error", `Invalid ${name}`);
|