devframe 0.7.14 → 0.7.16
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 +8 -1
- package/dist/adapters/build.mjs +4 -2
- 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-C7vTKjiQ.mjs} +16 -5
- package/dist/{cac-Drj5sjnU.mjs → cac-CPaOy3LD.mjs} +2 -2
- package/dist/client/index.d.mts +42 -6
- package/dist/client/index.mjs +179 -92
- package/dist/constants.d.mts +7 -1
- package/dist/constants.mjs +7 -1
- package/dist/{context-FonV8enL.d.mts → context-CzqPrJSz.d.mts} +1 -1
- package/dist/{context-C1Gr2BGB.mjs → context-DY72brRI.mjs} +1 -1
- package/dist/{dev-BdegDQKt.mjs → dev-BCeaQuGE.mjs} +28 -5
- package/dist/{devframe-DfzYvlKI.d.mts → devframe-Ckhf3kFw.d.mts} +16 -1
- package/dist/helpers/vite.d.mts +14 -1
- package/dist/helpers/vite.mjs +7 -4
- package/dist/{host-h3-SjwRTwkE.mjs → host-h3-CgOetlNE.mjs} +1 -1
- package/dist/{http-BaCZYhIR.mjs → http-_pPbryTQ.mjs} +1 -1
- package/dist/{index-CxpC1ItQ.d.mts → index-8dndvIxR.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/hub-internals.mjs +1 -1
- package/dist/node/index.d.mts +2 -2
- package/dist/node/index.mjs +3 -3
- 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/interactive-auth.mjs +1 -1
- 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-B0wiP_Oi.d.mts} +2 -2
- package/dist/{server-BFsuZI9e.mjs → server-DykHCza_.mjs} +2 -2
- package/dist/{storage-D_Xy9v1l.mjs → storage-gEnj9ASQ.mjs} +4 -0
- 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 -31
- 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-Ckhf3kFw.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-Ckhf3kFw.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.16",
|
|
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,40 +99,13 @@
|
|
|
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",
|
|
105
106
|
"whenexpr": "^0.1.2",
|
|
106
107
|
"ws": "^8.21.1"
|
|
107
108
|
},
|
|
108
|
-
"inlinedDependencies": {
|
|
109
|
-
"bundle-name": "4.1.0",
|
|
110
|
-
"default-browser": "5.5.0",
|
|
111
|
-
"default-browser-id": "5.0.1",
|
|
112
|
-
"define-lazy-prop": "3.0.0",
|
|
113
|
-
"get-port-please": "3.2.0",
|
|
114
|
-
"immer": "11.1.8",
|
|
115
|
-
"is-docker": "3.0.0",
|
|
116
|
-
"is-in-ssh": "1.0.0",
|
|
117
|
-
"is-inside-container": "1.0.0",
|
|
118
|
-
"is-wsl": "3.1.1",
|
|
119
|
-
"launch-editor": "2.13.2",
|
|
120
|
-
"obug": "2.1.1",
|
|
121
|
-
"ohash": "2.0.11",
|
|
122
|
-
"open": "11.0.0",
|
|
123
|
-
"p-limit": "7.3.0",
|
|
124
|
-
"perfect-debounce": "2.1.0",
|
|
125
|
-
"picocolors": "1.1.1",
|
|
126
|
-
"powershell-utils": "0.1.0",
|
|
127
|
-
"run-applescript": "7.1.0",
|
|
128
|
-
"shell-quote": "1.8.3",
|
|
129
|
-
"structured-clone-es": "2.0.0",
|
|
130
|
-
"ua-parser-modern": "0.1.1",
|
|
131
|
-
"whenexpr": "0.1.2",
|
|
132
|
-
"wsl-utils": "0.3.1",
|
|
133
|
-
"yocto-queue": "1.2.2"
|
|
134
|
-
},
|
|
135
109
|
"scripts": {
|
|
136
110
|
"build": "tsdown",
|
|
137
111
|
"watch": "tsdown --watch",
|
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
|
|