peachsim 0.1.2472 → 0.1.2473

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 (125) hide show
  1. package/cli/catalog/meta.ts +1 -1
  2. package/cli/commands/canvas.ts +14 -0
  3. package/dist-lib/agent-daemon-client.cjs +1 -1
  4. package/dist-lib/agent-events.cjs +1 -1
  5. package/dist-lib/attached-projects.cjs +1 -1
  6. package/dist-lib/auth/shared-session.cjs +1 -1
  7. package/dist-lib/backend-origin.cjs +1 -1
  8. package/dist-lib/beta.cjs +1 -1
  9. package/dist-lib/beta.mjs +2 -2
  10. package/dist-lib/bridge-constants.cjs +1 -1
  11. package/dist-lib/bridge-contract-input.cjs +1 -1
  12. package/dist-lib/bridge-contract-input.mjs +5 -5
  13. package/dist-lib/bridge-contract.cjs +1 -1
  14. package/dist-lib/bridge-contract.mjs +3 -3
  15. package/dist-lib/bundle-channel.cjs +6892 -6892
  16. package/dist-lib/capture-contract.cjs +1 -1
  17. package/dist-lib/capture-contract.mjs +3 -3
  18. package/dist-lib/cloud-contract.cjs +1 -1
  19. package/dist-lib/cloud-contract.mjs +3 -3
  20. package/dist-lib/cloud-test-args.cjs +1 -1
  21. package/dist-lib/cloud-test-args.mjs +2 -2
  22. package/dist-lib/cloud.cjs +1 -1
  23. package/dist-lib/cloud.mjs +7 -7
  24. package/dist-lib/config.cjs +1 -1
  25. package/dist-lib/config.mjs +5 -5
  26. package/dist-lib/detox/index.cjs +1 -1
  27. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  28. package/dist-lib/esm-chunks/{acorn-QIMLXJTI.mjs → acorn-G4N624FT.mjs} +3 -3
  29. package/dist-lib/esm-chunks/{chunk-45VKM7N5.mjs → chunk-25CJH66Y.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-ZSITGCQ4.mjs → chunk-3LHH5ZZL.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-BERSJG2N.mjs → chunk-4FBV62HT.mjs} +1 -1
  32. package/dist-lib/esm-chunks/{chunk-STZKGNIY.mjs → chunk-4HCM7GVM.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-GJI5PS7F.mjs → chunk-5CJUDVSK.mjs} +4644 -4643
  34. package/dist-lib/esm-chunks/{chunk-LODJ5JY3.mjs → chunk-7B7HBE3A.mjs} +3 -3
  35. package/dist-lib/esm-chunks/{chunk-DBL2SPLB.mjs → chunk-C45JGE6T.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-MER2MOVT.mjs → chunk-C7BYMYZA.mjs} +1 -1
  37. package/dist-lib/esm-chunks/{chunk-I4NQBHWT.mjs → chunk-F3OWNJFG.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-NOIPV2UU.mjs → chunk-G25OTHZS.mjs} +1 -1
  39. package/dist-lib/esm-chunks/{chunk-TBT2N4IT.mjs → chunk-JUIFIII2.mjs} +4 -4
  40. package/dist-lib/esm-chunks/{chunk-NQ4WLOZ2.mjs → chunk-KF7APQAG.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-4YR6CPOD.mjs → chunk-MT647HEV.mjs} +1 -1
  42. package/dist-lib/esm-chunks/{chunk-KY5MCRDQ.mjs → chunk-NK46Q4VM.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-4TLFZLBT.mjs → chunk-O5IM4Q5E.mjs} +3 -3
  44. package/dist-lib/esm-chunks/{chunk-BLJMIS4D.mjs → chunk-PL2DO25T.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-WLK6TCKI.mjs → chunk-QNIC4BCW.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-57KHHRE4.mjs → chunk-RD4ITXCP.mjs} +1 -1
  47. package/dist-lib/esm-chunks/{chunk-BQ7AFT33.mjs → chunk-ST62ZOF4.mjs} +4 -4
  48. package/dist-lib/esm-chunks/{chunk-CIRUDWWA.mjs → chunk-VB2ZJNQV.mjs} +2 -2
  49. package/dist-lib/esm-chunks/{metro-layout-parser-3LHDZADO.mjs → metro-layout-parser-26YJYERC.mjs} +3 -3
  50. package/dist-lib/esm-chunks/{swift-package-prebuilt-3L57A5BV.mjs → swift-package-prebuilt-UFYUISPT.mjs} +9 -9
  51. package/dist-lib/esm-chunks/{swift-sdk-app-module-IOLCLSPU.mjs → swift-sdk-app-module-2365NBUY.mjs} +12 -12
  52. package/dist-lib/esm-chunks/{swift-sdk-image-BDVQHA62.mjs → swift-sdk-image-I2KHPZCV.mjs} +12 -12
  53. package/dist-lib/expo-swift-bundle.cjs +6419 -6419
  54. package/dist-lib/expo-swift-metadata.cjs +1 -1
  55. package/dist-lib/expo-swift-metadata.mjs +7 -7
  56. package/dist-lib/home-paths.cjs +1 -1
  57. package/dist-lib/host/bridge-host.cjs +6971 -6971
  58. package/dist-lib/host/fetch-proxy-handler.cjs +216 -216
  59. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  60. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  61. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  62. package/dist-lib/host/websocket-proxy.cjs +1 -1
  63. package/dist-lib/index.cjs +1 -1
  64. package/dist-lib/kotlin-host.cjs +1 -1
  65. package/dist-lib/menu.cjs +1 -1
  66. package/dist-lib/menu.mjs +3 -3
  67. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  68. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  69. package/dist-lib/metro-production-bundle.cjs +1 -1
  70. package/dist-lib/metro-production-bundle.mjs +4 -4
  71. package/dist-lib/native-app-identity-project.cjs +185 -185
  72. package/dist-lib/native-app-identity-project.mjs +14 -14
  73. package/dist-lib/native-app-identity.cjs +1 -1
  74. package/dist-lib/native-app-identity.mjs +6 -6
  75. package/dist-lib/native-firebase-metadata.cjs +1 -1
  76. package/dist-lib/native-firebase-metadata.mjs +3 -3
  77. package/dist-lib/pdfium-raster.cjs +1 -1
  78. package/dist-lib/pdfium-raster.mjs +2 -2
  79. package/dist-lib/plist.cjs +1 -1
  80. package/dist-lib/plist.mjs +3 -3
  81. package/dist-lib/profiles.cjs +1 -1
  82. package/dist-lib/public-brand.cjs +1 -1
  83. package/dist-lib/public-origins-lib-esm.json +76 -76
  84. package/dist-lib/public-origins-lib.json +76 -76
  85. package/dist-lib/react-native-host-modules.cjs +1 -1
  86. package/dist-lib/react-native-host-modules.mjs +2 -2
  87. package/dist-lib/reap-browser.cjs +1 -1
  88. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  89. package/dist-lib/sdk.cjs +1 -1
  90. package/dist-lib/sdk.mjs +7 -7
  91. package/dist-lib/skills.cjs +3026 -3026
  92. package/dist-lib/swift-compile.cjs +5181 -5181
  93. package/dist-lib/swift-compile.mjs +9 -9
  94. package/dist-lib/swift-package.cjs +1 -1
  95. package/dist-lib/swift-package.mjs +3 -3
  96. package/dist-lib/swift-submit.cjs +1 -1
  97. package/dist-lib/swift-submit.mjs +5 -5
  98. package/dist-lib/swift-svg-raster.cjs +1 -1
  99. package/dist-lib/swift-svg-raster.mjs +2 -2
  100. package/dist-lib/swift-toolchain.cjs +1 -1
  101. package/dist-lib/swift.cjs +1 -1
  102. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  103. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
  104. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
  105. package/dist-lib/vendor/@xmldom/xmldom.cjs +1 -1
  106. package/dist-lib/vendor/acorn.cjs +1 -1
  107. package/dist-lib/vendor/bplist-parser.cjs +1 -1
  108. package/dist-lib/vendor/ignore.cjs +1 -1
  109. package/dist-lib/vendor/magic-string.cjs +1 -1
  110. package/dist-lib/vendor/plist.cjs +1 -1
  111. package/dist-lib/vendor/smol-toml.cjs +1 -1
  112. package/dist-lib/vendor/stream-json.cjs +1 -1
  113. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  114. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  115. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  116. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  117. package/dist-lib/vendor/sucrase.cjs +1 -1
  118. package/dist-lib/vendor/terser.cjs +1 -1
  119. package/dist-lib/vendor/valibot.cjs +1 -1
  120. package/dist-lib/vendor/ws.cjs +1 -1
  121. package/dist-lib/vendor/zod.cjs +1 -1
  122. package/dist-lib/worklet-executable.cjs +1 -1
  123. package/dist-lib/worklet-executable.mjs +3 -3
  124. package/package.json +1 -1
  125. package/src/swift-sdk-image-map.ts +2 -2
