@jini-ai/agentic 0.6.16 → 0.6.19

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @jini-ai/agentic
2
2
 
3
+ ## 0.6.19
4
+
5
+ - Export `@jini-ai/agentic/core/handle` so render workers can use the existing handle helpers without loading the core barrel.
6
+
7
+ ## 0.6.17
8
+
9
+ ### Patch Changes
10
+
11
+ - Version bump only.
12
+
3
13
  ## 0.6.13
4
14
 
5
15
  ## 0.6.12
@@ -395,20 +395,23 @@ function supportedNavigationInput({ input, published }, _options = {}) {
395
395
  function navigationTextFields({ pages }, _options = {}) {
396
396
  return pages.some(page => page.navigation !== undefined) ? ['pages[].navigation.label', 'pages[].navigation.description'] : [];
397
397
  }
398
- /** Check cancellation at the actual effect boundary, including after asynchronous observations. */
398
+ /** Check cancellation at the actual effect boundary, including after asynchronous observations.
399
+ * Each method forwards the caller's arguments verbatim (`...call`), never a re-spelled
400
+ * `(args, options)`: a transparent decorator must not change arity, or a driver sees an explicit
401
+ * `undefined` options argument that no caller passed. */
399
402
  function cancellablePageDriver({ driver, signal }) {
400
403
  return { ...driver,
401
- findElements: (args, options) => driver.findElements(args, options),
402
- listPages: (args, options) => driver.listPages(args, options),
403
- describeField: (args, options) => driver.describeField(args, options),
404
+ findElements: (...call) => driver.findElements(...call),
405
+ listPages: (...call) => driver.listPages(...call),
406
+ describeField: (...call) => driver.describeField(...call),
404
407
  ...(driver.describeState ? { describeState: driver.describeState.bind(driver) } : {}),
405
408
  ...(driver.settle ? { settle: driver.settle.bind(driver) } : {}),
406
- highlight: (args, options) => { signal.throwIfAborted(); return driver.highlight(args, options); },
407
- scrollTo: (args, options) => { signal.throwIfAborted(); return driver.scrollTo(args, options); },
408
- click: (args, options) => { signal.throwIfAborted(); return driver.click(args, options); },
409
- fill: (args, options) => { signal.throwIfAborted(); return driver.fill(args, options); },
410
- selectOption: (args, options) => { signal.throwIfAborted(); return driver.selectOption(args, options); },
411
- navigate: (args, options) => { signal.throwIfAborted(); return driver.navigate(args, options); },
409
+ highlight: (...call) => { signal.throwIfAborted(); return driver.highlight(...call); },
410
+ scrollTo: (...call) => { signal.throwIfAborted(); return driver.scrollTo(...call); },
411
+ click: (...call) => { signal.throwIfAborted(); return driver.click(...call); },
412
+ fill: (...call) => { signal.throwIfAborted(); return driver.fill(...call); },
413
+ selectOption: (...call) => { signal.throwIfAborted(); return driver.selectOption(...call); },
414
+ navigate: (...call) => { signal.throwIfAborted(); return driver.navigate(...call); },
412
415
  };
413
416
  }
414
417
  //# sourceMappingURL=page-executor.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jini-ai/agentic",
3
- "version": "0.6.16",
3
+ "version": "0.6.19",
4
4
  "description": "Framework-free agent-control layer: page-capability vocabulary and manifests, the data-agent-* markup convention, AG-UI projection, generative-UI streams, and A2UI.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -15,6 +15,7 @@
15
15
  "entries": {
16
16
  ".": "universal",
17
17
  "./core": "universal",
18
+ "./core/handle": "universal",
18
19
  "./dom": "browser",
19
20
  "./a2ui": "universal",
20
21
  "./skills/install": "node",
@@ -40,6 +41,11 @@
40
41
  "import": "./dist/core/index.js",
41
42
  "default": "./dist/core/index.js"
42
43
  },
44
+ "./core/handle": {
45
+ "types": "./dist/core/handle.d.ts",
46
+ "import": "./dist/core/handle.js",
47
+ "default": "./dist/core/handle.js"
48
+ },
43
49
  "./dom": {
44
50
  "types": "./dist/core/dom/index.d.ts",
45
51
  "import": "./dist/core/dom/index.js",
@@ -81,7 +87,7 @@
81
87
  "jsdom": "^25.0.1",
82
88
  "zod": "^3.25.76",
83
89
  "@jini-ai/core": "^0.6.13",
84
- "@jini-ai/protocol": "^0.6.16"
90
+ "@jini-ai/protocol": "^0.6.19"
85
91
  },
86
92
  "peerDependencies": {
87
93
  "@jini-ai/protocol": "^0.6.10",