@rubytech/create-maxy-code 0.1.169 → 0.1.170

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.
Files changed (134) hide show
  1. package/package.json +1 -1
  2. package/payload/platform/plugins/.claude-plugin/marketplace.json +0 -15
  3. package/payload/platform/plugins/docs/references/platform.md +1 -1
  4. package/payload/server/{chunk-3TRIXQSJ.js → chunk-L2YK2VK3.js} +17 -29
  5. package/payload/server/maxy-edge.js +1 -1
  6. package/payload/server/server.js +1 -1
  7. package/payload/platform/plugins/teaching/.claude-plugin/plugin.json +0 -8
  8. package/payload/platform/plugins/teaching/PLUGIN.md +0 -58
  9. package/payload/platform/plugins/teaching/skills/interactive-tutor/SKILL.md +0 -59
  10. package/payload/platform/plugins/teaching/skills/interactive-tutor/references/assessment.md +0 -70
  11. package/payload/platform/plugins/teaching/skills/interactive-tutor/references/classroom-conduct.md +0 -43
  12. package/payload/platform/plugins/teaching/skills/interactive-tutor/references/teaching-modes.md +0 -83
  13. package/payload/platform/plugins/teaching/skills/lesson-planner/SKILL.md +0 -48
  14. package/payload/platform/plugins/teaching/skills/lesson-planner/references/context-gathering.md +0 -41
  15. package/payload/platform/plugins/teaching/skills/lesson-planner/references/plan-structure.md +0 -94
  16. package/payload/platform/plugins/teaching/skills/study-pack-builder/SKILL.md +0 -52
  17. package/payload/platform/plugins/teaching/skills/study-pack-builder/references/disaggregation.md +0 -49
  18. package/payload/platform/plugins/teaching/skills/study-pack-builder/references/materials.md +0 -116
  19. package/payload/platform/plugins/venture-studio/.claude-plugin/plugin.json +0 -8
  20. package/payload/platform/plugins/venture-studio/PLUGIN.md +0 -119
  21. package/payload/platform/plugins/venture-studio/bin/scaffold.sh +0 -116
  22. package/payload/platform/plugins/venture-studio/skills/brand-pack/SKILL.md +0 -256
  23. package/payload/platform/plugins/venture-studio/skills/brand-pack/references/color-psychology.md +0 -118
  24. package/payload/platform/plugins/venture-studio/skills/investor-data-room/SKILL.md +0 -376
  25. package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/business-plan-template.md +0 -64
  26. package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/compliance-research-checklist.md +0 -53
  27. package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/data-room-structure.md +0 -88
  28. package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/deck-blueprint-template.md +0 -39
  29. package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/design-tokens-application.md +0 -79
  30. package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/html-pdf-pipeline.md +0 -236
  31. package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/internal-workings-scrub.md +0 -33
  32. package/payload/platform/plugins/venture-studio/skills/investor-data-room/references/termsheet-template.md +0 -88
  33. package/payload/platform/plugins/venture-studio/skills/investor-data-room/templates/prospectus/index.html +0 -1565
  34. package/payload/platform/plugins/venture-studio/skills/investor-data-room/templates/prospectus/render-pdf.mjs +0 -91
  35. package/payload/platform/plugins/venture-studio/skills/investor-data-room/templates/prospectus/term_sheet.html +0 -715
  36. package/payload/platform/plugins/venture-studio/skills/office-hours/SKILL.md +0 -587
  37. package/payload/platform/plugins/venture-studio/skills/prototype-host/SKILL.md +0 -179
  38. package/payload/platform/plugins/venture-studio/skills/prototype-host/references/cloudflared-ingress-edit.md +0 -81
  39. package/payload/platform/plugins/venture-studio/skills/prototype-host/references/scaffold-frameworks.md +0 -60
  40. package/payload/platform/plugins/venture-studio/skills/prototype-host/references/systemd-user-service.md +0 -104
  41. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/SKILL.md +0 -336
  42. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/aarrr-metrics.md +0 -275
  43. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/assumption-testing.md +0 -93
  44. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/boolean-search.md +0 -308
  45. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/build-measure-learn.md +0 -262
  46. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/business-model-canvas.md +0 -171
  47. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/commitment-signals.md +0 -246
  48. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/design-thinking.md +0 -183
  49. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/earlyvangelist.md +0 -190
  50. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/first-principles.md +0 -58
  51. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/fishbone.md +0 -114
  52. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/five-whys.md +0 -43
  53. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/ice-scoring.md +0 -237
  54. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/innovation-accounting.md +0 -290
  55. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/jtbd.md +0 -105
  56. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/landing-page.md +0 -361
  57. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/market-type.md +0 -167
  58. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/mom-test.md +0 -193
  59. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/mvp-types.md +0 -200
  60. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/og-images.md +0 -239
  61. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/pareto.md +0 -103
  62. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/persona-development.md +0 -291
  63. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/pivot-types.md +0 -225
  64. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/positioning-statement.md +0 -179
  65. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/prd.md +0 -363
  66. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/pre-mortem.md +0 -74
  67. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/problem-validation.md +0 -253
  68. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/product-market-fit.md +0 -256
  69. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/research-synthesis.md +0 -276
  70. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/three-engines-of-growth.md +0 -248
  71. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/validation-tests.md +0 -89
  72. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/value-proposition-canvas.md +0 -121
  73. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/win-loss-analysis.md +0 -242
  74. package/payload/platform/plugins/venture-studio/skills/zero-to-prototype/references/workflow-mapping.md +0 -271
  75. package/payload/platform/plugins/writer-craft/.claude-plugin/plugin.json +0 -17
  76. package/payload/platform/plugins/writer-craft/PLUGIN.md +0 -130
  77. package/payload/platform/plugins/writer-craft/agents/writer-craft--manuscript-reviewer.md +0 -96
  78. package/payload/platform/plugins/writer-craft/mcp/package.json +0 -19
  79. package/payload/platform/plugins/writer-craft/mcp/scripts/smoke.mjs +0 -152
  80. package/payload/platform/plugins/writer-craft/mcp/src/index.ts +0 -289
  81. package/payload/platform/plugins/writer-craft/mcp/src/lib/neo4j.ts +0 -56
  82. package/payload/platform/plugins/writer-craft/mcp/src/lib/voice-corpus.ts +0 -54
  83. package/payload/platform/plugins/writer-craft/mcp/src/tools/voice-distil-profile.ts +0 -303
  84. package/payload/platform/plugins/writer-craft/mcp/src/tools/voice-record-feedback.ts +0 -114
  85. package/payload/platform/plugins/writer-craft/mcp/src/tools/voice-retrieve-conditioning.ts +0 -145
  86. package/payload/platform/plugins/writer-craft/mcp/src/tools/voice-tag-content.ts +0 -117
  87. package/payload/platform/plugins/writer-craft/mcp/tsconfig.json +0 -8
  88. package/payload/platform/plugins/writer-craft/skills/citation-style/SKILL.md +0 -94
  89. package/payload/platform/plugins/writer-craft/skills/citation-style/references/book-and-chapter-models.md +0 -77
  90. package/payload/platform/plugins/writer-craft/skills/citation-style/references/citation-rules.md +0 -103
  91. package/payload/platform/plugins/writer-craft/skills/citation-style/references/journal-article-models.md +0 -74
  92. package/payload/platform/plugins/writer-craft/skills/citation-style/references/other-source-models.md +0 -146
  93. package/payload/platform/plugins/writer-craft/skills/citation-style/references/reference-list-rules.md +0 -70
  94. package/payload/platform/plugins/writer-craft/skills/editorial-practice/SKILL.md +0 -108
  95. package/payload/platform/plugins/writer-craft/skills/editorial-practice/references/copyediting.md +0 -73
  96. package/payload/platform/plugins/writer-craft/skills/editorial-practice/references/developmental-editing.md +0 -85
  97. package/payload/platform/plugins/writer-craft/skills/editorial-practice/references/genre-specific-editing.md +0 -78
  98. package/payload/platform/plugins/writer-craft/skills/editorial-practice/references/line-editing.md +0 -55
  99. package/payload/platform/plugins/writer-craft/skills/editorial-practice/references/self-editing.md +0 -89
  100. package/payload/platform/plugins/writer-craft/skills/persuasive-storytelling/SKILL.md +0 -114
  101. package/payload/platform/plugins/writer-craft/skills/persuasive-storytelling/references/audience-analysis.md +0 -73
  102. package/payload/platform/plugins/writer-craft/skills/persuasive-storytelling/references/crafting-persuasive-story.md +0 -76
  103. package/payload/platform/plugins/writer-craft/skills/persuasive-storytelling/references/persuasion-case-studies.md +0 -67
  104. package/payload/platform/plugins/writer-craft/skills/persuasive-storytelling/references/transformation-framework.md +0 -86
  105. package/payload/platform/plugins/writer-craft/skills/point-of-view/SKILL.md +0 -97
  106. package/payload/platform/plugins/writer-craft/skills/point-of-view/references/indirect-narration.md +0 -72
  107. package/payload/platform/plugins/writer-craft/skills/point-of-view/references/pov-types-and-voice.md +0 -91
  108. package/payload/platform/plugins/writer-craft/skills/point-of-view/references/protagonist-filter.md +0 -71
  109. package/payload/platform/plugins/writer-craft/skills/point-of-view/references/tense-and-person.md +0 -85
  110. package/payload/platform/plugins/writer-craft/skills/prose-craft/SKILL.md +0 -100
  111. package/payload/platform/plugins/writer-craft/skills/prose-craft/references/punctuation-and-grammar.md +0 -72
  112. package/payload/platform/plugins/writer-craft/skills/prose-craft/references/repetition.md +0 -71
  113. package/payload/platform/plugins/writer-craft/skills/prose-craft/references/sound-and-rhythm.md +0 -64
  114. package/payload/platform/plugins/writer-craft/skills/prose-craft/references/word-economy.md +0 -93
  115. package/payload/platform/plugins/writer-craft/skills/reader-engagement/SKILL.md +0 -100
  116. package/payload/platform/plugins/writer-craft/skills/reader-engagement/references/cause-effect-setup-payoff.md +0 -79
  117. package/payload/platform/plugins/writer-craft/skills/reader-engagement/references/conflict-escalation.md +0 -81
  118. package/payload/platform/plugins/writer-craft/skills/reader-engagement/references/hooking-readers.md +0 -67
  119. package/payload/platform/plugins/writer-craft/skills/reader-engagement/references/neurochemistry-of-engagement.md +0 -94
  120. package/payload/platform/plugins/writer-craft/skills/review-manuscript/SKILL.md +0 -111
  121. package/payload/platform/plugins/writer-craft/skills/review-manuscript/references/review-manuscript-checklist.md +0 -119
  122. package/payload/platform/plugins/writer-craft/skills/review-prose/SKILL.md +0 -99
  123. package/payload/platform/plugins/writer-craft/skills/review-prose/references/prose-review-checklist.md +0 -112
  124. package/payload/platform/plugins/writer-craft/skills/review-scene/SKILL.md +0 -99
  125. package/payload/platform/plugins/writer-craft/skills/review-scene/references/scene-analysis-framework.md +0 -95
  126. package/payload/platform/plugins/writer-craft/skills/story-architecture/SKILL.md +0 -106
  127. package/payload/platform/plugins/writer-craft/skills/story-architecture/references/blueprinting-and-scene-cards.md +0 -118
  128. package/payload/platform/plugins/writer-craft/skills/story-architecture/references/inner-issue-and-protagonist-goal.md +0 -66
  129. package/payload/platform/plugins/writer-craft/skills/story-architecture/references/misbelief-desire-worldview.md +0 -87
  130. package/payload/platform/plugins/writer-craft/skills/story-architecture/references/origin-scenes-and-escalation.md +0 -82
  131. package/payload/platform/plugins/writer-craft/skills/story-blueprint/SKILL.md +0 -133
  132. package/payload/platform/plugins/writer-craft/skills/story-blueprint/references/blueprinting-exercises.md +0 -118
  133. package/payload/platform/plugins/writer-craft/skills/story-blueprint/references/blueprinting-process.md +0 -128
  134. package/payload/platform/plugins/writer-craft/skills/voice-mirror/SKILL.md +0 -166
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rubytech/create-maxy-code",
3
- "version": "0.1.169",
3
+ "version": "0.1.170",
4
4
  "description": "Install Maxy — AI for Productive People",
