@rudderhq/agent-runtime-claude-local 0.1.0-canary.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/LICENSE +14 -0
  2. package/dist/cli/format-event.d.ts +2 -0
  3. package/dist/cli/format-event.d.ts.map +1 -0
  4. package/dist/cli/format-event.js +94 -0
  5. package/dist/cli/format-event.js.map +1 -0
  6. package/dist/cli/index.d.ts +2 -0
  7. package/dist/cli/index.d.ts.map +1 -0
  8. package/dist/cli/index.js +2 -0
  9. package/dist/cli/index.js.map +1 -0
  10. package/dist/cli/quota-probe.d.ts +3 -0
  11. package/dist/cli/quota-probe.d.ts.map +1 -0
  12. package/dist/cli/quota-probe.js +106 -0
  13. package/dist/cli/quota-probe.js.map +1 -0
  14. package/dist/index.d.ts +8 -0
  15. package/dist/index.d.ts.map +1 -0
  16. package/dist/index.js +37 -0
  17. package/dist/index.js.map +1 -0
  18. package/dist/server/execute.d.ts +18 -0
  19. package/dist/server/execute.d.ts.map +1 -0
  20. package/dist/server/execute.js +578 -0
  21. package/dist/server/execute.js.map +1 -0
  22. package/dist/server/index.d.ts +8 -0
  23. package/dist/server/index.d.ts.map +1 -0
  24. package/dist/server/index.js +57 -0
  25. package/dist/server/index.js.map +1 -0
  26. package/dist/server/parse.d.ts +22 -0
  27. package/dist/server/parse.d.ts.map +1 -0
  28. package/dist/server/parse.js +158 -0
  29. package/dist/server/parse.js.map +1 -0
  30. package/dist/server/quota.d.ts +20 -0
  31. package/dist/server/quota.d.ts.map +1 -0
  32. package/dist/server/quota.js +477 -0
  33. package/dist/server/quota.js.map +1 -0
  34. package/dist/server/skills.d.ts +8 -0
  35. package/dist/server/skills.d.ts.map +1 -0
  36. package/dist/server/skills.js +102 -0
  37. package/dist/server/skills.js.map +1 -0
  38. package/dist/server/test.d.ts +3 -0
  39. package/dist/server/test.d.ts.map +1 -0
  40. package/dist/server/test.js +201 -0
  41. package/dist/server/test.js.map +1 -0
  42. package/dist/ui/build-config.d.ts +3 -0
  43. package/dist/ui/build-config.d.ts.map +1 -0
  44. package/dist/ui/build-config.js +115 -0
  45. package/dist/ui/build-config.js.map +1 -0
  46. package/dist/ui/index.d.ts +3 -0
  47. package/dist/ui/index.d.ts.map +1 -0
  48. package/dist/ui/index.js +3 -0
  49. package/dist/ui/index.js.map +1 -0
  50. package/dist/ui/parse-stdout.d.ts +3 -0
  51. package/dist/ui/parse-stdout.d.ts.map +1 -0
  52. package/dist/ui/parse-stdout.js +149 -0
  53. package/dist/ui/parse-stdout.js.map +1 -0
  54. package/package.json +63 -0
  55. package/skills/para-memory-files/SKILL.md +114 -0
  56. package/skills/para-memory-files/references/schemas.md +35 -0
  57. package/skills/rudder/SKILL.md +265 -0
  58. package/skills/rudder/references/api-reference.md +253 -0
  59. package/skills/rudder/references/cli-reference.md +67 -0
  60. package/skills/rudder/references/organization-skills.md +155 -0
  61. package/skills/rudder-create-agent/SKILL.md +166 -0
  62. package/skills/rudder-create-agent/references/api-reference.md +172 -0
  63. package/skills/rudder-create-agent/references/cli-reference.md +126 -0
  64. package/skills/rudder-create-plugin/SKILL.md +103 -0
@@ -0,0 +1,103 @@
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/plugins/PLUGIN_AUTHORING_GUIDE.md`
21
+ 2. `packages/plugins/sdk/README.md`
22
+ 3. `doc/plugins/PLUGIN_SPEC.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