@rudderhq/server 0.5.0 → 0.5.1
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/dist/agent-runtimes/http/execute.d.ts.map +1 -1
- package/dist/agent-runtimes/http/execute.js +56 -1
- package/dist/agent-runtimes/http/execute.js.map +1 -1
- package/dist/agent-runtimes/http/index.d.ts.map +1 -1
- package/dist/agent-runtimes/http/index.js +10 -0
- package/dist/agent-runtimes/http/index.js.map +1 -1
- package/dist/agent-runtimes/process/execute.d.ts.map +1 -1
- package/dist/agent-runtimes/process/execute.js +9 -1
- package/dist/agent-runtimes/process/execute.js.map +1 -1
- package/dist/agent-runtimes/process/index.d.ts.map +1 -1
- package/dist/agent-runtimes/process/index.js +7 -0
- package/dist/agent-runtimes/process/index.js.map +1 -1
- package/dist/agent-runtimes/registry.d.ts.map +1 -1
- package/dist/agent-runtimes/registry.js +21 -1
- package/dist/agent-runtimes/registry.js.map +1 -1
- package/dist/agent-runtimes/utils.d.ts +1 -0
- package/dist/agent-runtimes/utils.d.ts.map +1 -1
- package/dist/agent-runtimes/utils.js.map +1 -1
- package/dist/bundled-plugins/plugin-linear/dist/worker.js +183 -10
- package/dist/bundled-plugins/plugin-linear/dist/worker.js.map +3 -3
- package/dist/home-paths.d.ts +7 -0
- package/dist/home-paths.d.ts.map +1 -1
- package/dist/home-paths.js +46 -2
- package/dist/home-paths.js.map +1 -1
- package/dist/index.js +23 -4
- package/dist/index.js.map +1 -1
- package/dist/routes/access.d.ts.map +1 -1
- package/dist/routes/access.helpers.d.ts +1 -1
- package/dist/routes/access.helpers.d.ts.map +1 -1
- package/dist/routes/access.helpers.js +0 -3
- package/dist/routes/access.helpers.js.map +1 -1
- package/dist/routes/access.js +0 -4
- package/dist/routes/access.js.map +1 -1
- package/dist/routes/agents.js +2 -2
- package/dist/routes/agents.js.map +1 -1
- package/dist/routes/chats.d.ts.map +1 -1
- package/dist/routes/chats.generated-attachments.d.ts +16 -0
- package/dist/routes/chats.generated-attachments.d.ts.map +1 -0
- package/dist/routes/chats.generated-attachments.js +157 -0
- package/dist/routes/chats.generated-attachments.js.map +1 -0
- package/dist/routes/chats.helpers.d.ts +27 -0
- package/dist/routes/chats.helpers.d.ts.map +1 -0
- package/dist/routes/chats.helpers.js +52 -0
- package/dist/routes/chats.helpers.js.map +1 -0
- package/dist/routes/chats.js +126 -188
- package/dist/routes/chats.js.map +1 -1
- package/dist/routes/chats.stream-routes.d.ts.map +1 -1
- package/dist/routes/chats.stream-routes.js +185 -16
- package/dist/routes/chats.stream-routes.js.map +1 -1
- package/dist/routes/llms.js +3 -3
- package/dist/routes/llms.js.map +1 -1
- package/dist/routes/messenger.d.ts.map +1 -1
- package/dist/routes/messenger.js +48 -6
- package/dist/routes/messenger.js.map +1 -1
- package/dist/services/activity.d.ts.map +1 -1
- package/dist/services/activity.js +7 -2
- package/dist/services/activity.js.map +1 -1
- package/dist/services/agents.d.ts +65 -65
- package/dist/services/agents.d.ts.map +1 -1
- package/dist/services/agents.js +5 -4
- package/dist/services/agents.js.map +1 -1
- package/dist/services/approvals.d.ts +1 -1
- package/dist/services/assets.d.ts +2 -2
- package/dist/services/automation-chat-output.d.ts +1 -1
- package/dist/services/automation-chat-output.d.ts.map +1 -1
- package/dist/services/automation-chat-output.js +38 -23
- package/dist/services/automation-chat-output.js.map +1 -1
- package/dist/services/automations.d.ts.map +1 -1
- package/dist/services/automations.js +39 -41
- package/dist/services/automations.js.map +1 -1
- package/dist/services/budgets.d.ts +1 -1
- package/dist/services/chat-assistant.d.ts +23 -1
- package/dist/services/chat-assistant.d.ts.map +1 -1
- package/dist/services/chat-assistant.helpers.d.ts +21 -0
- package/dist/services/chat-assistant.helpers.d.ts.map +1 -1
- package/dist/services/chat-assistant.helpers.js +29 -10
- package/dist/services/chat-assistant.helpers.js.map +1 -1
- package/dist/services/chat-assistant.inline-visuals.d.ts +23 -0
- package/dist/services/chat-assistant.inline-visuals.d.ts.map +1 -0
- package/dist/services/chat-assistant.inline-visuals.js +129 -0
- package/dist/services/chat-assistant.inline-visuals.js.map +1 -0
- package/dist/services/chat-assistant.inline-visuals.test.js +85 -1
- package/dist/services/chat-assistant.inline-visuals.test.js.map +1 -1
- package/dist/services/chat-assistant.js +262 -38
- package/dist/services/chat-assistant.js.map +1 -1
- package/dist/services/chat-family-groups.d.ts +14 -0
- package/dist/services/chat-family-groups.d.ts.map +1 -0
- package/dist/services/chat-family-groups.js +96 -0
- package/dist/services/chat-family-groups.js.map +1 -0
- package/dist/services/chat-generation-protocol.d.ts +17 -31
- package/dist/services/chat-generation-protocol.d.ts.map +1 -1
- package/dist/services/chat-generation-protocol.helpers.d.ts +36 -0
- package/dist/services/chat-generation-protocol.helpers.d.ts.map +1 -0
- package/dist/services/chat-generation-protocol.helpers.js +53 -0
- package/dist/services/chat-generation-protocol.helpers.js.map +1 -0
- package/dist/services/chat-generation-protocol.js +86 -55
- package/dist/services/chat-generation-protocol.js.map +1 -1
- package/dist/services/chat-generation-protocol.test.js +31 -3
- package/dist/services/chat-generation-protocol.test.js.map +1 -1
- package/dist/services/chat-steer-messages.d.ts +117 -0
- package/dist/services/chat-steer-messages.d.ts.map +1 -0
- package/dist/services/chat-steer-messages.js +410 -0
- package/dist/services/chat-steer-messages.js.map +1 -0
- package/dist/services/chat-title-generation.d.ts +1 -0
- package/dist/services/chat-title-generation.d.ts.map +1 -1
- package/dist/services/chat-title-generation.js +12 -9
- package/dist/services/chat-title-generation.js.map +1 -1
- package/dist/services/chat-work-manifest.d.ts.map +1 -1
- package/dist/services/chat-work-manifest.js +39 -2
- package/dist/services/chat-work-manifest.js.map +1 -1
- package/dist/services/chats.constants.d.ts +5 -0
- package/dist/services/chats.constants.d.ts.map +1 -0
- package/dist/services/chats.constants.js +13 -0
- package/dist/services/chats.constants.js.map +1 -0
- package/dist/services/chats.create.d.ts +75 -0
- package/dist/services/chats.create.d.ts.map +1 -0
- package/dist/services/chats.create.js +159 -0
- package/dist/services/chats.create.js.map +1 -0
- package/dist/services/chats.d.ts +85 -76
- package/dist/services/chats.d.ts.map +1 -1
- package/dist/services/chats.fork-helpers.d.ts +8 -0
- package/dist/services/chats.fork-helpers.d.ts.map +1 -0
- package/dist/services/chats.fork-helpers.js +45 -0
- package/dist/services/chats.fork-helpers.js.map +1 -0
- package/dist/services/chats.inline-visual-persistence.d.ts +30 -0
- package/dist/services/chats.inline-visual-persistence.d.ts.map +1 -0
- package/dist/services/chats.inline-visual-persistence.js +209 -0
- package/dist/services/chats.inline-visual-persistence.js.map +1 -0
- package/dist/services/chats.js +288 -273
- package/dist/services/chats.js.map +1 -1
- package/dist/services/chats.types.d.ts +31 -0
- package/dist/services/chats.types.d.ts.map +1 -0
- package/dist/services/chats.types.js +2 -0
- package/dist/services/chats.types.js.map +1 -0
- package/dist/services/integrations/feishu/inbound-dispatcher-db.d.ts.map +1 -1
- package/dist/services/integrations/feishu/inbound-dispatcher-db.js +81 -53
- package/dist/services/integrations/feishu/inbound-dispatcher-db.js.map +1 -1
- package/dist/services/integrations/feishu/inbound-dispatcher.d.ts +1 -0
- package/dist/services/integrations/feishu/inbound-dispatcher.d.ts.map +1 -1
- package/dist/services/integrations/feishu/inbound-dispatcher.js.map +1 -1
- package/dist/services/issues.comments-attachments.d.ts.map +1 -1
- package/dist/services/issues.comments-attachments.js +11 -2
- package/dist/services/issues.comments-attachments.js.map +1 -1
- package/dist/services/issues.d.ts.map +1 -1
- package/dist/services/knowledge-portability/organization-skills.catalog.d.ts.map +1 -1
- package/dist/services/knowledge-portability/organization-skills.catalog.js +7 -1
- package/dist/services/knowledge-portability/organization-skills.catalog.js.map +1 -1
- package/dist/services/knowledge-portability/organization-skills.d.ts.map +1 -1
- package/dist/services/knowledge-portability/organization-skills.js +13 -1
- package/dist/services/knowledge-portability/organization-skills.js.map +1 -1
- package/dist/services/messenger-run-origin.d.ts +18 -0
- package/dist/services/messenger-run-origin.d.ts.map +1 -0
- package/dist/services/messenger-run-origin.js +248 -0
- package/dist/services/messenger-run-origin.js.map +1 -0
- package/dist/services/messenger-run-summary.d.ts +4 -0
- package/dist/services/messenger-run-summary.d.ts.map +1 -0
- package/dist/services/messenger-run-summary.js +6 -0
- package/dist/services/messenger-run-summary.js.map +1 -0
- package/dist/services/messenger-saved-views.d.ts +133 -0
- package/dist/services/messenger-saved-views.d.ts.map +1 -0
- package/dist/services/messenger-saved-views.js +275 -0
- package/dist/services/messenger-saved-views.js.map +1 -0
- package/dist/services/messenger.d.ts +17 -3
- package/dist/services/messenger.d.ts.map +1 -1
- package/dist/services/messenger.js +276 -56
- package/dist/services/messenger.js.map +1 -1
- package/dist/services/operator-event-visibility.d.ts +3 -0
- package/dist/services/operator-event-visibility.d.ts.map +1 -0
- package/dist/services/operator-event-visibility.js +5 -0
- package/dist/services/operator-event-visibility.js.map +1 -0
- package/dist/services/orgs.d.ts +5 -5
- package/dist/services/plugin-registry.d.ts +4 -4
- package/dist/services/projects.d.ts +2 -2
- package/dist/services/run-intelligence.d.ts.map +1 -1
- package/dist/services/run-intelligence.js +7 -3
- package/dist/services/run-intelligence.js.map +1 -1
- package/dist/services/runtime-kernel/heartbeat.core.d.ts.map +1 -1
- package/dist/services/runtime-kernel/heartbeat.core.js +9 -8
- package/dist/services/runtime-kernel/heartbeat.core.js.map +1 -1
- package/dist/services/runtime-kernel/heartbeat.d.ts +2 -2
- package/dist/services/runtime-kernel/heartbeat.d.ts.map +1 -1
- package/dist/services/runtime-kernel/heartbeat.js +3 -2
- package/dist/services/runtime-kernel/heartbeat.js.map +1 -1
- package/dist/services/runtime-kernel/heartbeat.misc.js +1 -1
- package/dist/services/runtime-kernel/heartbeat.misc.js.map +1 -1
- package/dist/services/runtime-kernel/heartbeat.recovery.js +1 -1
- package/dist/services/runtime-kernel/heartbeat.recovery.js.map +1 -1
- package/dist/services/side-chats.d.ts +1 -46
- package/dist/services/side-chats.d.ts.map +1 -1
- package/dist/services/side-chats.js +58 -65
- package/dist/services/side-chats.js.map +1 -1
- package/dist/services/title-generation.d.ts +3 -0
- package/dist/services/title-generation.d.ts.map +1 -1
- package/dist/services/title-generation.js +178 -6
- package/dist/services/title-generation.js.map +1 -1
- package/dist/services/workspace-backups.d.ts +19 -8
- package/dist/services/workspace-backups.d.ts.map +1 -1
- package/dist/services/workspace-backups.js +335 -127
- package/dist/services/workspace-backups.js.map +1 -1
- package/package.json +14 -13
- package/resources/bundled-skills/browser/references/tool-contract.md +2 -2
- package/resources/bundled-skills/rudder-docs/SKILL.md +20 -4
- package/resources/bundled-skills/rudder-docs/evals/retrieval-authority-evals.json +262 -0
- package/resources/bundled-skills/rudder-docs/evals/trigger-evals.json +11 -11
- package/resources/bundled-skills/rudder-docs/references/agent-creation.md +153 -0
- package/resources/bundled-skills/rudder-docs/references/api-reference.md +9 -2
- package/resources/bundled-skills/rudder-docs/references/cli-reference.md +12 -12
- package/{skills/rudder-docs/references/control-plane-practices.md → resources/bundled-skills/rudder-docs/references/operating-practices.md} +4 -4
- package/resources/bundled-skills/rudder-docs/references/organization-skills.md +3 -3
- package/resources/bundled-skills/rudder-docs/references/plugin-authoring.md +116 -0
- package/resources/bundled-skills/rudder-docs/references/source-map.md +26 -2
- package/resources/bundled-skills/visualize/SKILL.md +29 -27
- package/resources/bundled-skills/visualize/references/runtime-contract.md +18 -8
- package/skills/browser/references/tool-contract.md +2 -2
- package/skills/rudder-docs/SKILL.md +20 -4
- package/skills/rudder-docs/evals/retrieval-authority-evals.json +262 -0
- package/skills/rudder-docs/evals/trigger-evals.json +11 -11
- package/skills/rudder-docs/references/agent-creation.md +153 -0
- package/skills/rudder-docs/references/api-reference.md +9 -2
- package/skills/rudder-docs/references/cli-reference.md +12 -12
- package/{resources/bundled-skills/rudder-docs/references/control-plane-practices.md → skills/rudder-docs/references/operating-practices.md} +4 -4
- package/skills/rudder-docs/references/organization-skills.md +3 -3
- package/skills/rudder-docs/references/plugin-authoring.md +116 -0
- package/skills/rudder-docs/references/source-map.md +26 -2
- package/skills/visualize/SKILL.md +29 -27
- package/skills/visualize/references/runtime-contract.md +18 -8
- package/ui-dist/assets/{abnfDiagram-VRR7QNED-Dpnx79fp.js → abnfDiagram-VRR7QNED-CAAPm9Nj.js} +1 -1
- package/ui-dist/assets/{arc-Cpvh_rCf.js → arc-DOFoNr3M.js} +1 -1
- package/ui-dist/assets/{architectureDiagram-ZJ3FMSHR-sDD_mBAI.js → architectureDiagram-ZJ3FMSHR-DRg6yhG8.js} +1 -1
- package/ui-dist/assets/{blockDiagram-677ZJIJ3-4O4wWti1.js → blockDiagram-677ZJIJ3-e3ShzsXT.js} +1 -1
- package/ui-dist/assets/{c4Diagram-LMCZKHZV-BkGODE4P.js → c4Diagram-LMCZKHZV-Csd_18O2.js} +1 -1
- package/ui-dist/assets/channel-BFLsBJOK.js +1 -0
- package/ui-dist/assets/{chunk-2Q5K7J3B-DsDQQpID.js → chunk-2Q5K7J3B-eF77FV1C.js} +1 -1
- package/ui-dist/assets/{chunk-32BRIVSS-Bzx_VnIw.js → chunk-32BRIVSS-CpMx72B5.js} +1 -1
- package/ui-dist/assets/{chunk-5VM5RSS4-D4LoPCni.js → chunk-5VM5RSS4-Be6WylCu.js} +1 -1
- package/ui-dist/assets/{chunk-EX3LRPZG-BO0R-mS4.js → chunk-EX3LRPZG-D-A_TfL-.js} +1 -1
- package/ui-dist/assets/{chunk-JWPE2WC7-B4Nr8KRL.js → chunk-JWPE2WC7-CdBLDqvo.js} +1 -1
- package/ui-dist/assets/{chunk-MOJQB5TN--uaDDrYM.js → chunk-MOJQB5TN-DkLjRENV.js} +1 -1
- package/ui-dist/assets/{chunk-RYQCIY6F-CyBY2w_j.js → chunk-RYQCIY6F-57VqTsE9.js} +1 -1
- package/ui-dist/assets/{chunk-V7JOEXUC-BMid_x8S.js → chunk-V7JOEXUC-DI_m8pt6.js} +1 -1
- package/ui-dist/assets/{chunk-VR4S4FIN-DVqdPKuG.js → chunk-VR4S4FIN-CM_944j4.js} +1 -1
- package/ui-dist/assets/{chunk-XXDRQBXY-vy03lLSS.js → chunk-XXDRQBXY--WTAlt82.js} +1 -1
- package/ui-dist/assets/classDiagram-OUVF2IWQ-Dah6C4Dl.js +1 -0
- package/ui-dist/assets/classDiagram-v2-EOCWNBFH-Dah6C4Dl.js +1 -0
- package/ui-dist/assets/{cose-bilkent-JH36ORCC-jQDZmrG3.js → cose-bilkent-JH36ORCC-CR0qu31s.js} +1 -1
- package/ui-dist/assets/{cynefin-VYW2F7L2-BxBj6aea.js → cynefin-VYW2F7L2-f41lF5RD.js} +1 -1
- package/ui-dist/assets/{cynefinDiagram-TSTJHNR4-BuUubF5I.js → cynefinDiagram-TSTJHNR4-88wJ2LA8.js} +1 -1
- package/ui-dist/assets/{dagre-VKFMJZFB-B8HipJ3a.js → dagre-VKFMJZFB-B1yJCIRh.js} +1 -1
- package/ui-dist/assets/{diagram-FQU43EPY-r7gkbKSt.js → diagram-FQU43EPY-C0iYYFUe.js} +1 -1
- package/ui-dist/assets/{diagram-G47NLZAW-CxClRsxD.js → diagram-G47NLZAW-Cp6S0siK.js} +1 -1
- package/ui-dist/assets/{diagram-NH7WQ7WH-C8HYTLlq.js → diagram-NH7WQ7WH-CmZb5OSk.js} +1 -1
- package/ui-dist/assets/{diagram-OA4YK3LP-CjwqqLKz.js → diagram-OA4YK3LP-9rFYGY7H.js} +1 -1
- package/ui-dist/assets/{diagram-WEI45ONY-2IWfCqZb.js → diagram-WEI45ONY-Og8vyDQh.js} +1 -1
- package/ui-dist/assets/{ebnfDiagram-CCIWWBDH-DVGZkgjy.js → ebnfDiagram-CCIWWBDH--5sMape2.js} +1 -1
- package/ui-dist/assets/{erDiagram-Q63AITRT-C_-u3Gmw.js → erDiagram-Q63AITRT-DG10Bza-.js} +1 -1
- package/ui-dist/assets/{flowDiagram-23GEKE2U-BvGg0NCq.js → flowDiagram-23GEKE2U-BW-aZfEk.js} +1 -1
- package/ui-dist/assets/{ganttDiagram-NO4QXBWP-U3CZUUUR.js → ganttDiagram-NO4QXBWP-DcA7on8t.js} +1 -1
- package/ui-dist/assets/{gitGraphDiagram-IHSO6WYX-CIWuEBIo.js → gitGraphDiagram-IHSO6WYX-ygGufg32.js} +1 -1
- package/ui-dist/assets/{graph-D3P5q-7m.js → graph-BXl6uBoM.js} +1 -1
- package/ui-dist/assets/{index-DOPIV8vd.js → index-9bXlV2sq.js} +1 -1
- package/ui-dist/assets/{index-CjztBLJi.js → index-B58ems-F.js} +1 -1
- package/ui-dist/assets/{index-mnl55Stn.js → index-BM-SJNCx.js} +1 -1
- package/ui-dist/assets/index-BcdA9dZc.css +1 -0
- package/ui-dist/assets/{index-BAgtKYR1.js → index-BmTNDbzy.js} +1 -1
- package/ui-dist/assets/{index-DidCCw78.js → index-CCDynlok.js} +1 -1
- package/ui-dist/assets/{index-CbHqnWUe.js → index-CRLl2Ck7.js} +1 -1
- package/ui-dist/assets/{index-D7ycf1qU.js → index-CqmU1PxY.js} +1 -1
- package/ui-dist/assets/{index-B1rLBtZ1.js → index-CssgLJwf.js} +605 -493
- package/ui-dist/assets/{index-DRxLJD40.js → index-DOVMMhyj.js} +1 -1
- package/ui-dist/assets/{index-Ds_qma4-.js → index-DTlR8bJV.js} +1 -1
- package/ui-dist/assets/{index-DCFf9dps.js → index-Dl6nXXNc.js} +1 -1
- package/ui-dist/assets/{index-DAYlwxsg.js → index-DoiNhQrY.js} +1 -1
- package/ui-dist/assets/{index-CBOr9F6w.js → index-Dug5GX1J.js} +1 -1
- package/ui-dist/assets/{index-HkQRx1D6.js → index-DxXOCTVe.js} +1 -1
- package/ui-dist/assets/{index-BAMXpiI5.js → index-GdN-7KLt.js} +1 -1
- package/ui-dist/assets/{index-ikpL--zj.js → index-ZA8lPH2n.js} +1 -1
- package/ui-dist/assets/{index-Cu1iMhjl.js → index-fkDP349f.js} +1 -1
- package/ui-dist/assets/{index-DYMtCDKT.js → index-uKIvv9n9.js} +1 -1
- package/ui-dist/assets/{infoDiagram-FWYZ7A6U-Cx8Fa-I4.js → infoDiagram-FWYZ7A6U-27INMkBm.js} +1 -1
- package/ui-dist/assets/{ishikawaDiagram-FXEZZL3T-Cmuz1QUN.js → ishikawaDiagram-FXEZZL3T-Bp6XQ1_r.js} +1 -1
- package/ui-dist/assets/{journeyDiagram-5HDEW3XC-CJgkiVXG.js → journeyDiagram-5HDEW3XC-9vaIwdZ3.js} +1 -1
- package/ui-dist/assets/{kanban-definition-HUTT4EX6-RAWpefOB.js → kanban-definition-HUTT4EX6-DjsMaR6l.js} +1 -1
- package/ui-dist/assets/{layout-DyWQv0Rr.js → layout-C0oWcIiC.js} +1 -1
- package/ui-dist/assets/{linear-D5pdgIf9.js → linear-DNbmenmQ.js} +1 -1
- package/ui-dist/assets/{map-bVSzNLl2.js → map-B1s9kpcR.js} +1 -1
- package/ui-dist/assets/{mermaid.core-CeaXGD6B.js → mermaid.core-DsYT9DxL.js} +4 -4
- package/ui-dist/assets/{mindmap-definition-LN4V7U3C-B8B8AX5C.js → mindmap-definition-LN4V7U3C-vVHeRI83.js} +1 -1
- package/ui-dist/assets/{pegDiagram-2B236MQR-C4Sv-ua6.js → pegDiagram-2B236MQR-ohrgWLo_.js} +1 -1
- package/ui-dist/assets/{pieDiagram-ENE6RG2P-CLARlOHx.js → pieDiagram-ENE6RG2P-B0EqPrjn.js} +1 -1
- package/ui-dist/assets/{quadrantDiagram-ABIIQ3AL-DPCXQmeT.js → quadrantDiagram-ABIIQ3AL-D44iYm0o.js} +1 -1
- package/ui-dist/assets/{railroadDiagram-RFXS5EU6-BpqRuKUQ.js → railroadDiagram-RFXS5EU6-BQU5bpbU.js} +1 -1
- package/ui-dist/assets/{requirementDiagram-TGXJPOKE-Dd-h62HZ.js → requirementDiagram-TGXJPOKE-DGJciRxB.js} +1 -1
- package/ui-dist/assets/{sankeyDiagram-HTMAVEWB-DylT_pqq.js → sankeyDiagram-HTMAVEWB-NMXZW_Qb.js} +1 -1
- package/ui-dist/assets/{sequenceDiagram-DBY2YBRQ-RiCF1REj.js → sequenceDiagram-DBY2YBRQ-8uWY67Bb.js} +1 -1
- package/ui-dist/assets/{sizeCapture-X5ZJPWSS-DXW4JQz2.js → sizeCapture-X5ZJPWSS-BnUUR-On.js} +1 -1
- package/ui-dist/assets/{stateDiagram-2N3HPSRC-6U3ESIGT.js → stateDiagram-2N3HPSRC-B37bcKMy.js} +1 -1
- package/ui-dist/assets/stateDiagram-v2-6OUMAXLB-p6H0vL7N.js +1 -0
- package/ui-dist/assets/{swimlanes-5IMT3BWC-CeNHVNCi.js → swimlanes-5IMT3BWC-Bi2ZzUMi.js} +2 -2
- package/ui-dist/assets/swimlanesDiagram-G3AALYLV-BX6FiLF9.js +8 -0
- package/ui-dist/assets/{timeline-definition-FHXFAJF6-Vlwoe_1b.js → timeline-definition-FHXFAJF6-CkWauU5D.js} +1 -1
- package/ui-dist/assets/{vennDiagram-L72KCM5P-DBP7D3HE.js → vennDiagram-L72KCM5P-BrmBXmnk.js} +1 -1
- package/ui-dist/assets/{wardleyDiagram-EHGQE667-DG-wzqpy.js → wardleyDiagram-EHGQE667-kO5cojc6.js} +1 -1
- package/ui-dist/assets/{xychartDiagram-FW5EYKEG-BAq3mbha.js → xychartDiagram-FW5EYKEG-CUBDaCDm.js} +1 -1
- package/ui-dist/index.html +5 -4
- package/resources/bundled-skills/rudder-create-agent/SKILL.md +0 -185
- package/resources/bundled-skills/rudder-create-agent/references/api-reference.md +0 -179
- package/resources/bundled-skills/rudder-create-agent/references/cli-reference.md +0 -132
- package/resources/bundled-skills/rudder-create-plugin/SKILL.md +0 -103
- package/resources/bundled-skills/skill-optimizer/CHANGELOG.md +0 -29
- package/resources/bundled-skills/skill-optimizer/SKILL.md +0 -205
- package/resources/bundled-skills/skill-optimizer/references/adapters/creative-brand-content.md +0 -30
- package/resources/bundled-skills/skill-optimizer/references/adapters/customer-support-sales.md +0 -30
- package/resources/bundled-skills/skill-optimizer/references/adapters/document-data-processing.md +0 -31
- package/resources/bundled-skills/skill-optimizer/references/adapters/education-training.md +0 -31
- package/resources/bundled-skills/skill-optimizer/references/adapters/finance-accounting.md +0 -31
- package/resources/bundled-skills/skill-optimizer/references/adapters/healthcare-operations.md +0 -30
- package/resources/bundled-skills/skill-optimizer/references/adapters/hr-people-ops.md +0 -31
- package/resources/bundled-skills/skill-optimizer/references/adapters/legal-compliance.md +0 -31
- package/resources/bundled-skills/skill-optimizer/references/adapters/operations-supply-chain.md +0 -31
- package/resources/bundled-skills/skill-optimizer/references/adapters/personal-productivity.md +0 -29
- package/resources/bundled-skills/skill-optimizer/references/adapters/research-knowledge.md +0 -31
- package/resources/bundled-skills/skill-optimizer/references/adapters/software-ai.md +0 -31
- package/resources/bundled-skills/skill-optimizer/references/domain-adapter-patterns.md +0 -66
- package/resources/bundled-skills/skill-optimizer/references/eval-method.md +0 -17
- package/resources/bundled-skills/skill-optimizer/references/universal-optimization-lens.md +0 -73
- package/skills/rudder-create-agent/SKILL.md +0 -185
- package/skills/rudder-create-agent/references/api-reference.md +0 -179
- package/skills/rudder-create-agent/references/cli-reference.md +0 -132
- package/skills/rudder-create-plugin/SKILL.md +0 -103
- package/skills/skill-optimizer/CHANGELOG.md +0 -29
- package/skills/skill-optimizer/SKILL.md +0 -205
- package/skills/skill-optimizer/references/adapters/creative-brand-content.md +0 -30
- package/skills/skill-optimizer/references/adapters/customer-support-sales.md +0 -30
- package/skills/skill-optimizer/references/adapters/document-data-processing.md +0 -31
- package/skills/skill-optimizer/references/adapters/education-training.md +0 -31
- package/skills/skill-optimizer/references/adapters/finance-accounting.md +0 -31
- package/skills/skill-optimizer/references/adapters/healthcare-operations.md +0 -30
- package/skills/skill-optimizer/references/adapters/hr-people-ops.md +0 -31
- package/skills/skill-optimizer/references/adapters/legal-compliance.md +0 -31
- package/skills/skill-optimizer/references/adapters/operations-supply-chain.md +0 -31
- package/skills/skill-optimizer/references/adapters/personal-productivity.md +0 -29
- package/skills/skill-optimizer/references/adapters/research-knowledge.md +0 -31
- package/skills/skill-optimizer/references/adapters/software-ai.md +0 -31
- package/skills/skill-optimizer/references/domain-adapter-patterns.md +0 -66
- package/skills/skill-optimizer/references/eval-method.md +0 -17
- package/skills/skill-optimizer/references/universal-optimization-lens.md +0 -73
- package/ui-dist/assets/channel-CM4Myg_6.js +0 -1
- package/ui-dist/assets/classDiagram-OUVF2IWQ-CtlIEzTt.js +0 -1
- package/ui-dist/assets/classDiagram-v2-EOCWNBFH-CtlIEzTt.js +0 -1
- package/ui-dist/assets/index-DekHKOsL.css +0 -1
- package/ui-dist/assets/stateDiagram-v2-6OUMAXLB-KQTrcZvp.js +0 -1
- package/ui-dist/assets/swimlanesDiagram-G3AALYLV-CcxS1c6r.js +0 -8
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: rudder-create-agent
|
|
3
|
-
description: Create new agents in Rudder through the `rudder` CLI with governance-aware hiring. Use when you need to inspect adapter configuration options, compare existing agent configs, draft a new agent prompt/config, and submit a hire request.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Rudder Create Agent Skill
|
|
7
|
-
|
|
8
|
-
Use this skill when you are asked to hire or create an agent in Rudder.
|
|
9
|
-
|
|
10
|
-
## Preconditions
|
|
11
|
-
|
|
12
|
-
You need either:
|
|
13
|
-
|
|
14
|
-
- board access, or
|
|
15
|
-
- agent permission `canCreateAgents=true` in your org
|
|
16
|
-
|
|
17
|
-
If you do not have this permission, escalate to your CEO or board.
|
|
18
|
-
|
|
19
|
-
This workflow is **CLI-first**.
|
|
20
|
-
|
|
21
|
-
- Use `rudder ... --json` for structured reads and mutations.
|
|
22
|
-
- Use `references/cli-reference.md` as the canonical command catalog for this skill.
|
|
23
|
-
- Treat `references/api-reference.md` as internal/debug/compatibility documentation, not the normal runtime interface.
|
|
24
|
-
- Do not create agent directories, instruction files, or org metadata manually as a fallback.
|
|
25
|
-
- If CLI auth is unavailable in a heartbeat run, stop and report the auth problem instead of mutating the filesystem.
|
|
26
|
-
|
|
27
|
-
## Workflow
|
|
28
|
-
|
|
29
|
-
1. Confirm identity and organization context.
|
|
30
|
-
|
|
31
|
-
```sh
|
|
32
|
-
rudder agent me --json
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
If this returns `{"error":"Agent authentication required"}`, treat it as a run-auth failure:
|
|
36
|
-
|
|
37
|
-
- do not ask for `RUDDER_API_KEY` inside the heartbeat
|
|
38
|
-
- do not fall back to manual filesystem creation
|
|
39
|
-
- stop and report that injected agent authentication is missing or invalid for this run
|
|
40
|
-
|
|
41
|
-
2. Discover available adapter configuration docs for this Rudder instance.
|
|
42
|
-
|
|
43
|
-
```sh
|
|
44
|
-
rudder agent config index
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
3. Read adapter-specific docs for the runtime you plan to use.
|
|
48
|
-
|
|
49
|
-
```sh
|
|
50
|
-
rudder agent config doc codex_local
|
|
51
|
-
rudder agent config doc claude_local
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
4. Compare existing agents and redacted configurations in your organization.
|
|
55
|
-
|
|
56
|
-
```sh
|
|
57
|
-
rudder agent list --org-id "$RUDDER_ORG_ID" --json
|
|
58
|
-
rudder agent config list --org-id "$RUDDER_ORG_ID" --json
|
|
59
|
-
rudder agent config get "<agent-id>" --json
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
5. If the role needs organization skills on day one, inspect or import them before hiring.
|
|
63
|
-
|
|
64
|
-
```sh
|
|
65
|
-
rudder skill list --org-id "$RUDDER_ORG_ID" --json
|
|
66
|
-
rudder skill get "<skill-id>" --org-id "$RUDDER_ORG_ID" --json
|
|
67
|
-
rudder skill file "<skill-id>" --org-id "$RUDDER_ORG_ID" --path SKILL.md --json
|
|
68
|
-
rudder skill import --org-id "$RUDDER_ORG_ID" --source "<source>" --json
|
|
69
|
-
rudder skill scan-local --org-id "$RUDDER_ORG_ID" --roots "<csv>" --json
|
|
70
|
-
rudder skill scan-projects --org-id "$RUDDER_ORG_ID" --project-ids "<csv>" --workspace-ids "<csv>" --json
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
6. Draft the hire payload.
|
|
74
|
-
|
|
75
|
-
Required thinking:
|
|
76
|
-
|
|
77
|
-
- role / title / optional `name`
|
|
78
|
-
- `name` is optional; if omitted, Rudder assigns a distinct personal name automatically
|
|
79
|
-
- omit `icon` for normal hires; Rudder assigns a DiceBear Notionists avatar automatically
|
|
80
|
-
- only set `icon` when preserving an explicit DiceBear avatar reference or an uploaded `asset:<uuid>` image avatar reference provided by the board/UI
|
|
81
|
-
- reporting line (`reportsTo`)
|
|
82
|
-
- adapter type
|
|
83
|
-
- optional `desiredSkills` from the organization skill library
|
|
84
|
-
- adapter and runtime config aligned to this environment
|
|
85
|
-
- capabilities
|
|
86
|
-
- structured role/persona instructions for the new agent (`promptTemplate` when the CLI payload is the available surface; Rudder materializes this as `SOUL.md`)
|
|
87
|
-
- source issue linkage (`sourceIssueId` or `sourceIssueIds`) when this hire came from an issue
|
|
88
|
-
|
|
89
|
-
`role` is a fixed Rudder enum, not a free-form job title. Use one of:
|
|
90
|
-
`ceo`, `cto`, `cmo`, `cfo`, `engineer`, `designer`, `pm`, `qa`, `devops`, `researcher`, `general`.
|
|
91
|
-
Put specialization in `title`, `capabilities`, and `promptTemplate`. For example, a Founding Engineer hire should use
|
|
92
|
-
`"role": "engineer"` and `"title": "Founding Engineer"`, not `"role": "founding_engineer"`.
|
|
93
|
-
|
|
94
|
-
Do not copy Rudder's shared filesystem, memory, language, or safety contract into the hire prompt. Rudder injects that operating contract from runtime code for supported local runtimes. The hire-specific prompt should only define the new agent's role, identity, scope, tone, and durable responsibilities.
|
|
95
|
-
|
|
96
|
-
Draft `promptTemplate` as a durable SOUL document, not a one-line command. Use these sections when the role is not trivial:
|
|
97
|
-
|
|
98
|
-
- Opening: one sentence that captures who the agent is
|
|
99
|
-
- Mission: the outcome this agent owns
|
|
100
|
-
- Responsibilities: durable duties and ownership boundaries
|
|
101
|
-
- Boundaries: what the agent should not do or should escalate
|
|
102
|
-
- Decision Principles: role-specific judgment rules
|
|
103
|
-
- Voice: how the agent should communicate
|
|
104
|
-
- Continuity: what should become memory or explicit instruction updates over time
|
|
105
|
-
|
|
106
|
-
7. Submit the canonical hire request.
|
|
107
|
-
|
|
108
|
-
```sh
|
|
109
|
-
rudder agent hire --org-id "$RUDDER_ORG_ID" --payload '{
|
|
110
|
-
"role": "cto",
|
|
111
|
-
"title": "Chief Technology Officer",
|
|
112
|
-
"reportsTo": "<ceo-agent-id>",
|
|
113
|
-
"capabilities": "Owns technical roadmap, architecture, staffing, execution",
|
|
114
|
-
"desiredSkills": ["vercel-labs/agent-browser/agent-browser"],
|
|
115
|
-
"agentRuntimeType": "codex_local",
|
|
116
|
-
"agentRuntimeConfig": {
|
|
117
|
-
"cwd": "/abs/path/to/repo",
|
|
118
|
-
"model": "o4-mini",
|
|
119
|
-
"promptTemplate": "# SOUL.md -- CTO Persona\n\nYou are the CTO.\n\n## Mission\nOwn technical strategy, architecture, engineering execution, and quality bars.\n\n## Responsibilities\n- Set technical direction and execution standards.\n- Review architecture and staffing trade-offs.\n- Keep delivery risks visible and actionable.\n\n## Boundaries\n- Do not approve risky shortcuts without naming the trade-off.\n- Escalate product or budget ambiguity instead of guessing.\n\n## Decision Principles\n- Prefer simple architectures with explicit trade-offs.\n- Treat reliability, developer velocity, and product learning as linked constraints.\n\n## Voice\nDirect, specific, and evidence-led.\n\n## Continuity\nPreserve durable technical standards, repeated failure patterns, and long-running architecture decisions in memory or explicit instructions."
|
|
120
|
-
},
|
|
121
|
-
"runtimeConfig": {"heartbeat": {"enabled": true, "intervalSec": 300, "wakeOnDemand": true, "maxConcurrentRuns": 3}},
|
|
122
|
-
"sourceIssueId": "<issue-id>"
|
|
123
|
-
}' --json
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
`agent hire` is the canonical surface because it preserves the real server behavior:
|
|
127
|
-
|
|
128
|
-
- if the organization does not require approval, it creates the agent directly and returns `"approval": null`
|
|
129
|
-
- if the organization requires approval, it creates the agent in `pending_approval` and returns both `agent` and `approval`
|
|
130
|
-
|
|
131
|
-
Do **not** substitute `rudder approval create --type hire_agent` for this step unless you are doing low-level debugging. That bypasses the canonical direct-create vs pending-approval behavior.
|
|
132
|
-
|
|
133
|
-
8. Handle governance state.
|
|
134
|
-
|
|
135
|
-
If the hire response includes `approval`, monitor and discuss on the approval thread:
|
|
136
|
-
|
|
137
|
-
```sh
|
|
138
|
-
rudder approval get "<approval-id>" --json
|
|
139
|
-
cat > /tmp/rudder-approval-comment.md <<'EOF'
|
|
140
|
-
## CTO hire request submitted
|
|
141
|
-
|
|
142
|
-
- Approval: [<approval-id>](/<prefix>/messenger/approvals/<approval-id>)
|
|
143
|
-
- Pending agent: [<agent-ref>](/<prefix>/agents/<agent-url-key-or-id>)
|
|
144
|
-
- Source issue: [<issue-ref>](/<prefix>/issues/<issue-identifier-or-id>)
|
|
145
|
-
|
|
146
|
-
Updated prompt and adapter config per board feedback.
|
|
147
|
-
EOF
|
|
148
|
-
rudder approval comment "<approval-id>" --body-file /tmp/rudder-approval-comment.md --json
|
|
149
|
-
rudder approval resubmit "<approval-id>" --payload '{"title":"Revised title","agentRuntimeConfig":{"cwd":"/abs/path/to/repo","model":"o4-mini"}}' --json
|
|
150
|
-
rudder approval issues "<approval-id>" --json
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
When the board approves, you may be woken with `RUDDER_APPROVAL_ID`:
|
|
154
|
-
|
|
155
|
-
```sh
|
|
156
|
-
rudder approval get "$RUDDER_APPROVAL_ID" --json
|
|
157
|
-
rudder approval issues "$RUDDER_APPROVAL_ID" --json
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
For each linked issue, either:
|
|
161
|
-
|
|
162
|
-
- close it if the approval resolved the request, or
|
|
163
|
-
- comment in markdown with links to the approval and next actions
|
|
164
|
-
|
|
165
|
-
## Quality Bar
|
|
166
|
-
|
|
167
|
-
Before sending a hire request:
|
|
168
|
-
|
|
169
|
-
- if the role needs skills, make sure they already exist in the org library or import them first using the Rudder org-skills workflow
|
|
170
|
-
- reuse proven config patterns from related agents where possible
|
|
171
|
-
- omit `icon` for normal hires so the server generates the default DiceBear Notionists avatar
|
|
172
|
-
- avoid secrets in plain text unless required by adapter behavior
|
|
173
|
-
- ensure the reporting line is correct and in-org
|
|
174
|
-
- ensure the prompt is role-specific, operationally scoped, and structured enough to become the agent's durable `SOUL.md`
|
|
175
|
-
- include mission, responsibilities, boundaries, decision principles, voice, and continuity when the role has ongoing authority
|
|
176
|
-
- prefer `sourceIssueId` or `sourceIssueIds` in the hire payload instead of manual approval linking
|
|
177
|
-
- if board requests revision, update the payload and resubmit through the approval flow
|
|
178
|
-
- do not report success unless `rudder agent hire` itself succeeded and you can cite the returned `agent.id` or `approval.id`
|
|
179
|
-
- creating local directories or instruction files is not evidence that an agent exists in Rudder
|
|
180
|
-
|
|
181
|
-
For canonical command syntax and examples, read:
|
|
182
|
-
`references/cli-reference.md`
|
|
183
|
-
|
|
184
|
-
For low-level route shapes and underlying compatibility endpoints, read:
|
|
185
|
-
`references/api-reference.md`
|
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
# Rudder Create Agent API Reference
|
|
2
|
-
|
|
3
|
-
Internal/debug reference for the bundled `rudder-create-agent` skill.
|
|
4
|
-
|
|
5
|
-
- Normal runtime execution should follow the CLI-first workflow in `../SKILL.md`.
|
|
6
|
-
- The canonical command catalog lives in `cli-reference.md`.
|
|
7
|
-
- Keep this document for route-level debugging, compatibility work, and payload-shape inspection.
|
|
8
|
-
|
|
9
|
-
## CLI-to-API Mapping
|
|
10
|
-
|
|
11
|
-
| CLI command | Primary route |
|
|
12
|
-
| --- | --- |
|
|
13
|
-
| `rudder agent config index` | `GET /llms/agent-configuration.txt` |
|
|
14
|
-
| `rudder agent config doc <agentRuntimeType>` | `GET /llms/agent-configuration/:agentRuntimeType.txt` |
|
|
15
|
-
| `rudder agent config list --org-id <orgId>` | `GET /api/orgs/:orgId/agent-configurations` |
|
|
16
|
-
| `rudder agent config get <agentId>` | `GET /api/agents/:agentId/configuration` |
|
|
17
|
-
| `rudder agent hire --org-id <orgId> --payload <json>` | `POST /api/orgs/:orgId/agent-hires` |
|
|
18
|
-
| `rudder approval get <approvalId>` | `GET /api/approvals/:approvalId` |
|
|
19
|
-
| `rudder approval comment <approvalId> --body-file <path>` | `POST /api/approvals/:approvalId/comments` |
|
|
20
|
-
| `rudder approval resubmit <approvalId> [--payload <json>]` | `POST /api/approvals/:approvalId/resubmit` |
|
|
21
|
-
| `rudder approval issues <approvalId>` | `GET /api/approvals/:approvalId/issues` |
|
|
22
|
-
|
|
23
|
-
## Reflection Endpoints
|
|
24
|
-
|
|
25
|
-
- `GET /llms/agent-configuration.txt`
|
|
26
|
-
- `GET /llms/agent-configuration/:agentRuntimeType.txt`
|
|
27
|
-
|
|
28
|
-
Auth:
|
|
29
|
-
|
|
30
|
-
- board access, or
|
|
31
|
-
- same-org agent auth with `canCreateAgents=true`
|
|
32
|
-
|
|
33
|
-
These endpoints return plain text. The CLI wraps them directly.
|
|
34
|
-
|
|
35
|
-
## Configuration Snapshots
|
|
36
|
-
|
|
37
|
-
- `GET /api/orgs/:orgId/agent-configurations`
|
|
38
|
-
- `GET /api/agents/:agentId/configuration`
|
|
39
|
-
|
|
40
|
-
These responses are redacted snapshots for comparison and reuse.
|
|
41
|
-
|
|
42
|
-
Representative shape:
|
|
43
|
-
|
|
44
|
-
```json
|
|
45
|
-
{
|
|
46
|
-
"id": "uuid",
|
|
47
|
-
"orgId": "uuid",
|
|
48
|
-
"name": "CTO",
|
|
49
|
-
"role": "cto",
|
|
50
|
-
"title": "Chief Technology Officer",
|
|
51
|
-
"status": "idle",
|
|
52
|
-
"reportsTo": "uuid-or-null",
|
|
53
|
-
"agentRuntimeType": "codex_local",
|
|
54
|
-
"agentRuntimeConfig": {
|
|
55
|
-
"cwd": "/absolute/path",
|
|
56
|
-
"model": "o4-mini"
|
|
57
|
-
},
|
|
58
|
-
"runtimeConfig": {
|
|
59
|
-
"heartbeat": {
|
|
60
|
-
"enabled": true,
|
|
61
|
-
"intervalSec": 300,
|
|
62
|
-
"wakeOnDemand": true,
|
|
63
|
-
"maxConcurrentRuns": 3
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"permissions": {
|
|
67
|
-
"canCreateAgents": true
|
|
68
|
-
},
|
|
69
|
-
"updatedAt": "2026-04-19T12:00:00.000Z"
|
|
70
|
-
}
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
## `POST /api/orgs/:orgId/agent-hires`
|
|
74
|
-
|
|
75
|
-
Canonical hire route used by `rudder agent hire`.
|
|
76
|
-
|
|
77
|
-
Request body:
|
|
78
|
-
|
|
79
|
-
```json
|
|
80
|
-
{
|
|
81
|
-
"role": "cto",
|
|
82
|
-
"title": "Chief Technology Officer",
|
|
83
|
-
"reportsTo": "uuid-or-null",
|
|
84
|
-
"capabilities": "Owns architecture and engineering execution",
|
|
85
|
-
"desiredSkills": ["vercel-labs/agent-browser/agent-browser"],
|
|
86
|
-
"agentRuntimeType": "codex_local",
|
|
87
|
-
"agentRuntimeConfig": {
|
|
88
|
-
"cwd": "/absolute/path",
|
|
89
|
-
"model": "o4-mini",
|
|
90
|
-
"promptTemplate": "# SOUL.md -- CTO Persona\n\nYou are the CTO.\n\n## Mission\nOwn technical strategy, architecture, engineering execution, and quality bars.\n\n## Responsibilities\n- Set technical direction and execution standards.\n- Review architecture and staffing trade-offs.\n- Keep delivery risks visible and actionable.\n\n## Boundaries\n- Do not approve risky shortcuts without naming the trade-off.\n- Escalate product or budget ambiguity instead of guessing.\n\n## Decision Principles\n- Prefer simple architectures with explicit trade-offs.\n- Treat reliability, developer velocity, and product learning as linked constraints.\n\n## Voice\nDirect, specific, and evidence-led.\n\n## Continuity\nPreserve durable technical standards, repeated failure patterns, and long-running architecture decisions in memory or explicit instructions."
|
|
91
|
-
},
|
|
92
|
-
"runtimeConfig": {
|
|
93
|
-
"heartbeat": {
|
|
94
|
-
"enabled": true,
|
|
95
|
-
"intervalSec": 300,
|
|
96
|
-
"wakeOnDemand": true,
|
|
97
|
-
"maxConcurrentRuns": 3
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
"budgetMonthlyCents": 0,
|
|
101
|
-
"sourceIssueId": "uuid-or-null",
|
|
102
|
-
"sourceIssueIds": ["uuid-1", "uuid-2"]
|
|
103
|
-
}
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
`role` is validated as a fixed enum: `ceo`, `cto`, `cmo`, `cfo`, `engineer`, `designer`, `pm`, `qa`, `devops`, `researcher`, `general`.
|
|
107
|
-
Use `title`, `capabilities`, and `agentRuntimeConfig.promptTemplate` for narrower job titles. For example, a Founding Engineer should be submitted as `"role": "engineer"` and `"title": "Founding Engineer"`.
|
|
108
|
-
|
|
109
|
-
Response when approval is required:
|
|
110
|
-
|
|
111
|
-
```json
|
|
112
|
-
{
|
|
113
|
-
"agent": {
|
|
114
|
-
"id": "uuid",
|
|
115
|
-
"status": "pending_approval"
|
|
116
|
-
},
|
|
117
|
-
"approval": {
|
|
118
|
-
"id": "uuid",
|
|
119
|
-
"type": "hire_agent",
|
|
120
|
-
"status": "pending",
|
|
121
|
-
"payload": {
|
|
122
|
-
"desiredSkills": ["vercel-labs/agent-browser/agent-browser"]
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
Response when approval is not required:
|
|
129
|
-
|
|
130
|
-
```json
|
|
131
|
-
{
|
|
132
|
-
"agent": {
|
|
133
|
-
"id": "uuid",
|
|
134
|
-
"status": "idle"
|
|
135
|
-
},
|
|
136
|
-
"approval": null
|
|
137
|
-
}
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
Important notes:
|
|
141
|
-
|
|
142
|
-
- `name` is optional; if omitted or blank, Rudder assigns a distinct first name automatically
|
|
143
|
-
- `icon` is optional; omit it for normal hires so Rudder generates a DiceBear Notionists avatar automatically
|
|
144
|
-
- only pass `icon` when the board/UI supplied an explicit DiceBear Notionists reference or uploaded `asset:<uuid>` image avatar reference
|
|
145
|
-
- `desiredSkills` accepts organization skill ids, canonical keys, or a unique slug; the server resolves and stores canonical organization skill keys
|
|
146
|
-
- `agentRuntimeConfig.promptTemplate`, when present for local runtimes during hire, is role/persona content that Rudder materializes as managed `SOUL.md`
|
|
147
|
-
- write hire-time `promptTemplate` as a durable SOUL document with mission, responsibilities, boundaries, decision principles, voice, and continuity when the role has ongoing authority
|
|
148
|
-
- do not put Rudder's shared operating contract in `promptTemplate`; supported local runtimes inject that contract from code
|
|
149
|
-
- `sourceIssueId` and `sourceIssueIds` are the canonical way to link the hire back to originating issues
|
|
150
|
-
- this route is preferred over creating `hire_agent` approvals manually because it preserves the organization's approval policy
|
|
151
|
-
|
|
152
|
-
## Approval Lifecycle
|
|
153
|
-
|
|
154
|
-
Relevant routes:
|
|
155
|
-
|
|
156
|
-
- `GET /api/approvals/:approvalId`
|
|
157
|
-
- `POST /api/approvals/:approvalId/comments`
|
|
158
|
-
- `POST /api/approvals/:approvalId/resubmit`
|
|
159
|
-
- `GET /api/approvals/:approvalId/issues`
|
|
160
|
-
|
|
161
|
-
Statuses:
|
|
162
|
-
|
|
163
|
-
- `pending`
|
|
164
|
-
- `revision_requested`
|
|
165
|
-
- `approved`
|
|
166
|
-
- `rejected`
|
|
167
|
-
- `cancelled`
|
|
168
|
-
|
|
169
|
-
For hire approvals:
|
|
170
|
-
|
|
171
|
-
- approved: linked agent transitions `pending_approval -> idle`
|
|
172
|
-
- rejected: linked agent is terminated
|
|
173
|
-
|
|
174
|
-
## Safety Notes
|
|
175
|
-
|
|
176
|
-
- Config read APIs redact obvious secrets.
|
|
177
|
-
- `pending_approval` agents cannot run heartbeats, receive assignments, or create keys.
|
|
178
|
-
- All hire and approval actions are logged in activity for auditability.
|
|
179
|
-
- Use markdown in issue and approval comments and include links to the approval, agent, and source issue.
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
# Rudder Create Agent CLI Reference
|
|
2
|
-
|
|
3
|
-
Canonical CLI contract for the bundled `rudder-create-agent` skill. Prefer these commands over direct `/api` calls.
|
|
4
|
-
|
|
5
|
-
## Defaults
|
|
6
|
-
|
|
7
|
-
- All commands support `--json`.
|
|
8
|
-
- `--org-id` defaults to `RUDDER_ORG_ID` when relevant.
|
|
9
|
-
- Mutating commands attach `RUDDER_RUN_ID` automatically when available.
|
|
10
|
-
- `agent config index` and `agent config doc` print plain text by default. With `--json`, they emit that text as a JSON string.
|
|
11
|
-
|
|
12
|
-
## Core CLI Surface
|
|
13
|
-
|
|
14
|
-
### Identity and discovery
|
|
15
|
-
|
|
16
|
-
```sh
|
|
17
|
-
rudder agent me --json
|
|
18
|
-
rudder agent list --org-id "$RUDDER_ORG_ID" --json
|
|
19
|
-
rudder agent get "<agent-id-or-shortname>" --org-id "$RUDDER_ORG_ID" --json
|
|
20
|
-
rudder agent config index
|
|
21
|
-
rudder agent config doc "<agent-runtime-type>"
|
|
22
|
-
rudder agent config list --org-id "$RUDDER_ORG_ID" --json
|
|
23
|
-
rudder agent config get "<agent-id-or-shortname>" --org-id "$RUDDER_ORG_ID" --json
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
Use these in order:
|
|
27
|
-
|
|
28
|
-
1. `agent me` to verify auth and org context
|
|
29
|
-
2. `agent config index` to discover installed runtimes
|
|
30
|
-
3. `agent config doc` to read one runtime's required fields and examples
|
|
31
|
-
4. `agent list` plus `agent config list/get` to reuse proven patterns from related agents
|
|
32
|
-
|
|
33
|
-
### Organization skills
|
|
34
|
-
|
|
35
|
-
```sh
|
|
36
|
-
rudder skill list --org-id "$RUDDER_ORG_ID" --json
|
|
37
|
-
rudder skill get "<skill-id>" --org-id "$RUDDER_ORG_ID" --json
|
|
38
|
-
rudder skill file "<skill-id>" --org-id "$RUDDER_ORG_ID" --path SKILL.md --json
|
|
39
|
-
rudder skill import --org-id "$RUDDER_ORG_ID" --source "<source>" --json
|
|
40
|
-
rudder skill scan-local --org-id "$RUDDER_ORG_ID" --roots "<csv>" --json
|
|
41
|
-
rudder skill scan-projects --org-id "$RUDDER_ORG_ID" --project-ids "<csv>" --workspace-ids "<csv>" --json
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
Use these before hiring when the new role needs `desiredSkills`.
|
|
45
|
-
|
|
46
|
-
`desiredSkills` accepts:
|
|
47
|
-
|
|
48
|
-
- exact organization skill key
|
|
49
|
-
- exact organization skill id
|
|
50
|
-
- exact slug when it is unique in the organization
|
|
51
|
-
|
|
52
|
-
### Canonical hire flow
|
|
53
|
-
|
|
54
|
-
```sh
|
|
55
|
-
rudder agent hire --org-id "$RUDDER_ORG_ID" --payload '{
|
|
56
|
-
"role": "cto",
|
|
57
|
-
"title": "Chief Technology Officer",
|
|
58
|
-
"reportsTo": "<ceo-agent-id>",
|
|
59
|
-
"capabilities": "Owns technical roadmap, architecture, staffing, execution",
|
|
60
|
-
"desiredSkills": ["vercel-labs/agent-browser/agent-browser"],
|
|
61
|
-
"agentRuntimeType": "codex_local",
|
|
62
|
-
"agentRuntimeConfig": {
|
|
63
|
-
"cwd": "/abs/path/to/repo",
|
|
64
|
-
"model": "o4-mini",
|
|
65
|
-
"promptTemplate": "# SOUL.md -- CTO Persona\n\nYou are the CTO.\n\n## Mission\nOwn technical strategy, architecture, engineering execution, and quality bars.\n\n## Responsibilities\n- Set technical direction and execution standards.\n- Review architecture and staffing trade-offs.\n- Keep delivery risks visible and actionable.\n\n## Boundaries\n- Do not approve risky shortcuts without naming the trade-off.\n- Escalate product or budget ambiguity instead of guessing.\n\n## Decision Principles\n- Prefer simple architectures with explicit trade-offs.\n- Treat reliability, developer velocity, and product learning as linked constraints.\n\n## Voice\nDirect, specific, and evidence-led.\n\n## Continuity\nPreserve durable technical standards, repeated failure patterns, and long-running architecture decisions in memory or explicit instructions."
|
|
66
|
-
},
|
|
67
|
-
"runtimeConfig": {"heartbeat": {"enabled": true, "intervalSec": 300, "wakeOnDemand": true, "maxConcurrentRuns": 3}},
|
|
68
|
-
"sourceIssueId": "<issue-id>"
|
|
69
|
-
}' --json
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
Canonical semantics:
|
|
73
|
-
|
|
74
|
-
- this wraps `POST /api/orgs/:orgId/agent-hires`
|
|
75
|
-
- if the organization does not require board approval, the response contains `approval: null` and the agent is created directly
|
|
76
|
-
- if the organization requires board approval, the response contains both `agent` and `approval`, and the new agent stays `pending_approval`
|
|
77
|
-
|
|
78
|
-
Do not use `rudder approval create --type hire_agent` as a replacement for `agent hire` during normal skill execution. That is a lower-level compatibility surface and does not preserve the canonical direct-create behavior.
|
|
79
|
-
|
|
80
|
-
`agentRuntimeConfig.promptTemplate`, when used during hire, is for role/persona content. Rudder materializes it as the managed instruction bundle's `SOUL.md`. Write it as a durable SOUL document with mission, responsibilities, boundaries, decision principles, voice, and continuity when the role has ongoing authority. Do not include Rudder's shared operating contract in this field; supported local runtimes inject that contract from code.
|
|
81
|
-
|
|
82
|
-
### Approval follow-up
|
|
83
|
-
|
|
84
|
-
```sh
|
|
85
|
-
rudder approval get "<approval-id>" --json
|
|
86
|
-
rudder approval comment "<approval-id>" --body-file "<path>" --json
|
|
87
|
-
rudder approval resubmit "<approval-id>" --payload '{"...":"..."}' --json
|
|
88
|
-
rudder approval issues "<approval-id>" --json
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
Notes:
|
|
92
|
-
|
|
93
|
-
- `approval comment` should use markdown and link the approval, pending agent, and source issue when available
|
|
94
|
-
- `approval resubmit` is only for a revision-requested approval; update the payload instead of creating a second hire
|
|
95
|
-
- if the run wakes with `RUDDER_APPROVAL_ID`, treat that approval as the first task
|
|
96
|
-
|
|
97
|
-
## Payload Notes
|
|
98
|
-
|
|
99
|
-
The `agent hire` payload accepts the same shape as the hire API, including:
|
|
100
|
-
|
|
101
|
-
- `name` optional; blank or omitted means Rudder assigns a distinct first name
|
|
102
|
-
- `role`: one of `ceo`, `cto`, `cmo`, `cfo`, `engineer`, `designer`, `pm`, `qa`, `devops`, `researcher`, `general`
|
|
103
|
-
- `title`
|
|
104
|
-
- `icon` optional; omit it for normal hires so Rudder generates a DiceBear Notionists avatar automatically. Only provide an explicit DiceBear reference or uploaded `asset:<uuid>` image avatar reference when the board/UI supplied one.
|
|
105
|
-
- `reportsTo`
|
|
106
|
-
- `capabilities`
|
|
107
|
-
- `desiredSkills`
|
|
108
|
-
- `agentRuntimeType`
|
|
109
|
-
- `agentRuntimeConfig`
|
|
110
|
-
- `runtimeConfig`
|
|
111
|
-
- `budgetMonthlyCents`
|
|
112
|
-
- `metadata`
|
|
113
|
-
- `sourceIssueId`
|
|
114
|
-
- `sourceIssueIds`
|
|
115
|
-
|
|
116
|
-
`role` is a fixed enum. Do not invent role keys such as `founding_engineer`, `frontend_engineer`, or `reviewer`. Use the closest enum value, then put the specialization in `title`, `capabilities`, and `agentRuntimeConfig.promptTemplate`; for example use `"role": "engineer"` with `"title": "Founding Engineer"`.
|
|
117
|
-
|
|
118
|
-
Issue linkage rule:
|
|
119
|
-
|
|
120
|
-
- prefer `sourceIssueId` or `sourceIssueIds` inside the hire payload
|
|
121
|
-
- use `approval issues` to inspect the resulting approval links after the server creates them
|
|
122
|
-
|
|
123
|
-
## Related Commands
|
|
124
|
-
|
|
125
|
-
Post-hire adjustments use the normal agent and skill surfaces:
|
|
126
|
-
|
|
127
|
-
```sh
|
|
128
|
-
rudder agent get "<agent-id-or-shortname>" --org-id "$RUDDER_ORG_ID" --json
|
|
129
|
-
rudder agent skills enable "<agent-id>" "<selection-ref>" --json
|
|
130
|
-
rudder agent skills sync "<agent-id>" --desired-skills "<csv>" --json
|
|
131
|
-
rudder agent local-cli "<agent-id-or-shortname>" --org-id "$RUDDER_ORG_ID" --json
|
|
132
|
-
```
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: rudder-create-plugin
|
|
3
|
-
description: Create new Rudder plugins with the current alpha SDK/runtime. Use when scaffolding a plugin package, adding a new example plugin, or updating plugin authoring docs. Covers the supported worker/UI surface, route conventions, scaffold flow, and verification steps.
|
|
4
|
-
Create new Rudder plugins with the current alpha SDK/runtime. Use when
|
|
5
|
-
scaffolding a plugin package, adding a new example plugin, or updating plugin
|
|
6
|
-
authoring docs. Covers the supported worker/UI surface, route conventions,
|
|
7
|
-
scaffold flow, and verification steps.
|
|
8
|
-
allowed-tools:
|
|
9
|
-
disable: true
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
# Create a Rudder Plugin
|
|
13
|
-
|
|
14
|
-
Use this skill when the task is to create, scaffold, or document a Rudder plugin.
|
|
15
|
-
|
|
16
|
-
## 1. Ground rules
|
|
17
|
-
|
|
18
|
-
Read these first when needed:
|
|
19
|
-
|
|
20
|
-
1. `doc/engineering/PLUGIN_AUTHORING_GUIDE.md`
|
|
21
|
-
2. `packages/plugins/sdk/README.md`
|
|
22
|
-
3. `doc/engineering/PLUGIN_RUNTIME_CONTRACT.md` only for future-looking context
|
|
23
|
-
|
|
24
|
-
Current runtime assumptions:
|
|
25
|
-
|
|
26
|
-
- plugin workers are trusted code
|
|
27
|
-
- plugin UI is trusted same-origin host code
|
|
28
|
-
- worker APIs are capability-gated
|
|
29
|
-
- plugin UI is not sandboxed by manifest capabilities
|
|
30
|
-
- no host-provided shared plugin UI component kit yet
|
|
31
|
-
- `ctx.assets` is not supported in the current runtime
|
|
32
|
-
|
|
33
|
-
## 2. Preferred workflow
|
|
34
|
-
|
|
35
|
-
Use the scaffold package instead of hand-writing the boilerplate:
|
|
36
|
-
|
|
37
|
-
```bash
|
|
38
|
-
pnpm --filter @rudderhq/create-rudder-plugin build
|
|
39
|
-
node packages/plugins/create-rudder-plugin/dist/index.js <npm-package-name> --output <target-dir>
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
For a plugin that lives outside the Rudder repo, pass `--sdk-path` and let the scaffold snapshot the local SDK/shared packages into `.rudder-sdk/`:
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
pnpm --filter @rudderhq/create-rudder-plugin build
|
|
46
|
-
node packages/plugins/create-rudder-plugin/dist/index.js @acme/plugin-name \
|
|
47
|
-
--output /absolute/path/to/plugin-repos \
|
|
48
|
-
--sdk-path /absolute/path/to/rudder/packages/plugins/sdk
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
Recommended target inside this repo:
|
|
52
|
-
|
|
53
|
-
- `packages/plugins/examples/` for example plugins
|
|
54
|
-
- another `packages/plugins/<name>/` folder if it is becoming a real package
|
|
55
|
-
|
|
56
|
-
## 3. After scaffolding
|
|
57
|
-
|
|
58
|
-
Check and adjust:
|
|
59
|
-
|
|
60
|
-
- `src/manifest.ts`
|
|
61
|
-
- `src/worker.ts`
|
|
62
|
-
- `src/ui/index.tsx`
|
|
63
|
-
- `tests/plugin.spec.ts`
|
|
64
|
-
- `package.json`
|
|
65
|
-
|
|
66
|
-
Make sure the plugin:
|
|
67
|
-
|
|
68
|
-
- declares only supported capabilities
|
|
69
|
-
- does not use `ctx.assets`
|
|
70
|
-
- does not import host UI component stubs
|
|
71
|
-
- keeps UI self-contained
|
|
72
|
-
- uses `routePath` only on `page` slots
|
|
73
|
-
- is installed into Rudder from an absolute local path during development
|
|
74
|
-
|
|
75
|
-
## 4. If the plugin should appear in the app
|
|
76
|
-
|
|
77
|
-
For bundled example/discoverable behavior, update the relevant host wiring:
|
|
78
|
-
|
|
79
|
-
- bundled example list in `server/src/routes/plugins.ts`
|
|
80
|
-
- any docs that list in-repo examples
|
|
81
|
-
|
|
82
|
-
Only do this if the user wants the plugin surfaced as a bundled example.
|
|
83
|
-
|
|
84
|
-
## 5. Verification
|
|
85
|
-
|
|
86
|
-
Always run:
|
|
87
|
-
|
|
88
|
-
```bash
|
|
89
|
-
pnpm --filter <plugin-package> typecheck
|
|
90
|
-
pnpm --filter <plugin-package> test
|
|
91
|
-
pnpm --filter <plugin-package> build
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
If you changed SDK/host/plugin runtime code too, also run broader repo checks as appropriate.
|
|
95
|
-
|
|
96
|
-
## 6. Documentation expectations
|
|
97
|
-
|
|
98
|
-
When authoring or updating plugin docs:
|
|
99
|
-
|
|
100
|
-
- distinguish current implementation from future spec ideas
|
|
101
|
-
- be explicit about the trusted-code model
|
|
102
|
-
- do not promise host UI components or asset APIs
|
|
103
|
-
- prefer npm-package deployment guidance over repo-local workflows for production
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## v4.3 framing evidence hardening
|
|
4
|
-
|
|
5
|
-
- Added sequencing guidance for requests that ask to optimize a skill after another live task: complete and verify the primary task first, then optimize from evidence.
|
|
6
|
-
- Added explicit treatment of strong user corrections as high-signal evidence, especially framing corrections and wrong-abstraction-level failures.
|
|
7
|
-
- Added framing checks for user outcome vs UI surface, scenario spine vs fixture rows, source of truth vs derivative signal, and product intent vs local convenience.
|
|
8
|
-
- Relaxed the final response contract for larger workflows so the primary task result can be reported before concise skill changes.
|
|
9
|
-
|
|
10
|
-
## v4.2 open-source package
|
|
11
|
-
|
|
12
|
-
- Added package mode and open-source project structure guidance.
|
|
13
|
-
- Added explicit adapter file lookup under `references/adapters/`.
|
|
14
|
-
- Added packaging expectations for README, examples, evals, changelog, and distributable skill zip.
|
|
15
|
-
- Preserved the generic analysis framework: core optimizer plus modular domain adapters.
|
|
16
|
-
|
|
17
|
-
## v4.1 adapter hardening
|
|
18
|
-
|
|
19
|
-
- Added explicit domain adapter use rule: source of truth, required inputs, review owner, authority gates, privacy, output template, validation cases, and must-not behaviors.
|
|
20
|
-
- Added benchmark reporting split for trigger accuracy, patch-quality coverage, and downstream transfer.
|
|
21
|
-
- Added warning that synthetic verifier scores are regression signals, not official leaderboard results.
|
|
22
|
-
|
|
23
|
-
## v4.0 generic
|
|
24
|
-
|
|
25
|
-
- Reframed Skill Optimizer from a software-focused hardening checklist into a domain-general analysis framework.
|
|
26
|
-
- Added universal optimization lens covering purpose, triggers, inputs, workflow, tools, outputs, quality, safety, failure, and maintainability.
|
|
27
|
-
- Moved domain-specific checks into modular adapter patterns.
|
|
28
|
-
- Added trigger optimization guidance and benchmark mode.
|
|
29
|
-
- Preserved strict patch safety around high-impact actions.
|