5
5
  "bin": {
6
6
  "create-maxy-code": "./dist/index.js"
@@ -104,21 +104,11 @@
104
104
  "source": "./substack-import",
105
105
  "version": "0.1.0"
106
106
  },
107
- {
108
- "name": "teaching",
109
- "source": "./teaching",
110
- "version": "0.1.0"
111
- },
112
107
  {
113
108
  "name": "telegram",
114
109
  "source": "./telegram",
115
110
  "version": "0.1.0"
116
111
  },
117
- {
118
- "name": "venture-studio",
119
- "source": "./venture-studio",
120
- "version": "0.1.0"
121
- },
122
112
  {
123
113
  "name": "whatsapp",
124
114
  "source": "./whatsapp",
@@ -134,11 +124,6 @@
134
124
  "source": "./workflows",
135
125
  "version": "0.1.0"
136
126
  },
137
- {
138
- "name": "writer-craft",
139
- "source": "./writer-craft",
140
- "version": "0.1.0"
141
- },
142
127
  {
143
128
  "name": "x-import",
144
129
  "source": "./x-import",
@@ -31,7 +31,7 @@ Everything {{productName}} can do is provided by a plugin. Each plugin is a self
31
31
 
32
32
  **How tools and roles reach the session.** Each `claude` PTY spawn registers every plugin's MCP server and every bundled subagent directory before the operator's first turn — a per-spawn `mcp-config.json` written by the session manager and passed as `--mcp-config` on the PTY argv, plus one `--add-dir` per agents directory. Admin sessions see every plugin and every role; public sessions see only plugins with at least one public-allowlisted tool. The manager refuses to start when a plugin's `PLUGIN.md` declares tools without a matching `mcp:` block (forensic signal: `boot-failed reason=mcp-allowlist-without-server …`). See `internals.md` "Spawn-time MCP and subagent registration" for the full mechanism and `internals.md` "Tool Eagerness" for the separate ToolSearch-vs-eager registration concern.
33
33
 
34
- **Where premium bundle subs live.** Bundle subs (`loop`, `property-data`, `brochures`, etc. inside `real-agent`) live exclusively at `premium-plugins/<bundle>/plugins/<sub>/` and are registered via the resolver's bundle-descent walk. They are never flat-copied into `platform/plugins/<sub>/`. Standalone premiums (no `BUNDLE.md`) still flat-copy on first boot because there is no parallel descent to register them. A divergent flat copy of a bundle sub is treated as an operator override: the resolver refuses to boot with `boot-failed reason=mcp-plugin-duplicate <plugin> declared by more than one plugins root: <pathA> (sha=…) vs <pathB> (sha=…)` so the operator can `sha256sum` both paths and remove the stale one. Byte-identical flat copies left over from installs predating Task 169 are reaped on the first post-upgrade boot (`[premium-auto-deliver] reaped sub=<name> reason=duplicate-of-premium-tree`).
34
+ **Where premium bundle subs live.** Bundle subs (`loop`, `property-data`, `brochures`, etc. inside `real-agent`) live exclusively at `premium-plugins/<bundle>/plugins/<sub>/` and are registered via the resolver's bundle-descent walk. Standalone premiums (no `BUNDLE.md`, e.g. `writer-craft`, `teaching`, `venture-studio`) live exclusively at `premium-plugins/<name>/` and are registered via the resolver's dual-root scan (`platform/plugins/` and `premium-plugins/` are both `pluginsRoots`). Neither shape is flat-copied into `platform/plugins/<name>/`. A divergent flat copy of a bundle sub is treated as an operator override: the resolver refuses to boot with `boot-failed reason=mcp-plugin-duplicate <plugin> declared by more than one plugins root: <pathA> (sha=…) vs <pathB> (sha=…)` so the operator can `sha256sum` both paths and remove the stale one. Byte-identical bundle-sub flat copies left over from installer versions that flat-copied bundle subs are reaped on the first post-upgrade boot (`[premium-auto-deliver] reaped sub=<name> reason=duplicate-of-premium-tree`). Standalone flat copies (leaked by the pre-fix `autoDeliverPremiumPlugins` standalone branch) are reaped unconditionally — there is no documented override path for standalones at `platform/plugins/<name>/` — and the reaper logs `[premium-auto-deliver] reaped standalone=<name> matches-source=<true|false>` so divergent reaps leave a forensic trail.
35
35
 
36
36
  Plugins are installed and managed through conversation. You can add marketplace plugins (like Stripe) or use {{productName}}'s built-in ones (contacts, memory, Telegram).
37
37
 
@@ -3818,7 +3818,6 @@ import {
3818
3818
  readdirSync as readdirSync2,
3819
3819
  existsSync as existsSync5,
3820
3820
  statSync as statSync2,
3821
- cpSync,
3822
3821
  rmSync
3823
3822
  } from "fs";
3824
3823
  import { createHash as createHash2 } from "crypto";
@@ -3903,59 +3902,48 @@ function walkPremiumBundlesOnDisk() {
3903
3902
  function reapDuplicateFlatPremiumSubs(bundles, stagingRoot, pluginsDir) {
3904
3903
  const TAG = "[premium-auto-deliver]";
3905
3904
  for (const { bundle, subs } of bundles) {
3905
+ const isBundle = existsSync5(join3(stagingRoot, bundle, "BUNDLE.md"));
3906
3906
  for (const sub of subs) {
3907
- const premiumManifest = resolve4(stagingRoot, bundle, "plugins", sub, "PLUGIN.md");
3907
+ const premiumManifest = isBundle ? resolve4(stagingRoot, bundle, "plugins", sub, "PLUGIN.md") : resolve4(stagingRoot, bundle, "PLUGIN.md");
3908
3908
  const flatDir = resolve4(pluginsDir, sub);
3909
3909
  const flatManifest = resolve4(flatDir, "PLUGIN.md");
3910
3910
  if (!existsSync5(premiumManifest) || !existsSync5(flatManifest)) continue;
3911
3911
  const premiumSha = createHash2("sha256").update(readFileSync5(premiumManifest)).digest("hex");
3912
3912
  const flatSha = createHash2("sha256").update(readFileSync5(flatManifest)).digest("hex");
3913
- if (premiumSha === flatSha) {
3913
+ if (isBundle) {
3914
+ if (premiumSha === flatSha) {
3915
+ try {
3916
+ rmSync(flatDir, { recursive: true });
3917
+ console.log(`${TAG} reaped sub=${sub} reason=duplicate-of-premium-tree`);
3918
+ } catch (err) {
3919
+ console.log(`${TAG} reap-failed sub=${sub} err=${err instanceof Error ? err.message : String(err)}`);
3920
+ }
3921
+ } else {
3922
+ console.log(`${TAG} flat-copy-divergent sub=${sub} action=skip-keep`);
3923
+ }
3924
+ } else {
3914
3925
  try {
3915
3926
  rmSync(flatDir, { recursive: true });
3916
- console.log(`${TAG} reaped sub=${sub} reason=duplicate-of-premium-tree`);
3927
+ console.log(`${TAG} reaped standalone=${sub} matches-source=${flatSha === premiumSha}`);
3917
3928
  } catch (err) {
3918
- console.log(`${TAG} reap-failed sub=${sub} err=${err instanceof Error ? err.message : String(err)}`);
3929
+ console.log(`${TAG} reap-failed standalone=${sub} err=${err instanceof Error ? err.message : String(err)}`);
3919
3930
  }
3920
- } else {
3921
- console.log(`${TAG} flat-copy-divergent sub=${sub} action=skip-keep`);
3922
3931
  }
3923
3932
  }
3924
3933
  }
3925
3934
  }
3926
3935
  function autoDeliverPremiumPlugins() {
3927
- const TAG = "[premium-auto-deliver]";
3928
3936
  const bundles = walkPremiumBundles();
3929
3937
  if (bundles.length === 0) return;
3930
3938
  const stagingRoot = resolve4(PLATFORM_ROOT2, "../premium-plugins");
3931
3939
  const pluginsDir = resolve4(PLATFORM_ROOT2, "plugins");
3932
3940
  reapDuplicateFlatPremiumSubs(bundles, stagingRoot, pluginsDir);
3933
- for (const { bundle, subs: _subs } of bundles) {
3934
- const stagingDir = resolve4(stagingRoot, bundle);
3935
- const bundlePath = join3(stagingDir, "BUNDLE.md");
3936
- const isBundle = existsSync5(bundlePath);
3937
- if (isBundle) {
3938
- continue;
3939
- }
3940
- const target = resolve4(pluginsDir, bundle);
3941
- if (existsSync5(resolve4(target, "PLUGIN.md"))) {
3942
- console.log(`${TAG} ${bundle}: already present, skipping`);
3943
- } else {
3944
- try {
3945
- cpSync(stagingDir, target, { recursive: true });
3946
- console.log(`${TAG} ${bundle} (standalone): delivered`);
3947
- } catch (err) {
3948
- console.log(`${TAG} ${bundle}: copy failed: ${err instanceof Error ? err.message : String(err)}`);
3949
- }
3950
- }
3951
- }
3952
3941
  }
3953
3942
  function reconcileEnabledPlugins(accountDir, config, accountId) {
3954
3943
  const TAG = "[premium-auto-deliver]";
3955
3944
  if (!accountDir || !config) return;
3956
3945
  const bundles = walkPremiumBundles();
3957
3946
  const stagingRoot = resolve4(PLATFORM_ROOT2, "../premium-plugins");
3958
- const pluginsDir = resolve4(PLATFORM_ROOT2, "plugins");
3959
3947
  const bundleNames = [];
3960
3948
  const allSubs = [];
3961
3949
  for (const { bundle, subs } of bundles) {
@@ -3963,7 +3951,7 @@ function reconcileEnabledPlugins(accountDir, config, accountId) {
3963
3951
  const bundlePath = join3(stagingRoot, bundle, "BUNDLE.md");
3964
3952
  const isBundle = existsSync5(bundlePath);
3965
3953
  for (const sub of subs) {
3966
- const subManifest = isBundle ? resolve4(stagingRoot, bundle, "plugins", sub, "PLUGIN.md") : resolve4(pluginsDir, sub, "PLUGIN.md");
3954
+ const subManifest = isBundle ? resolve4(stagingRoot, bundle, "plugins", sub, "PLUGIN.md") : resolve4(stagingRoot, bundle, "PLUGIN.md");
3967
3955
  if (!existsSync5(subManifest)) continue;
3968
3956
  allSubs.push(sub);
3969
3957
  }
@@ -14,7 +14,7 @@ import {
14
14
  sanitizeClientCorrId,
15
15
  vncLog,
16
16
  websockifyLog
17
- } from "./chunk-3TRIXQSJ.js";
17
+ } from "./chunk-L2YK2VK3.js";
18
18
  import "./chunk-PFF6I7KP.js";
19
19
 
20
20
  // server/edge.ts
@@ -84,7 +84,7 @@ import {
84
84
  vncLog,
85
85
  walkPremiumBundles,
86
86
  writeAdminUserAndPerson
87
- } from "./chunk-3TRIXQSJ.js";
87
+ } from "./chunk-L2YK2VK3.js";
88
88
  import {
89
89
  __commonJS,
90
90
  __toESM
@@ -1,8 +0,0 @@
1
- {
2
- "name": "teaching",
3
- "description": "Interactive tutoring, lesson planning, and study pack generation. Teaches any subject from the knowledge base, adapting to learner age and pace. Three skills: live tutoring, parent-delivered lesson plans, and independent revision packs.",
4
- "version": "0.1.0",
5
- "author": {
6
- "name": "Rubytech LLC"
7
- }
8
- }
@@ -1,58 +0,0 @@
1
- ---
2
- name: teaching
3
- description: "Interactive tutoring, lesson planning, and study pack generation. Teaches any subject from the knowledge base, adapting to learner age and pace. Three skills: live tutoring, parent-delivered lesson plans, and independent revision packs."
4
- icon: 🎓
5
- tools: []
6
- always: false
7
- metadata: {"platform":{"optional":true,"pluginKey":"teaching","embed":["public","admin"]}}
8
- ---
9
-
10
- # Teaching
11
-
12
- Three skills for knowledge-based teaching and learning. Each skill draws content exclusively from the account's knowledge base — never from training data — and adapts to the learner's age (5–18).
13
-
14
- ## Skills
15
-
16
- | Skill | Purpose | Audience |
17
- |-------|---------|----------|
18
- | `interactive-tutor` | Teaches a learner directly through conversation, adapting in real time | Student (via chat) |
19
- | `lesson-planner` | Generates self-contained lesson plans a parent or instructor can deliver | Parent / instructor |
20
- | `study-pack-builder` | Produces structured revision packs (flashcards, summaries, assessments) | Student (independent study) |
21
-
22
- ## When to Activate
23
-
24
- The user wants to:
25
- - Teach a child or student a topic from the knowledge base
26
- - Create a lesson plan for home education or tutoring
27
- - Build revision materials, flashcards, or study packs from stored content
28
- - Prepare a student for an assessment using knowledge base content
29
-
30
- ## Shared Principles
31
-
32
- - **Content from knowledge base only.** Every skill searches memory first. If the knowledge base lacks sufficient material, the skill says so — it never fills gaps from training data.
33
- - **Conversational context gathering.** Each skill collects requirements one question at a time, confirming before generating.
34
- - **Age-appropriate adaptation.** Language, examples, and complexity scale to the learner's age (5–18 years).
35
- - **Self-contained output.** Lesson plans, study packs, and tutoring sessions require no external resources.
36
- - **Domain-neutral.** The skills work for any subject present in the knowledge base — not limited to any specific curriculum, exam board, or educational system.
37
-
38
- ## Tools Used
39
-
40
- No MCP server. Skills operate via existing platform tools:
41
- - `memory-search` — retrieve subject content from the knowledge base
42
- - `image_generate` — create visual aids, diagrams, and infographics
43
-
44
- Structured choices are presented as numbered lists in plain chat — the platform has no inline-UI component primitive on the admin / native-CC surface.
45
-
46
- ## References
47
-
48
- Domain knowledge files loaded on demand by each skill:
49
-
50
- | Reference | Used By | Purpose |
51
- |-----------|---------|---------|
52
- | `references/assessment.md` | interactive-tutor | Prior knowledge assessment and comprehension checking |
53
- | `references/classroom-conduct.md` | interactive-tutor | Standing rules for language, output format, and boundaries |
54
- | `references/teaching-modes.md` | interactive-tutor | Four teaching approaches (Socratic, Direct, Guided Discovery, Adaptive) |
55
- | `references/context-gathering.md` | lesson-planner | Student context fields and teaching mode descriptions |
56
- | `references/plan-structure.md` | lesson-planner | Lesson plan format, content requirements, and quality standards |
57
- | `references/disaggregation.md` | study-pack-builder | Building topic hierarchies from knowledge base content |
58
- | `references/materials.md` | study-pack-builder | Per-topic revision material generation (summaries, flashcards, assessments) |
@@ -1,59 +0,0 @@
1
- ---
2
- name: interactive-tutor
3
- description: "Teach learners interactively through conversation. Adapts to the student's age, assesses prior knowledge, teaches using four modes (Socratic, Direct, Guided Discovery, Adaptive), checks comprehension, and adjusts complexity in real time."
4
- ---
5
-
6
- # Interactive Tutor
7
-
8
- You teach learners directly through conversation. When a student wants to learn something, you become their teacher — engaging, age-appropriate, and responsive to their understanding.
9
-
10
- ## Teaching Flow
11
-
12
- ```
13
- 1. Gather basics (age, topic, lesson length, teaching mode)
14
- 2. Assess prior knowledge (warm greeting, 1-2 questions)
15
- 3. Teach with adaptive complexity (main loop)
16
- ```
17
-
18
- ## Step 1: Gather Basics
19
-
20
- Collect from the parent or student:
21
- - **Student's age**
22
- - **Topic** to learn
23
- - **Lesson length** (10-20 minutes)
24
- - **Teaching mode** (Socratic, Direct, Guided Discovery, or Adaptive)
25
-
26
- If the parent is present, gather from them. If the student is chatting directly, ask in age-appropriate language.
27
-
28
- ## Step 2: Assess Prior Knowledge
29
-
30
- Greet the student warmly. You are now speaking DIRECTLY to the child, not the parent.
31
- - Brief introduction about what you'll learn together
32
- - 1-2 engaging questions to gauge what they already know
33
- - Then transition directly into teaching — don't announce a plan
34
-
35
- Load `references/assessment.md` for the full assessment approach.
36
-
37
- ## Step 3: Teach
38
-
39
- Search memory for content on the topic before teaching. Teach from what the knowledge base provides — do not teach from training data.
40
-
41
- Use the selected mode. Load `references/teaching-modes.md` for mode-specific strategies.
42
-
43
- During teaching:
44
- - Use concrete, age-appropriate examples (toys, games, food, animals — things they know)
45
- - Check comprehension periodically
46
- - Adjust complexity based on their responses
47
- - Celebrate their thinking process and effort
48
- - Generate images with `image_generate` when a visual would help — diagrams, illustrations, worked examples. Don't narrate that you're generating; just include the image naturally in the teaching flow.
49
-
50
- Load `references/classroom-conduct.md` for conduct rules that apply at all times.
51
-
52
- ## Critical Rules
53
-
54
- 1. **Speak only dialogue** — no action descriptions, no asterisks, no stage directions. Only words you would say out loud.
55
- 2. **Don't ask permission** — "Would you like me to teach you?" is wrong. Just teach.
56
- 3. **Lead with confidence** — you are the teacher. Ask questions, guide discovery, explain concepts.
57
- 4. **Adapt immediately** — if they struggle once, simplify. If they excel once, increase the challenge. Don't wait for patterns.
58
- 5. **Stay on topic** — if the student goes off-topic, redirect warmly but firmly.
59
- 6. **Content from memory only** — search the knowledge base for topic content. Do not teach from training data.
@@ -1,70 +0,0 @@
1
- # Assessment and Comprehension
2
-
3
- ## Initial Assessment (Prior Knowledge)
4
-
5
- When transitioning from gathering basics to teaching, assess what the student already knows.
6
-
7
- **You are speaking DIRECTLY to the student, not the parent.**
8
-
9
- ### Opening
10
- 1. Warm greeting: "Hello! I'm excited to teach you about [topic] today."
11
- 2. Brief introduction: explain what you'll be learning together in simple terms
12
- 3. Transition to assessment: "Before we dive in, I'd like to understand what you already know."
13
-
14
- ### Assessment Questions
15
- - Ask open, engaging questions — not test questions
16
- - "What do you know about [topic]?" not "Can you define [topic]?"
17
- - "Have you ever noticed..." or "What happens when you..."
18
- - Keep it light — this isn't a test
19
- - Build on what they say with follow-up questions
20
-
21
- ### Quick Assessment (1-2 Questions Max)
22
- 1. Start with an open question about what they know
23
- 2. Based on their answer, ask one follow-up to gauge depth
24
- 3. Then START TEACHING immediately — don't announce a plan
25
-
26
- ### Transition to Teaching
27
- - Wrong: "I'll now create a lesson plan for you..."
28
- - Right: "Let me show you something cool about [topic]..."
29
- - Wrong: "Would you like me to start teaching?"
30
- - Right: "Here's an interesting question..."
31
-
32
- ## Comprehension Checks During Teaching
33
-
34
- Periodically assess whether the student understands the current concept.
35
-
36
- ### How to Check
37
- Ask a question that tests understanding, not recall:
38
- - "If I changed [variable], what would happen?"
39
- - "Can you explain that to me in your own words?"
40
- - "Why do you think [concept] works that way?"
41
-
42
- ### Interpreting Responses
43
-
44
- | Level | Signs | Action |
45
- |-------|-------|--------|
46
- | Full understanding | Explains concept accurately, applies it to new examples | Move on. Increase complexity. |
47
- | Partial understanding | Gets the idea but misses details or can't apply it | Clarify the gaps. Try a different example. |
48
- | Minimal understanding | Vague or partially wrong answers | Simplify. Reteach with a different approach. |
49
- | No understanding | Confused, silent, or completely wrong | Step back. Start from a more basic concept. |
50
-
51
- ### Complexity Adjustment
52
-
53
- Track complexity on a 1-10 scale (1 = very simple, 10 = advanced).
54
-
55
- **Decrease complexity when:** Multiple wrong answers, asks for explanations, says "I don't understand", long pauses.
56
-
57
- **Increase complexity when:** Answers quickly and correctly, asks advanced questions, shows mastery, seems bored.
58
-
59
- **Maintain when:** Appropriately challenged, engaged, occasional mistakes but learning.
60
-
61
- Adjustments should be decisive (+/-2-3 levels) when the signal is clear, gradual (+/-1) when uncertain.
62
-
63
- ## Mastery Tracking
64
-
65
- Throughout the session, mentally track:
66
- - **Concepts introduced** — what you've taught
67
- - **Concepts mastered** — what the student demonstrated understanding of
68
- - **Concepts needing work** — where they struggled
69
-
70
- Use this to guide what to focus on next. Don't move on from a concept the student hasn't grasped — reteach it differently before progressing.
@@ -1,43 +0,0 @@
1
- # Classroom Conduct
2
-
3
- These rules apply at ALL times during tutoring, regardless of teaching mode.
4
-
5
- ## Language Standards
6
-
7
- - Always maintain appropriate, professional language suitable for educational settings
8
- - Never use profanity, slang, crude humour, or informal language inappropriate for a classroom
9
- - Keep all examples and questions age-appropriate and educational in nature
10
- - Maintain a warm but professional teaching tone appropriate for student-teacher relationships
11
-
12
- ## Output Format
13
-
14
- Provide ONLY spoken dialogue — plain text words you would say out loud.
15
-
16
- **Never:**
17
- - Action descriptions or body language ("*smiles*", "*nods*", "*leans forward*")
18
- - Emotional state descriptions ("I'm excited to...")
19
- - Stage directions or roleplay narration
20
- - Asterisk-wrapped actions of any kind
21
-
22
- **Only:** The words you would speak. Nothing else.
23
-
24
- ## Staying On Topic
25
-
26
- - Stay strictly within the lesson topic and objectives
27
- - If the student goes off-topic, redirect warmly but firmly: "That's interesting! But let's get back to [current topic]..."
28
- - If the student uses inappropriate language, redirect immediately: "Let's use classroom-appropriate language. Now, back to [current topic]..."
29
- - Do not engage in casual conversation unrelated to the lesson
30
-
31
- ## Content Boundaries
32
-
33
- - All content must be suitable for a classroom environment, no exceptions
34
- - Avoid topics related to: violence, adult content, controversial politics, religion (unless these ARE the lesson topic)
35
- - Keep examples age-appropriate — use everyday scenarios children can relate to
36
- - If the student asks something outside the lesson scope: "That's a great question! It's a bit beyond what we're covering today, but let's focus on [current topic]..."
37
-
38
- ## Teaching Confidence
39
-
40
- - Never ask permission to teach — lead confidently
41
- - Never say "Would you like me to..." or "Should I..."
42
- - Never say "I'll create a lesson plan for you" — you're already teaching
43
- - Ask questions that make the student think, not questions asking for their consent to proceed
@@ -1,83 +0,0 @@
1
- # Teaching Modes
2
-
3
- ## Socratic Dialogue
4
-
5
- Guide learning through engaging questions and concrete examples.
6
-
7
- **How to start:** Jump right in with a concrete scenario. "Let's say you have 3 toy cars and your friend gives you 2 more..." Ask an engaging question about something they can visualise.
8
-
9
- **Never start with:** "Would you like me to teach you about..." or "Should we begin with..." or "Let me create a lesson plan..."
10
-
11
- **Technique:**
12
- - Use toys, sweets, pets, games — things the child can picture
13
- - Ask questions that make them think, not questions asking permission
14
- - Guide them to discover answers through concrete examples
15
- - Build each question on their previous answer
16
-
17
- **Example (8-year-old, maths):**
18
- "Imagine you have 7 toy dinosaurs. Your little brother gives you 5 more. How many dinosaurs do you have now?"
19
- [Student: "12?"]
20
- "Exactly! Now, what if you gave 3 dinosaurs to your friend? How many would you have left?"
21
-
22
- ## Direct Instruction
23
-
24
- Clear, structured explanation with examples and regular checks.
25
-
26
- **Technique:**
27
- - Present information in logical, step-by-step sequence
28
- - Use concrete examples: "Let me show you how..."
29
- - Employ visual descriptions: "Imagine..." "Picture this..."
30
- - Check understanding frequently: "Does that make sense?" "Can you explain it back to me?"
31
- - Provide clear summaries: "So what we learned is..."
32
- - Use repetition for key concepts
33
- - Offer analogies to familiar things: "It's like when you..."
34
-
35
- **Structure:**
36
- 1. Hook their interest, state what they'll discover
37
- 2. Explain the concept with examples
38
- 3. Apply the concept together (guided practice)
39
- 4. Check understanding with questions
40
-
41
- ## Guided Discovery
42
-
43
- Exploration-based learning with scaffolding and support.
44
-
45
- **Technique:**
46
- - Present scenarios or problems to explore: "Let's investigate..." "I wonder what would happen if..."
47
- - Suggest thought experiments: "Try imagining..." "Let's think about..."
48
- - Provide hints and clues, not direct answers: "What if you looked at it this way..."
49
- - Encourage hypothesis formation: "What do you predict?" "What's your theory?"
50
- - Guide their exploration with strategic questions
51
- - Celebrate discoveries: "You figured it out!" "What a great observation!"
52
-
53
- **Example pattern:**
54
- "Let's do a thought experiment. Imagine you're on a boat in the middle of a lake..."
55
- [Student describes what they think]
56
- "Interesting! Now what if the lake was completely frozen solid? What changes?"
57
-
58
- ## Adaptive
59
-
60
- Dynamically blend teaching approaches based on student responses.
61
-
62
- **React to these signals immediately — not after 3-4 exchanges:**
63
-
64
- | Signal | Response |
65
- |--------|----------|
66
- | Struggling | Simplify now. Use direct instruction. Provide more scaffolding. |
67
- | Excelling | Add complexity immediately. Use Socratic questions. Try guided discovery. |
68
- | Curious | Follow their interest right away. Use questions to deepen understanding. |
69
- | Confused | Pause immediately. Check understanding. Reteach differently. |
70
- | Engaged | Continue current approach. |
71
- | Disengaged | Change approach now. Connect to interests. Add an activity. |
72
-
73
- **Be highly responsive.** If the student struggles once, simplify. If they answer quickly and correctly, challenge them more. Decisive adjustments (+/-2-3 levels) when the signal is clear; gradual (+/-1) when uncertain.
74
-
75
- ## Age-Appropriate Language
76
-
77
- Adapt your vocabulary and examples to the student's age:
78
-
79
- - **5-7:** Very simple words, familiar objects (toys, food, family), lots of counting and physical examples
80
- - **8-10:** Slightly more complex, can handle multi-step thinking, use stories and games
81
- - **11-13:** Can handle abstract concepts with concrete anchors, use real-world applications
82
- - **14-16:** Near-adult language, can handle abstract reasoning, use practical and academic examples
83
- - **17-18:** Adult-level discussion, nuanced concepts, examination-level rigour
@@ -1,48 +0,0 @@
1
- ---
2
- name: lesson-planner
3
- description: "Create personalised lesson plans for home educating families. Gathers student context conversationally, confirms the plan, then generates a structured lesson plan with objectives, activities, assessments, and parent guidance."
4
- ---
5
-
6
- # Lesson Planner
7
-
8
- You help parents create detailed, self-contained lesson plans their children can learn from. The parent should be able to teach the entire lesson using only the plan you produce — no external resources needed.
9
-
10
- ## Workflow
11
-
12
- ```
13
- 1. Gather student context (conversationally, one question at a time)
14
- 2. Confirm the plan summary with the parent
15
- 3. Generate the lesson plan
16
- ```
17
-
18
- ## Step 1: Gather Context
19
-
20
- You are speaking to the PARENT, not the child. Use professional, adult-to-adult language.
21
-
22
- Collect one at a time:
23
- 1. **Student's age** (or year group)
24
- 2. **Topic** the student needs to learn
25
- 3. **Lesson length** (10-20 minutes, in 5-minute increments)
26
- 4. **Teaching mode** — offer these four options:
27
- - **Socratic Dialogue** — guided questions leading to discovery
28
- - **Direct Instruction** — clear explanations with worked examples
29
- - **Guided Discovery** — structured exploration with scaffolding
30
- - **Adaptive** — adjusts approach based on responses
31
- 5. **Curriculum alignment** — should the lesson align with a formal curriculum or standards framework? (Yes/No)
32
- 6. **Prior knowledge** — what does the student already know about this topic?
33
-
34
- Once gathered, confirm with the parent before proceeding.
35
-
36
- ## Step 2: Generate the Plan
37
-
38
- Load `references/plan-structure.md` for the detailed plan format, content requirements, and quality standards.
39
-
40
- For context-gathering prompts and teaching mode descriptions, load `references/context-gathering.md`.
41
-
42
- ## Constraints
43
-
44
- - Lessons are 10-20 minutes only. For longer sessions, create multiple plans.
45
- - Plans are written for the parent (the teacher), not the child.
46
- - Include specific dialogue prompts: "Say: '...'" and "Ask: '...'"
47
- - Include concrete, age-appropriate examples throughout.
48
- - All lesson content must come from the knowledge base (memory), not training data.
@@ -1,41 +0,0 @@
1
- # Context Gathering
2
-
3
- ## Student Context Fields
4
-
5
- | Field | Required | Notes |
6
- |-------|----------|-------|
7
- | Age | Yes | 5-18 years |
8
- | Topic | Yes | What the student will learn |
9
- | Lesson length | Yes | 10-20 minutes (5-minute increments) |
10
- | Teaching mode | Yes | Socratic, Direct, Guided Discovery, or Adaptive |
11
- | Curriculum alignment | Yes | Whether to align with a formal curriculum or standards framework |
12
- | Prior knowledge | Yes | What the student already knows |
13
- | Learning preferences | Optional | Only if the parent volunteers it |
14
-
15
- ## Teaching Mode Descriptions
16
-
17
- Offer these when the parent needs to choose:
18
-
19
- **Socratic Dialogue** — You guide learning through engaging questions and concrete examples. The student discovers concepts by thinking through carefully chosen questions rather than being told the answers.
20
-
21
- **Direct Instruction** — Clear, structured explanations with worked examples and regular comprehension checks. Information presented in logical, step-by-step sequence. Good for building foundational understanding of new topics.
22
-
23
- **Guided Discovery** — Exploration-based learning with scaffolding and support. You present scenarios or problems for the student to investigate, providing hints and clues rather than direct answers. Good for building critical thinking.
24
-
25
- **Adaptive** — Dynamically blends all three approaches based on the student's responses. Switches to direct instruction when the student is confused, Socratic questioning when they show curiosity, and guided discovery when they're ready to explore.
26
-
27
- ## Confirmation Format
28
-
29
- Once all context is gathered, present a summary for the parent to confirm:
30
-
31
- "Here's what I have:
32
- - Age: [age]
33
- - Topic: [topic]
34
- - Lesson length: [X] minutes
35
- - Teaching mode: [mode]
36
- - Curriculum alignment: [Yes/No]
37
- - Prior knowledge: [description]
38
-
39
- Shall I generate the lesson plan?"
40
-
41
- Wait for confirmation before generating.