devframe 1.2.0 → 1.2.1

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.
@@ -2,7 +2,7 @@ import { a as defineDiagnostics, i as createBirpc, n as argsToJsonSchema, o as D
2
2
  import { t as hash } from "../hash-DdPnc4k3.mjs";
3
3
  import { createEventEmitter } from "../utils/events.mjs";
4
4
  import { withBase, withProtocol } from "../utils/url.mjs";
5
- import { t as createSharedState } from "../shared-state-eQVYHNqA.mjs";
5
+ import { t as createSharedState } from "../shared-state-Cow3u-_m.mjs";
6
6
  import { i as structuredCloneStringify, n as structuredCloneParse, t as structuredCloneDeserialize } from "../structured-clone-CgtQ61SA.mjs";
7
7
  import { createStreamReader, createStreamSink } from "../utils/streaming-channel.mjs";
8
8
  import { toAgentToolName } from "../utils/agent-tool-name.mjs";
@@ -1,6 +1,6 @@
1
1
  import { a as defineDiagnostics, i as createBirpc, n as argsToJsonSchema, o as DEVFRAME_EVENTS, r as resolveAgentSafety, t as toolInputToRpcArgs } from "../tool-input-BAQXvvqL.mjs";
2
2
  import { createEventEmitter } from "../utils/events.mjs";
3
- import { t as createSharedState } from "../shared-state-eQVYHNqA.mjs";
3
+ import { t as createSharedState } from "../shared-state-Cow3u-_m.mjs";
4
4
  import { nanoid } from "../utils/nanoid.mjs";
5
5
  import { r as registerBrowserAgentTool } from "../browser-agent-Pu-FLk6I.mjs";
6
6
  //#region src/in-page-channel/diagnostics.ts
@@ -1,6 +1,6 @@
1
1
  import { createEventEmitter } from "./utils/events.mjs";
2
2
  import { nanoid } from "./utils/nanoid.mjs";
3
- //#region ../../node_modules/.pnpm/immer@11.1.18/node_modules/immer/dist/immer.mjs
3
+ //#region ../../node_modules/.pnpm/immer@11.1.21/node_modules/immer/dist/immer.mjs
4
4
  var NOTHING = Symbol.for("immer-nothing");
5
5
  var DRAFTABLE = Symbol.for("immer-draftable");
6
6
  var DRAFT_STATE = Symbol.for("immer-state");
@@ -384,7 +384,7 @@ var objectTraps = {
384
384
  const currentState = current2?.[DRAFT_STATE];
385
385
  if (currentState && currentState.base_ === value) {
386
386
  state.copy_[prop] = value;
387
- state.assigned_.set(prop, false);
387
+ state.assigned_.delete(prop);
388
388
  return true;
389
389
  }
390
390
  if (is(value, current2) && (value !== void 0 || has(state.base_, prop, state.type_))) return true;
@@ -69,20 +69,29 @@ var require_picocolors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
69
69
  module.exports.createColors = createColors;
70
70
  }));
71
71
  //#endregion
72
- //#region ../../node_modules/.pnpm/shell-quote@1.11.0/node_modules/shell-quote/quote.js
72
+ //#region ../../node_modules/.pnpm/shell-quote@1.12.0/node_modules/shell-quote/quote.js
73
73
  var require_quote = /* @__PURE__ */ __commonJSMin(((exports, module) => {
74
74
  /** @import { ControlOperator } from './parse' */
75
75
  /** @type {ControlOperator['op'][]} */
76
76
  var OPS = [
77
77
  "||",
78
78
  "&&",
79
+ ";;&",
79
80
  ";;",
81
+ ";&",
80
82
  "|&",
81
83
  "<(",
84
+ ">(",
82
85
  "<<<",
86
+ "<<-",
87
+ "<<",
83
88
  ">>",
84
89
  ">&",
90
+ ">|",
91
+ "&>>",
92
+ "&>",
85
93
  "<&",
94
+ "<>",
86
95
  "&",
87
96
  ";",
88
97
  "(",
@@ -125,7 +134,7 @@ var require_quote = /* @__PURE__ */ __commonJSMin(((exports, module) => {
125
134
  };
126
135
  }));
127
136
  //#endregion
128
- //#region ../../node_modules/.pnpm/shell-quote@1.11.0/node_modules/shell-quote/parse.js
137
+ //#region ../../node_modules/.pnpm/shell-quote@1.12.0/node_modules/shell-quote/parse.js
129
138
  var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
130
139
  /**
131
140
  * @import {
@@ -136,14 +145,16 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
136
145
  * } from './parse' */
137
146
  var CONTROL = "(?:" + [
138
147
  "\\|\\|",
139
- "\\&\\&",
140
- ";;",
141
- "\\|\\&",
148
+ "\\&(?:\\&|>>?)",
149
+ ";;\\&?",
150
+ "[;|]\\&",
142
151
  "\\<\\(",
143
152
  "\\<\\<\\<",
153
+ "\\<\\<-",
154
+ "\\<\\<(?!\\()",
144
155
  ">>",
145
- ">\\&",
146
- "<\\&",
156
+ ">[&|(]",
157
+ "<[&>]",
147
158
  "[&;()|<>]"
148
159
  ].join("|") + ")";
149
160
  var controlRE = new RegExp("^" + CONTROL + "$");
@@ -391,7 +402,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
391
402
  };
392
403
  }));
393
404
  //#endregion
394
- //#region ../../node_modules/.pnpm/shell-quote@1.11.0/node_modules/shell-quote/index.js
405
+ //#region ../../node_modules/.pnpm/shell-quote@1.12.0/node_modules/shell-quote/index.js
395
406
  var require_shell_quote = /* @__PURE__ */ __commonJSMin(((exports) => {
396
407
  exports.quote = require_quote();
397
408
  exports.parse = require_parse();
@@ -1,2 +1,2 @@
1
- import { t as createSharedState } from "../shared-state-eQVYHNqA.mjs";
1
+ import { t as createSharedState } from "../shared-state-Cow3u-_m.mjs";
2
2
  export { createSharedState };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "devframe",
3
3
  "type": "module",
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
5
5
  "description": "Framework for building one portable devtool integration that runs in any viewer.",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -77,7 +77,7 @@
77
77
  "skills"
78
78
  ],
79
79
  "peerDependencies": {
80
- "@devframes/agentic": "1.2.0",
80
+ "@devframes/agentic": "1.2.1",
81
81
  "cac": "^7.0.0"
82
82
  },
83
83
  "peerDependenciesMeta": {
@@ -90,17 +90,17 @@
90
90
  },
91
91
  "dependencies": {
92
92
  "crossws": "^0.4.12",
93
- "h3": "^2.0.1-rc.32",
93
+ "h3": "^2.0.1",
94
94
  "nostics": "^1.3.0",
95
95
  "pathe": "^2.0.3"
96
96
  },
97
97
  "devDependencies": {
98
- "@devframes/agentic": "1.2.0",
98
+ "@devframes/agentic": "1.2.1",
99
99
  "@standard-schema/spec": "^1.1.0",
100
100
  "birpc": "^4.2.0",
101
101
  "cac": "^7.0.0",
102
102
  "get-port-please": "^3.2.0",
103
- "immer": "^11.1.18",
103
+ "immer": "^11.1.21",
104
104
  "launch-editor": "^2.14.1",
105
105
  "mlly": "^1.8.2",
106
106
  "mrmime": "^2.0.1",