@agimon-ai/po-loop 0.0.0-alpha.3 → 0.0.0-alpha.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agimon-ai/po-loop",
3
- "version": "0.0.0-alpha.3",
3
+ "version": "0.0.0-alpha.4",
4
4
  "description": "Session-scoped recurring prompt scheduler and loop controls for Pi coding agents.",
5
5
  "keywords": [
6
6
  "ai",
@@ -67,35 +67,35 @@
67
67
  "access": "public"
68
68
  },
69
69
  "dependencies": {
70
- "@agimon-ai/po-core": "0.0.0-alpha.3",
71
- "@agimon-ai/po-minor-mode": "0.0.0-alpha.3",
72
- "@agimon-ai/po-ui": "0.0.0-alpha.3",
73
- "@agimon-ai/po-web-components": "0.0.0-alpha.3",
70
+ "@agimon-ai/po-core": "0.0.0-alpha.4",
71
+ "@agimon-ai/po-minor-mode": "0.0.0-alpha.4",
72
+ "@agimon-ai/po-ui": "0.0.0-alpha.4",
73
+ "@agimon-ai/po-web-components": "0.0.0-alpha.4",
74
74
  "@deepseek-ai/cordis": "4.0.4",
75
75
  "croner": "10.0.1",
76
- "typebox": "1.3.36"
76
+ "typebox": "1.3.37"
77
77
  },
78
78
  "devDependencies": {
79
- "@agimon-ai/po-build": "0.0.0-alpha.3",
80
- "@agimon-ai/po-native-components": "0.0.0-alpha.3",
79
+ "@agimon-ai/po-build": "0.0.0-alpha.4",
80
+ "@agimon-ai/po-native-components": "0.0.0-alpha.4",
81
81
  "@earendil-works/pi-coding-agent": "1.2.0",
82
- "@types/node": "25.9.9",
82
+ "@types/node": "26.6.5",
83
83
  "@types/react": "19.3.0",
84
84
  "@types/react-dom": "19.3.0",
85
- "@vitest/coverage-v8": "5.0.3",
85
+ "@vitest/coverage-v8": "5.0.4",
86
86
  "react": "19.3.0",
87
87
  "react-dom": "19.3.0",
88
- "react-native": "0.87.1",
89
- "react-native-unistyles": "3.5.2",
88
+ "react-native": "0.86.3",
89
+ "react-native-unistyles": "3.5.3",
90
90
  "tsdown": "0.23.1",
91
91
  "typescript": "7.0.2",
92
- "vitest": "5.0.3"
92
+ "vitest": "5.0.4"
93
93
  },
94
94
  "peerDependencies": {
95
- "@agimon-ai/po-native-components": "0.0.0-alpha.3",
95
+ "@agimon-ai/po-native-components": "0.0.0-alpha.4",
96
96
  "@earendil-works/pi-coding-agent": "1.2.0",
97
- "react-native": "0.87.1",
98
- "react-native-unistyles": "3.5.2"
97
+ "react-native": "0.86.3",
98
+ "react-native-unistyles": "^3.5.3"
99
99
  },
