devframe 0.7.13 → 0.7.15
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/adapters/build.d.mts +1 -1
- package/dist/adapters/build.mjs +1 -1
- package/dist/adapters/cac.d.mts +1 -1
- package/dist/adapters/cac.mjs +1 -1
- package/dist/adapters/cli.d.mts +1 -1
- package/dist/adapters/cli.mjs +1 -1
- package/dist/adapters/dev.d.mts +18 -3
- package/dist/adapters/dev.mjs +2 -2
- package/dist/adapters/embedded.d.mts +1 -1
- package/dist/adapters/mcp.d.mts +5 -3
- package/dist/adapters/mcp.mjs +1 -1
- package/dist/{build-server-CBAxmnC8.mjs → build-server-cANnMwg0.mjs} +14 -3
- package/dist/{cac-Drj5sjnU.mjs → cac-CjF0haJ6.mjs} +1 -1
- package/dist/client/index.d.mts +1 -1
- package/dist/client/index.mjs +4 -2
- package/dist/{context-FonV8enL.d.mts → context-C_bqRR0i.d.mts} +1 -1
- package/dist/{dev-BdegDQKt.mjs → dev-OJFr4rx8.mjs} +25 -2
- package/dist/{devframe-DfzYvlKI.d.mts → devframe-BADsX91-.d.mts} +6 -1
- package/dist/helpers/vite.d.mts +14 -1
- package/dist/helpers/vite.mjs +6 -3
- package/dist/{http-BaCZYhIR.mjs → http-B2P55ZXg.mjs} +1 -1
- package/dist/{index-CxpC1ItQ.d.mts → index-Brcd2V4t.d.mts} +2 -2
- package/dist/index.d.mts +1 -1
- package/dist/node/auth.d.mts +2 -2
- package/dist/node/hub-internals.d.mts +2 -2
- package/dist/node/index.d.mts +2 -2
- package/dist/recipes/common-rpc-functions.d.mts +118 -0
- package/dist/recipes/common-rpc-functions.mjs +105 -0
- package/dist/recipes/interactive-auth.d.mts +2 -2
- package/dist/recipes/open-helpers.d.mts +3 -101
- package/dist/recipes/open-helpers.mjs +3 -63
- package/dist/rpc/transports/ws-client.mjs +1 -1
- package/dist/rpc/transports/ws-server.mjs +1 -1
- package/dist/{server-Bf27EWpv.d.mts → server-Bu5iB3aV.d.mts} +2 -2
- package/dist/{structured-clone-XpHLZ8nr.mjs → structured-clone-CbAV5rFI.mjs} +32 -3
- package/dist/{structured-clone-CeZOHvkd.mjs → structured-clone-CgtQ61SA.mjs} +32 -3
- package/dist/types/index.d.mts +1 -1
- package/dist/utils/events.d.mts +1 -1
- package/dist/utils/launch-editor.mjs +745 -1
- package/dist/utils/shared-state.d.mts +1 -1
- package/dist/utils/streaming-channel.d.mts +1 -1
- package/dist/utils/structured-clone.mjs +1 -1
- package/package.json +5 -4
- package/skills/devframe/SKILL.md +1 -1
- package/dist/launch-editor-C_xuzLnF.mjs +0 -746
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _t as SharedStateOptions, dt as ImmutableArray, ft as ImmutableMap, gt as SharedStateEvents, ht as SharedState, mt as ImmutableSet, pt as ImmutableObject, ut as Immutable, vt as SharedStatePatch, yt as createSharedState } from "../devframe-
|
|
1
|
+
import { _t as SharedStateOptions, dt as ImmutableArray, ft as ImmutableMap, gt as SharedStateEvents, ht as SharedState, mt as ImmutableSet, pt as ImmutableObject, ut as Immutable, vt as SharedStatePatch, yt as createSharedState } from "../devframe-BADsX91-.mjs";
|
|
2
2
|
export { Immutable, ImmutableArray, ImmutableMap, ImmutableObject, ImmutableSet, SharedState, SharedStateEvents, SharedStateOptions, SharedStatePatch, createSharedState };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { at as StreamReader, ct as createStreamReader, it as StreamErrorPayload, lt as createStreamSink, nt as CreateStreamReaderOptions, ot as StreamSink, rt as CreateStreamSinkOptions, st as StreamSinkEvents, tt as BufferedChunk } from "../devframe-
|
|
1
|
+
import { at as StreamReader, ct as createStreamReader, it as StreamErrorPayload, lt as createStreamSink, nt as CreateStreamReaderOptions, ot as StreamSink, rt as CreateStreamSinkOptions, st as StreamSinkEvents, tt as BufferedChunk } from "../devframe-BADsX91-.mjs";
|
|
2
2
|
export { BufferedChunk, CreateStreamReaderOptions, CreateStreamSinkOptions, StreamErrorPayload, StreamReader, StreamSink, StreamSinkEvents, createStreamReader, createStreamSink };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as structuredCloneStringify, n as structuredCloneParse, r as structuredCloneSerialize, t as structuredCloneDeserialize } from "../structured-clone-
|
|
1
|
+
import { i as structuredCloneStringify, n as structuredCloneParse, r as structuredCloneSerialize, t as structuredCloneDeserialize } from "../structured-clone-CgtQ61SA.mjs";
|
|
2
2
|
export { structuredCloneDeserialize, structuredCloneParse, structuredCloneSerialize, structuredCloneStringify };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "devframe",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.15",
|
|
5
5
|
"description": "Framework for building generic devframes",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"./node": "./dist/node/index.mjs",
|
|
33
33
|
"./node/auth": "./dist/node/auth.mjs",
|
|
34
34
|
"./node/hub-internals": "./dist/node/hub-internals.mjs",
|
|
35
|
+
"./recipes/common-rpc-functions": "./dist/recipes/common-rpc-functions.mjs",
|
|
35
36
|
"./recipes/interactive-auth": "./dist/recipes/interactive-auth.mjs",
|
|
36
37
|
"./recipes/open-helpers": "./dist/recipes/open-helpers.mjs",
|
|
37
38
|
"./rpc": "./dist/rpc/index.mjs",
|
|
@@ -79,7 +80,7 @@
|
|
|
79
80
|
"birpc": "^4.0.0",
|
|
80
81
|
"crossws": "^0.4.10",
|
|
81
82
|
"destr": "^2.0.5",
|
|
82
|
-
"h3": "^2.0.1-rc.
|
|
83
|
+
"h3": "^2.0.1-rc.26",
|
|
83
84
|
"mrmime": "^2.0.1",
|
|
84
85
|
"nostics": "^1.2.0",
|
|
85
86
|
"pathe": "^2.0.3",
|
|
@@ -87,7 +88,7 @@
|
|
|
87
88
|
"valibot": "^1.4.2"
|
|
88
89
|
},
|
|
89
90
|
"devDependencies": {
|
|
90
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
91
|
+
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
91
92
|
"cac": "^7.0.0",
|
|
92
93
|
"get-port-please": "^3.2.0",
|
|
93
94
|
"immer": "^11.1.15",
|
|
@@ -98,7 +99,7 @@
|
|
|
98
99
|
"open": "^11.0.0",
|
|
99
100
|
"p-limit": "^7.3.1",
|
|
100
101
|
"perfect-debounce": "^2.1.0",
|
|
101
|
-
"structured-clone-es": "^2.0.
|
|
102
|
+
"structured-clone-es": "^2.0.1",
|
|
102
103
|
"tinyglobby": "^0.2.17",
|
|
103
104
|
"tsdown": "^0.22.14",
|
|
104
105
|
"ua-parser-modern": "^0.1.1",
|
package/skills/devframe/SKILL.md
CHANGED
|
@@ -560,7 +560,7 @@ Devframe re-exports a curated set of helpers under `devframe/utils/*`. They are
|
|
|
560
560
|
| `createStreamSink` / `createStreamReader` from `devframe/utils/streaming-channel` | — | Low-level streaming primitives |
|
|
561
561
|
| `evaluateWhen` / `WhenExpression` from `devframe/utils/when` | `whenexpr` | When-clause expressions |
|
|
562
562
|
|
|
563
|
-
For "open file in editor" + "reveal in finder", prefer the prebuilt `
|
|
563
|
+
For "open file in editor" + "reveal in finder", prefer the prebuilt `commonRpcFunctions` RPC recipe (`devframe/recipes/common-rpc-functions`) — it wires the two utilities into named RPC functions ready to register.
|
|
564
564
|
|
|
565
565
|
## Security (secure by default)
|
|
566
566
|
|