@wirecat/cli-core 0.680.0 → 0.681.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 +33 -0
- package/dist/cli/documents/words.d.ts +1 -1
- package/dist/cli/index.d.ts +1 -0
- package/dist/cli/index.js +1 -0
- package/dist/cli/meeting-passage-text.d.ts +8 -0
- package/dist/cli/meeting-passage-text.js +15 -0
- package/dist/meetings/read-answers.d.ts +1 -1
- package/dist/meetings/read-answers.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,39 @@ Notable changes to `@wirecat/cli-core` (`@wirecat/cli-messaging` up to 0.261.0,
|
|
|
5
5
|
minor version may break callers, and says how under "Changed — may break callers". `pnpm docs:check` checks the
|
|
6
6
|
shape of this file.
|
|
7
7
|
|
|
8
|
+
## 0.681.0 — 16.11.2026
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **`crmViewerOf` is exported from `@wirecat/cli-core/crm`**, with its `CrmViewing` type, so a tool that reads a CRM
|
|
13
|
+
copy outside the CRM commands, as memo's agenda, applies the same offline rule: each profile sees only its own part.
|
|
14
|
+
- **A CLI's skill can keep a short SKILL.md and the rest in files beside it, and every route delivers them.** With
|
|
15
|
+
cli-base 0.106.0, `skill install`, the refresh of an old installed copy and Hermes's copy write the whole skill
|
|
16
|
+
folder, `skill show <name>` prints a part by its file name (`tg skill show search`), and the MCP servers (the
|
|
17
|
+
personal, the bot and the app server) serve each part at `<command>://skill/<path>` beside `<command>://skill`.
|
|
18
|
+
An agent carries SKILL.md in every turn after it opens it, the parts only when it reads one.
|
|
19
|
+
- **`validateSkill` checks the files a skill links, and can limit its size.** Each relative Markdown link's target is
|
|
20
|
+
checked like SKILL.md (its links and command paths), with problems prefixed by its file name; `maxBytes` fails a
|
|
21
|
+
larger SKILL.md.
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- **One mobile number a CRM contact, a WhatsApp account and a call each have now joins them into one person**, with
|
|
26
|
+
no proposal for the owner. Before, three holders of a number counted as three people on a shared line, so
|
|
27
|
+
the scan proposed each pair at 0.4 and an agent's `people.agentLink` answered `weak: "shared"`. Holders that each come
|
|
28
|
+
from a different source are one person's number; two holders from one source, such as two contacts of one CRM,
|
|
29
|
+
still make it a shared line.
|
|
30
|
+
- **A proposal still open for a pair no longer stops the scan joining it** when the pair now meets a join rule
|
|
31
|
+
(the join settles the proposal). The first scan after upgrading reads every number again, so pairs left as
|
|
32
|
+
proposals before join now.
|
|
33
|
+
|
|
34
|
+
### Security
|
|
35
|
+
|
|
36
|
+
- **`passageForRun(command, result, format)`** (`@wirecat/cli-core/cli`) gives a host the `meetings passage` answer
|
|
37
|
+
as it should print it. In a scheduled agent's run, the text and Markdown are formatted again from the cues with the
|
|
38
|
+
run's untrusted marks around each speaker name and line, as JSON already had them. Outside such a run, and for
|
|
39
|
+
JSON, the answer is unchanged. A host prints its `content` from the passage command's `output`.
|
|
40
|
+
|
|
8
41
|
## 0.680.0 — 16.11.2026
|
|
9
42
|
|
|
10
43
|
### Added
|
|
@@ -56,8 +56,8 @@ export interface CopyAge {
|
|
|
56
56
|
}
|
|
57
57
|
export declare const ageOf: (lastSync: string | undefined, now?: number) => CopyAge;
|
|
58
58
|
export declare const staleCopy: (provider: string, lastSync: string | undefined, now?: number) => {
|
|
59
|
+
missing?: undefined;
|
|
59
60
|
next?: undefined;
|
|
60
|
-
readonly missing?: undefined;
|
|
61
61
|
meta?: undefined;
|
|
62
62
|
} | {
|
|
63
63
|
missing: {
|
package/dist/cli/index.d.ts
CHANGED
|
@@ -109,6 +109,7 @@ export { MCP_HTTP_DEFAULT_PORT, type McpServerOptions, type McpServerTarget, mcp
|
|
|
109
109
|
export { formatMeetingBatch, prepareMeetingBatch } from "./meeting-batch.js";
|
|
110
110
|
export { meetingEvidenceItem, meetingPersonContextItem } from "./meeting-evidence-answer.js";
|
|
111
111
|
export { addMeetingCombinedSearchCommand, addMeetingEmbeddingCommand, type MeetingCombinedSearchDeps, type MeetingEmbeddingCommandDeps, type MeetingSearchRun, } from "./meeting-meaning-command.js";
|
|
112
|
+
export { passageForRun } from "./meeting-passage-text.js";
|
|
112
113
|
export { meetingPreparationAnswer } from "./meeting-preparation-answer.js";
|
|
113
114
|
export { type MeetingPreparationReader, meetingPreparationInput, readMeetingPreparation, } from "./meeting-preparation-read.js";
|
|
114
115
|
export { readMeetingProjectCandidates } from "./meeting-project-candidates-read.js";
|
package/dist/cli/index.js
CHANGED
|
@@ -100,6 +100,7 @@ export { MCP_HTTP_DEFAULT_PORT, mcpServerCommand, } from "./mcp-server-command.j
|
|
|
100
100
|
export { formatMeetingBatch, prepareMeetingBatch } from "./meeting-batch.js";
|
|
101
101
|
export { meetingEvidenceItem, meetingPersonContextItem } from "./meeting-evidence-answer.js";
|
|
102
102
|
export { addMeetingCombinedSearchCommand, addMeetingEmbeddingCommand, } from "./meeting-meaning-command.js";
|
|
103
|
+
export { passageForRun } from "./meeting-passage-text.js";
|
|
103
104
|
export { meetingPreparationAnswer } from "./meeting-preparation-answer.js";
|
|
104
105
|
export { meetingPreparationInput, readMeetingPreparation, } from "./meeting-preparation-read.js";
|
|
105
106
|
export { readMeetingProjectCandidates } from "./meeting-project-candidates-read.js";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Command } from "commander";
|
|
2
|
+
import type { MeetingPassageOutputFormat, MeetingPassageResult } from "../meetings/index.js";
|
|
3
|
+
/**
|
|
4
|
+
* The passage as the host prints it from `meetings passage`'s `output`: in a scheduled agent's run, text and Markdown
|
|
5
|
+
* are formatted again from the marked cues. The meetings module cannot read the run's mark; JSON is marked by
|
|
6
|
+
* `renderAnswer`.
|
|
7
|
+
*/
|
|
8
|
+
export declare const passageForRun: (command: Command, result: MeetingPassageResult, format: MeetingPassageOutputFormat) => MeetingPassageResult;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { formatMeetingPassage } from "../services/meeting-passage-format.js";
|
|
2
|
+
import { environmentOf } from "./context.js";
|
|
3
|
+
import { untrustedMarkOf, withUntrustedMarked } from "./untrusted-marks.js";
|
|
4
|
+
/**
|
|
5
|
+
* The passage as the host prints it from `meetings passage`'s `output`: in a scheduled agent's run, text and Markdown
|
|
6
|
+
* are formatted again from the marked cues. The meetings module cannot read the run's mark; JSON is marked by
|
|
7
|
+
* `renderAnswer`.
|
|
8
|
+
*/
|
|
9
|
+
export const passageForRun = (command, result, format) => {
|
|
10
|
+
const { app, env } = environmentOf(command);
|
|
11
|
+
const mark = app ? untrustedMarkOf(app, env ?? process.env) : undefined;
|
|
12
|
+
if (mark === undefined || format === "json")
|
|
13
|
+
return result;
|
|
14
|
+
return { ...result, content: formatMeetingPassage(withUntrustedMarked(result.packet, mark), format) };
|
|
15
|
+
};
|
|
@@ -194,7 +194,7 @@ export declare const meetingPassage: v.StrictObjectSchema<{
|
|
|
194
194
|
readonly untrusted: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
195
195
|
}, undefined>, undefined>;
|
|
196
196
|
}, undefined>;
|
|
197
|
-
/** A stored event a meeting belongs to; `id` is what `meetings
|
|
197
|
+
/** A stored event a meeting belongs to; `id` is what `meetings link <reference> --event-id` takes. */
|
|
198
198
|
export declare const event: v.StrictObjectSchema<{
|
|
199
199
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
200
200
|
readonly event_series_id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -223,7 +223,7 @@ export const meetingPassage = v.strictObject({
|
|
|
223
223
|
untrusted: v.optional(v.array(text)),
|
|
224
224
|
})),
|
|
225
225
|
});
|
|
226
|
-
/** A stored event a meeting belongs to; `id` is what `meetings
|
|
226
|
+
/** A stored event a meeting belongs to; `id` is what `meetings link <reference> --event-id` takes. */
|
|
227
227
|
export const event = v.strictObject({
|
|
228
228
|
id: v.pipe(v.string(), v.minLength(1)),
|
|
229
229
|
event_series_id: v.nullable(text),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecat/cli-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.681.0",
|
|
4
4
|
"description": "The messenger-neutral half of a messaging CLI: domain model, message locators, rendering, name resolution, the SQLite seam, the command skeleton and shared read commands, the send guard, run records and the message store",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Viacheslav Ptsarev",
|