@rubytech/taskmaster 1.9.3 → 1.9.5

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 (79) hide show
  1. package/dist/agents/auth-profiles/store.js +10 -2
  2. package/dist/agents/pi-embedded-runner/run/attempt.js +40 -0
  3. package/dist/agents/taskmaster-tools.js +3 -0
  4. package/dist/agents/tool-policy.js +10 -1
  5. package/dist/agents/tools/apikeys-tool.js +2 -2
  6. package/dist/agents/tools/file-delete-tool.js +20 -15
  7. package/dist/agents/tools/file-list-tool.js +9 -2
  8. package/dist/agents/tools/image-generate-api.js +3 -3
  9. package/dist/agents/tools/image-generate-tool.js +3 -3
  10. package/dist/agents/tools/verify-contact-tool.js +197 -0
  11. package/dist/agents/workspace-migrations.js +163 -0
  12. package/dist/build-info.json +3 -3
  13. package/dist/config/defaults.js +4 -0
  14. package/dist/config/legacy.migrations.part-3.js +24 -0
  15. package/dist/config/zod-schema.js +21 -0
  16. package/dist/control-ui/assets/index-DpyzE2YD.js +4532 -0
  17. package/dist/control-ui/assets/index-DpyzE2YD.js.map +1 -0
  18. package/dist/control-ui/assets/index-ouo9dqKk.css +1 -0
  19. package/dist/control-ui/index.html +2 -2
  20. package/dist/gateway/control-ui.js +6 -1
  21. package/dist/gateway/public-chat/deliver-email.js +39 -0
  22. package/dist/gateway/public-chat/deliver-otp.js +59 -6
  23. package/dist/gateway/public-chat/deliver-sms.js +44 -0
  24. package/dist/gateway/public-chat/otp.js +14 -12
  25. package/dist/gateway/public-chat-api.js +100 -24
  26. package/dist/gateway/server-chat.js +5 -0
  27. package/dist/gateway/server-methods/access.js +11 -1
  28. package/dist/gateway/server-methods/apikeys.js +8 -4
  29. package/dist/gateway/server-methods/chat.js +14 -0
  30. package/dist/gateway/server-methods/public-chat.js +94 -22
  31. package/dist/gateway/server-methods/tailscale.js +65 -12
  32. package/dist/gateway/server.impl.js +5 -0
  33. package/dist/memory/manager.js +6 -2
  34. package/dist/records/records-manager.js +25 -1
  35. package/package.json +1 -1
  36. package/skills/twilio/SKILL.md +29 -0
  37. package/skills/twilio/references/browser-setup.md +95 -0
  38. package/templates/beagle/agents/admin/AGENTS.md +24 -0
  39. package/templates/beagle/agents/public/AGENTS.md +6 -0
  40. package/templates/customer/agents/admin/AGENTS.md +24 -0
  41. package/templates/customer/agents/public/AGENTS.md +6 -0
  42. package/templates/education-hero/agents/admin/AGENTS.md +184 -0
  43. package/templates/education-hero/agents/admin/BOOTSTRAP.md +114 -0
  44. package/templates/education-hero/agents/admin/HEARTBEAT.md +10 -0
  45. package/templates/education-hero/agents/admin/IDENTITY.md +13 -0
  46. package/templates/education-hero/agents/admin/SOUL.md +34 -0
  47. package/templates/education-hero/agents/admin/TOOLS.md +36 -0
  48. package/templates/education-hero/agents/admin/USER.md +13 -0
  49. package/templates/education-hero/agents/public/AGENTS.md +173 -0
  50. package/templates/education-hero/agents/public/IDENTITY.md +10 -0
  51. package/templates/education-hero/agents/public/SOUL.md +84 -0
  52. package/templates/education-hero/skills/education-hero/SKILL.md +43 -0
  53. package/templates/education-hero/skills/education-hero/references/admin-process.md +28 -0
  54. package/templates/education-hero/skills/education-hero/references/brand-voice.md +51 -0
  55. package/templates/education-hero/skills/education-hero/references/deregistration.md +34 -0
  56. package/templates/education-hero/skills/education-hero/references/educational-approach.md +28 -0
  57. package/templates/education-hero/skills/education-hero/references/intent-classification.md +39 -0
  58. package/templates/education-hero/skills/education-hero/references/la-email-analysis.md +42 -0
  59. package/templates/education-hero/skills/education-hero/references/legal-rights.md +37 -0
  60. package/templates/education-hero/skills/education-hero/references/report-writing.md +30 -0
  61. package/templates/education-hero/skills/interactive-tutor/SKILL.md +60 -0
  62. package/templates/education-hero/skills/interactive-tutor/references/assessment.md +70 -0
  63. package/templates/education-hero/skills/interactive-tutor/references/classroom-conduct.md +43 -0
  64. package/templates/education-hero/skills/interactive-tutor/references/teaching-modes.md +83 -0
  65. package/templates/education-hero/skills/lesson-planner/SKILL.md +49 -0
  66. package/templates/education-hero/skills/lesson-planner/references/context-gathering.md +41 -0
  67. package/templates/education-hero/skills/lesson-planner/references/plan-structure.md +94 -0
  68. package/templates/education-hero/skills/study-pack-builder/SKILL.md +53 -0
  69. package/templates/education-hero/skills/study-pack-builder/references/disaggregation.md +49 -0
  70. package/templates/education-hero/skills/study-pack-builder/references/materials.md +116 -0
  71. package/templates/maxy/agents/admin/AGENTS.md +20 -0
  72. package/templates/maxy/agents/public/AGENTS.md +4 -0
  73. package/templates/taskmaster/agents/admin/AGENTS.md +24 -0
  74. package/templates/taskmaster/agents/public/AGENTS.md +6 -0
  75. package/templates/tradesupport/agents/admin/AGENTS.md +24 -0
  76. package/templates/tradesupport/agents/public/AGENTS.md +6 -0
  77. package/dist/control-ui/assets/index-CHIqq3Nn.css +0 -1
  78. package/dist/control-ui/assets/index-zUaHKRVM.js +0 -4227
  79. package/dist/control-ui/assets/index-zUaHKRVM.js.map +0 -1
