@alfe.ai/openclaw-secrets 0.2.23 → 0.2.25
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/README.md +12 -0
- package/dist/crypto.d.ts.map +1 -1
- package/dist/crypto.js +70 -17
- package/dist/crypto.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +50 -121
- package/dist/index.js.map +1 -1
- package/dist/input-validation.d.ts +30 -0
- package/dist/input-validation.d.ts.map +1 -0
- package/dist/input-validation.js +166 -0
- package/dist/input-validation.js.map +1 -0
- package/dist/scope-resolve.d.ts +1 -1
- package/dist/scope-resolve.d.ts.map +1 -1
- package/dist/scope-resolve.js +7 -1
- package/dist/scope-resolve.js.map +1 -1
- package/package.json +8 -4
- package/.turbo/turbo-build.log +0 -4
- package/CHANGELOG.md +0 -311
- package/dist/types.d.ts +0 -18
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -8
- package/dist/types.js.map +0 -1
- package/src/__tests__/crypto.test.ts +0 -187
- package/src/__tests__/scope-resolve.test.ts +0 -68
- package/src/crypto.ts +0 -115
- package/src/index.ts +0 -624
- package/src/scope-resolve.ts +0 -62
- package/src/types.ts +0 -18
- package/sst-env.d.ts +0 -10
- package/tsconfig.json +0 -20
- package/vitest.config.ts +0 -9
package/src/types.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Plugin-local types. Shared contract types (SecretScope, EncryptedEnvelopeV1,
|
|
3
|
-
* SecretMetadata, etc.) live in `@alfe/types` and are re-exported by
|
|
4
|
-
* `@alfe.ai/agent-api-client`; import from there so we have one canonical
|
|
5
|
-
* source of truth across every agent HTTP surface.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
export interface SecretsConfig {
|
|
9
|
-
/**
|
|
10
|
-
* Base URL of the Alfe API host — the same value `@alfe.ai/agent-api-client`
|
|
11
|
-
* expects (normally read from `ALFE_API_URL`), e.g. `https://api.alfe.ai`.
|
|
12
|
-
* The client prepends `/agent/secrets/*` automatically (the `/agent` segment
|
|
13
|
-
* is the agent-gateway api-mapping key; `/secrets` is the service
|
|
14
|
-
* pathPrefix). Do NOT include either segment in `apiUrl`.
|
|
15
|
-
*/
|
|
16
|
-
apiUrl: string;
|
|
17
|
-
agentApiKey: string;
|
|
18
|
-
}
|
package/sst-env.d.ts
DELETED
package/tsconfig.json
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2022",
|
|
4
|
-
"module": "Node16",
|
|
5
|
-
"moduleResolution": "Node16",
|
|
6
|
-
"lib": ["ES2022"],
|
|
7
|
-
"outDir": "dist",
|
|
8
|
-
"rootDir": "src",
|
|
9
|
-
"strict": true,
|
|
10
|
-
"esModuleInterop": true,
|
|
11
|
-
"skipLibCheck": true,
|
|
12
|
-
"forceConsistentCasingInFileNames": true,
|
|
13
|
-
"resolveJsonModule": true,
|
|
14
|
-
"declaration": true,
|
|
15
|
-
"declarationMap": true,
|
|
16
|
-
"sourceMap": true
|
|
17
|
-
},
|
|
18
|
-
"include": ["src/**/*"],
|
|
19
|
-
"exclude": ["node_modules", "dist", "src/**/*.test.ts", "src/**/__tests__/**"]
|
|
20
|
-
}
|