@@ -1374,7 +1374,7 @@ export const cliCommandMetas: CliCommandMeta[] = [
1374
1374
  title: 'peach canvas',
1375
1375
  description: 'lay out live apps and maps of an app on one canvas',
1376
1376
  summary:
1377
- 'Runs many apps live on one canvas, each on its own device, with pinch and scroll to move around it. A click selects an item and a double click enters it: the view fits it and its app takes the pointer and the scroll wheel until you click outside it or press Escape. `peach canvas enter <id>` points peach commands at an item’s app without entering it on screen, so a person can still inspect it; without an id they return to the canvas. Dragging an item moves it, and the next command that changes the canvas saves where it was dropped. `peach canvas open` opens a canvas sim that fills its window. `peach canvas place` puts a built-in app, or a Metro bundle with `--bundle`, on the canvas. It joins its group on a grouped board, or goes right of the last item. Use `--at` to place it at a specific corner. Every change rewrites the working file, peach-canvas.json, and posts the whole canvas to the canvas sim; `peach canvas push` posts it again after the sim reloads. `peach canvas describe` returns the saved groups, items, focus and links as JSON. `peach canvas freeze` holds an item on its last frame with its app state until `peach canvas live` resumes it. `peach canvas map` puts a map made with `peach map` on the canvas beside whatever is already there: every mapped route is a live app launched by its deep link, linked by the taps between screens and laid out as the published map is. A route shows its capture until you zoom in far enough for its app to start, and running the command again replaces that map where it sat. `peach canvas group` and `peach canvas arrange` fit the layout to the current window. Arrange can sort items with `--by`, set a fixed column count with `--columns`, or lay each map out along its links with `--flow`. An item drawn at a quarter of its size or smaller holds its last frame until you zoom in.',
1377
+ 'Runs many apps live on one canvas, each on its own device, with pinch and scroll to move around it. A click selects an item and a double click enters it: the view fits it and its app takes the pointer and the scroll wheel until you click outside it or press Escape. `peach canvas enter <id>` points peach commands at an item’s app without entering it on screen, so a person can still inspect it; without an id they return to the canvas. Dragging an item moves it, and the next command that changes the canvas saves where it was dropped. `peach canvas open` opens a canvas sim that fills its window. `peach canvas place` puts a built-in app, or a Metro bundle with `--bundle`, on the canvas. It joins its group on a grouped board, or goes right of the last item. Use `--at` to place it at a specific corner. Every change rewrites the working file, peach-canvas.json, and posts the whole canvas to the canvas sim; `peach canvas push` posts it again after the sim reloads. `peach canvas describe` returns the saved groups, items, focus and links as JSON. `peach canvas freeze` holds an item on its last frame with its app state until `peach canvas live` resumes it. `peach canvas map` puts a map made with `peach map` on the canvas beside whatever is already there: every mapped route is a live app launched by its deep link, linked by the taps between screens and laid out as the published map is. A route shows its capture until you zoom in far enough for its app to start, and running the command again replaces that map where it sat. `peach canvas group` and `peach canvas arrange` fit the layout to the current window. `peach canvas agent` puts the caller on an item and tags that item with the agent’s name and machine, so a board grouped by agent or machine moves the item into its agent’s group. Arrange can sort items with `--by`, set a fixed column count with `--columns`, or lay each map out along its links with `--flow`. An item drawn at a quarter of its size or smaller holds its last frame until you zoom in.',
1378
1378
  order: 103,
1379
1379
  usage: [
1380
1380
  'peach canvas open',
@@ -882,6 +882,7 @@ async function dispatch(
882
882
  // the same id the cli puts on the actions it drives (command-agent.ts)
883
883
  const agentId = flag(args, '--id') ?? getCliIdentity().key
884
884
  let command: unknown
885
+ let worked: { item: CanvasItem; agent: string; machine: string } | null = null
885
886
  if (verb === 'follow') {
886
887
  if (!target) throw new Error('follow takes an agent id or off')
887
888
  command = { kind: 'follow-agent', agentId: target === 'off' ? null : target }
@@ -905,10 +906,23 @@ async function dispatch(
905
906
  'agent takes --id, --name and --step, with an optional agent action JSON',
906
907
  )
907
908
  command = { kind: 'agent', agent }
909
+ if (item.agent !== agent.name || item.machine !== agent.machine)
910
+ worked = { item, agent: agent.name, machine: agent.machine }
908
911
  }
909
912
  const bridge = createBridgeFromParsed(parsed)
910
913
  try {
911
914
  await evalInBridge(bridge, commandCode(command))
915
+ // the item an agent works on carries its name and machine, so grouping by
916
+ // agent or machine follows the agents
917
+ if (worked) {
918
+ const state = await evalInBridge(bridge, PAGE_STATE_CODE)
919
+ applyCanvasMoves(canvas, state)
920
+ worked.item.agent = worked.agent
921
+ worked.item.machine = worked.machine
922
+ if (canvas.groupBy === 'agent' || canvas.groupBy === 'machine')
923
+ arrangeGrid(canvas, [], isRecord(state) ? state.pane : undefined)
924
+ await pushCanvas(file, canvas, bridge)
925
+ }
912
926
  } finally {
913
927
  bridge.close()
914
928
  }
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2472 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2473 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2472 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2473 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2472 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2473 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2472 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2473 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2472 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2473 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/beta.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2472 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2473 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/beta.mjs CHANGED
@@ -1,5 +1,5 @@
1
- /*! peach v0.1.2472 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-STZKGNIY.mjs";
1
+ /*! peach v0.1.2473 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-4HCM7GVM.mjs";
3
3
 
4
4
  // src/beta.ts
5
5
  var IS_BETA = true;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2472 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2473 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2472 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2473 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2472 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2473 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  BridgeInputError,
4
4
  SEMANTIC_WAIT_MAX_TIMEOUT_MS,
@@ -17,10 +17,10 @@ import {
17
17
  parseSemanticWaitOptions,
18
18
  parseStateOptions,
19
19
  parseTapTarget
20
- } from "./esm-chunks/chunk-4TLFZLBT.mjs";
21
- import "./esm-chunks/chunk-I4NQBHWT.mjs";
22
- import "./esm-chunks/chunk-ZSITGCQ4.mjs";
23
- import "./esm-chunks/chunk-STZKGNIY.mjs";
20
+ } from "./esm-chunks/chunk-O5IM4Q5E.mjs";
21
+ import "./esm-chunks/chunk-F3OWNJFG.mjs";
22
+ import "./esm-chunks/chunk-3LHH5ZZL.mjs";
23
+ import "./esm-chunks/chunk-4HCM7GVM.mjs";
24
24
  export {
25
25
  BridgeInputError,
26
26
  SEMANTIC_WAIT_MAX_TIMEOUT_MS,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2472 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2473 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2472 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2473 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  HEADLESS_TENANT_FETCH_HUNG_MARKER,
4
4
  REFUSED_PERFORM_STEP_TYPES,
@@ -13,8 +13,8 @@ import {
13
13
  readyProbeHasContent,
14
14
  readyProbeIsReady,
15
15
  refusedPerformStepReason
16
- } from "./esm-chunks/chunk-I4NQBHWT.mjs";
17
- import "./esm-chunks/chunk-STZKGNIY.mjs";
16
+ } from "./esm-chunks/chunk-F3OWNJFG.mjs";
17
+ import "./esm-chunks/chunk-4HCM7GVM.mjs";
18
18
  export {
19
19
  HEADLESS_TENANT_FETCH_HUNG_MARKER,
20
20
  REFUSED_PERFORM_STEP_TYPES,