@feltdb/feltkit 0.3.37 → 0.5.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.
- package/dist/agent-engine.d.ts +93 -0
- package/dist/agent-engine.js +40 -0
- package/dist/agent-engine.js.map +1 -0
- package/dist/app.d.ts +306 -7
- package/dist/app.js +289 -28
- package/dist/app.js.map +1 -1
- package/dist/appboundry/build.d.ts +7 -0
- package/dist/appboundry/build.js +25 -1
- package/dist/appboundry/build.js.map +1 -1
- package/dist/appboundry/guest.js +8 -0
- package/dist/appboundry/guest.js.map +1 -1
- package/dist/appboundry/host.d.ts +21 -0
- package/dist/appboundry/host.js +25 -0
- package/dist/appboundry/host.js.map +1 -1
- package/dist/appboundry/runtime.js +1 -0
- package/dist/appboundry/runtime.js.map +1 -1
- package/dist/boards/index.d.ts +1258 -0
- package/dist/boards/index.js +1410 -0
- package/dist/boards/index.js.map +1 -0
- package/dist/boards/model.d.ts +177 -0
- package/dist/boards/model.js +177 -0
- package/dist/boards/model.js.map +1 -0
- package/dist/boards/react.d.ts +18 -0
- package/dist/boards/react.js +339 -0
- package/dist/boards/react.js.map +1 -0
- package/dist/cli/deploy-appboundry-self-hosted.js +2 -2
- package/dist/cli/deploy.js +19 -6
- package/dist/cli/deploy.js.map +1 -1
- package/dist/cli/main.js +70 -5
- package/dist/cli/main.js.map +1 -1
- package/dist/client/index.d.ts +454 -4
- package/dist/client/index.js +371 -3
- package/dist/client/index.js.map +1 -1
- package/dist/clock.d.ts +24 -0
- package/dist/clock.js +49 -0
- package/dist/clock.js.map +1 -0
- package/dist/cron.d.ts +18 -0
- package/dist/cron.js +67 -0
- package/dist/cron.js.map +1 -0
- package/dist/dashboard/assets/index-iIj7SL77.js +15 -0
- package/dist/dashboard/index.html +1 -1
- package/dist/docs.d.ts +1 -1
- package/dist/docs.js +4 -0
- package/dist/docs.js.map +1 -1
- package/dist/eve/index.d.ts +77 -0
- package/dist/eve/index.js +128 -0
- package/dist/eve/index.js.map +1 -0
- package/dist/event-stage.js +2 -0
- package/dist/event-stage.js.map +1 -1
- package/dist/index.d.ts +17 -2
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/native/build.d.ts +112 -0
- package/dist/native/build.js +472 -0
- package/dist/native/build.js.map +1 -0
- package/dist/native/index.d.ts +67 -0
- package/dist/native/index.js +113 -0
- package/dist/native/index.js.map +1 -0
- package/dist/native/instance.d.ts +3 -0
- package/dist/native/instance.js +18 -0
- package/dist/native/instance.js.map +1 -0
- package/dist/policy.d.ts +9 -1
- package/dist/policy.js +16 -3
- package/dist/policy.js.map +1 -1
- package/dist/presence.d.ts +85 -0
- package/dist/presence.js +37 -0
- package/dist/presence.js.map +1 -0
- package/dist/quota.d.ts +72 -0
- package/dist/quota.js +143 -0
- package/dist/quota.js.map +1 -0
- package/dist/react/agent-control.d.ts +191 -0
- package/dist/react/agent-control.js +366 -0
- package/dist/react/agent-control.js.map +1 -0
- package/dist/react/auth.d.ts +15 -1
- package/dist/react/auth.js +28 -5
- package/dist/react/auth.js.map +1 -1
- package/dist/react/hooks.d.ts +88 -0
- package/dist/react/hooks.js +188 -0
- package/dist/react/hooks.js.map +1 -0
- package/dist/react/index.d.ts +5 -75
- package/dist/react/index.js +4 -145
- package/dist/react/index.js.map +1 -1
- package/dist/runtime/activity.d.ts +8 -0
- package/dist/runtime/activity.js.map +1 -1
- package/dist/runtime/agent-control.d.ts +28 -0
- package/dist/runtime/agent-control.js +43 -2
- package/dist/runtime/agent-control.js.map +1 -1
- package/dist/runtime/agent-run.d.ts +166 -0
- package/dist/runtime/agent-run.js +431 -0
- package/dist/runtime/agent-run.js.map +1 -0
- package/dist/runtime/agent.d.ts +158 -1
- package/dist/runtime/agent.js +345 -12
- package/dist/runtime/agent.js.map +1 -1
- package/dist/runtime/assemble.js +15 -2
- package/dist/runtime/assemble.js.map +1 -1
- package/dist/runtime/authority.d.ts +47 -0
- package/dist/runtime/authority.js +13 -2
- package/dist/runtime/authority.js.map +1 -1
- package/dist/runtime/capabilities.js +2 -1
- package/dist/runtime/capabilities.js.map +1 -1
- package/dist/runtime/changes.d.ts +17 -0
- package/dist/runtime/changes.js +65 -2
- package/dist/runtime/changes.js.map +1 -1
- package/dist/runtime/context.d.ts +123 -0
- package/dist/runtime/contract.js +9 -3
- package/dist/runtime/contract.js.map +1 -1
- package/dist/runtime/events.js +17 -1
- package/dist/runtime/events.js.map +1 -1
- package/dist/runtime/integrations.js +7 -7
- package/dist/runtime/integrations.js.map +1 -1
- package/dist/runtime/invocations.d.ts +19 -2
- package/dist/runtime/invocations.js +16 -3
- package/dist/runtime/invocations.js.map +1 -1
- package/dist/runtime/policies.d.ts +5 -2
- package/dist/runtime/policies.js.map +1 -1
- package/dist/runtime/presence-host.d.ts +84 -0
- package/dist/runtime/presence-host.js +303 -0
- package/dist/runtime/presence-host.js.map +1 -0
- package/dist/runtime/providers.d.ts +5 -1
- package/dist/runtime/providers.js +11 -5
- package/dist/runtime/providers.js.map +1 -1
- package/dist/runtime/required-capabilities.d.ts +73 -0
- package/dist/runtime/required-capabilities.js +69 -0
- package/dist/runtime/required-capabilities.js.map +1 -0
- package/dist/runtime/resource-access.d.ts +137 -0
- package/dist/runtime/resource-access.js +177 -0
- package/dist/runtime/resource-access.js.map +1 -0
- package/dist/runtime/runtime.d.ts +143 -1
- package/dist/runtime/runtime.js +853 -44
- package/dist/runtime/runtime.js.map +1 -1
- package/dist/runtime/sessions.d.ts +12 -0
- package/dist/runtime/sessions.js +16 -1
- package/dist/runtime/sessions.js.map +1 -1
- package/dist/runtime/tenancy.d.ts +68 -1
- package/dist/runtime/tenancy.js +150 -0
- package/dist/runtime/tenancy.js.map +1 -1
- package/dist/runtime/transactions.d.ts +3 -1
- package/dist/runtime/transactions.js.map +1 -1
- package/dist/runtime/workers.d.ts +123 -0
- package/dist/runtime/workers.js +291 -0
- package/dist/runtime/workers.js.map +1 -0
- package/dist/server/eve.d.ts +287 -0
- package/dist/server/eve.js +1071 -0
- package/dist/server/eve.js.map +1 -0
- package/dist/server/index.d.ts +2 -19
- package/dist/server/index.js +102 -5
- package/dist/server/index.js.map +1 -1
- package/dist/server/mcp.d.ts +15 -22
- package/dist/server/mcp.js +40 -3
- package/dist/server/mcp.js.map +1 -1
- package/dist/server/project.js +26 -8
- package/dist/server/project.js.map +1 -1
- package/dist/server/tenancy.d.ts +9 -0
- package/dist/server/tenancy.js +62 -1
- package/dist/server/tenancy.js.map +1 -1
- package/dist/server/watch.d.ts +10 -0
- package/dist/server/watch.js +88 -0
- package/dist/server/watch.js.map +1 -0
- package/dist/testing/index.d.ts +4 -5
- package/dist/testing/index.js +3 -2
- package/dist/testing/index.js.map +1 -1
- package/docs/AGENT-CONTROL.md +166 -4
- package/docs/APPBOUNDRY.md +73 -0
- package/docs/ARCHITECTURE.md +6 -2
- package/docs/AUTH.md +37 -0
- package/docs/COMPONENTS.md +71 -0
- package/docs/EVE-COMPOSITION.md +75 -0
- package/docs/GUARANTEES.md +4 -4
- package/docs/NATIVE-AGENTS.md +353 -0
- package/docs/NATIVE.md +137 -0
- package/docs/PRESENCE-AND-SIGNALING-PROPOSAL.md +152 -0
- package/docs/README.md +6 -2
- package/docs/SECURITY.md +71 -3
- package/docs/TRANSACTIONS.md +48 -0
- package/docs/UPSTREAM-GAPS.md +16 -2
- package/package.json +42 -16
- package/skills/.claude-plugin/marketplace.json +1 -1
- package/skills/.claude-plugin/plugin.json +1 -1
- package/skills/feltkit-agent/SKILL.md +1 -1
- package/skills/feltkit-build/SKILL.md +11 -1
- package/skills/feltkit-data/SKILL.md +1 -1
- package/skills/feltkit-operations/SKILL.md +1 -1
- package/skills/feltkit-services/SKILL.md +1 -1
- package/dist/dashboard/assets/index-BhxrvY37.js +0 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feltdb/feltkit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "FeltKit: one application, one FeltDB instance, one developer experience. SDK, runtime, CLI, and dashboard.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"directory": "packages/sdk"
|
|
11
11
|
},
|
|
12
12
|
"engines": {
|
|
13
|
-
"node": ">=
|
|
13
|
+
"node": ">=26"
|
|
14
14
|
},
|
|
15
15
|
"bin": {
|
|
16
16
|
"feltkit": "bin/feltkit.js"
|
|
@@ -32,6 +32,26 @@
|
|
|
32
32
|
"types": "./dist/react/index.d.ts",
|
|
33
33
|
"import": "./dist/react/index.js"
|
|
34
34
|
},
|
|
35
|
+
"./native": {
|
|
36
|
+
"types": "./dist/native/index.d.ts",
|
|
37
|
+
"import": "./dist/native/index.js"
|
|
38
|
+
},
|
|
39
|
+
"./eve": {
|
|
40
|
+
"types": "./dist/eve/index.d.ts",
|
|
41
|
+
"import": "./dist/eve/index.js"
|
|
42
|
+
},
|
|
43
|
+
"./agent": {
|
|
44
|
+
"types": "./dist/eve/index.d.ts",
|
|
45
|
+
"import": "./dist/eve/index.js"
|
|
46
|
+
},
|
|
47
|
+
"./boards": {
|
|
48
|
+
"types": "./dist/boards/index.d.ts",
|
|
49
|
+
"import": "./dist/boards/index.js"
|
|
50
|
+
},
|
|
51
|
+
"./boards/react": {
|
|
52
|
+
"types": "./dist/boards/react.d.ts",
|
|
53
|
+
"import": "./dist/boards/react.js"
|
|
54
|
+
},
|
|
35
55
|
"./testing": {
|
|
36
56
|
"types": "./dist/testing/index.d.ts",
|
|
37
57
|
"import": "./dist/testing/index.js"
|
|
@@ -54,17 +74,17 @@
|
|
|
54
74
|
"prepack": "npm run build"
|
|
55
75
|
},
|
|
56
76
|
"dependencies": {
|
|
57
|
-
"@appport/authorization": "1.
|
|
58
|
-
"@appport/core": "1.
|
|
59
|
-
"@appport/integration": "1.2.
|
|
60
|
-
"@appport/protocol": "1.
|
|
77
|
+
"@appport/authorization": "1.4.0",
|
|
78
|
+
"@appport/core": "1.13.0",
|
|
79
|
+
"@appport/integration": "1.2.8",
|
|
80
|
+
"@appport/protocol": "1.8.0",
|
|
61
81
|
"@appport/resolver-client": "0.3.0",
|
|
62
|
-
"@appport/schema": "1.2.
|
|
63
|
-
"@appport/sdk": "1.
|
|
64
|
-
"@appport/server": "1.
|
|
65
|
-
"@appport/services": ">=0.
|
|
66
|
-
"@feltdb/core": ">=0.
|
|
67
|
-
"create-feltkit": "0.
|
|
82
|
+
"@appport/schema": "1.2.2",
|
|
83
|
+
"@appport/sdk": "1.13.0",
|
|
84
|
+
"@appport/server": "1.5.0",
|
|
85
|
+
"@appport/services": ">=0.21.0 <1.0.0",
|
|
86
|
+
"@feltdb/core": ">=0.25.0 <1.0.0",
|
|
87
|
+
"create-feltkit": "0.5.0",
|
|
68
88
|
"esbuild": "0.28.2",
|
|
69
89
|
"express": "4.22.3",
|
|
70
90
|
"jpeg-js": "0.4.4",
|
|
@@ -73,9 +93,10 @@
|
|
|
73
93
|
"tsx": "4.23.15"
|
|
74
94
|
},
|
|
75
95
|
"peerDependencies": {
|
|
96
|
+
"@authboundry/local": ">=0.1.1",
|
|
76
97
|
"react": ">=18",
|
|
77
98
|
"vite": ">=5",
|
|
78
|
-
"
|
|
99
|
+
"eve": ">=1.1.1"
|
|
79
100
|
},
|
|
80
101
|
"peerDependenciesMeta": {
|
|
81
102
|
"react": {
|
|
@@ -86,22 +107,27 @@
|
|
|
86
107
|
},
|
|
87
108
|
"@authboundry/local": {
|
|
88
109
|
"optional": true
|
|
110
|
+
},
|
|
111
|
+
"eve": {
|
|
112
|
+
"optional": true
|
|
89
113
|
}
|
|
90
114
|
},
|
|
91
115
|
"devDependencies": {
|
|
92
|
-
"@appport/testing": "1.
|
|
116
|
+
"@appport/testing": "1.6.0",
|
|
93
117
|
"@authboundry/local": "0.1.1",
|
|
94
118
|
"@mailerport/service": "0.1.0",
|
|
95
|
-
"@feltdb/webllm": ">=0.
|
|
119
|
+
"@feltdb/webllm": ">=0.25.0 <1.0.0",
|
|
96
120
|
"@modelcontextprotocol/sdk": "1.32.2",
|
|
97
121
|
"@stack-ui/core": "0.10.0",
|
|
98
122
|
"@stack-ui/react": "0.10.0",
|
|
99
123
|
"@stack-ui/tokens": "0.10.0",
|
|
100
|
-
"@types/node": "
|
|
124
|
+
"@types/node": "26.6.6",
|
|
101
125
|
"@types/pngjs": "6.0.5",
|
|
102
126
|
"@types/react": "19.3.0",
|
|
103
127
|
"@types/react-dom": "19.3.0",
|
|
104
128
|
"@vitejs/plugin-react": "5.1.0",
|
|
129
|
+
"eve": "npm:@appport/eve@1.1.2",
|
|
130
|
+
"@appport/eve-world-feltdb": "0.1.1",
|
|
105
131
|
"react": "19.3.1",
|
|
106
132
|
"react-dom": "19.3.1",
|
|
107
133
|
"typescript": "7.0.2",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://anthropic.com/claude-code/plugin.schema.json",
|
|
3
3
|
"name": "feltkit",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.5.0",
|
|
5
5
|
"description": "Skills for building and operating FeltKit applications: project structure and SDK, AppPort Services, FeltDB data and consistency, the FeltKit agent over MCP, and operations. Guidance only: they grant no permission.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "FeltKit"
|
|
@@ -93,6 +93,6 @@ the source, run `npx feltkit test`, and let the user review. Record what you cha
|
|
|
93
93
|
|
|
94
94
|
## Compatibility
|
|
95
95
|
|
|
96
|
-
`@feltdb/feltkit` 0.
|
|
96
|
+
`@feltdb/feltkit` 0.5.x, development server. FeltDB 0.25.0 agent state. There is no planner: decisions are yours, a
|
|
97
97
|
playbook's, or the environment's model choosing among options the application built (a `decide` task); a model's
|
|
98
98
|
choice is a proposal like yours. Verified in Claude Code only.
|
|
@@ -92,6 +92,16 @@ validation and the transaction: do not use it unless the user asks and understan
|
|
|
92
92
|
- **Approval.** `app.mutation({ access: "payments.send", approval: "required", ... })`: agents, services and API keys
|
|
93
93
|
holding the permission can only propose it; it runs after a person who may perform it approves, as the proposer.
|
|
94
94
|
People call it directly. Use it for irreversible effects you would not let an agent take alone.
|
|
95
|
+
- **External effects from an action.** Publish the action (`app.action({ capability: "pr.open", approval?, ... })`) and
|
|
96
|
+
call `await ctx.effect.begin(detail)` right before the effect: it is recorded first, an unknown outcome
|
|
97
|
+
(`OUTCOME_UNKNOWN`) is never repeated by a keyed retry or a retried job, and callers ask what happened with
|
|
98
|
+
`client.invocationStatus` (`appport.invocation.status@1`). From a mutation, dispatch it with
|
|
99
|
+
`ctx.afterCommit.jobs.enqueue`; never make an external call inside a mutation.
|
|
100
|
+
- **Workers and visibility.** A separate runner is a worker (`ctx.grants.registerWorker`, needs
|
|
101
|
+
`feltkit.workers.write`) acting only under a work grant (`ctx.grants.workGrant({ worker, capabilities, workItemId })`,
|
|
102
|
+
named as `x-appport-grant`); a person approves one exact call with `ctx.grants.approve({ capability, input })`.
|
|
103
|
+
`visibility: "internal"` keeps a function off every surface (only `ctx.runMutation`, jobs and hooks call it);
|
|
104
|
+
`"worker"` / `"service"` limit it to those callers.
|
|
95
105
|
- **Authority first.** A caller without a function's `access` gets `FORBIDDEN` before its arguments are checked. An
|
|
96
106
|
agent that gets `FORBIDDEN` lacks the authority: hand the step to a person; do not retry with other input.
|
|
97
107
|
- **Services run as the caller.** Every role that calls a function needs the service permissions the function uses
|
|
@@ -216,5 +226,5 @@ a hash or memory router when `location.protocol === "chrome-extension:"` (a `Bro
|
|
|
216
226
|
|
|
217
227
|
## Compatibility
|
|
218
228
|
|
|
219
|
-
Written for `@feltdb/feltkit` 0.
|
|
229
|
+
Written for `@feltdb/feltkit` 0.5.x (Node 26+). Commands: `feltkit create`, `dev`, `build`, `start`, `test`,
|
|
220
230
|
`inspect`, `deploy`, `session`, `operator`, `readiness`, `model`, `credential`, `config`, `codegen`, `doctor`, `skills`, `docs`. Verified in Claude Code only.
|
|
@@ -111,4 +111,4 @@ Deleting records, bulk changes, schema changes that drop fields, or anything in
|
|
|
111
111
|
|
|
112
112
|
## Compatibility
|
|
113
113
|
|
|
114
|
-
`@feltdb/feltkit` 0.
|
|
114
|
+
`@feltdb/feltkit` 0.5.x on `@feltdb/core` 0.25.0. Details: `npx feltkit docs guarantees` (node_modules/@feltdb/feltkit/docs/GUARANTEES.md). Verified in Claude Code only.
|
|
@@ -156,6 +156,6 @@ affect other systems. Confirm with the user before doing any of them.
|
|
|
156
156
|
|
|
157
157
|
## Compatibility
|
|
158
158
|
|
|
159
|
-
`@feltdb/feltkit` 0.
|
|
159
|
+
`@feltdb/feltkit` 0.5.x with `@appport/services` 0.21.0 (shared instance; transactional job and webhook creation; `credential.store` / `credential.status`; `servicesContract` for Managed FeltDB; the inbound event lifecycle and inbound integration management).
|
|
160
160
|
The console is development-only.
|
|
161
161
|
Verified in Claude Code only.
|