@rubytech/create-maxy-code 0.1.265 → 0.1.266
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/package.json +1 -1
- package/payload/platform/lib/models/dist/index.d.ts +1 -1
- package/payload/platform/lib/models/dist/index.d.ts.map +1 -1
- package/payload/platform/lib/models/dist/index.js +5 -2
- package/payload/platform/lib/models/dist/index.js.map +1 -1
- package/payload/platform/lib/models/src/index.ts +5 -2
- package/payload/platform/neo4j/schema.cypher +13 -0
- package/payload/platform/plugins/admin/mcp/dist/__tests__/skill-search.test.js +9 -9
- package/payload/platform/plugins/admin/mcp/dist/__tests__/skill-search.test.js.map +1 -1
- package/payload/platform/plugins/admin/skills/platform-architecture/SKILL.md +11 -3
- package/payload/platform/plugins/admin/skills/public-agent-manager/SKILL.md +2 -2
- package/payload/platform/plugins/business-assistant/PLUGIN.md +1 -5
- package/payload/platform/plugins/docs/references/admin-ui.md +1 -1
- package/payload/platform/plugins/docs/references/voice-mirror-guide.md +9 -1
- package/payload/platform/services/claude-session-manager/dist/rc-daemon.d.ts +10 -0
- package/payload/platform/services/claude-session-manager/dist/rc-daemon.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/rc-daemon.js +59 -0
- package/payload/platform/services/claude-session-manager/dist/rc-daemon.js.map +1 -1
- package/payload/platform/templates/account.json +1 -1
- package/payload/platform/templates/specialists/agents/content-producer.md +1 -1
- package/payload/platform/templates/specialists/agents/librarian.md +1 -1
- package/payload/platform/templates/specialists/agents/research-assistant.md +1 -1
- package/payload/premium-plugins/venture-studio/skills/investor-data-room/SKILL.md +1 -1
- package/payload/premium-plugins/writer-craft/PLUGIN.md +4 -4
- package/payload/premium-plugins/writer-craft/mcp/dist/index.d.ts.map +1 -1
- package/payload/premium-plugins/writer-craft/mcp/dist/index.js +44 -9
- package/payload/premium-plugins/writer-craft/mcp/dist/index.js.map +1 -1
- package/payload/premium-plugins/writer-craft/mcp/dist/lib/voice-corpus.d.ts +31 -0
- package/payload/premium-plugins/writer-craft/mcp/dist/lib/voice-corpus.d.ts.map +1 -1
- package/payload/premium-plugins/writer-craft/mcp/dist/lib/voice-corpus.js +28 -0
- package/payload/premium-plugins/writer-craft/mcp/dist/lib/voice-corpus.js.map +1 -1
- package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-distil-profile.d.ts +7 -1
- package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-distil-profile.d.ts.map +1 -1
- package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-distil-profile.js +93 -44
- package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-distil-profile.js.map +1 -1
- package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-ingest-session-text.d.ts.map +1 -1
- package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-ingest-session-text.js +1 -0
- package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-ingest-session-text.js.map +1 -1
- package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-record-feedback.d.ts +7 -1
- package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-record-feedback.d.ts.map +1 -1
- package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-record-feedback.js +14 -3
- package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-record-feedback.js.map +1 -1
- package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-retrieve-conditioning.d.ts +22 -8
- package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-retrieve-conditioning.d.ts.map +1 -1
- package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-retrieve-conditioning.js +93 -84
- package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-retrieve-conditioning.js.map +1 -1
- package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-tag-content.d.ts +18 -0
- package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-tag-content.d.ts.map +1 -1
- package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-tag-content.js +32 -3
- package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-tag-content.js.map +1 -1
- package/payload/premium-plugins/writer-craft/mcp/scripts/smoke.mjs +35 -2
- package/payload/premium-plugins/writer-craft/mcp/src/index.ts +52 -10
- package/payload/premium-plugins/writer-craft/mcp/src/lib/voice-corpus.ts +39 -0
- package/payload/premium-plugins/writer-craft/mcp/src/tools/voice-distil-profile.ts +108 -44
- package/payload/premium-plugins/writer-craft/mcp/src/tools/voice-ingest-session-text.ts +1 -0
- package/payload/premium-plugins/writer-craft/mcp/src/tools/voice-record-feedback.ts +24 -4
- package/payload/premium-plugins/writer-craft/mcp/src/tools/voice-retrieve-conditioning.ts +136 -102
- package/payload/premium-plugins/writer-craft/mcp/src/tools/voice-tag-content.ts +45 -3
- package/payload/premium-plugins/writer-craft/skills/voice-mirror/SKILL.md +34 -23
- package/payload/platform/plugins/business-assistant/references/quote-engine.md +0 -122
- package/payload/platform/plugins/business-assistant/references/quote-generation.md +0 -94
- package/payload/platform/plugins/business-assistant/references/quoting.md +0 -85
- package/payload/platform/plugins/business-assistant/skills/pricing-method/SKILL.md +0 -78
- package/payload/platform/plugins/business-assistant/skills/pricing-method/references/learning-from-history.md +0 -51
- package/payload/platform/plugins/business-assistant/skills/pricing-method/references/maintenance.md +0 -32
- package/payload/platform/plugins/business-assistant/skills/pricing-method/references/manual-definition.md +0 -42
- package/payload/platform/plugins/business-assistant/skills/pricing-method/references/verification.md +0 -37
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const OPUS_MODEL = "claude-opus-4-
|
|
1
|
+
export declare const OPUS_MODEL = "claude-opus-4-8[1m]";
|
|
2
2
|
export declare const SONNET_MODEL = "claude-sonnet-4-6";
|
|
3
3
|
export declare const HAIKU_MODEL = "claude-haiku-4-5";
|
|
4
4
|
export declare const MODEL_CONTEXT_WINDOW: Record<string, number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU,wBAAwB,CAAC;AAChD,eAAO,MAAM,YAAY,sBAAsB,CAAC;AAChD,eAAO,MAAM,WAAW,qBAAqB,CAAC;AAE9C,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAIvD,CAAC;AAEF,wEAAwE;AACxE,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEnD"}
|
|
@@ -5,11 +5,14 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.MODEL_CONTEXT_WINDOW = exports.HAIKU_MODEL = exports.SONNET_MODEL = exports.OPUS_MODEL = void 0;
|
|
7
7
|
exports.contextWindow = contextWindow;
|
|
8
|
-
|
|
8
|
+
// Opus defaults to the 1M-context variant ([1m] is Claude Code's
|
|
9
|
+
// context-extension suffix, valid in settings.json "model" and agent
|
|
10
|
+
// frontmatter); Sonnet/Haiku stay on the standard 200k window.
|
|
11
|
+
exports.OPUS_MODEL = "claude-opus-4-8[1m]";
|
|
9
12
|
exports.SONNET_MODEL = "claude-sonnet-4-6";
|
|
10
13
|
exports.HAIKU_MODEL = "claude-haiku-4-5";
|
|
11
14
|
exports.MODEL_CONTEXT_WINDOW = {
|
|
12
|
-
[exports.OPUS_MODEL]:
|
|
15
|
+
[exports.OPUS_MODEL]: 1_000_000,
|
|
13
16
|
[exports.SONNET_MODEL]: 200_000,
|
|
14
17
|
[exports.HAIKU_MODEL]: 200_000,
|
|
15
18
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iEAAiE;AACjE,6CAA6C;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iEAAiE;AACjE,6CAA6C;;;AAgB7C,sCAEC;AAhBD,iEAAiE;AACjE,qEAAqE;AACrE,+DAA+D;AAClD,QAAA,UAAU,GAAG,qBAAqB,CAAC;AACnC,QAAA,YAAY,GAAG,mBAAmB,CAAC;AACnC,QAAA,WAAW,GAAG,kBAAkB,CAAC;AAEjC,QAAA,oBAAoB,GAA2B;IAC1D,CAAC,kBAAU,CAAC,EAAE,SAAS;IACvB,CAAC,oBAAY,CAAC,EAAE,OAAO;IACvB,CAAC,mBAAW,CAAC,EAAE,OAAO;CACvB,CAAC;AAEF,wEAAwE;AACxE,SAAgB,aAAa,CAAC,KAAa;IACzC,OAAO,4BAAoB,CAAC,KAAK,CAAC,IAAI,OAAO,CAAC;AAChD,CAAC"}
|
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
// Templates, docs, and skills reference these values as strings;
|
|
3
3
|
// all TypeScript consumers import from here.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// Opus defaults to the 1M-context variant ([1m] is Claude Code's
|
|
6
|
+
// context-extension suffix, valid in settings.json "model" and agent
|
|
7
|
+
// frontmatter); Sonnet/Haiku stay on the standard 200k window.
|
|
8
|
+
export const OPUS_MODEL = "claude-opus-4-8[1m]";
|
|
6
9
|
export const SONNET_MODEL = "claude-sonnet-4-6";
|
|
7
10
|
export const HAIKU_MODEL = "claude-haiku-4-5";
|
|
8
11
|
|
|
9
12
|
export const MODEL_CONTEXT_WINDOW: Record<string, number> = {
|
|
10
|
-
[OPUS_MODEL]:
|
|
13
|
+
[OPUS_MODEL]: 1_000_000,
|
|
11
14
|
[SONNET_MODEL]: 200_000,
|
|
12
15
|
[HAIKU_MODEL]: 200_000,
|
|
13
16
|
};
|
|
@@ -1462,6 +1462,19 @@ FOR (wg:WhatsAppGroup) ON (wg.accountId);
|
|
|
1462
1462
|
// :VoiceProfile nodes. The per-label format index lets per-format corpus
|
|
1463
1463
|
// walks and profile reads avoid full-label scans.
|
|
1464
1464
|
|
|
1465
|
+
// Task 676 — :VoiceProfile.scope ∈ {'personal','org'} discriminates the two
|
|
1466
|
+
// profile kinds. Personal: key (accountId, userId, format), scope='personal',
|
|
1467
|
+
// anchored on :AdminUser via HAS_VOICE_PROFILE. Org: key (accountId,
|
|
1468
|
+
// userId='__org__', format), scope='org', anchored on :LocalBusiness. The
|
|
1469
|
+
// reserved sentinel userId '__org__' keeps the (accountId, userId, format)
|
|
1470
|
+
// UNIQUE constraint below valid with NO migration — exactly one org profile
|
|
1471
|
+
// per (account, format). A real :AdminUser must never hold userId='__org__'
|
|
1472
|
+
// (voice-distil-profile surfaces, never swallows, the resulting constraint
|
|
1473
|
+
// error). Corpus nodes carry voiceAuthor (a userId): org walks are
|
|
1474
|
+
// account-wide, personal walks filter n.voiceAuthor = the operator. :VoiceEdit
|
|
1475
|
+
// also carries scope + the profile-key userId so feedback routes to the
|
|
1476
|
+
// matching profile; the real editor is preserved via :AUTHORED.
|
|
1477
|
+
|
|
1465
1478
|
// Task 462 — drop the old (accountId, adminUserId) constraint before
|
|
1466
1479
|
// creating the new (accountId, userId, format) three-key constraint.
|
|
1467
1480
|
// `IF EXISTS` makes the DROP idempotent on fresh installs.
|
|
@@ -24,24 +24,24 @@ function seedSkill(plugin, skill, body) {
|
|
|
24
24
|
const fm = (name, description) => `---\nname: ${name}\ndescription: ${description}\n---\n\n# ${name}\n`;
|
|
25
25
|
describe("searchSkills", () => {
|
|
26
26
|
it("description-only match returns the owning plugin + canonical slug path top-ranked", () => {
|
|
27
|
-
seedSkill("
|
|
27
|
+
seedSkill("quotation", "quotation", fm("quotation", "Use when an operator's own way of pricing jobs needs to become something the assistant can apply — set up my pricing, learn how I quote, re-learning their method from past quotes."));
|
|
28
28
|
seedSkill("admin", "qr-code", fm("qr-code", "Generate QR codes. Trigger phrases: create a QR, make a QR code."));
|
|
29
29
|
seedSkill("admin", "datetime", fm("datetime", "Timezone queries and relative-date arithmetic."));
|
|
30
30
|
const hits = searchSkills(root, "pricing algorithm");
|
|
31
31
|
expect(hits.length).toBeGreaterThan(0);
|
|
32
|
-
expect(hits[0].pluginName).toBe("
|
|
33
|
-
expect(hits[0].skillName).toBe("
|
|
34
|
-
expect(hits[0].file).toBe("skills/
|
|
32
|
+
expect(hits[0].pluginName).toBe("quotation");
|
|
33
|
+
expect(hits[0].skillName).toBe("quotation");
|
|
34
|
+
expect(hits[0].file).toBe("skills/quotation/SKILL.md");
|
|
35
35
|
});
|
|
36
36
|
it("a common trigger word does not let a noise skill outrank the distinctive match", () => {
|
|
37
37
|
// "create" is a noise term (appears in many descriptions); "quote" is
|
|
38
|
-
// distinctive.
|
|
39
|
-
seedSkill("
|
|
38
|
+
// distinctive. quotation must still win for "create a quote".
|
|
39
|
+
seedSkill("quotation", "quotation", fm("quotation", "Onboarding a new business's pricing, re-learning their method from past quotes, checking the method reproduces past quotes."));
|
|
40
40
|
seedSkill("admin", "qr-code", fm("qr-code", "Create a QR code. Trigger: create a QR, create a code."));
|
|
41
41
|
seedSkill("admin", "publish-site", fm("publish-site", "Create and publish a static site online."));
|
|
42
42
|
seedSkill("admin", "deck-pages", fm("deck-pages", "Create a slide deck of pages."));
|
|
43
43
|
const hits = searchSkills(root, "create a quote");
|
|
44
|
-
expect(hits[0].skillName).toBe("
|
|
44
|
+
expect(hits[0].skillName).toBe("quotation");
|
|
45
45
|
});
|
|
46
46
|
it("no-match query returns an empty array, not an error", () => {
|
|
47
47
|
seedSkill("admin", "qr-code", fm("qr-code", "Generate QR codes."));
|
|
@@ -85,8 +85,8 @@ describe("searchSkills", () => {
|
|
|
85
85
|
});
|
|
86
86
|
describe("parseSkillFrontmatter", () => {
|
|
87
87
|
it("reads a single-line description", () => {
|
|
88
|
-
const r = parseSkillFrontmatter("---\nname:
|
|
89
|
-
expect(r.name).toBe("
|
|
88
|
+
const r = parseSkillFrontmatter("---\nname: quotation\ndescription: Set up my pricing and learn how I quote.\n---\n\n# x\n");
|
|
89
|
+
expect(r.name).toBe("quotation");
|
|
90
90
|
expect(r.description).toContain("learn how I quote");
|
|
91
91
|
});
|
|
92
92
|
it("folds a block-scalar description into one line", () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-search.test.js","sourceRoot":"","sources":["../../src/__tests__/skill-search.test.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,6EAA6E;AAC7E,8EAA8E;AAC9E,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACxE,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAE7E,IAAI,IAAY,CAAC;AAEjB,UAAU,CAAC,GAAG,EAAE;IACd,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,eAAe,CAAC,CAAC,CAAC;AACtD,CAAC,CAAC,CAAC;AAEH,SAAS,CAAC,GAAG,EAAE;IACb,MAAM,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;AAClD,CAAC,CAAC,CAAC;AAEH,SAAS,SAAS,CAAC,MAAc,EAAE,KAAa,EAAE,IAAY;IAC5D,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;IAC3D,SAAS,CAAC,GAAG,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACpC,aAAa,CAAC,IAAI,CAAC,GAAG,EAAE,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I,CAAC,2DAA2D,CAAC,CAAC;IAC1F,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,0DAA0D,EAAE,GAAG,EAAE;QAClE,MAAM,CAAC,GAAG,qBAAqB,CAAC,4BAA4B,CAAC,CAAC;QAC9D,MAAM,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;IACnD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;QACvD,MAAM,CAAC,GAAG,qBAAqB,CAAC,kDAAkD,CAAC,CAAC;QACpF,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IAC7C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: platform-architecture
|
|
3
3
|
description: Use when grounding any documented-surface claim about what Maxy ships — plugins, skills, specialists, install/deploy flows, internals. This is the install catalogue, not evidence of what is enabled on the current account. For install state on this account, call `capabilities-here`; for documented surface, cite the `Source:` URL inline.
|
|
4
|
-
content-hash: sha256:
|
|
4
|
+
content-hash: sha256:0e8368ce205506dec22d5ed93f886c0cfc0f12b5306a6b953b4ddad19e8d3175
|
|
5
5
|
brand: maxy-code
|
|
6
6
|
product-name: Maxy
|
|
7
7
|
---
|
|
@@ -2185,6 +2185,14 @@ Maxy reads the corpus for each format, summarises your style as a YAML card, and
|
|
|
2185
2185
|
|
|
2186
2186
|
The profile re-runs automatically when your corpus grows by ≥20% for any format or every 30 days, whichever comes first.
|
|
2187
2187
|
|
|
2188
|
+
## Your Voice and the House Voice
|
|
2189
|
+
|
|
2190
|
+
There are two kinds of profile. **Your voice** is learned from your own writing — it's what an email drafted under your name should sound like. **The house voice** is learned from everyone's writing on the account as a whole — it's what something that goes out under the business's name should sound like, like a brochure or an investor document.
|
|
2191
|
+
|
|
2192
|
+
Drafting picks the right one for you: emails use your voice; brochures and investor documents use the house voice. If you ask for your own voice but haven't tagged any of your own writing yet, Maxy quietly uses the house voice instead, so drafts still sound right rather than generic.
|
|
2193
|
+
|
|
2194
|
+
When you tag content, it's attributed to you by default. On a shared account with more than one person, you can attribute a piece to whoever actually wrote it, so each person's voice stays their own while the house voice draws on all of it.
|
|
2195
|
+
|
|
2188
2196
|
## Feedback Loop
|
|
2189
2197
|
|
|
2190
2198
|
When you edit an agent draft before sending — shorten a sentence, change a sign-off, swap a phrase — Maxy captures the edit and feeds it into the next distillation. The more you edit, the closer the voice gets.
|
|
@@ -2197,7 +2205,7 @@ Voice mirror is on by default for every drafting skill. To opt out for one, set
|
|
|
2197
2205
|
|
|
2198
2206
|
## What It Won't Do
|
|
2199
2207
|
|
|
2200
|
-
- **Blend
|
|
2208
|
+
- **Blend two named people** — you get a profile per person plus one house voice for the whole account, but not a bespoke "Joel + Neo combined" voice.
|
|
2201
2209
|
- **Copy public figures** — voice mirror only learns from your own writing.
|
|
2202
2210
|
- **Clone audio** — text only, no speech synthesis.
|
|
2203
2211
|
- **Guess** — historical content stays `unknown` until you mark it. Maxy never auto-classifies your writing. (Automatic ingestion applies only to your live PTY sessions where authorship is certain.)
|
|
@@ -2261,7 +2269,7 @@ either is a regression.
|
|
|
2261
2269
|
| `/session-rc-spawn` | POST `{ sessionId?, name? }` (Task 543). Fire-and-forget `claude --remote-control [name] [--session-id <sid>]`. Present `sessionId` resumes; absent starts a fresh session (also used by the sidebar's "New session" button — it no longer opens claude.ai/code directly). Proxies to the manager's `/rc-spawn`, which waits up to **60 s** (Task 648, raised from 12 s) for the spawned PTY to bind and returns `{ spawnedPid, sessionId, bridgeSessionId, slug, outcome, reason }`. The Sidebar navigates the opened tab to `claude.ai/code/session_<id>` on `outcome=bound`; on `timeout` or `spawn-failed` it shows an error modal (reason + sessionId) and **never** opens a bare claude.ai/code tab. The new process registers itself as its own Remote Control entry in claude.ai/code. | `POST /` |
|
|
2262
2270
|
| `/claude-sessions` | **Spawn surface only** (Task 500). `POST /` is the Sidebar new-session-with-prompt path, cookie-auth only (Task 626 removed the recorder loopback caller; LinkedIn ingest moved to `/rc-spawn`). The former UI-facing handlers (SSE row feed, list, resume, stop, rename, archive, delete, `/:id/meta`, `/:id/input`, `/:id/log`) were removed — the maxy dashboard no longer manages or displays sessions. | `POST /` |
|
|
2263
2271
|
|
|
2264
|
-
Task 500 — **admin session management moved entirely to claude's own interfaces** (claude.ai/code, claude desktop). A manager-owned per-account `claude rc --spawn same-dir` daemon registers the device as a Remote Control target there; the composer creates / resumes / stops / renames / archives / deletes sessions, with model + permission-mode applied at inception. The model lever is `account.json.adminModel` → `CLAUDE_CONFIG_DIR/settings.json "model"`, written by the daemon supervisor at boot. The maxy admin UI keeps a single "New session" link (`https://claude.ai/code`, opens in a new tab) and no session list, viewer, controls, or model/mode picker. The daemon supervisor lives at [`platform/services/claude-session-manager/src/rc-daemon.ts`](../../../services/claude-session-manager/src/rc-daemon.ts). The `/session-defaults` route and `SpawnPreference` node were deleted with the picker. `/new-session-failure`, `/new-session-submit`, and `/claude-capabilities` are now orphaned (consumed only by the deleted NewSessionModal) — see [`.tasks/501`](../../../.tasks/) for their removal.
|
|
2272
|
+
Task 500 — **admin session management moved entirely to claude's own interfaces** (claude.ai/code, claude desktop). A manager-owned per-account `claude rc --spawn same-dir` daemon registers the device as a Remote Control target there; the composer creates / resumes / stops / renames / archives / deletes sessions, with model + permission-mode applied at inception. The model lever is `account.json.adminModel` → `CLAUDE_CONFIG_DIR/settings.json "model"`, written by the daemon supervisor at boot; the reasoning-effort lever is `account.json.effort` → `settings.json "effortLevel"` (accepted values `low|medium|high|xhigh`; any other value, e.g. legacy `"auto"`, leaves the key unset so claude's own default governs), written by the same read-merge-write at boot. The maxy admin UI keeps a single "New session" link (`https://claude.ai/code`, opens in a new tab) and no session list, viewer, controls, or model/mode picker. The daemon supervisor lives at [`platform/services/claude-session-manager/src/rc-daemon.ts`](../../../services/claude-session-manager/src/rc-daemon.ts). The `/session-defaults` route and `SpawnPreference` node were deleted with the picker. `/new-session-failure`, `/new-session-submit`, and `/claude-capabilities` are now orphaned (consumed only by the deleted NewSessionModal) — see [`.tasks/501`](../../../.tasks/) for their removal.
|
|
2265
2273
|
|
|
2266
2274
|
**Row title resolution.** Both the sidebar (`/sidebar-sessions`) and the manager's own row payload resolve a row's title in the same order: operator rename → Claude Code `ai-title` → first non-CLI user message → 8-char sessionId prefix. The operator-rename tier is the on-disk `<accountDir>/session-titles.json` (the manager's `UserTitleStore`), keyed by the CC sessionId — the sidebar reads that same file, so a write to the store lights up both surfaces with one write.
|
|
2267
2275
|
|
|
@@ -81,7 +81,7 @@ Present as a `select` field within the agent configuration `form` during creatio
|
|
|
81
81
|
|-------|-----|------------|------|
|
|
82
82
|
| Haiku | `claude-haiku-4-5` | Fast, cost-effective. FAQ, routing, high-volume. | Low |
|
|
83
83
|
| Sonnet | `claude-sonnet-4-6` | Balanced. Nuanced conversation, qualification, support. | Standard |
|
|
84
|
-
| Opus | `claude-opus-4-
|
|
84
|
+
| Opus | `claude-opus-4-8[1m]` | Maximum intelligence. Complex sales, consultative selling. | Premium |
|
|
85
85
|
|
|
86
86
|
## SOUL.md Scope Enforcement
|
|
87
87
|
|
|
@@ -160,7 +160,7 @@ After creation, no template metadata persists in the agent's files. The resultin
|
|
|
160
160
|
- `model` (`select`): label "Model", options with descriptions:
|
|
161
161
|
- `claude-haiku-4-5` — "Haiku — Fast, cost-effective. FAQ, routing, high-volume."
|
|
162
162
|
- `claude-sonnet-4-6` — "Sonnet — Balanced. Nuanced conversation, qualification, support."
|
|
163
|
-
- `claude-opus-4-
|
|
163
|
+
- `claude-opus-4-8[1m]` — "Opus — Maximum intelligence. Complex sales, consultative selling."
|
|
164
164
|
- `showAgentName` (`select`): label "Chat header title", options: `false` — "Business name (default)", `true` — "Agent display name", `"none"` — "None (logo only)"
|
|
165
165
|
The `model` field should have a `defaultValue` of `"claude-haiku-4-5"`.
|
|
166
166
|
Wait for the user's response before proceeding.
|
|
@@ -6,7 +6,7 @@ metadata: {"platform":{"always":true,"embed":["admin"],"pluginKey":"business-ass
|
|
|
6
6
|
|
|
7
7
|
# Business Assistant
|
|
8
8
|
|
|
9
|
-
You are a business assistant for a small business. You handle their customer communications, scheduling,
|
|
9
|
+
You are a business assistant for a small business. You handle their customer communications, scheduling, invoicing, and admin — so they can focus on the work.
|
|
10
10
|
|
|
11
11
|
## Core Principle: Memory First
|
|
12
12
|
|
|
@@ -54,10 +54,6 @@ Load the relevant reference when the task requires it:
|
|
|
54
54
|
|
|
55
55
|
- **Triage & escalation** → `references/escalation.md` — urgency classification (RED/AMBER/GREEN), customer handoff protocol, voice IVR handling
|
|
56
56
|
- **Scheduling & briefings** → `references/scheduling.md` — booking protocol, geographic clustering, travel time estimation, morning briefings, holiday mode, GPS integration
|
|
57
|
-
- **Quotes (lightweight)** → `references/quoting.md` — photo-to-quote, formatting, follow-up timings
|
|
58
|
-
- **Pricing method** → invoke the `pricing-method` skill (via the Skill tool) to build, edit, re-learn, or verify an operator's own pricing method — the items, quantity rules, pricing rules, and roll-up the quote flow consumes
|
|
59
|
-
- **Priced quote compute** → `references/quote-engine.md` — generate & run the owner's bespoke pricing engine (measured/counted work → priced result), domain-agnostic compute contract
|
|
60
|
-
- **Quote generation (engine-driven outputs)** → `references/quote-generation.md` — the output contract for a priced job: internal margin-bearing view + client breakdown + client quote, each reconciling to one engine total and rendered to PDF
|
|
61
57
|
- **Invoices & payment** → `references/invoicing.md` — HTML invoice creation, PDF generation via `browser-navigate` + `browser-pdf-save`, sending, payment chase protocol
|
|
62
58
|
- **Customer records** → `references/crm.md` — contact record management, `contact_lookup`/`contact_update` usage, pipeline tracking, when to create/update records
|
|
63
59
|
- **Document filing** → `references/document-management.md` — dual-scope filing system, naming conventions, folder structure for customer-facing vs internal documents
|
|
@@ -49,7 +49,7 @@ either is a regression.
|
|
|
49
49
|
| `/session-rc-spawn` | POST `{ sessionId?, name? }` (Task 543). Fire-and-forget `claude --remote-control [name] [--session-id <sid>]`. Present `sessionId` resumes; absent starts a fresh session (also used by the sidebar's "New session" button — it no longer opens claude.ai/code directly). Proxies to the manager's `/rc-spawn`, which waits up to **60 s** (Task 648, raised from 12 s) for the spawned PTY to bind and returns `{ spawnedPid, sessionId, bridgeSessionId, slug, outcome, reason }`. The Sidebar navigates the opened tab to `claude.ai/code/session_<id>` on `outcome=bound`; on `timeout` or `spawn-failed` it shows an error modal (reason + sessionId) and **never** opens a bare claude.ai/code tab. The new process registers itself as its own Remote Control entry in claude.ai/code. | `POST /` |
|
|
50
50
|
| `/claude-sessions` | **Spawn surface only** (Task 500). `POST /` is the Sidebar new-session-with-prompt path, cookie-auth only (Task 626 removed the recorder loopback caller; LinkedIn ingest moved to `/rc-spawn`). The former UI-facing handlers (SSE row feed, list, resume, stop, rename, archive, delete, `/:id/meta`, `/:id/input`, `/:id/log`) were removed — the maxy dashboard no longer manages or displays sessions. | `POST /` |
|
|
51
51
|
|
|
52
|
-
Task 500 — **admin session management moved entirely to claude's own interfaces** (claude.ai/code, claude desktop). A manager-owned per-account `claude rc --spawn same-dir` daemon registers the device as a Remote Control target there; the composer creates / resumes / stops / renames / archives / deletes sessions, with model + permission-mode applied at inception. The model lever is `account.json.adminModel` → `CLAUDE_CONFIG_DIR/settings.json "model"`, written by the daemon supervisor at boot. The maxy admin UI keeps a single "New session" link (`https://claude.ai/code`, opens in a new tab) and no session list, viewer, controls, or model/mode picker. The daemon supervisor lives at [`platform/services/claude-session-manager/src/rc-daemon.ts`](../../../services/claude-session-manager/src/rc-daemon.ts). The `/session-defaults` route and `SpawnPreference` node were deleted with the picker. `/new-session-failure`, `/new-session-submit`, and `/claude-capabilities` are now orphaned (consumed only by the deleted NewSessionModal) — see [`.tasks/501`](../../../.tasks/) for their removal.
|
|
52
|
+
Task 500 — **admin session management moved entirely to claude's own interfaces** (claude.ai/code, claude desktop). A manager-owned per-account `claude rc --spawn same-dir` daemon registers the device as a Remote Control target there; the composer creates / resumes / stops / renames / archives / deletes sessions, with model + permission-mode applied at inception. The model lever is `account.json.adminModel` → `CLAUDE_CONFIG_DIR/settings.json "model"`, written by the daemon supervisor at boot; the reasoning-effort lever is `account.json.effort` → `settings.json "effortLevel"` (accepted values `low|medium|high|xhigh`; any other value, e.g. legacy `"auto"`, leaves the key unset so claude's own default governs), written by the same read-merge-write at boot. The maxy admin UI keeps a single "New session" link (`https://claude.ai/code`, opens in a new tab) and no session list, viewer, controls, or model/mode picker. The daemon supervisor lives at [`platform/services/claude-session-manager/src/rc-daemon.ts`](../../../services/claude-session-manager/src/rc-daemon.ts). The `/session-defaults` route and `SpawnPreference` node were deleted with the picker. `/new-session-failure`, `/new-session-submit`, and `/claude-capabilities` are now orphaned (consumed only by the deleted NewSessionModal) — see [`.tasks/501`](../../../.tasks/) for their removal.
|
|
53
53
|
|
|
54
54
|
**Row title resolution.** Both the sidebar (`/sidebar-sessions`) and the manager's own row payload resolve a row's title in the same order: operator rename → Claude Code `ai-title` → first non-CLI user message → 8-char sessionId prefix. The operator-rename tier is the on-disk `<accountDir>/session-titles.json` (the manager's `UserTitleStore`), keyed by the CC sessionId — the sidebar reads that same file, so a write to the store lights up both surfaces with one write.
|
|
55
55
|
|
|
@@ -42,6 +42,14 @@ Once you have corpus entries tagged (or after automatic PTY ingestion fills the
|
|
|
42
42
|
|
|
43
43
|
The profile re-runs automatically when your corpus grows by ≥20% for any format or every 30 days, whichever comes first.
|
|
44
44
|
|
|
45
|
+
## Your Voice and the House Voice
|
|
46
|
+
|
|
47
|
+
There are two kinds of profile. **Your voice** is learned from your own writing — it's what an email drafted under your name should sound like. **The house voice** is learned from everyone's writing on the account as a whole — it's what something that goes out under the business's name should sound like, like a brochure or an investor document.
|
|
48
|
+
|
|
49
|
+
Drafting picks the right one for you: emails use your voice; brochures and investor documents use the house voice. If you ask for your own voice but haven't tagged any of your own writing yet, {{productName}} quietly uses the house voice instead, so drafts still sound right rather than generic.
|
|
50
|
+
|
|
51
|
+
When you tag content, it's attributed to you by default. On a shared account with more than one person, you can attribute a piece to whoever actually wrote it, so each person's voice stays their own while the house voice draws on all of it.
|
|
52
|
+
|
|
45
53
|
## Feedback Loop
|
|
46
54
|
|
|
47
55
|
When you edit an agent draft before sending — shorten a sentence, change a sign-off, swap a phrase — {{productName}} captures the edit and feeds it into the next distillation. The more you edit, the closer the voice gets.
|
|
@@ -54,7 +62,7 @@ Voice mirror is on by default for every drafting skill. To opt out for one, set
|
|
|
54
62
|
|
|
55
63
|
## What It Won't Do
|
|
56
64
|
|
|
57
|
-
- **Blend
|
|
65
|
+
- **Blend two named people** — you get a profile per person plus one house voice for the whole account, but not a bespoke "Joel + Neo combined" voice.
|
|
58
66
|
- **Copy public figures** — voice mirror only learns from your own writing.
|
|
59
67
|
- **Clone audio** — text only, no speech synthesis.
|
|
60
68
|
- **Guess** — historical content stays `unknown` until you mark it. {{productName}} never auto-classifies your writing. (Automatic ingestion applies only to your live PTY sessions where authorship is certain.)
|
|
@@ -87,6 +87,16 @@ export declare function parseBoltHostPort(uri: string): {
|
|
|
87
87
|
* composer falls back to claude's own default model) but the
|
|
88
88
|
* inception-model lever is logged as unset. */
|
|
89
89
|
export declare function readAdminModel(accountDir: string): string | null;
|
|
90
|
+
/** Read account.json.effort. Returns the validated effort level, or null when
|
|
91
|
+
* the file is absent/unparseable, the field is empty, or the value is not a
|
|
92
|
+
* settings.json-accepted level (e.g. legacy `"auto"`). Null leaves the
|
|
93
|
+
* effortLevel key untouched so claude's own default applies. */
|
|
94
|
+
export declare function readAdminEffort(accountDir: string): string | null;
|
|
95
|
+
/** Read-merge-write settings.json so only the `effortLevel` key is owned. Every
|
|
96
|
+
* other key (model, hooks, permissions, …) is preserved verbatim. Mirrors
|
|
97
|
+
* `mergeSettingsModel`'s ownership + atomic-write contract — the file is shared
|
|
98
|
+
* with maxy-spawned sessions and carries the installed Stop hook. */
|
|
99
|
+
export declare function mergeSettingsEffortLevel(claudeConfigDir: string, effortLevel: string, logger: Logger): void;
|
|
90
100
|
/** Task 578 — pre-seed RC consent. `claude rc` prompts
|
|
91
101
|
* `Enable Remote Control? (y/n)` on first run; the daemon spawn is
|
|
92
102
|
* headless so the prompt hangs and the supervisor restarts the child
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rc-daemon.d.ts","sourceRoot":"","sources":["../src/rc-daemon.ts"],"names":[],"mappings":"AA2CA,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAKpD,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB;;;6EAGyE;IACzE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;qEAEiE;IACjE,gBAAgB,EAAE,MAAM,CAAA;IACxB,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,MAAM,CAAA;IACpB,MAAM,EAAE,MAAM,CAAA;IACd,eAAe,EAAE,MAAM,CAAA;IACvB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,wEAAwE;IACxE,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,WAAW,CAAA;IACxB,MAAM,EAAE,MAAM,CAAA;IACd;;;;;;;;;gCAS4B;IAC5B,QAAQ,EAAE,CACR,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EAAE,EACd,GAAG,EAAE,MAAM,CAAC,UAAU,EACtB,SAAS,EAAE,MAAM,KACd,SAAS,CAAA;IACd;;;;gCAI4B;IAC5B,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC,CAAA;IACvF;wCACo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EAAE,eAAe,GAAG,MAAM,CAAC,UAAU,CA0BzE;AAmBD,wBAAgB,aAAa,CAAC,IAAI,EAAE,YAAY,GAAG,QAAQ,CA4S1D"}
|
|
@@ -118,6 +118,58 @@ export function readAdminModel(accountDir) {
|
|
|
118
118
|
return null;
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
+
/** Valid Claude Code `settings.json` effortLevel values. `max` is session-only
|
|
122
|
+
* (not accepted in settings.json); `auto` and any other string are treated as
|
|
123
|
+
* "unset" so the harness default governs. Mirrors the documented set
|
|
124
|
+
* (low/medium/high/xhigh). */
|
|
125
|
+
const VALID_EFFORT_LEVELS = new Set(['low', 'medium', 'high', 'xhigh']);
|
|
126
|
+
/** Read account.json.effort. Returns the validated effort level, or null when
|
|
127
|
+
* the file is absent/unparseable, the field is empty, or the value is not a
|
|
128
|
+
* settings.json-accepted level (e.g. legacy `"auto"`). Null leaves the
|
|
129
|
+
* effortLevel key untouched so claude's own default applies. */
|
|
130
|
+
export function readAdminEffort(accountDir) {
|
|
131
|
+
try {
|
|
132
|
+
const raw = readFileSync(join(accountDir, 'account.json'), 'utf8');
|
|
133
|
+
const parsed = JSON.parse(raw);
|
|
134
|
+
const value = typeof parsed.effort === 'string' ? parsed.effort.trim().toLowerCase() : '';
|
|
135
|
+
return VALID_EFFORT_LEVELS.has(value) ? value : null;
|
|
136
|
+
}
|
|
137
|
+
catch {
|
|
138
|
+
return null;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
/** Read-merge-write settings.json so only the `effortLevel` key is owned. Every
|
|
142
|
+
* other key (model, hooks, permissions, …) is preserved verbatim. Mirrors
|
|
143
|
+
* `mergeSettingsModel`'s ownership + atomic-write contract — the file is shared
|
|
144
|
+
* with maxy-spawned sessions and carries the installed Stop hook. */
|
|
145
|
+
export function mergeSettingsEffortLevel(claudeConfigDir, effortLevel, logger) {
|
|
146
|
+
const settingsPath = join(claudeConfigDir, 'settings.json');
|
|
147
|
+
let settings = {};
|
|
148
|
+
try {
|
|
149
|
+
settings = JSON.parse(readFileSync(settingsPath, 'utf8'));
|
|
150
|
+
if (typeof settings !== 'object' || settings === null || Array.isArray(settings)) {
|
|
151
|
+
settings = {};
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
catch {
|
|
155
|
+
// absent or unparseable — start fresh; we only own the `effortLevel` key.
|
|
156
|
+
}
|
|
157
|
+
if (settings.effortLevel === effortLevel) {
|
|
158
|
+
logger(`${TAG} rc-daemon settings-effort already=${effortLevel} path=${settingsPath}`);
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
161
|
+
settings.effortLevel = effortLevel;
|
|
162
|
+
try {
|
|
163
|
+
mkdirSync(dirname(settingsPath), { recursive: true });
|
|
164
|
+
const tmp = `${settingsPath}.${process.pid}.tmp`;
|
|
165
|
+
writeFileSync(tmp, JSON.stringify(settings, null, 2), 'utf8');
|
|
166
|
+
renameSync(tmp, settingsPath);
|
|
167
|
+
logger(`${TAG} rc-daemon settings-effort written effortLevel=${effortLevel} path=${settingsPath}`);
|
|
168
|
+
}
|
|
169
|
+
catch (err) {
|
|
170
|
+
logger(`${TAG} rc-daemon settings-effort-write-failed path=${settingsPath} err=${err instanceof Error ? err.message : String(err)}`);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
121
173
|
/** Task 578 — pre-seed RC consent. `claude rc` prompts
|
|
122
174
|
* `Enable Remote Control? (y/n)` on first run; the daemon spawn is
|
|
123
175
|
* headless so the prompt hangs and the supervisor restarts the child
|
|
@@ -271,6 +323,13 @@ export function startRcDaemon(deps) {
|
|
|
271
323
|
else {
|
|
272
324
|
deps.logger(`${TAG} rc-daemon settings-model unset reason=adminModel-absent accountDir=${deps.accountDir} (composer uses claude default)`);
|
|
273
325
|
}
|
|
326
|
+
const adminEffort = readAdminEffort(deps.accountDir);
|
|
327
|
+
if (adminEffort) {
|
|
328
|
+
mergeSettingsEffortLevel(deps.claudeConfigDir, adminEffort, deps.logger);
|
|
329
|
+
}
|
|
330
|
+
else {
|
|
331
|
+
deps.logger(`${TAG} rc-daemon settings-effort unset reason=effort-absent-or-invalid accountDir=${deps.accountDir} (session uses claude default)`);
|
|
332
|
+
}
|
|
274
333
|
// Task 578 — pre-seed RC consent so the headless `claude rc` spawn
|
|
275
334
|
// does not hang at `Enable Remote Control? (y/n)`. Called here for
|
|
276
335
|
// the first spawn; also re-asserted inside spawnOnce so a supervised
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rc-daemon.js","sourceRoot":"","sources":["../src/rc-daemon.ts"],"names":[],"mappings":"AAAA,wDAAwD;AACxD,EAAE;AACF,wEAAwE;AACxE,yEAAyE;AACzE,2EAA2E;AAC3E,2EAA2E;AAC3E,0EAA0E;AAC1E,EAAE;AACF,sEAAsE;AACtE,EAAE;AACF,sEAAsE;AACtE,2EAA2E;AAC3E,yEAAyE;AACzE,0EAA0E;AAC1E,qEAAqE;AACrE,EAAE;AACF,2EAA2E;AAC3E,6EAA6E;AAC7E,+CAA+C;AAC/C,kEAAkE;AAClE,6EAA6E;AAC7E,0EAA0E;AAC1E,kEAAkE;AAClE,oEAAoE;AACpE,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,4EAA4E;AAC5E,0EAA0E;AAC1E,EAAE;AACF,4EAA4E;AAC5E,4EAA4E;AAC5E,2EAA2E;AAC3E,4EAA4E;AAC5E,0EAA0E;AAC1E,8DAA8D;AAC9D,8DAA8D;AAC9D,0EAA0E;AAE1E,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,MAAM,GAAG,GAAG,0BAA0B,C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
|
|
2
2
|
name: content-producer
|
|
3
3
|
description: "Author professional business documents (proposal, report, brief, memo, plan, case study, brochure), render PDFs, generate images, and publish static websites. Delegate when the operator asks for a written document, a PDF render, a generated image, or to publish a prepared website."
|
|
4
4
|
summary: "Produces visual output from your graph: generates images, renders pages to PDF, and hosts static websites you upload as a zip."
|
|
5
|
-
model: claude-opus-4-8
|
|
5
|
+
model: claude-opus-4-8[1m]
|
|
6
6
|
tools: Bash, Read, Edit, Write, MultiEdit, Skill, mcp__plugin_memory_memory__memory-search, mcp__plugin_replicate_replicate__image-generate, mcp__plugin_browser_browser__browser-render, mcp__plugin_browser_browser__browser-navigate, mcp__plugin_browser_browser__browser-evaluate, mcp__plugin_browser_browser__browser-resize, mcp__plugin_browser_browser__browser-screenshot, mcp__plugin_browser_browser__browser-pdf-save, mcp__plugin_admin_admin__plugin-read, mcp__plugin_admin_admin__public-hostname, mcp__plugin_admin_admin__publish-site
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: librarian
|
|
3
3
|
description: "Ingest documents (PDF, text, web pages), conversation transcripts (WhatsApp, Telegram, iMessage, Slack, meeting minutes), and LinkedIn exports into the memory graph. Delegate when the operator hands you a file or transcript that should land in the graph."
|
|
4
4
|
summary: "Owns foreground ingest of documents, conversation transcripts, and external archives into the memory graph."
|
|
5
|
-
model: claude-
|
|
5
|
+
model: claude-opus-4-8[1m]
|
|
6
6
|
tools: mcp__plugin_memory_memory__memory-ingest-extract, mcp__plugin_memory_memory__memory-ingest, mcp__plugin_memory_memory__memory-ingest-web, mcp__plugin_memory_memory__memory-archive-write, mcp__plugin_memory_memory__memory-write, mcp__plugin_memory_memory__memory-update, mcp__plugin_memory_memory__memory-edge, mcp__plugin_memory_memory__memory-search, mcp__plugin_memory_memory__conversation-archive-list-chunks, mcp__plugin_memory_memory__conversation-archive-derive-insights, mcp__plugin_memory_memory__conversation-archive-enrich-rejection, mcp__plugin_contacts_contacts__contact-create, mcp__plugin_work_work__work-create, mcp__plugin_url-get_url-get__url-get, Read, Bash, Skill, WebFetch
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: research-assistant
|
|
3
3
|
description: "Deep research on the web, knowledge management, and writing structured summaries with citations from multiple sources. Delegate when the operator wants you to research a topic, read web pages, combine findings into a summary, or reorganise stored knowledge."
|
|
4
4
|
summary: "Researches topics online, manages your knowledge graph, and produces supporting visuals."
|
|
5
|
-
model: claude-opus-4-
|
|
5
|
+
model: claude-opus-4-8[1m]
|
|
6
6
|
tools: WebSearch, WebFetch, Skill, mcp__plugin_memory_memory__memory-search, mcp__plugin_memory_memory__memory-write, mcp__plugin_memory_memory__memory-reindex, mcp__plugin_replicate_replicate__image-generate, mcp__plugin_browser_browser__browser-render, mcp__plugin_url-get_url-get__url-get
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -117,7 +117,7 @@ References: `references/data-room-structure.md` for the section-by-section purpo
|
|
|
117
117
|
|
|
118
118
|
## Stage 3 — Business plan synthesis
|
|
119
119
|
|
|
120
|
-
**Before drafting any narrative prose**, call `voice-retrieve-conditioning` with `format: "article"`, `length: "long"`, and `topic` set to the venture's domain (e.g. "AI estate-agent operating system"). When the tool returns a non-null `styleCard
|
|
120
|
+
**Before drafting any narrative prose**, call `voice-retrieve-conditioning` with `format: "article"`, `length: "long"`, `scope: "org"`, and `topic` set to the venture's domain (e.g. "AI estate-agent operating system"). An investor document goes out under the venture's name, so it uses the **house voice** (`scope: "org"`), not any one founder's personal voice. When the tool returns a non-null `styleCard` (`status` of `ok` or `fallback-org`), condition every prose section on the style card and exemplars so the business plan reads as the house's own writing, not generic VC boilerplate. When `status` is `no-data` or `error`, draft in the formal-yet-direct register implied by the section purpose statements without further conditioning. Emit narration `[investor-data-room] voice-mirror styleCardBytes=<n> exemplars=<k>` when conditioning was applied.
|
|
121
121
|
|
|
122
122
|
Generate `01-narrative/business-plan.md` with **16 sections** following the canonical structure:
|
|
123
123
|
|
|
@@ -106,10 +106,10 @@ Voice-mirror introduces five deterministic plugin tools. They route writes throu
|
|
|
106
106
|
|
|
107
107
|
| Tool | Purpose |
|
|
108
108
|
|------|---------|
|
|
109
|
-
| `voice-tag-content` | Stamp `authorshipMode ∈ {human-only, human-led-agent-assisted, agent-led-human-reviewed, agent-only, unknown}
|
|
110
|
-
| `voice-distil-profile` | Three modes. `mode='sample'` (default) walks the
|
|
111
|
-
| `voice-retrieve-conditioning` | Return `{styleCard, exemplars[]}` for a drafting brief. Requires `brief.format` (one of the six corpus formats). K=5 short-form (`brief.length:'short'`), K=15 long-form (`brief.length:'long'`). Token-budget bounded.
|
|
112
|
-
| `voice-record-feedback` | Capture an operator edit on an agent draft as a `:VoiceEdit {format}` with a Haiku-summarised `intent`, linked back to the
|
|
109
|
+
| `voice-tag-content` | Stamp `authorshipMode ∈ {human-only, human-led-agent-assisted, agent-led-human-reviewed, agent-only, unknown}`, `format ∈ {text, email, social-post, article, note, marketing-copy}`, and `voiceAuthor` on one or many `:KnowledgeDocument | :Message | :SocialPost` nodes (email threads live as `:KnowledgeDocument {source:'email'}` since Task 321). Bulk-mode for backfill batches. `format` is required. `author` is optional — omit to attribute to the tagging operator (Task 676). |
|
|
110
|
+
| `voice-distil-profile` | Three modes, scope-aware (Task 676: `scope='personal'` default walks one author; `scope='org'` walks the whole account onto the business). `mode='sample'` (default) walks the `human-only` corpus for the given `format`/`scope` and returns exemplars + recent edit intents for the agent to compose a style card; cadence-guarded (≥20% growth or ≥30 days). `mode='amend'` (Task 472) reads only `nodeIds` plus the existing `:VoiceProfile.styleCard` so the agent can decide whether named documents move the profile — operator-initiated, no cadence guard. `mode='write'` persists the YAML card; supply `amendedFromNodeIds` to attribute the write to specific documents (bypasses cadence + corpus walk). Trashed nodes are excluded from every walk. Omit `format` on `'sample'` to enumerate all formats in that scope's corpus and distil each. |
|
|
111
|
+
| `voice-retrieve-conditioning` | Return `{styleCard, exemplars[], status}` for a drafting brief. Requires `brief.format` (one of the six corpus formats). `brief.scope` (default `personal`) picks personal vs org voice; a personal request with no personal profile falls back to the org profile (`status='fallback-org'`, Task 676). K=5 short-form (`brief.length:'short'`), K=15 long-form (`brief.length:'long'`). Token-budget bounded. `status ∈ {ok, fallback-org, no-data, error}`. |
|
|
112
|
+
| `voice-record-feedback` | Capture an operator edit on an agent draft as a `:VoiceEdit {format, scope}` with a Haiku-summarised `intent`, linked back to the scoped per-format `:VoiceProfile` via `:FEEDBACK_FOR` (org edits → org profile; editor preserved via `:AUTHORED`, Task 676). Requires `format`. |
|
|
113
113
|
| `voice-ingest-session-text` | Write operator turns from the current session as `:Message {format:'text', authorshipMode:'human-only'}` corpus nodes. The agent reads its own operator turns from context and passes them as `turns`. Deduplicates via SHA256 `contentHash`. Invoked on demand by the voice-mirror skill when the operator asks to capture this session's voice. |
|
|
114
114
|
|
|
115
115
|
The non-voice skills continue to operate via existing platform tools (`memory-search` for knowledge retrieval). Structured choices are still presented as numbered lists in plain chat — the platform has no inline-UI component primitive on the admin / native-CC surface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAuC,gBAAgB,EAAuB,MAAM,8BAA8B,CAAC;AA4b1H,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|