@agimon-ai/po-codemode 0.0.1-alpha.102 → 0.0.1-alpha.103

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 +1 @@
1
- {"version":3,"file":"apiContracts.cjs","names":["defineApiContract"],"sources":["../src/schemas/apiContracts.ts"],"sourcesContent":["import { defineApiContract } from '@agimon-ai/po-core/apiContracts';\n\n/** This server plugin contributes agent tools, commands or lifecycle only, with no separate HTTP or socket surface. */\nexport const apiContracts = defineApiContract({ version: 1, http: [], sockets: [], dynamic: [] });\nexport default apiContracts;\n"],"mappings":";;;;;;AAGA,MAAa,gBAAA,4CAAeA,CAAAA,CAAAA,kBAAAA,CAAkB;CAAE,SAAS;CAAG,MAAM,CAAC;CAAG,SAAS,CAAC;CAAG,SAAS,CAAC;AAAE,CAAC"}
1
+ {"version":3,"file":"apiContracts.cjs","names":["defineApiContract"],"sources":["../src/schemas/apiContracts.ts"],"sourcesContent":["import { defineApiContract } from '@agimon-ai/po-core/apiContracts';\n\n/** This server plugin contributes agent tools, commands or lifecycle only, with no separate HTTP or socket surface. */\nexport const apiContracts = defineApiContract({ version: 1, http: [], sockets: [], dynamic: [] });\nexport default apiContracts;\n"],"mappings":";;;;;;AAGA,MAAa,gBAAA,G,yCAAeA,CAAAA,CAAAA,kBAAAA,CAAkB;CAAE,SAAS;CAAG,MAAM,CAAC;CAAG,SAAS,CAAC;CAAG,SAAS,CAAC;AAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agimon-ai/po-codemode",
3
- "version": "0.0.1-alpha.102",
3
+ "version": "0.0.1-alpha.103",
4
4
  "description": "Code mode for Po sessions: discover and exec over namespaces other packages contribute",
5
5
  "keywords": [
6
6
  "ai",
@@ -63,18 +63,18 @@
63
63
  "access": "public"
64
64
  },
65
65
  "dependencies": {
66
- "@agimon-ai/po-config": "0.0.0-alpha.129",
67
- "@agimon-ai/po-core": "0.0.0-alpha.129",
68
- "@agimon-ai/po-web-components": "0.0.0-alpha.129",
66
+ "@agimon-ai/po-config": "0.0.0-alpha.130",
67
+ "@agimon-ai/po-core": "0.0.0-alpha.130",
68
+ "@agimon-ai/po-web-components": "0.0.0-alpha.130",
69
69
  "@deepseek-ai/cordis": "4.0.5",
70
70
  "react": "19.3.1",
71
71
  "typebox": "1.4.2"
72
72
  },
73
73
  "devDependencies": {
74
- "@agimon-ai/po-build": "0.0.0-alpha.129",
75
- "@agimon-ai/po-native-components": "0.0.0-alpha.129",
76
- "@agimon-ai/vibe-lint-plugin-po-extension": "0.0.0-alpha.129",
77
- "@agimon-ai/vibe-lint-plugin-po-web": "0.0.0-alpha.129",
74
+ "@agimon-ai/po-build": "0.0.0-alpha.130",
75
+ "@agimon-ai/po-native-components": "0.0.0-alpha.130",
76
+ "@agimon-ai/vibe-lint-plugin-po-extension": "0.0.0-alpha.130",
77
+ "@agimon-ai/vibe-lint-plugin-po-web": "0.0.0-alpha.130",
78
78
  "@earendil-works/pi-coding-agent": "1.5.0",
79
79
  "@types/node": "26.6.5",
80
80
  "@types/react": "19.3.0",
@@ -88,7 +88,7 @@
88
88
  "vitest": "5.0.4"
89
89
  },
90
90
  "peerDependencies": {
91
- "@agimon-ai/po-native-components": "0.0.0-alpha.129",
91
+ "@agimon-ai/po-native-components": "0.0.0-alpha.130",
92
92
  "@earendil-works/pi-coding-agent": "1.5.0",
93
93
  "react-native": "0.88.1",
94
94
  "react-native-unistyles": "^3.5.3"
@@ -29,7 +29,7 @@ return { title: result.title, text: result.text.slice(0, 4000) };
29
29
 
30
30
  - Only `http:` and `https:` URLs with a public host name are allowed. IP addresses, `localhost` and other private names, cloud metadata hosts, and the service's own domain are refused, including when a page redirects or loads a resource there.
31
31
  - When the daily allowance is used up, calls reject with a message saying so. Tell the person; it resets the next UTC day.
32
- - The browser carries no sign-in. Pages behind a login show their login page.
32
+ - The browser carries no sign-in. Pages behind a login show their login page. When `discover` also lists `browser`, use it instead for multi-step work, clicks, forms or a sign-in the person does for you (see `codemode-how-to-browse`).
33
33
 
34
34
  ## Mistakes to avoid
35
35
 
@@ -19,3 +19,7 @@ return result.stdout.split('\n').filter(Boolean);
19
19
  - Commands use the session's cwd and admitted environment, without inheriting the server process environment. There are no cwd or environment overrides.
20
20
  - This is a trusted exec capability, not Runner supervision. No Runner IDs, background option, interactive terminal, progress stream or persistent logs are created. Do not launch background processes here. Use the standalone Runner `bash` tool for long-lived or interactive work; it stays visible.
21
21
  - Do not use this capability to bypass a blocked tool or an approval requirement. Do not print credentials or pass secret output into another namespace.
22
+
23
+ ## Po Cloud
24
+
25
+ On Po Cloud the shell is the session's Linux container, when it has one. The first command after about five minutes idle starts it and takes a few seconds, so give that call a longer `timeoutMs`. Only `/workspace` persists between commands; processes do not. Outbound HTTP and HTTPS follow the session's network policy. Without a container, calls fail with a shell-unavailable error.