@rubytech/create-maxy-code 0.1.328 → 0.1.330
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/plugins/admin/mcp/dist/__tests__/admin-authoring-skill-gate.test.js +2 -2
- package/payload/platform/plugins/admin/mcp/dist/__tests__/admin-authoring-skill-gate.test.js.map +1 -1
- package/payload/platform/plugins/admin/mcp/dist/content-producer-authoring-skills.d.ts +1 -1
- package/payload/platform/plugins/admin/mcp/dist/content-producer-authoring-skills.d.ts.map +1 -1
- package/payload/platform/plugins/admin/mcp/dist/content-producer-authoring-skills.js +18 -6
- package/payload/platform/plugins/admin/mcp/dist/content-producer-authoring-skills.js.map +1 -1
- package/payload/platform/plugins/slides/skills/deck-system/SKILL.md +1 -1
- package/payload/platform/services/claude-session-manager/dist/http-server.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/http-server.js +14 -0
- package/payload/platform/services/claude-session-manager/dist/http-server.js.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/index.js +34 -1
- package/payload/platform/services/claude-session-manager/dist/index.js.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/rc-child-log.d.ts +13 -0
- package/payload/platform/services/claude-session-manager/dist/rc-child-log.d.ts.map +1 -0
- package/payload/platform/services/claude-session-manager/dist/rc-child-log.js +52 -0
- package/payload/platform/services/claude-session-manager/dist/rc-child-log.js.map +1 -0
- package/payload/platform/services/claude-session-manager/dist/stuck-turn.d.ts +64 -0
- package/payload/platform/services/claude-session-manager/dist/stuck-turn.d.ts.map +1 -0
- package/payload/platform/services/claude-session-manager/dist/stuck-turn.js +201 -0
- package/payload/platform/services/claude-session-manager/dist/stuck-turn.js.map +1 -0
- package/payload/platform/templates/specialists/agents/content-producer.md +1 -1
- package/payload/premium-plugins/management-consulting/skills/pitch-deck/SKILL.md +44 -37
- package/payload/premium-plugins/writer-craft/mcp/dist/index.d.ts.map +1 -1
- package/payload/premium-plugins/writer-craft/mcp/dist/index.js +7 -2
- package/payload/premium-plugins/writer-craft/mcp/dist/index.js.map +1 -1
- 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 +9 -7
- package/payload/premium-plugins/writer-craft/mcp/dist/tools/voice-retrieve-conditioning.js.map +1 -1
- package/payload/premium-plugins/writer-craft/mcp/scripts/smoke.mjs +38 -2
- package/payload/premium-plugins/writer-craft/mcp/src/index.ts +7 -2
- package/payload/premium-plugins/writer-craft/mcp/src/tools/voice-retrieve-conditioning.ts +9 -7
- package/payload/premium-plugins/writer-craft/skills/voice-mirror/SKILL.md +1 -1
- package/payload/server/public/assets/{AdminLoginScreens-DstNf4M-.js → AdminLoginScreens-BnuaXvxN.js} +1 -1
- package/payload/server/public/assets/{AdminShell-B5EcXCYR.js → AdminShell-Br0DJQNu.js} +1 -1
- package/payload/server/public/assets/{Checkbox-DWGpkJD5.js → Checkbox-1flpB9H0.js} +1 -1
- package/payload/server/public/assets/{OperatorConversations-BWu6GMQM.css → OperatorConversations-DrPqB9Ym.css} +1 -1
- package/payload/server/public/assets/{admin-CnIlm4Yi.js → admin-BWJTvagN.js} +1 -1
- package/payload/server/public/assets/{browser-ePr5LxPd.js → browser-XM5e-fn1.js} +1 -1
- package/payload/server/public/assets/chat-COFMxaoC.js +1 -0
- package/payload/server/public/assets/{data-DuObS80U.js → data-BHtJozT2.js} +1 -1
- package/payload/server/public/assets/{graph-B5uxt5YB.js → graph-CIIz9Dmh.js} +1 -1
- package/payload/server/public/assets/{graph-labels-fx-bv3Y-.js → graph-labels-BRKvhE0e.js} +1 -1
- package/payload/server/public/assets/{operator-CIGXegWd.js → operator-9hbxrXKm.js} +1 -1
- package/payload/server/public/assets/{page-BVOAwj-e.js → page-CXkBfOhG.js} +2 -2
- package/payload/server/public/assets/{public-DXAdRKJe.js → public-BPlZnopr.js} +1 -1
- package/payload/server/public/browser.html +4 -4
- package/payload/server/public/chat.html +5 -5
- package/payload/server/public/data.html +4 -4
- package/payload/server/public/graph.html +6 -6
- package/payload/server/public/index.html +6 -6
- package/payload/server/public/operator.html +7 -7
- package/payload/server/public/public.html +5 -5
- package/payload/server/public/assets/chat-XjXSornk.js +0 -1
- /package/payload/server/public/assets/{OperatorConversations-CSQnX7Dx.js → OperatorConversations-C8sITz2_.js} +0 -0
package/package.json
CHANGED
package/payload/platform/plugins/admin/mcp/dist/__tests__/admin-authoring-skill-gate.test.js
CHANGED
|
@@ -27,13 +27,13 @@ describe("isAdminSeat", () => {
|
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
29
|
describe("CONTENT_PRODUCER_AUTHORING_SKILLS", () => {
|
|
30
|
-
it("is the render/publish authoring skills
|
|
30
|
+
it("is the render/publish authoring skills, the consulting prose deliverables, and the relocated property brochure (pitch-deck is admin-orchestrated, not owned)", () => {
|
|
31
31
|
expect([...CONTENT_PRODUCER_AUTHORING_SKILLS].sort()).toEqual([
|
|
32
32
|
"a4-print-documents",
|
|
33
33
|
"decision-memo",
|
|
34
34
|
"narrative-builder",
|
|
35
|
-
"pitch-deck",
|
|
36
35
|
"professional-document",
|
|
36
|
+
"property-brochure",
|
|
37
37
|
"publish-site",
|
|
38
38
|
].sort());
|
|
39
39
|
});
|
package/payload/platform/plugins/admin/mcp/dist/__tests__/admin-authoring-skill-gate.test.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin-authoring-skill-gate.test.js","sourceRoot":"","sources":["../../src/__tests__/admin-authoring-skill-gate.test.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,EAAE;AACF,mEAAmE;AACnE,wEAAwE;AACxE,yEAAyE;AACzE,0EAA0E;AAC1E,gEAAgE;AAChE,oEAAoE;AACpE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EACL,iCAAiC,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AE,GAAG,EAAE;QACrD,MAAM,CAAC,wBAAwB,CAAC,uBAAuB,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAChF,CAAC,CAAC,CAAC;IACH,EAAE,CAAC,qDAAqD,EAAE,GAAG,EAAE;QAC7D,MAAM,CAAC,wBAAwB,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC/D,MAAM,CAAC,wBAAwB,CAAC,uBAAuB,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC5E,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const CONTENT_PRODUCER_AUTHORING_SKILL_SLUGS: readonly ["professional-document", "a4-print-documents", "publish-site", "decision-memo", "narrative-builder", "
|
|
1
|
+
export declare const CONTENT_PRODUCER_AUTHORING_SKILL_SLUGS: readonly ["professional-document", "a4-print-documents", "publish-site", "decision-memo", "narrative-builder", "property-brochure"];
|
|
2
2
|
//# sourceMappingURL=content-producer-authoring-skills.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-producer-authoring-skills.d.ts","sourceRoot":"","sources":["../src/content-producer-authoring-skills.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"content-producer-authoring-skills.d.ts","sourceRoot":"","sources":["../src/content-producer-authoring-skills.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,sCAAsC,qIAOzC,CAAC"}
|
|
@@ -12,18 +12,30 @@
|
|
|
12
12
|
// generator's declaration scan already excludes them; this list is the gate's
|
|
13
13
|
// compiled-in guard against a declaration regression.
|
|
14
14
|
//
|
|
15
|
-
// The first three are the original render/publish/print authoring skills.
|
|
16
|
-
//
|
|
17
|
-
//
|
|
15
|
+
// The first three are the original render/publish/print authoring skills.
|
|
16
|
+
// decision-memo and narrative-builder are management-consulting prose
|
|
17
|
+
// deliverables; property-brochure is the estate-agent brochure. Each is
|
|
18
|
+
// finished external-facing prose composed end-to-end on content-producer (the
|
|
18
19
|
// authoring seat, which carries plainly + prose-craft + voice-retrieve-
|
|
19
|
-
// conditioning)
|
|
20
|
-
//
|
|
20
|
+
// conditioning), so the admin must dispatch them rather than author them.
|
|
21
|
+
//
|
|
22
|
+
// pitch-deck is deliberately NOT here (Task 979). The admin orchestrates it: it
|
|
23
|
+
// asks the operator the deck kind, light or dark, and the colour set — choices
|
|
24
|
+
// only the admin can put to the operator — and delegates just the compose and
|
|
25
|
+
// render steps to content-producer. So the admin must be able to load it; gating
|
|
26
|
+
// it would lock those operator choices inside a subagent that cannot ask.
|
|
27
|
+
//
|
|
28
|
+
// The 19 management-consulting analysis-framework skills stay admin-run and are
|
|
29
|
+
// not listed here. The founder fundraise pack (investor-data-room) stays
|
|
30
|
+
// admin-run, keeping voice-retrieve-conditioning on the admin surface, until its
|
|
31
|
+
// mandatory research-assistant citation routing can move off a leaf authoring
|
|
32
|
+
// seat that has no Task/Agent tool.
|
|
21
33
|
export const CONTENT_PRODUCER_AUTHORING_SKILL_SLUGS = [
|
|
22
34
|
"professional-document",
|
|
23
35
|
"a4-print-documents",
|
|
24
36
|
"publish-site",
|
|
25
37
|
"decision-memo",
|
|
26
38
|
"narrative-builder",
|
|
27
|
-
"
|
|
39
|
+
"property-brochure",
|
|
28
40
|
];
|
|
29
41
|
//# sourceMappingURL=content-producer-authoring-skills.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-producer-authoring-skills.js","sourceRoot":"","sources":["../src/content-producer-authoring-skills.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,gFAAgF;AAChF,+EAA+E;AAC/E,8EAA8E;AAC9E,gFAAgF;AAChF,oDAAoD;AACpD,EAAE;AACF,wEAAwE;AACxE,4EAA4E;AAC5E,6EAA6E;AAC7E,+EAA+E;AAC/E,8EAA8E;AAC9E,sDAAsD;AACtD,EAAE;AACF,8EAA8E;AAC9E,+EAA+E;AAC/E,
|
|
1
|
+
{"version":3,"file":"content-producer-authoring-skills.js","sourceRoot":"","sources":["../src/content-producer-authoring-skills.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,gFAAgF;AAChF,+EAA+E;AAC/E,8EAA8E;AAC9E,gFAAgF;AAChF,oDAAoD;AACpD,EAAE;AACF,wEAAwE;AACxE,4EAA4E;AAC5E,6EAA6E;AAC7E,+EAA+E;AAC/E,8EAA8E;AAC9E,sDAAsD;AACtD,EAAE;AACF,0EAA0E;AAC1E,sEAAsE;AACtE,wEAAwE;AACxE,8EAA8E;AAC9E,wEAAwE;AACxE,0EAA0E;AAC1E,EAAE;AACF,gFAAgF;AAChF,+EAA+E;AAC/E,8EAA8E;AAC9E,iFAAiF;AACjF,0EAA0E;AAC1E,EAAE;AACF,gFAAgF;AAChF,yEAAyE;AACzE,iFAAiF;AACjF,8EAA8E;AAC9E,oCAAoC;AACpC,MAAM,CAAC,MAAM,sCAAsC,GAAG;IACpD,uBAAuB;IACvB,oBAAoB;IACpB,cAAc;IACd,eAAe;IACf,mBAAmB;IACnB,mBAAmB;CACX,CAAC"}
|
|
@@ -40,7 +40,7 @@ Based on the user's description, select the right storytelling format. Read the
|
|
|
40
40
|
|
|
41
41
|
These files are in the same directory as this SKILL.md. Read them from here.
|
|
42
42
|
|
|
43
|
-
**Consulting decks arrive composed.** When the brief is a consulting deliverable (a new-business or credentials pitch, a client findings or recommendation deck, or a thought-leadership deck), `management-consulting:pitch-deck` has already
|
|
43
|
+
**Consulting decks arrive composed, and the render needs three inputs.** When the brief is a consulting deliverable (a new-business or credentials pitch, a client findings or recommendation deck, or a thought-leadership deck), `management-consulting:pitch-deck` has already composed the content in the operator's house voice and the admin has collected the operator's choices. Before rendering, confirm you were handed all three: the approved-words file, the mode (light or dark), and the colour set. **If any is missing, do not render.** Return to the admin naming what is missing (`[pitch-deck] render-refused missing=<words|mode|colour>`). These are operator choices the admin owns; never default them here. With all three present, render that brief through the component library below in the given mode and colour set; do not re-select a storytelling format or re-write the prose.
|
|
44
44
|
|
|
45
45
|
**Default:** If unclear, use the six-beat TED Talk structure from `STORYTELLING.md`. It adapts to most formats.
|
|
46
46
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http-server.d.ts","sourceRoot":"","sources":["../src/http-server.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAa3B,OAAO,EAiBL,KAAK,SAAS,EAEf,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"http-server.d.ts","sourceRoot":"","sources":["../src/http-server.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAa3B,OAAO,EAiBL,KAAK,SAAS,EAEf,MAAM,kBAAkB,CAAA;AAuBzB,OAAO,KAAK,EAAE,SAAS,EAAyB,MAAM,iBAAiB,CAAA;AAEvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAC3D,OAAO,EAAqB,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AAgFhE,eAAO,MAAM,kBAAkB,QAA2B,CAAA;AAS1D,eAAO,MAAM,4BAA4B,QAAS,CAAA;AAIlD,MAAM,WAAW,QAAS,SAAQ,IAAI,CAAC,SAAS,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC7E;;qEAEiE;IACjE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,SAAS,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,iBAAiB,EAAE,MAAM,CAAA;IACzB,kBAAkB,EAAE,WAAW,CAAA;IAC/B,eAAe,EAAE,aAAa,CAAA;IAC9B;kFAC8E;IAC9E,cAAc,EAAE,cAAc,CAAA;IAC9B;;gFAE4E;IAC5E,cAAc,EAAE,cAAc,CAAA;IAC9B;;;6BAGyB;IACzB,mBAAmB,CAAC,EAAE,mBAAmB,CAAA;IACzC;;gFAE4E;IAC5E,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B;AAgHD,wBAAgB,eAAe,CAAC,aAAa,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAEpG;AAgBD,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE1D;AAUD,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAMvE;AAMD,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,MAAM,GAAG,IAAI,EACxB,OAAO,EAAE,MAAM,EACf,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,GACtB,MAAM,CAER;AAkCD,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAe5F;AAwJD;;;kEAGkE;AAClE,MAAM,MAAM,OAAO,GAAG,IAAI,GAAG;IAC3B,2BAA2B,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACpD;;;+CAG2C;IAC3C,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;CAChD,CAAA;AAmBD,wBAAgB,YAAY,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,CAu5EpD"}
|
|
@@ -38,6 +38,7 @@ import { getScopeMainPid, defaultProcessSignals, defaultSystemctlRunner } from '
|
|
|
38
38
|
import { readSidecar, updateSidecar, appendBridgeId, writeSidecar } from './session-sidecar.js';
|
|
39
39
|
import { resolveSettingsPermissionMode, resolveSettingsModel, resolveSettingsEffort } from './settings-permission-mode.js';
|
|
40
40
|
import { emitRcLife } from './rc-life.js';
|
|
41
|
+
import { createRcChildLog } from './rc-child-log.js';
|
|
41
42
|
import { readJsonlSession } from './jsonl-enumerator.js';
|
|
42
43
|
import { watchInputSubmission, countUserEntries } from './input-postcondition.js';
|
|
43
44
|
import { claudeStateRoot, projectSlugForCwd, jsonlPathForSessionId, sidecarPathForSessionId, permissionModeLogPathForSessionId, findExistingJsonlForSessionId, detectRemoteControlSlug, classifyBindBlocker, } from './jsonl-path.js';
|
|
@@ -2479,6 +2480,16 @@ export function buildHttpApp(deps) {
|
|
|
2479
2480
|
let outputBuf = '';
|
|
2480
2481
|
let outputEmitted = false;
|
|
2481
2482
|
let outputTimer = null;
|
|
2483
|
+
// Task 977 — persist the full child stdout/stderr for the session's
|
|
2484
|
+
// lifetime, not just the 1 KB boot banner above. Without this a mid-turn
|
|
2485
|
+
// wedge leaves no harness-side evidence of the last SDK activity before the
|
|
2486
|
+
// loop parked. Keyed on the resumable sessionId when present, else the
|
|
2487
|
+
// spawn unitToken. The MCP-helper tee and /spawn get the same treatment.
|
|
2488
|
+
const childLog = createRcChildLog({
|
|
2489
|
+
logDir: deps.logDir,
|
|
2490
|
+
id: sessionId ?? unitToken,
|
|
2491
|
+
logger: deps.logger,
|
|
2492
|
+
});
|
|
2482
2493
|
const emitChildOutput = () => {
|
|
2483
2494
|
if (outputEmitted)
|
|
2484
2495
|
return;
|
|
@@ -2520,6 +2531,7 @@ export function buildHttpApp(deps) {
|
|
|
2520
2531
|
const BIND_BUF_TAIL = 8 * 1024;
|
|
2521
2532
|
pty.onData((data) => {
|
|
2522
2533
|
stdoutBytes += data.length;
|
|
2534
|
+
childLog.write(data);
|
|
2523
2535
|
if ((effectiveWaChannel || effectiveWebchatChannel) && !devChannelConfirmed) {
|
|
2524
2536
|
devChannelScan += data;
|
|
2525
2537
|
if (devChannelScan.length > 4096)
|
|
@@ -2580,6 +2592,8 @@ export function buildHttpApp(deps) {
|
|
|
2580
2592
|
// 500 ms idle deadline before the child exited.
|
|
2581
2593
|
if (!outputEmitted)
|
|
2582
2594
|
emitChildOutput();
|
|
2595
|
+
// Task 977 — close the per-session child log on exit.
|
|
2596
|
+
childLog.close();
|
|
2583
2597
|
});
|
|
2584
2598
|
// Task 558 — session-ready is terminal for the spawn path. The PTY
|
|
2585
2599
|
// master IS the live session, not a reclaimable spawn artifact:
|