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.
Files changed (45) hide show
  1. package/dist/adapters/build.d.mts +1 -1
  2. package/dist/adapters/build.mjs +1 -1
  3. package/dist/adapters/cac.d.mts +1 -1
  4. package/dist/adapters/cac.mjs +1 -1
  5. package/dist/adapters/cli.d.mts +1 -1
  6. package/dist/adapters/cli.mjs +1 -1
  7. package/dist/adapters/dev.d.mts +18 -3
  8. package/dist/adapters/dev.mjs +2 -2
  9. package/dist/adapters/embedded.d.mts +1 -1
  10. package/dist/adapters/mcp.d.mts +5 -3
  11. package/dist/adapters/mcp.mjs +1 -1
  12. package/dist/{build-server-CBAxmnC8.mjs → build-server-cANnMwg0.mjs} +14 -3
  13. package/dist/{cac-Drj5sjnU.mjs → cac-CjF0haJ6.mjs} +1 -1
  14. package/dist/client/index.d.mts +1 -1
  15. package/dist/client/index.mjs +4 -2
  16. package/dist/{context-FonV8enL.d.mts → context-C_bqRR0i.d.mts} +1 -1
  17. package/dist/{dev-BdegDQKt.mjs → dev-OJFr4rx8.mjs} +25 -2
  18. package/dist/{devframe-DfzYvlKI.d.mts → devframe-BADsX91-.d.mts} +6 -1
  19. package/dist/helpers/vite.d.mts +14 -1
  20. package/dist/helpers/vite.mjs +6 -3
  21. package/dist/{http-BaCZYhIR.mjs → http-B2P55ZXg.mjs} +1 -1
  22. package/dist/{index-CxpC1ItQ.d.mts → index-Brcd2V4t.d.mts} +2 -2
  23. package/dist/index.d.mts +1 -1
  24. package/dist/node/auth.d.mts +2 -2
  25. package/dist/node/hub-internals.d.mts +2 -2
  26. package/dist/node/index.d.mts +2 -2
  27. package/dist/recipes/common-rpc-functions.d.mts +118 -0
  28. package/dist/recipes/common-rpc-functions.mjs +105 -0
  29. package/dist/recipes/interactive-auth.d.mts +2 -2
  30. package/dist/recipes/open-helpers.d.mts +3 -101
  31. package/dist/recipes/open-helpers.mjs +3 -63
  32. package/dist/rpc/transports/ws-client.mjs +1 -1
  33. package/dist/rpc/transports/ws-server.mjs +1 -1
  34. package/dist/{server-Bf27EWpv.d.mts → server-Bu5iB3aV.d.mts} +2 -2
  35. package/dist/{structured-clone-XpHLZ8nr.mjs → structured-clone-CbAV5rFI.mjs} +32 -3
  36. package/dist/{structured-clone-CeZOHvkd.mjs → structured-clone-CgtQ61SA.mjs} +32 -3
  37. package/dist/types/index.d.mts +1 -1
  38. package/dist/utils/events.d.mts +1 -1
  39. package/dist/utils/launch-editor.mjs +745 -1
  40. package/dist/utils/shared-state.d.mts +1 -1
  41. package/dist/utils/streaming-channel.d.mts +1 -1
  42. package/dist/utils/structured-clone.mjs +1 -1
  43. package/package.json +5 -4
  44. package/skills/devframe/SKILL.md +1 -1
  45. 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-DfzYvlKI.mjs";
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-DfzYvlKI.mjs";
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-CeZOHvkd.mjs";
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.13",
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.22",
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.29.0",
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.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",
@@ -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 `openHelpers` RPC recipe — it wires the two utilities into named RPC functions ready to register.
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