@agent-native/dispatch 0.42.5-nightly-20261111212500 → 0.42.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/CHANGELOG.md +8 -46
  2. package/dist/actions/create-vault-secret.js +2 -2
  3. package/dist/actions/create-vault-secret.js.map +1 -1
  4. package/dist/actions/index.d.ts.map +1 -1
  5. package/dist/actions/index.js +0 -2
  6. package/dist/actions/index.js.map +1 -1
  7. package/dist/actions/list-vault-secrets.d.ts +1 -1
  8. package/dist/actions/list-vault-secrets.js +3 -4
  9. package/dist/actions/list-vault-secrets.js.map +1 -1
  10. package/dist/actions/provider-api-register.d.ts +12 -12
  11. package/dist/actions/update-vault-secret.js +2 -2
  12. package/dist/actions/update-vault-secret.js.map +1 -1
  13. package/dist/components/app-keys-popover.d.ts.map +1 -1
  14. package/dist/components/app-keys-popover.js +8 -19
  15. package/dist/components/app-keys-popover.js.map +1 -1
  16. package/dist/routes/pages/vault.d.ts.map +1 -1
  17. package/dist/routes/pages/vault.js +3 -9
  18. package/dist/routes/pages/vault.js.map +1 -1
  19. package/dist/server/lib/vault-store.d.ts +18 -68
  20. package/dist/server/lib/vault-store.d.ts.map +1 -1
  21. package/dist/server/lib/vault-store.js +98 -273
  22. package/dist/server/lib/vault-store.js.map +1 -1
  23. package/package.json +4 -4
  24. package/src/actions/create-vault-secret.ts +2 -2
  25. package/src/actions/index.spec.ts +1 -1
  26. package/src/actions/index.ts +0 -2
  27. package/src/actions/list-vault-secrets.ts +3 -4
  28. package/src/actions/update-vault-secret.ts +3 -2
  29. package/src/components/app-keys-popover.tsx +1 -39
  30. package/src/routes/pages/vault.tsx +21 -31
  31. package/src/server/lib/vault-store.spec.ts +377 -450
  32. package/src/server/lib/vault-store.ts +141 -340
  33. package/dist/actions/sync-vault-to-app.d.ts +0 -32
  34. package/dist/actions/sync-vault-to-app.d.ts.map +0 -1
  35. package/dist/actions/sync-vault-to-app.js +0 -13
  36. package/dist/actions/sync-vault-to-app.js.map +0 -1
  37. package/src/actions/sync-vault-to-app.ts +0 -15
@@ -1,13 +0,0 @@
1
- import { defineAction } from "@agent-native/core/action";
2
- import { z } from "zod";
3
- import { syncGrantsToApp } from "../server/lib/vault-store.js";
4
- export default defineAction({
5
- description: "Push vault secrets to an app by calling its env-vars endpoint. Admin only. In all-apps mode this syncs every vault key; in manual mode it syncs active grants.",
6
- schema: z.object({
7
- appId: z
8
- .string()
9
- .describe("App ID to sync secrets to, e.g. mail, calendar, analytics"),
10
- }),
11
- run: async (args) => syncGrantsToApp(args.appId),
12
- });
13
- //# sourceMappingURL=sync-vault-to-app.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sync-vault-to-app.js","sourceRoot":"","sources":["../../src/actions/sync-vault-to-app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,eAAe,YAAY,CAAC;IAC1B,WAAW,EACT,gKAAgK;IAClK,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,KAAK,EAAE,CAAC;aACL,MAAM,EAAE;aACR,QAAQ,CAAC,2DAA2D,CAAC;KACzE,CAAC;IACF,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC;CACjD,CAAC,CAAC","sourcesContent":["import { defineAction } from \"@agent-native/core/action\";\nimport { z } from \"zod\";\n\nimport { syncGrantsToApp } from \"../server/lib/vault-store.js\";\n\nexport default defineAction({\n description:\n \"Push vault secrets to an app by calling its env-vars endpoint. Admin only. In all-apps mode this syncs every vault key; in manual mode it syncs active grants.\",\n schema: z.object({\n appId: z\n .string()\n .describe(\"App ID to sync secrets to, e.g. mail, calendar, analytics\"),\n }),\n run: async (args) => syncGrantsToApp(args.appId),\n});\n"]}
@@ -1,15 +0,0 @@
1
- import { defineAction } from "@agent-native/core/action";
2
- import { z } from "zod";
3
-
4
- import { syncGrantsToApp } from "../server/lib/vault-store.js";
5
-
6
- export default defineAction({
7
- description:
8
- "Push vault secrets to an app by calling its env-vars endpoint. Admin only. In all-apps mode this syncs every vault key; in manual mode it syncs active grants.",
9
- schema: z.object({
10
- appId: z
11
- .string()
12
- .describe("App ID to sync secrets to, e.g. mail, calendar, analytics"),
13
- }),
14
- run: async (args) => syncGrantsToApp(args.appId),
15
- });