@agimon-ai/po-git 0.0.0-alpha.145 → 0.0.0-alpha.147

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.
@@ -1,4 +1,4 @@
1
- import { createApiClient, defineActivityGroup, defineChannelFile, defineFill, defineGlobalStore, defineNativePlugin, defineSessionStore, defineWebLifecycle, nativeApiTransport, sessionApiAddress } from "@agimon-ai/po-core/native";
1
+ import { createApiClient, defineActivityGroup, defineChannelFile, defineFill, defineHostStore, defineNativePlugin, defineSessionStore, defineWebLifecycle, nativeApiTransport, sessionApiAddress } from "@agimon-ai/po-core/native";
2
2
  import { View } from "react-native-unistyles/components/native/View";
3
3
  import { Text } from "react-native-unistyles/components/native/Text";
4
4
  import { ScrollView } from "react-native-unistyles/components/native/ScrollView";
@@ -491,7 +491,7 @@ const worktreeActivity = defineSessionStore({
491
491
  errorTarget: void 0
492
492
  });
493
493
  /** Captures the clicked card, so a focus change cannot retarget an open dialog. */
494
- const worktreeCreateDialog = defineGlobalStore(null);
494
+ const worktreeCreateDialog = defineHostStore(null);
495
495
  /**
496
496
  * The page's hub socket sender, held for as long as the plugin runs.
497
497
  *
@@ -499,7 +499,7 @@ const worktreeCreateDialog = defineGlobalStore(null);
499
499
  * sent in that window is dropped rather than queued, because a queue would
500
500
  * replay a worktree create against a socket that has since changed sessions.
501
501
  */
502
- const worktreeSender = defineGlobalStore(void 0);
502
+ const worktreeSender = defineHostStore(void 0);
503
503
  /** Binds the page's hub socket. The plugin host calls this once per page. */
504
504
  function startWorktreeRuntime(runtime) {
505
505
  const send = (frame) => {
@@ -1165,7 +1165,7 @@ const gitChanges = defineSessionStore({
1165
1165
  errorTarget: void 0
1166
1166
  });
1167
1167
  /** The page's hub socket sender; undefined before start and after dispose, when a command is dropped. */
1168
- const changesSender = defineGlobalStore(void 0);
1168
+ const changesSender = defineHostStore(void 0);
1169
1169
  /** Binds the page's hub socket for sync commands. The plugin host calls this once per page. */
1170
1170
  function startGitChangesRuntime(runtime) {
1171
1171
  const send = (frame) => {