@forgezero/agent 0.1.9 → 0.1.10
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 +25 -2
- package/dist/cli/agent-install.d.ts +82 -0
- package/dist/cli/agent-install.test.d.ts +1 -0
- package/dist/cli/custody.d.ts +35 -0
- package/dist/cli/genesis.d.ts +79 -0
- package/dist/cli/index.d.ts +12 -0
- package/dist/cli/options.test.d.ts +1 -0
- package/dist/cli/run.d.ts +92 -0
- package/dist/cli/run.test.d.ts +1 -0
- package/dist/deployment-pull.d.ts +2 -1
- package/dist/deployment.d.ts +14 -0
- package/dist/fz-agent.js +37 -6
- package/dist/fz.js +1270 -0
- package/dist/index.d.ts +1 -1
- package/package.json +8 -6
package/dist/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ import type { SecretCache } from './cache';
|
|
|
25
25
|
* That preference was implemented in the client long before anything listened.
|
|
26
26
|
* See `socket.ts` for why it signs rather than handing back a token.
|
|
27
27
|
*/
|
|
28
|
-
export declare const VERSION = "0.1.
|
|
28
|
+
export declare const VERSION = "0.1.10";
|
|
29
29
|
export { startAgent, handleRequest } from './socket';
|
|
30
30
|
export type { AgentOptions, AttestationSource, Request, Response } from './socket';
|
|
31
31
|
export { createSecretCache, CacheError } from './cache';
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"//": "Publishing happens from an operator's machine, not CI \u2014 CLAUDE.md records that the absence of CI is deliberate. npm's `provenance` attests a tarball was built by a recognised CI provider from a named commit, so it cannot be produced here: it was set, and the first publish failed with `Automatic provenance generation not supported for provider: null`. A setting that can never be satisfied is worse than none, because it reads as a guarantee nobody is getting. Restore it the day this publishes from CI, and not before.",
|
|
3
3
|
"name": "@forgezero/agent",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.10",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"check": "tsc --noEmit",
|
|
8
|
-
"build": "bun build src/index.ts --outfile dist/fz-agent.js --target bun --format esm --packages external && bun build src/compute.ts src/provision.ts src/subscribe.ts src/pipeline.ts src/definition.ts src/ssh-server.ts src/ssh-listen.ts src/provisioning-pull.ts src/guest-enrolment.ts src/node-vault.ts src/metal-provision.ts src/metal-helper-socket.ts src/deployment-runner.ts --root src --outdir dist --target browser --format esm --packages external && tsc --emitDeclarationOnly --declaration --noEmit false --outDir dist",
|
|
8
|
+
"build": "bun build src/index.ts --outfile dist/fz-agent.js --target bun --format esm --packages external && bun build src/cli/index.ts --outfile dist/fz.js --target bun --format esm --packages external && bun build src/compute.ts src/provision.ts src/subscribe.ts src/pipeline.ts src/definition.ts src/ssh-server.ts src/ssh-listen.ts src/provisioning-pull.ts src/guest-enrolment.ts src/node-vault.ts src/metal-provision.ts src/metal-helper-socket.ts src/deployment-runner.ts --root src --outdir dist --target browser --format esm --packages external && tsc --emitDeclarationOnly --declaration --noEmit false --outDir dist",
|
|
9
9
|
"prepublishOnly": "bun run check && bun run build"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"@noble/post-quantum": "^0.6.1"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
+
"@forgezero/access": "^0.1.0",
|
|
19
20
|
"@forgezero/runtime": "^0.1.2",
|
|
20
21
|
"@forgezero/vault": "^0.1.1",
|
|
21
22
|
"@noble/curves": "^2.2.0",
|
|
@@ -24,7 +25,8 @@
|
|
|
24
25
|
"@scure/bip39": "^2.2.0"
|
|
25
26
|
},
|
|
26
27
|
"bin": {
|
|
27
|
-
"fz-agent": "./dist/fz-agent.js"
|
|
28
|
+
"fz-agent": "./dist/fz-agent.js",
|
|
29
|
+
"fz": "./dist/fz.js"
|
|
28
30
|
},
|
|
29
31
|
"publishConfig": {
|
|
30
32
|
"access": "public"
|
|
@@ -35,7 +37,7 @@
|
|
|
35
37
|
"LICENSE"
|
|
36
38
|
],
|
|
37
39
|
"license": "MIT",
|
|
38
|
-
"description": "
|
|
40
|
+
"description": "ForgeZero machine tooling: the fz operator command and fz-agent for vault access, provisioning and deployment.",
|
|
39
41
|
"keywords": [
|
|
40
42
|
"agent",
|
|
41
43
|
"forgezero",
|
|
@@ -48,10 +50,10 @@
|
|
|
48
50
|
"homepage": "https://www.forgezero.net/docs/agent",
|
|
49
51
|
"repository": {
|
|
50
52
|
"type": "git",
|
|
51
|
-
"url": "git+https://github.com/
|
|
53
|
+
"url": "git+https://github.com/forgezero-net/packages.git",
|
|
52
54
|
"directory": "packages/agent"
|
|
53
55
|
},
|
|
54
|
-
"bugs": "https://github.com/
|
|
56
|
+
"bugs": "https://github.com/forgezero-net/packages/issues",
|
|
55
57
|
"exports": {
|
|
56
58
|
"./provision": {
|
|
57
59
|
"types": "./dist/provision.d.ts",
|