@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
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
"should_trigger": true
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
|
-
"query": "
|
|
19
|
+
"query": "请在 Rudder 里创建一个 Researcher Agent,让它向 CTO 汇报;先核对当前权限、runtime config、role enum 和 approval 流程,再执行创建。",
|
|
20
20
|
"should_trigger": true
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
|
-
"query": "Rudder
|
|
23
|
+
"query": "Scaffold a new Rudder Plugin named @acme/quality-gate in a temporary external package directory. Verify the current create-rudder-plugin and SDK workflow first, then run its typecheck, tests, and build.",
|
|
24
24
|
"should_trigger": true
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
|
-
"query": "
|
|
27
|
+
"query": "Rudder Plugin 的 worker capability、same-origin UI、routePath 和 ctx.assets 现在到底有哪些边界?请查当前 authoring guide、SDK 和源码后回答。",
|
|
28
28
|
"should_trigger": true
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
|
-
"query": "
|
|
31
|
+
"query": "Before hiring a Founding Engineer in Rudder, compare the installed Codex runtime configuration with existing agents and explain the correct role, title, reportsTo, SOUL.md, desiredSkills, and sourceIssueId fields.",
|
|
32
32
|
"should_trigger": true
|
|
33
33
|
},
|
|
34
34
|
{
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"should_trigger": false
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
|
-
"query": "这个 React 组件在当前 Rudder run
|
|
47
|
+
"query": "这个 React 组件在当前 Rudder run 里渲染成空白了,帮我修复状态更新逻辑并补一个组件测试;这不是 Rudder 产品行为问题。",
|
|
48
48
|
"should_trigger": false
|
|
49
49
|
},
|
|
50
50
|
{
|
|
@@ -56,27 +56,27 @@
|
|
|
56
56
|
"should_trigger": false
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
|
-
"query": "
|
|
59
|
+
"query": "The target Agent and new title are already in context. Use the exposed typed Agent update tool to change only its title to Staff Engineer; do not look up Rudder docs.",
|
|
60
60
|
"should_trigger": false
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
|
-
"query": "
|
|
63
|
+
"query": "给这个普通 Vite 应用写一个 markdown-it plugin,把内部链接加上 target 属性;它不是 Rudder Plugin,也不需要 Rudder SDK。",
|
|
64
64
|
"should_trigger": false
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
|
-
"query": "
|
|
67
|
+
"query": "在这个 Rudder run 里分析附件中的三家竞品定价表,算出年付折扣并推荐我们的套餐价格。",
|
|
68
68
|
"should_trigger": false
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
|
-
"query": "
|
|
71
|
+
"query": "Write a short email to the design team saying the issue is complete and that the new screenshots are ready for review.",
|
|
72
72
|
"should_trigger": false
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
|
-
"query": "
|
|
75
|
+
"query": "Please fix spelling mistakes on an unrelated library's docs page in this repository, preserve its tone, and run the markdown linter; no Rudder behavior needs clarification.",
|
|
76
76
|
"should_trigger": false
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
|
-
"query": "
|
|
79
|
+
"query": "帮我设计一个名叫 Rudder 的船舵图标:深蓝色、圆形徽章、透明背景,输出 1024px PNG。",
|
|
80
80
|
"should_trigger": false
|
|
81
81
|
}
|
|
82
82
|
]
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
# Agent Creation
|
|
2
|
+
|
|
3
|
+
Use this workflow for an explicit request to create, hire, or configure a
|
|
4
|
+
Rudder Agent. A question about Agent behavior or configuration is read-only.
|
|
5
|
+
Only an explicit user request to perform the action authorizes mutation, and
|
|
6
|
+
normal organization, permission, approval, and safety boundaries still apply.
|
|
7
|
+
|
|
8
|
+
For exact installed command syntax, use [CLI reference](cli-reference.md) after
|
|
9
|
+
checking live capabilities and `--help`. Use [API reference](api-reference.md)
|
|
10
|
+
only for internal debugging or compatibility work.
|
|
11
|
+
|
|
12
|
+
## Section Map
|
|
13
|
+
|
|
14
|
+
- [Verify authority and context](#verify-authority-and-context)
|
|
15
|
+
- [Discover a current runtime configuration](#discover-a-current-runtime-configuration)
|
|
16
|
+
- [Design the durable Agent identity](#design-the-durable-agent-identity)
|
|
17
|
+
- [Submit the governed hire](#submit-the-governed-hire)
|
|
18
|
+
- [Handle direct creation or approval](#handle-direct-creation-or-approval)
|
|
19
|
+
- [Report evidence](#report-evidence)
|
|
20
|
+
|
|
21
|
+
## Verify Authority And Context
|
|
22
|
+
|
|
23
|
+
Before designing or creating an Agent:
|
|
24
|
+
|
|
25
|
+
1. Verify the actor, organization, and authentication with
|
|
26
|
+
`rudder agent me --json` or an equivalent exposed typed identity
|
|
27
|
+
capability.
|
|
28
|
+
2. Board access may create an Agent. An Agent actor needs
|
|
29
|
+
`canCreateAgents=true` in the same organization.
|
|
30
|
+
3. If identity or authorization is unavailable, stop and report the missing
|
|
31
|
+
authority. Do not ask for or print `RUDDER_API_KEY`, create files as a
|
|
32
|
+
substitute, or cross an organization boundary.
|
|
33
|
+
4. If the request is advisory rather than an explicit request to create or
|
|
34
|
+
change an Agent, remain read-only and return the verified guidance.
|
|
35
|
+
|
|
36
|
+
For a source issue, preserve its identity for the hire payload rather than
|
|
37
|
+
creating an unlinked Agent and repairing the relationship later.
|
|
38
|
+
|
|
39
|
+
## Discover A Current Runtime Configuration
|
|
40
|
+
|
|
41
|
+
Inspect exposed typed capabilities first. If a governed typed Agent-hire
|
|
42
|
+
capability is exposed by the current runtime, prefer it. The standard Rudder
|
|
43
|
+
Rudder tool set currently has no Agent-hire mutation tool, so verify and
|
|
44
|
+
use `rudder agent hire` as the canonical installed fallback.
|
|
45
|
+
|
|
46
|
+
Discover before drafting:
|
|
47
|
+
|
|
48
|
+
1. Read `rudder agent config index` to learn which runtime configuration
|
|
49
|
+
documents this instance exposes.
|
|
50
|
+
2. Read one relevant `rudder agent config doc <agent-runtime-type>` document.
|
|
51
|
+
3. Compare related Agents with `rudder agent list`,
|
|
52
|
+
`rudder agent config list`, and, where necessary,
|
|
53
|
+
`rudder agent config get`.
|
|
54
|
+
4. Reuse a proven pattern only after checking that its working directory,
|
|
55
|
+
model, runtime options, and responsibilities fit the new role.
|
|
56
|
+
5. If the role needs `desiredSkills` on day one, inspect the organization skill
|
|
57
|
+
inventory and import or validate required skills before hiring. Follow
|
|
58
|
+
[Organization skills](organization-skills.md) for that workflow.
|
|
59
|
+
|
|
60
|
+
Installed help and live capability evidence win over this reference when a
|
|
61
|
+
version differs. Do not hand-create Agent directories, configuration records,
|
|
62
|
+
or instruction files as a fallback.
|
|
63
|
+
|
|
64
|
+
## Design The Durable Agent Identity
|
|
65
|
+
|
|
66
|
+
An Agent is a durable team member. Draft the smallest complete payload that
|
|
67
|
+
defines its organizational responsibility and runnable configuration:
|
|
68
|
+
|
|
69
|
+
- `name` is optional; when omitted, Rudder assigns a distinct personal name.
|
|
70
|
+
- `role` is one fixed enum value: `ceo`, `cto`, `cmo`, `cfo`, `engineer`,
|
|
71
|
+
`designer`, `pm`, `qa`, `devops`, `researcher`, or `general`.
|
|
72
|
+
- `title` carries the specific job title. For example, use role `engineer` and
|
|
73
|
+
title `Founding Engineer`, never a new `founding_engineer` role.
|
|
74
|
+
- `reportsTo` identifies an in-organization manager and must preserve the
|
|
75
|
+
intended reporting line.
|
|
76
|
+
- `capabilities` states the work this Agent owns and the boundaries it should
|
|
77
|
+
not silently cross.
|
|
78
|
+
- `agentRuntimeType`, `agentRuntimeConfig`, and `runtimeConfig` must follow the
|
|
79
|
+
current adapter documentation and a valid local environment.
|
|
80
|
+
- `desiredSkills` contains only skills already available to the organization
|
|
81
|
+
and actually needed for the role.
|
|
82
|
+
- `sourceIssueId` or `sourceIssueIds` links the hire to the originating work.
|
|
83
|
+
- Omit `icon` for a normal hire so Rudder generates and persists its default
|
|
84
|
+
Oreo avatar. Supply an icon only when the operator provided an explicit
|
|
85
|
+
supported `oreo:<shape>:<palette>:<uuid>`, DiceBear Notionists, or uploaded
|
|
86
|
+
`asset:<uuid>` reference.
|
|
87
|
+
|
|
88
|
+
For supported local runtimes, `agentRuntimeConfig.promptTemplate` becomes the
|
|
89
|
+
managed `SOUL.md`. Write durable role/persona guidance rather than a one-line
|
|
90
|
+
command. A substantial role should define:
|
|
91
|
+
|
|
92
|
+
- an opening identity statement;
|
|
93
|
+
- mission and owned outcome;
|
|
94
|
+
- durable responsibilities;
|
|
95
|
+
- boundaries and escalation points;
|
|
96
|
+
- decision principles;
|
|
97
|
+
- communication voice; and
|
|
98
|
+
- continuity rules for what should become memory or instruction updates.
|
|
99
|
+
|
|
100
|
+
Do not copy Rudder's shared filesystem, memory, safety, or operating contract
|
|
101
|
+
into `promptTemplate`; the runtime injects that shared contract separately.
|
|
102
|
+
Keep secrets out of the payload unless the verified adapter contract requires a
|
|
103
|
+
supported secret mechanism.
|
|
104
|
+
|
|
105
|
+
## Submit The Governed Hire
|
|
106
|
+
|
|
107
|
+
After the payload and authority are verified, use the exposed governed typed
|
|
108
|
+
capability if one exists. Otherwise invoke the installed canonical command:
|
|
109
|
+
|
|
110
|
+
`rudder agent hire --org-id <org-id> --payload <json> --json`
|
|
111
|
+
|
|
112
|
+
Verify its exact syntax in [CLI reference](cli-reference.md) or installed
|
|
113
|
+
`rudder agent hire --help` immediately before execution. Do not replace it with
|
|
114
|
+
manual filesystem changes or `rudder approval create --type hire_agent`.
|
|
115
|
+
The canonical hire surface owns both permission checks and the organization's
|
|
116
|
+
direct-create versus approval-required policy.
|
|
117
|
+
|
|
118
|
+
## Handle Direct Creation Or Approval
|
|
119
|
+
|
|
120
|
+
The canonical response has two governed branches:
|
|
121
|
+
|
|
122
|
+
- Direct creation: `approval: null`; the returned Agent is created in its
|
|
123
|
+
ordinary post-hire state.
|
|
124
|
+
- Approval required: the returned Agent is `pending_approval`, and the response
|
|
125
|
+
includes an approval record.
|
|
126
|
+
|
|
127
|
+
For `pending_approval`:
|
|
128
|
+
|
|
129
|
+
1. Inspect it with `rudder approval get` and keep the source issue visible.
|
|
130
|
+
2. Use a markdown approval comment when review context or revision evidence is
|
|
131
|
+
needed.
|
|
132
|
+
3. If the board requests changes, revise the existing payload and use
|
|
133
|
+
`rudder approval resubmit`; do not create a duplicate hire.
|
|
134
|
+
4. Use `rudder approval issues` to inspect linked issues after the server has
|
|
135
|
+
created the canonical linkage.
|
|
136
|
+
5. After approval, close a linked issue only when the approved hire resolves
|
|
137
|
+
it; otherwise leave a linked next-action comment.
|
|
138
|
+
|
|
139
|
+
Never treat a `pending_approval` Agent as runnable, assignable, or fully hired.
|
|
140
|
+
Approval, rejection, and revision semantics remain server-owned.
|
|
141
|
+
|
|
142
|
+
## Report Evidence
|
|
143
|
+
|
|
144
|
+
Do not report success merely because a payload was drafted or files were
|
|
145
|
+
written. Success requires the canonical hire operation to return:
|
|
146
|
+
|
|
147
|
+
- `agent.id` for the created or pending Agent; and
|
|
148
|
+
- `approval.id` when approval is required.
|
|
149
|
+
|
|
150
|
+
Report the organization, Agent identity, role/title, reporting line, runtime,
|
|
151
|
+
source issue, and direct versus approval branch without exposing secrets.
|
|
152
|
+
If execution was not explicitly requested, report only the verified proposed
|
|
153
|
+
configuration and the current command or capability that would govern it.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# Rudder API Reference
|
|
2
2
|
|
|
3
|
-
Internal/debug reference for the Rudder
|
|
3
|
+
Internal/debug reference for the Rudder API.
|
|
4
4
|
|
|
5
5
|
- The `rudder-docs` router treats this as a compatibility and source-debugging
|
|
6
6
|
reference, not the normal first interface for agent operations.
|
|
7
7
|
- The stable agent command catalog lives in `cli-reference.md`.
|
|
8
8
|
- Conditional ownership, review, workspace, and authentication guidance lives
|
|
9
|
-
in `
|
|
9
|
+
in `operating-practices.md`.
|
|
10
10
|
- Keep this document for compatibility, low-level debugging, and route-level implementation work.
|
|
11
11
|
|
|
12
12
|
## Section Map
|
|
@@ -146,6 +146,7 @@ Use the incremental `after` form when you already know the thread.
|
|
|
146
146
|
- `GET /api/orgs/:orgId/issues`
|
|
147
147
|
- `POST /api/orgs/:orgId/issues`
|
|
148
148
|
- `GET /api/orgs/:orgId/agents`
|
|
149
|
+
- `POST /api/orgs/:orgId/agent-hires`
|
|
149
150
|
- `GET /api/orgs/:orgId/org`
|
|
150
151
|
- `GET /api/orgs/:orgId/dashboard`
|
|
151
152
|
- `GET /api/orgs/:orgId/projects`
|
|
@@ -160,6 +161,12 @@ Use the incremental `after` form when you already know the thread.
|
|
|
160
161
|
- `GET /api/orgs/:orgId/costs/by-agent`
|
|
161
162
|
- `GET /api/orgs/:orgId/costs/by-project`
|
|
162
163
|
|
|
164
|
+
`POST /api/orgs/:orgId/agent-hires` is the governed Agent creation route behind
|
|
165
|
+
`rudder agent hire`. It returns `approval: null` for direct creation or an Agent
|
|
166
|
+
in `pending_approval` plus the approval record when organization policy requires
|
|
167
|
+
review. Normal runtime work should follow [Agent creation](agent-creation.md)
|
|
168
|
+
and the installed CLI instead of calling this route directly.
|
|
169
|
+
|
|
163
170
|
### Resources
|
|
164
171
|
|
|
165
172
|
- `GET /api/orgs/:orgId/resources`
|
|
@@ -19,14 +19,14 @@ returns a transport or configuration error.
|
|
|
19
19
|
## Operating Policy Owners
|
|
20
20
|
|
|
21
21
|
Keep this file focused on commands and CLI-specific I/O. Consult the exact
|
|
22
|
-
|
|
22
|
+
operating-practices guide for operating behavior:
|
|
23
23
|
|
|
24
|
-
- [Interface and Chat/issue scope](
|
|
25
|
-
- [Ownership, checkout, and wake scope](
|
|
26
|
-
- [Comments, mentions, and evidence](
|
|
27
|
-
- [Review and close-out](
|
|
28
|
-
- [Durable Library artifacts](
|
|
29
|
-
- [Git identity and attribution](
|
|
24
|
+
- [Interface and Chat/issue scope](operating-practices.md#interface-and-scope)
|
|
25
|
+
- [Ownership, checkout, and wake scope](operating-practices.md#ownership-checkout-and-wake-scope)
|
|
26
|
+
- [Comments, mentions, and evidence](operating-practices.md#comments-mentions-and-evidence)
|
|
27
|
+
- [Review and close-out](operating-practices.md#review-and-close-out)
|
|
28
|
+
- [Durable Library artifacts](operating-practices.md#durable-library-artifacts)
|
|
29
|
+
- [Git identity and attribution](operating-practices.md#git-identity-and-attribution)
|
|
30
30
|
|
|
31
31
|
## Defaults
|
|
32
32
|
|
|
@@ -48,7 +48,7 @@ control-plane owner for operating behavior:
|
|
|
48
48
|
| `rudder_agent_me` | `rudder agent me` | Show the authenticated agent identity, budget, and chain of command. | no | no | no | no |
|
|
49
49
|
| `rudder_agent_inbox` | `rudder agent inbox` | List the compact assignee and reviewer work inbox for the authenticated agent. | no | no | no | no |
|
|
50
50
|
| `rudder_agent_capabilities` | `rudder agent capabilities` | List the stable Rudder agent command contract. | no | no | no | no |
|
|
51
|
-
| `rudder_agent_update` | `rudder agent update [agent-id] [--title <title>] [--description <text>]` | Update an agent's
|
|
51
|
+
| `rudder_agent_update` | `rudder agent update [agent-id] [--title <title>] [--description <text>]` | Update an agent's identity fields; defaults to the authenticated agent. | yes | no | no | attached when available |
|
|
52
52
|
| `rudder_agent_skills_create` | `rudder agent skills create [agent-id] --name <name> [--enable]` | Create an agent-private skill package under AGENT_HOME/skills. | yes | no | no | attached when available |
|
|
53
53
|
| `rudder_agent_skills_enable` | `rudder agent skills enable <agent-id> <selection-ref...>` | Add skill selections to an agent without replacing existing enabled skills. | yes | no | no | attached when available |
|
|
54
54
|
| `rudder_agent_skills_sync` | `rudder agent skills sync <agent-id>` | Sync the desired enabled skill set for an agent. | yes | no | no | attached when available |
|
|
@@ -110,7 +110,7 @@ control-plane owner for operating behavior:
|
|
|
110
110
|
| `rudder_chat_messages` | `rudder chat messages <chat-id> [--limit <n>] [--cursor <cursor>] [--include-transcript]` | Read bounded chat messages with page cursors; transcript output is omitted unless requested. | no | no | no | no |
|
|
111
111
|
| `rudder_chat_transcript` | `rudder chat transcript <chat-id> [--limit <n>] [--cursor <cursor>] [--max-output-chars <n>]` | Read paginated chat messages with assistant transcript entries clipped in human output. | no | no | no | no |
|
|
112
112
|
| `rudder_chat_read` | `rudder chat read <chat-id> [--turn-limit <n>] [--cursor <cursor>] [--include-output]` | Read a bounded recent-message snapshot for one chat with page cursors. | no | no | no | no |
|
|
113
|
-
| `rudder_chat_create` | `rudder chat create --org-id <id>` | Create a chat conversation. | yes | required | no | attached when available |
|
|
113
|
+
| `rudder_chat_create` | `rudder chat create --org-id <id> --body <text>` | Create a chat conversation with its first message. | yes | required | no | attached when available |
|
|
114
114
|
| `rudder_chat_send` | `rudder chat send <chat-id> --body <text>` | Send an agent-authored message directly to the operator in a chat. | yes | no | required | attached when available |
|
|
115
115
|
| `rudder_chat_archive` | `rudder chat archive <chat-id>` | Archive a chat conversation without deleting it. | yes | no | no | attached when available |
|
|
116
116
|
| `rudder_runs_list` | `rudder runs list --org-id <id> [--used-skill <skill>] [--loaded-skill <skill>] [--cursor <cursor>] [--full]` | List lightweight run summaries with stable pagination and filters; use --full only for legacy full-row compatibility. | no | required | no | no |
|
|
@@ -125,7 +125,7 @@ control-plane owner for operating behavior:
|
|
|
125
125
|
|
|
126
126
|
## Issue Command I/O And Shapes
|
|
127
127
|
|
|
128
|
-
Operating rules live in [ownership, checkout, and wake scope](
|
|
128
|
+
Operating rules live in [ownership, checkout, and wake scope](operating-practices.md#ownership-checkout-and-wake-scope), [comments and evidence](operating-practices.md#comments-mentions-and-evidence), and [review and close-out](operating-practices.md#review-and-close-out). The CLI close-out shapes are:
|
|
129
129
|
|
|
130
130
|
- progress: `rudder issue comment <issue> --body-file <path> [--image <path>]`
|
|
131
131
|
- done: `rudder issue done <issue> --comment-file <path> [--image <path>]`
|
|
@@ -139,7 +139,7 @@ Issue comment responses include `shortRef` when available. `rudder issue comment
|
|
|
139
139
|
|
|
140
140
|
## Renderable Library CLI Output
|
|
141
141
|
|
|
142
|
-
File placement and handoff policy lives in [Durable Library artifacts](
|
|
142
|
+
File placement and handoff policy lives in [Durable Library artifacts](operating-practices.md#durable-library-artifacts). Request a renderable reference with `rudder library file ref <library-relative-path> --json`.
|
|
143
143
|
|
|
144
144
|
The relevant JSON fields are:
|
|
145
145
|
|
|
@@ -151,7 +151,7 @@ The `ref` argument is Library-relative, not an absolute filesystem path. CLI fal
|
|
|
151
151
|
|
|
152
152
|
## Reviewer Decision Command Shapes
|
|
153
153
|
|
|
154
|
-
Reviewer policy lives in [Review and close-out](
|
|
154
|
+
Reviewer policy lives in [Review and close-out](operating-practices.md#review-and-close-out). Supported decision command shapes are:
|
|
155
155
|
|
|
156
156
|
- `rudder issue review <issue> --decision approve --comment-file <path>`
|
|
157
157
|
- `rudder issue review <issue> --decision request_changes --comment-file <path>`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Rudder
|
|
1
|
+
# Rudder Work Practices
|
|
2
2
|
|
|
3
3
|
Consult this reference only for questions about exact Rudder operating
|
|
4
4
|
behavior. It is conditional documentation, not a trigger and not an always-run
|
|
@@ -22,7 +22,7 @@ workflow. For exact tool and CLI syntax, pair the relevant rule with
|
|
|
22
22
|
|
|
23
23
|
## Interface And Scope
|
|
24
24
|
|
|
25
|
-
- Prefer exposed first-party Rudder typed tools for normal
|
|
25
|
+
- Prefer exposed first-party Rudder typed tools for normal Rudder work.
|
|
26
26
|
Use the installed `rudder ... --json` CLI as the compatibility fallback when
|
|
27
27
|
MCP is unavailable or a Rudder tool has a transport or configuration error.
|
|
28
28
|
- Use `rudder agent capabilities --json` to discover the current capability
|
|
@@ -118,8 +118,8 @@ report the status and required follow-up rather than bypassing it.
|
|
|
118
118
|
- Never cancel cross-team work. Reassign upward with an explanation, and use
|
|
119
119
|
`chainOfCommand` for escalation.
|
|
120
120
|
- Above 80% spend, focus on critical work only and avoid expanding scope.
|
|
121
|
-
- Use
|
|
122
|
-
rather than assembling a raw
|
|
121
|
+
- Use [Agent creation](agent-creation.md) for the canonical governed hiring
|
|
122
|
+
workflow rather than assembling a raw Rudder API payload.
|
|
123
123
|
|
|
124
124
|
## Git Identity And Attribution
|
|
125
125
|
|
|
@@ -4,8 +4,8 @@ Use this reference when a board user or authorized agent asks you to discover, i
|
|
|
4
4
|
|
|
5
5
|
This is the organization and agent-skill administration reference for the
|
|
6
6
|
bundled `rudder-docs` package. Use the typed Rudder tool when exposed and the
|
|
7
|
-
documented CLI as its compatibility fallback. General
|
|
8
|
-
authentication, and workspace rules remain in `
|
|
7
|
+
documented CLI as its compatibility fallback. General work ownership,
|
|
8
|
+
authentication, and workspace rules remain in `operating-practices.md`.
|
|
9
9
|
|
|
10
10
|
For a skill that belongs only to the running agent, do not use organization import or scan commands. Use:
|
|
11
11
|
|
|
@@ -180,4 +180,4 @@ the full optional enabled-skill set intentionally.
|
|
|
180
180
|
- If a skill reference is missing or ambiguous, Rudder returns `422`.
|
|
181
181
|
- Prefer linking back to the relevant issue, approval, and agent when commenting about skill changes.
|
|
182
182
|
- This document only covers library import/inspect/enable/sync.
|
|
183
|
-
-
|
|
183
|
+
- Agent hire and create flows live in [Agent creation](agent-creation.md).
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# Plugin Authoring
|
|
2
|
+
|
|
3
|
+
Use this workflow for a Rudder Plugin source question or an explicit request to
|
|
4
|
+
scaffold, develop, or verify a Plugin. Reading authoring guidance is read-only.
|
|
5
|
+
Only an explicit user request to scaffold or modify a package authorizes writes,
|
|
6
|
+
and those writes must stay inside the requested repository or target directory.
|
|
7
|
+
|
|
8
|
+
The current fact sources are
|
|
9
|
+
`doc/engineering/PLUGIN_AUTHORING_GUIDE.md` and
|
|
10
|
+
`packages/plugins/sdk/README.md`. Use
|
|
11
|
+
`doc/engineering/PLUGIN_RUNTIME_CONTRACT.md` only to understand the implemented
|
|
12
|
+
runtime boundary, and label future ideas as non-current.
|
|
13
|
+
|
|
14
|
+
## Section Map
|
|
15
|
+
|
|
16
|
+
- [Confirm scope and package layout](#confirm-scope-and-package-layout)
|
|
17
|
+
- [Scaffold from the current package](#scaffold-from-the-current-package)
|
|
18
|
+
- [Implement within current boundaries](#implement-within-current-boundaries)
|
|
19
|
+
- [Wire a bundled example only when requested](#wire-a-bundled-example-only-when-requested)
|
|
20
|
+
- [Verify the package and host](#verify-the-package-and-host)
|
|
21
|
+
|
|
22
|
+
## Confirm Scope And Package Layout
|
|
23
|
+
|
|
24
|
+
Before writing, determine whether the Plugin is:
|
|
25
|
+
|
|
26
|
+
- a repository-local example under `packages/plugins/examples/`;
|
|
27
|
+
- another Rudder monorepo package under `packages/plugins/`; or
|
|
28
|
+
- an external npm package in an absolute target directory.
|
|
29
|
+
|
|
30
|
+
Repository-local examples are a development workflow. For deployable Plugins,
|
|
31
|
+
prefer an npm package installed from a public or private npm-compatible
|
|
32
|
+
registry. GitHub installs are not a first-class path today.
|
|
33
|
+
|
|
34
|
+
Treat both Plugin workers and Plugin UI as trusted code. Plugin UI runs as
|
|
35
|
+
same-origin JavaScript and is not sandboxed by manifest capabilities.
|
|
36
|
+
Worker-side host APIs are capability-gated. Keep these boundaries visible when
|
|
37
|
+
reviewing third-party code or selecting capabilities.
|
|
38
|
+
|
|
39
|
+
## Scaffold From The Current Package
|
|
40
|
+
|
|
41
|
+
Use `create-rudder-plugin` instead of hand-writing boilerplate. In a Rudder
|
|
42
|
+
checkout, first build the scaffold package, then run its generated CLI for the
|
|
43
|
+
requested npm package name and output root. `--output` names the parent
|
|
44
|
+
directory; the CLI appends the package basename, and that destination must not
|
|
45
|
+
already exist. Verify the exact commands in
|
|
46
|
+
the current authoring guide before execution.
|
|
47
|
+
|
|
48
|
+
For a repository-local package, the scaffold uses `workspace:*` for
|
|
49
|
+
`@rudderhq/plugin-sdk`. For an external package, pass `--sdk-path` pointing to
|
|
50
|
+
the checkout's `packages/plugins/sdk`; the scaffold snapshots the SDK/shared
|
|
51
|
+
packages into `.rudder-sdk/` so the Plugin can build and test before an npm
|
|
52
|
+
publication exists.
|
|
53
|
+
|
|
54
|
+
The generated package should include:
|
|
55
|
+
|
|
56
|
+
- `src/manifest.ts`;
|
|
57
|
+
- `src/worker.ts`;
|
|
58
|
+
- `src/ui/index.tsx` when UI is used;
|
|
59
|
+
- `tests/plugin.spec.ts`;
|
|
60
|
+
- `package.json` and current build configuration.
|
|
61
|
+
|
|
62
|
+
Scaffold only under the explicit output root and confirm the derived package
|
|
63
|
+
directory before execution. Do not install the generated Plugin into a running
|
|
64
|
+
Rudder instance unless the user also requested that host mutation.
|
|
65
|
+
|
|
66
|
+
## Implement Within Current Boundaries
|
|
67
|
+
|
|
68
|
+
Review the manifest, worker, UI, and tests together:
|
|
69
|
+
|
|
70
|
+
- Declare only capabilities used by the worker-side host APIs.
|
|
71
|
+
- Keep tool names Plugin-namespaced; they must not shadow core or other Plugin
|
|
72
|
+
tools.
|
|
73
|
+
- Keep UI self-contained. Rudder does not provide a shared Plugin React
|
|
74
|
+
component kit yet.
|
|
75
|
+
- Do not use `ctx.assets`; it is not supported in the current runtime.
|
|
76
|
+
- Use `routePath` only for a `page` slot. It must be one lowercase slug and may
|
|
77
|
+
not collide with a reserved host route or another installed Plugin page.
|
|
78
|
+
- Use the SDK's declared worker, UI, testing, bundler, and dev-server surfaces
|
|
79
|
+
rather than undocumented application internals.
|
|
80
|
+
- Treat jobs and webhooks as namespaced external execution surfaces and keep
|
|
81
|
+
their capabilities, ownership, logs, and failure evidence explicit.
|
|
82
|
+
|
|
83
|
+
Local development installs must use an absolute filesystem path. The server
|
|
84
|
+
can watch a local-path Plugin and restart its worker after rebuilds, but that
|
|
85
|
+
does not make a repo-local checkout a production deployment artifact.
|
|
86
|
+
|
|
87
|
+
## Wire A Bundled Example Only When Requested
|
|
88
|
+
|
|
89
|
+
Only if the user explicitly asks for bundled example or discoverable host
|
|
90
|
+
wiring, update the host's bundled-example list and the documentation that
|
|
91
|
+
enumerates in-repo examples. A request to scaffold or develop a Plugin alone
|
|
92
|
+
does not authorize changing `server/src/routes/plugins.ts` or other host
|
|
93
|
+
registration surfaces.
|
|
94
|
+
|
|
95
|
+
If host runtime, SDK, capability validation, static UI serving, or lifecycle
|
|
96
|
+
code changes, follow the repository's Plugin engineering and Product Logic
|
|
97
|
+
rules in addition to the package workflow.
|
|
98
|
+
|
|
99
|
+
## Verify The Package And Host
|
|
100
|
+
|
|
101
|
+
At minimum, run the generated or existing Plugin package's:
|
|
102
|
+
|
|
103
|
+
- `typecheck`;
|
|
104
|
+
- `test`; and
|
|
105
|
+
- `build`.
|
|
106
|
+
|
|
107
|
+
Use the package scripts or the monorepo's `pnpm --filter <plugin-package>`
|
|
108
|
+
forms. For a new scaffold, execute them in a temporary or explicitly requested
|
|
109
|
+
target and confirm that its worker, manifest, UI bundle, and
|
|
110
|
+
`tests/plugin.spec.ts` compile against the selected SDK layout.
|
|
111
|
+
|
|
112
|
+
When host or SDK code changed, also run the relevant host integration tests,
|
|
113
|
+
repository typecheck, test suite, and build. If the user asked to install the
|
|
114
|
+
Plugin, verify the real host from its absolute local path and surface worker
|
|
115
|
+
health, logs, route behavior, and capability failures. Package creation alone
|
|
116
|
+
is not evidence that a Plugin is installed or active in Rudder.
|
|
@@ -25,6 +25,30 @@ two pages. Prefer the user's language when equivalent official pages exist.
|
|
|
25
25
|
Public docs own published user guidance; a local `docs/` checkout is useful
|
|
26
26
|
when the live site is unavailable or the task is editing the public site.
|
|
27
27
|
|
|
28
|
+
Use these routes for governance and operational evidence questions:
|
|
29
|
+
|
|
30
|
+
| User topic | English | 简体中文 |
|
|
31
|
+
| --- | --- | --- |
|
|
32
|
+
| Approvals, budgets, cost, and activity | `https://docs.rudderhq.dev/reference/approvals-budgets-activity` | `https://docs.rudderhq.dev/zh/reference/approvals-budgets-activity` |
|
|
33
|
+
| Run evidence and Run detail | `https://docs.rudderhq.dev/concepts/agents` | `https://docs.rudderhq.dev/zh/concepts/agents` |
|
|
34
|
+
| Dashboard summary | `https://docs.rudderhq.dev/concepts/overview` | `https://docs.rudderhq.dev/zh/concepts/overview` |
|
|
35
|
+
| Calendar source and history | `https://docs.rudderhq.dev/concepts/calendar` | `https://docs.rudderhq.dev/zh/concepts/calendar` |
|
|
36
|
+
| Human attention, Inbox, and Messenger | `https://docs.rudderhq.dev/concepts/chat-messenger` | `https://docs.rudderhq.dev/zh/concepts/chat-messenger` |
|
|
37
|
+
|
|
38
|
+
The approvals reference includes stable `#approvals`, `#budgets-and-cost`, and
|
|
39
|
+
`#activity` anchors for narrow retrieval. Legacy public URLs are compatibility
|
|
40
|
+
entries only. Cite the canonical routes in new answers.
|
|
41
|
+
|
|
42
|
+
Other lookup pages are similarly narrow:
|
|
43
|
+
|
|
44
|
+
| User topic | English | 简体中文 |
|
|
45
|
+
| --- | --- | --- |
|
|
46
|
+
| Issue states | `https://docs.rudderhq.dev/reference/issue-statuses` | `https://docs.rudderhq.dev/zh/reference/issue-statuses` |
|
|
47
|
+
| Runtime choices and readiness | `https://docs.rudderhq.dev/reference/runtime-types` | `https://docs.rudderhq.dev/zh/reference/runtime-types` |
|
|
48
|
+
| Workspace and file placement | `https://docs.rudderhq.dev/reference/workspace-boundaries` | `https://docs.rudderhq.dev/zh/reference/workspace-boundaries` |
|
|
49
|
+
| Automation result destinations | `https://docs.rudderhq.dev/reference/automation-output-routing` | `https://docs.rudderhq.dev/zh/reference/automation-output-routing` |
|
|
50
|
+
| Deployment trust, credentials, Browser, and platform behavior | `https://docs.rudderhq.dev/reference/permissions-and-platforms` | `https://docs.rudderhq.dev/zh/reference/permissions-and-platforms` |
|
|
51
|
+
|
|
28
52
|
## Product Logic Registry
|
|
29
53
|
|
|
30
54
|
- Entry point: `doc/product/README.md`
|
|
@@ -50,7 +74,7 @@ Common domain routes include:
|
|
|
50
74
|
- Chat, Messenger, comments, and integrations:
|
|
51
75
|
`doc/product/domains/collaboration/`
|
|
52
76
|
- approvals, budgets, costs, and activity:
|
|
53
|
-
`doc/product/domains/
|
|
77
|
+
`doc/product/domains/governance-and-visibility/`
|
|
54
78
|
- reviews, feedback, and learning:
|
|
55
79
|
`doc/product/domains/review-feedback-learning/`
|
|
56
80
|
- automations: `doc/product/domains/automations/`
|
|
@@ -114,7 +138,7 @@ Within this package:
|
|
|
114
138
|
|
|
115
139
|
- `cli-reference.md` preserves the typed capability and CLI fallback catalog;
|
|
116
140
|
- `api-reference.md` preserves internal/debug compatibility endpoints;
|
|
117
|
-
- `
|
|
141
|
+
- `operating-practices.md` preserves conditional operating semantics; and
|
|
118
142
|
- `organization-skills.md` preserves organization skill workflows.
|
|
119
143
|
|
|
120
144
|
Use only the relevant section. These references are version-adjacent fallback
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: visualize
|
|
3
|
-
description: "Create safe inline visual explanations in Rudder Chat. Use when asked for a chart, plot, diagram, timeline, comparison, static map, simulator, scenario view, or compact visual that materially improves understanding. Prefer Mermaid for static node-and-edge structures; use Rudder's HTML/SVG/CSS
|
|
4
|
-
compatibility: "Rudder Chat inline visual
|
|
3
|
+
description: "Create safe inline visual explanations in Rudder Chat. Use when asked for a chart, plot, diagram, timeline, comparison, static map, simulator, scenario view, or compact visual that materially improves understanding. Prefer Mermaid for static node-and-edge structures; use Rudder's runtime-neutral HTML/SVG/CSS message envelope for custom geometry. Rudder visuals are declarative and scriptless: convert simulator requests to static scenarios or disclosure-based comparisons and never rely on JavaScript, network access, or external assets."
|
|
4
|
+
compatibility: "Rudder Chat v1 inline visual message protocol. Provider-neutral and filesystem-independent; outside Rudder Chat, fall back to Mermaid, Markdown, or prose."
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Visualize
|
|
@@ -16,38 +16,40 @@ access, so design for a useful first render with declarative HTML, SVG, and CSS.
|
|
|
16
16
|
a static structure or flow. Do not create an HTML artifact for that case.
|
|
17
17
|
2. Use an inline visual for charts, timelines, comparisons, spatial layouts,
|
|
18
18
|
static scenario views, or compact reports that benefit from custom geometry.
|
|
19
|
-
3.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
## File And Directive
|
|
28
|
-
|
|
29
|
-
- Choose a concise ASCII lowercase-hyphenated title and write
|
|
30
|
-
`<title>.html` inside the current thread-scoped visualization directory.
|
|
19
|
+
3. Use the v1 message envelope only in Rudder Chat. It is a Rudder protocol,
|
|
20
|
+
independent of Codex, Claude, Gemini, Cursor, OpenCode, Pi, Hermes, process,
|
|
21
|
+
HTTP, or gateway filesystem conventions.
|
|
22
|
+
4. Outside Rudder Chat, fall back to Mermaid, Markdown tables, or concise prose.
|
|
23
|
+
Do not emit a Rudder envelope on a surface that cannot render it.
|
|
24
|
+
|
|
25
|
+
## Message Envelope
|
|
26
|
+
|
|
31
27
|
- Write only an HTML fragment. Do not include a doctype or `html`, `head`, or
|
|
32
28
|
`body` elements.
|
|
33
|
-
- Keep every fragment
|
|
34
|
-
|
|
29
|
+
- Keep every fragment at or below 64 KiB UTF-8, all fragments together at or
|
|
30
|
+
below 128 KiB, and the complete visual-bearing final reply at or below
|
|
31
|
+
256 KiB. Emit at most three visuals in one assistant message.
|
|
35
32
|
- Give the fragment one top-level markup root, `<div id="widget">`. Bounded
|
|
36
33
|
`<style>` blocks may precede that root.
|
|
37
34
|
- Put any custom CSS in bounded `<style>` elements. Inline `style` attributes
|
|
38
35
|
are removed.
|
|
39
|
-
-
|
|
36
|
+
- Check the fragment before replying. Fix escaped markup such as literal `\"`
|
|
40
37
|
or `\n`, missing labels, clipped content, and malformed SVG.
|
|
41
|
-
-
|
|
38
|
+
- Put this exact opening marker on its own line where the visual should render,
|
|
39
|
+
then the fragment, then the exact closing marker on its own line:
|
|
42
40
|
|
|
43
41
|
```text
|
|
44
|
-
|
|
42
|
+
:::rudder-inline-visual:v1
|
|
43
|
+
<style>#widget .series { color: var(--viz-series-1); }</style>
|
|
44
|
+
<div id="widget">...</div>
|
|
45
|
+
:::rudder-inline-visual:end
|
|
45
46
|
```
|
|
46
47
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
second
|
|
48
|
+
The markers must have no indentation, attributes, or trailing text. Keep any
|
|
49
|
+
necessary explanation outside the envelope. Never emit
|
|
50
|
+
`::codex-inline-vis{...}`, `::rudder-inline-vis{...}`, a file path, an iframe,
|
|
51
|
+
or a second link to source HTML; Rudder owns capture, trusted placement,
|
|
52
|
+
persistence, sandboxing, and rendering.
|
|
51
53
|
|
|
52
54
|
## Rudder Safety Boundary
|
|
53
55
|
|
|
@@ -120,13 +122,13 @@ not as data or copy to repeat.
|
|
|
120
122
|
|
|
121
123
|
Before replying:
|
|
122
124
|
|
|
123
|
-
1. Confirm
|
|
124
|
-
|
|
125
|
-
three directives.
|
|
125
|
+
1. Confirm each envelope uses the exact v1 markers, satisfies the 64/128/256 KiB
|
|
126
|
+
limits, and the message has no more than three visuals.
|
|
126
127
|
2. Confirm the fragment contains no scripts, handlers, URLs, external assets,
|
|
127
128
|
active controls, document-level elements, or unsupported embeds.
|
|
128
129
|
3. Confirm SVG view boxes, labels, referenced IDs, table semantics, and CSS
|
|
129
130
|
selectors are valid.
|
|
130
131
|
4. Check both narrow and wide layout when a preview path is available. If not,
|
|
131
132
|
keep the geometry responsive and the composition conservative.
|
|
132
|
-
5. Emit the
|
|
133
|
+
5. Emit the envelope only after the fragment is complete and valid. Never leave
|
|
134
|
+
an opening marker unterminated.
|