100
100
  "peerDependenciesMeta": {
101
101
  "@earendil-works/pi-coding-agent": {
@@ -3,7 +3,7 @@ name: po-use-loop
3
3
  description: Create, inspect, and stop session-scoped interval, cron, and extension-contributed loops.
4
4
  ---
5
5
 
6
- # Use Doom Pi Loop
6
+ # Use Po Pi Loop
7
7
 
8
8
  Enable the Loop minor mode to expose `loop_list`, `loop_start`, and `loop_stop` to the agent. Enabling the mode does not create a loop. Disabling it hides agent tools but leaves existing loops and manual Activity controls available.
9
9
 
@@ -1,5 +1,5 @@
1
1
  /** The browser-only status that carries active Loop instances into the activity dock. */
2
- export const LOOP_VIEW_STATUS_KEY = 'doom-loop-instances';
2
+ export const LOOP_VIEW_STATUS_KEY = 'po-loop-instances';
3
3
 
4
4
  export type LoopStatusState = 'starting' | 'running' | 'stopping';
5
5
 
@@ -1,32 +0,0 @@
1
- //#region src/schemas/loopLaunchers.ts
2
- /** Provider-owned Cordis service for session-scoped recurring-loop launchers. */
3
- const DOOM_LOOP_LAUNCHERS_SERVICE = "doom/loop-launchers";
4
- function readDoomLoopLaunchers(context) {
5
- return context.get(DOOM_LOOP_LAUNCHERS_SERVICE);
6
- }
7
- function requireDoomLoopLaunchers(context) {
8
- const service = readDoomLoopLaunchers(context);
9
- if (!service) throw new Error("Doom loop launchers are unavailable. Load @agimon-ai/po-loop.");
10
- return service;
11
- }
12
- //#endregion
13
- Object.defineProperty(exports, "DOOM_LOOP_LAUNCHERS_SERVICE", {
14
- enumerable: true,
15
- get: function() {
16
- return DOOM_LOOP_LAUNCHERS_SERVICE;
17
- }
18
- });
19
- Object.defineProperty(exports, "readDoomLoopLaunchers", {
20
- enumerable: true,
21
- get: function() {
22
- return readDoomLoopLaunchers;
23
- }
24
- });
25
- Object.defineProperty(exports, "requireDoomLoopLaunchers", {
26
- enumerable: true,
27
- get: function() {
28
- return requireDoomLoopLaunchers;
29
- }
30
- });
31
-
32
- //# sourceMappingURL=loopLaunchers-CfXIHzJR.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loopLaunchers-CfXIHzJR.cjs","names":[],"sources":["../src/schemas/loopLaunchers.ts"],"sourcesContent":["import type { Context } from '@deepseek-ai/cordis';\n\n/** Provider-owned Cordis service for session-scoped recurring-loop launchers. */\nexport const DOOM_LOOP_LAUNCHERS_SERVICE = 'doom/loop-launchers';\n\nexport interface LoopLaunchRequest {\n readonly instanceId: string;\n readonly signal: AbortSignal;\n readonly input?: Readonly<Record<string, unknown>>;\n /** False for agent calls: a launcher must never open an operator dialog. */\n readonly interactive?: boolean;\n}\n\nexport interface StoppableLoop {\n readonly instanceId: string;\n readonly label?: string;\n readonly detail?: string;\n stop(reason?: string): void | Promise<void>;\n}\n\nexport interface LoopLauncherSummary {\n readonly id: string;\n readonly source: string;\n readonly label: string;\n readonly description?: string;\n /** JSON Schema for non-interactive launch configuration, validated by the launcher. */\n readonly inputSchema?: Readonly<Record<string, unknown>>;\n}\n\nexport interface LoopInstanceSnapshot {\n readonly instanceId: string;\n readonly launcherId: string;\n readonly launcherLabel: string;\n readonly label?: string;\n readonly detail?: string;\n readonly state: 'starting' | 'running' | 'stopping';\n readonly startedAt?: string;\n}\n\nexport interface LoopLauncherDefinition extends LoopLauncherSummary {\n launch(request: LoopLaunchRequest): Promise<StoppableLoop | undefined>;\n}\n\nexport interface LoopLauncherRegistration {\n readonly id: string;\n readonly generation: string;\n dispose(reason?: string): Promise<void>;\n}\n\n/** Direct registrar/control seam owned and provided by po-loop. */\nexport interface DoomLoopLaunchersService {\n readonly generation: string;\n register(definition: LoopLauncherDefinition): LoopLauncherRegistration;\n listLaunchers(): readonly LoopLauncherSummary[];\n listInstances(): readonly LoopInstanceSnapshot[];\n subscribe(listener: () => void): () => void;\n launch(\n launcherId: string,\n options?: {\n instanceId?: string;\n input?: Readonly<Record<string, unknown>>;\n interactive?: boolean;\n signal?: AbortSignal;\n },\n ): Promise<LoopInstanceSnapshot | undefined>;\n stop(instanceId: string, reason?: string): Promise<boolean>;\n stopAll(reason?: string): Promise<void>;\n dispose(reason?: string): Promise<void>;\n}\n\ndeclare module '@deepseek-ai/cordis' {\n interface Context {\n 'doom/loop-launchers': DoomLoopLaunchersService;\n }\n}\n\nexport function readDoomLoopLaunchers(context: Context): DoomLoopLaunchersService | undefined {\n return context.get(DOOM_LOOP_LAUNCHERS_SERVICE) as DoomLoopLaunchersService | undefined;\n}\n\nexport function requireDoomLoopLaunchers(context: Context): DoomLoopLaunchersService {\n const service = readDoomLoopLaunchers(context);\n if (!service) throw new Error('Doom loop launchers are unavailable. Load @agimon-ai/po-loop.');\n return service;\n}\n"],"mappings":";;AAGA,MAAa,8BAA8B;AAyE3C,SAAgB,sBAAsB,SAAwD;CAC5F,OAAO,QAAQ,IAAI,2BAA2B;AAChD;AAEA,SAAgB,yBAAyB,SAA4C;CACnF,MAAM,UAAU,sBAAsB,OAAO;CAC7C,IAAI,CAAC,SAAS,MAAM,IAAI,MAAM,+DAA+D;CAC7F,OAAO;AACT"}
@@ -1,15 +0,0 @@
1
- //#region src/schemas/loopLaunchers.ts
2
- /** Provider-owned Cordis service for session-scoped recurring-loop launchers. */
3
- const DOOM_LOOP_LAUNCHERS_SERVICE = "doom/loop-launchers";
4
- function readDoomLoopLaunchers(context) {
5
- return context.get(DOOM_LOOP_LAUNCHERS_SERVICE);
6
- }
7
- function requireDoomLoopLaunchers(context) {
8
- const service = readDoomLoopLaunchers(context);
9
- if (!service) throw new Error("Doom loop launchers are unavailable. Load @agimon-ai/po-loop.");
10
- return service;
11
- }
12
- //#endregion
13
- export { readDoomLoopLaunchers as n, requireDoomLoopLaunchers as r, DOOM_LOOP_LAUNCHERS_SERVICE as t };
14
-
15
- //# sourceMappingURL=loopLaunchers-CskBMAKF.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loopLaunchers-CskBMAKF.mjs","names":[],"sources":["../src/schemas/loopLaunchers.ts"],"sourcesContent":["import type { Context } from '@deepseek-ai/cordis';\n\n/** Provider-owned Cordis service for session-scoped recurring-loop launchers. */\nexport const DOOM_LOOP_LAUNCHERS_SERVICE = 'doom/loop-launchers';\n\nexport interface LoopLaunchRequest {\n readonly instanceId: string;\n readonly signal: AbortSignal;\n readonly input?: Readonly<Record<string, unknown>>;\n /** False for agent calls: a launcher must never open an operator dialog. */\n readonly interactive?: boolean;\n}\n\nexport interface StoppableLoop {\n readonly instanceId: string;\n readonly label?: string;\n readonly detail?: string;\n stop(reason?: string): void | Promise<void>;\n}\n\nexport interface LoopLauncherSummary {\n readonly id: string;\n readonly source: string;\n readonly label: string;\n readonly description?: string;\n /** JSON Schema for non-interactive launch configuration, validated by the launcher. */\n readonly inputSchema?: Readonly<Record<string, unknown>>;\n}\n\nexport interface LoopInstanceSnapshot {\n readonly instanceId: string;\n readonly launcherId: string;\n readonly launcherLabel: string;\n readonly label?: string;\n readonly detail?: string;\n readonly state: 'starting' | 'running' | 'stopping';\n readonly startedAt?: string;\n}\n\nexport interface LoopLauncherDefinition extends LoopLauncherSummary {\n launch(request: LoopLaunchRequest): Promise<StoppableLoop | undefined>;\n}\n\nexport interface LoopLauncherRegistration {\n readonly id: string;\n readonly generation: string;\n dispose(reason?: string): Promise<void>;\n}\n\n/** Direct registrar/control seam owned and provided by po-loop. */\nexport interface DoomLoopLaunchersService {\n readonly generation: string;\n register(definition: LoopLauncherDefinition): LoopLauncherRegistration;\n listLaunchers(): readonly LoopLauncherSummary[];\n listInstances(): readonly LoopInstanceSnapshot[];\n subscribe(listener: () => void): () => void;\n launch(\n launcherId: string,\n options?: {\n instanceId?: string;\n input?: Readonly<Record<string, unknown>>;\n interactive?: boolean;\n signal?: AbortSignal;\n },\n ): Promise<LoopInstanceSnapshot | undefined>;\n stop(instanceId: string, reason?: string): Promise<boolean>;\n stopAll(reason?: string): Promise<void>;\n dispose(reason?: string): Promise<void>;\n}\n\ndeclare module '@deepseek-ai/cordis' {\n interface Context {\n 'doom/loop-launchers': DoomLoopLaunchersService;\n }\n}\n\nexport function readDoomLoopLaunchers(context: Context): DoomLoopLaunchersService | undefined {\n return context.get(DOOM_LOOP_LAUNCHERS_SERVICE) as DoomLoopLaunchersService | undefined;\n}\n\nexport function requireDoomLoopLaunchers(context: Context): DoomLoopLaunchersService {\n const service = readDoomLoopLaunchers(context);\n if (!service) throw new Error('Doom loop launchers are unavailable. Load @agimon-ai/po-loop.');\n return service;\n}\n"],"mappings":";;AAGA,MAAa,8BAA8B;AAyE3C,SAAgB,sBAAsB,SAAwD;CAC5F,OAAO,QAAQ,IAAI,2BAA2B;AAChD;AAEA,SAAgB,yBAAyB,SAA4C;CACnF,MAAM,UAAU,sBAAsB,OAAO;CAC7C,IAAI,CAAC,SAAS,MAAM,IAAI,MAAM,+DAA+D;CAC7F,OAAO;AACT"}