@olonjs/cli 3.0.158 → 3.0.160

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.
@@ -1817,9 +1817,9 @@ cat << 'END_OF_FILE_CONTENT' > "package.json"
1817
1817
  "@tiptap/extension-link": "^2.11.5",
1818
1818
  "@tiptap/react": "^2.11.5",
1819
1819
  "@tiptap/starter-kit": "^2.11.5",
1820
- "@olonjs/core": "^1.1.26",
1821
- "@olonjs/react": "^0.1.9",
1822
- "@olonjs/studio": "^0.1.9",
1820
+ "@olonjs/core": "^1.1.28",
1821
+ "@olonjs/react": "^0.1.11",
1822
+ "@olonjs/studio": "^0.1.11",
1823
1823
  "class-variance-authority": "^0.7.1",
1824
1824
  "clsx": "^2.1.1",
1825
1825
  "lucide-react": "^0.474.0",
@@ -3176,7 +3176,7 @@ async function main() {
3176
3176
  try {
3177
3177
  await page.evaluate(
3178
3178
  async ({ toolName, slug, sectionId, fieldKey, value }) => {
3179
- const runtime = navigator.modelContextTesting;
3179
+ const runtime = document.modelContextTesting;
3180
3180
  if (!runtime?.executeTool) return;
3181
3181
  await runtime.executeTool(
3182
3182
  toolName,
@@ -3242,7 +3242,7 @@ async function main() {
3242
3242
  }
3243
3243
 
3244
3244
  const toolNames = await page.evaluate(() => {
3245
- const runtime = navigator.modelContextTesting;
3245
+ const runtime = document.modelContextTesting;
3246
3246
  return runtime?.listTools?.().map((tool) => tool.name) ?? [];
3247
3247
  });
3248
3248
  if (!toolNames.includes(target.toolName)) {
@@ -3251,9 +3251,9 @@ async function main() {
3251
3251
 
3252
3252
  const rawResult = await page.evaluate(
3253
3253
  async ({ toolName, slug, sectionId, fieldKey, value }) => {
3254
- const runtime = navigator.modelContextTesting;
3254
+ const runtime = document.modelContextTesting;
3255
3255
  if (!runtime?.executeTool) {
3256
- throw new Error('navigator.modelContextTesting.executeTool is unavailable.');
3256
+ throw new Error('document.modelContextTesting.executeTool is unavailable.');
3257
3257
  }
3258
3258
  return runtime.executeTool(
3259
3259
  toolName,
@@ -1817,9 +1817,9 @@ cat << 'END_OF_FILE_CONTENT' > "package.json"
1817
1817
  "@tiptap/extension-link": "^2.11.5",
1818
1818
  "@tiptap/react": "^2.11.5",
1819
1819
  "@tiptap/starter-kit": "^2.11.5",
1820
- "@olonjs/core": "^1.1.26",
1821
- "@olonjs/react": "^0.1.9",
1822
- "@olonjs/studio": "^0.1.9",
1820
+ "@olonjs/core": "^1.1.28",
1821
+ "@olonjs/react": "^0.1.11",
1822
+ "@olonjs/studio": "^0.1.11",
1823
1823
  "class-variance-authority": "^0.7.1",
1824
1824
  "clsx": "^2.1.1",
1825
1825
  "lucide-react": "^0.474.0",
@@ -3176,7 +3176,7 @@ async function main() {
3176
3176
  try {
3177
3177
  await page.evaluate(
3178
3178
  async ({ toolName, slug, sectionId, fieldKey, value }) => {
3179
- const runtime = navigator.modelContextTesting;
3179
+ const runtime = document.modelContextTesting;
3180
3180
  if (!runtime?.executeTool) return;
3181
3181
  await runtime.executeTool(
3182
3182
  toolName,
@@ -3242,7 +3242,7 @@ async function main() {
3242
3242
  }
3243
3243
 
3244
3244
  const toolNames = await page.evaluate(() => {
3245
- const runtime = navigator.modelContextTesting;
3245
+ const runtime = document.modelContextTesting;
3246
3246
  return runtime?.listTools?.().map((tool) => tool.name) ?? [];
3247
3247
  });
3248
3248
  if (!toolNames.includes(target.toolName)) {
@@ -3251,9 +3251,9 @@ async function main() {
3251
3251
 
3252
3252
  const rawResult = await page.evaluate(
3253
3253
  async ({ toolName, slug, sectionId, fieldKey, value }) => {
3254
- const runtime = navigator.modelContextTesting;
3254
+ const runtime = document.modelContextTesting;
3255
3255
  if (!runtime?.executeTool) {
3256
- throw new Error('navigator.modelContextTesting.executeTool is unavailable.');
3256
+ throw new Error('document.modelContextTesting.executeTool is unavailable.');
3257
3257
  }
3258
3258
  return runtime.executeTool(
3259
3259
  toolName,