@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.
- package/CHANGELOG.md +8 -46
- package/dist/actions/create-vault-secret.js +2 -2
- package/dist/actions/create-vault-secret.js.map +1 -1
- package/dist/actions/index.d.ts.map +1 -1
- package/dist/actions/index.js +0 -2
- package/dist/actions/index.js.map +1 -1
- package/dist/actions/list-vault-secrets.d.ts +1 -1
- package/dist/actions/list-vault-secrets.js +3 -4
- package/dist/actions/list-vault-secrets.js.map +1 -1
- package/dist/actions/provider-api-register.d.ts +12 -12
- package/dist/actions/update-vault-secret.js +2 -2
- package/dist/actions/update-vault-secret.js.map +1 -1
- package/dist/components/app-keys-popover.d.ts.map +1 -1
- package/dist/components/app-keys-popover.js +8 -19
- package/dist/components/app-keys-popover.js.map +1 -1
- package/dist/routes/pages/vault.d.ts.map +1 -1
- package/dist/routes/pages/vault.js +3 -9
- package/dist/routes/pages/vault.js.map +1 -1
- package/dist/server/lib/vault-store.d.ts +18 -68
- package/dist/server/lib/vault-store.d.ts.map +1 -1
- package/dist/server/lib/vault-store.js +98 -273
- package/dist/server/lib/vault-store.js.map +1 -1
- package/package.json +4 -4
- package/src/actions/create-vault-secret.ts +2 -2
- package/src/actions/index.spec.ts +1 -1
- package/src/actions/index.ts +0 -2
- package/src/actions/list-vault-secrets.ts +3 -4
- package/src/actions/update-vault-secret.ts +3 -2
- package/src/components/app-keys-popover.tsx +1 -39
- package/src/routes/pages/vault.tsx +21 -31
- package/src/server/lib/vault-store.spec.ts +377 -450
- package/src/server/lib/vault-store.ts +141 -340
- package/dist/actions/sync-vault-to-app.d.ts +0 -32
- package/dist/actions/sync-vault-to-app.d.ts.map +0 -1
- package/dist/actions/sync-vault-to-app.js +0 -13
- package/dist/actions/sync-vault-to-app.js.map +0 -1
- 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
|
-
});
|