@@ -321,4 +321,28 @@ export const LEGACY_CONFIG_MIGRATIONS_PART_3 = [
321
321
  }
322
322
  },
323
323
  },
324
+ {
325
+ id: "publicChat-greeting-to-greetings-map",
326
+ describe: "Migrate publicChat.greeting (global string) to publicChat.greetings (per-account map)",
327
+ apply: (raw, changes) => {
328
+ const pc = getRecord(raw.publicChat);
329
+ if (!pc)
330
+ return;
331
+ if (typeof pc.greeting !== "string" || !pc.greeting)
332
+ return;
333
+ const text = pc.greeting;
334
+ delete pc.greeting;
335
+ // Associate the old greeting with the default workspace/account
336
+ const defaultId = resolveDefaultAgentIdFromRaw(raw);
337
+ if (defaultId) {
338
+ if (!isRecord(pc.greetings))
339
+ pc.greetings = {};
340
+ pc.greetings[defaultId] = text;
341
+ changes.push(`Migrated publicChat.greeting to publicChat.greetings["${defaultId}"].`);
342
+ }
343
+ else {
344
+ changes.push("Removed orphaned publicChat.greeting (no default account to associate with).");
345
+ }
346
+ },
347
+ },
324
348
  ];
@@ -571,7 +571,28 @@ export const TaskmasterSchema = z
571
571
  auth: z
572
572
  .union([z.literal("anonymous"), z.literal("verified"), z.literal("choice")])
573
573
  .optional(),
574
+ verifyMethods: z
575
+ .array(z.union([z.literal("phone"), z.literal("email")]))
576
+ .min(1)
577
+ .optional(),
574
578
  cookieTtlDays: z.number().int().positive().optional(),
579
+ greeting: z.string().max(500).optional(), // deprecated — migrated to greetings map
580
+ greetings: z.record(z.string(), z.string().max(500)).optional(),
581
+ sms: z
582
+ .object({
583
+ accountSid: z.string().optional(),
584
+ authToken: z.string().optional(),
585
+ fromNumber: z.string().optional(),
586
+ })
587
+ .strict()
588
+ .optional(),
589
+ email: z
590
+ .object({
591
+ apiKey: z.string().optional(),
592
+ from: z.string().optional(),
593
+ })
594
+ .strict()
595
+ .optional(),
575
596
  })
576
597
  .strict()
577
598
  .optional(),