@agimon-ai/po-read 0.0.0-alpha.129 → 0.0.0-alpha.130

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"}
@@ -1 +1 @@
1
- {"version":3,"file":"server.cjs","names":["defineServerTool","PO_FS_SERVICE","requirePoFs","createHeadlessReadTool","defineServerPlugin","toolRead"],"sources":["../../src/extensions/workspaces/sessions/(backend)/tool/read.server.ts","../../generated/server.ts"],"sourcesContent":["import { defineServerTool } from '@agimon-ai/po-core/extensionFile';\nimport { PO_FS_SERVICE, requirePoFs, type FileSystem } from '@agimon-ai/po-core/platform';\nimport type { PoServerPluginContext } from '@agimon-ai/po-core/serverPlugin';\n\nimport { createHeadlessReadTool } from '../../../../../services/readTool';\n\nexport default defineServerTool(({ context }: PoServerPluginContext) => {\n let filesystem: FileSystem | undefined;\n context.inject([PO_FS_SERVICE], (scoped) => {\n const bound = requirePoFs(scoped);\n filesystem = bound;\n return () => {\n if (filesystem === bound) filesystem = undefined;\n };\n });\n return createHeadlessReadTool(() => {\n if (!filesystem) throw new Error('Read filesystem service is unavailable.');\n return filesystem;\n });\n});\n","// Generated by @agimon-ai/po-build. Do not edit by hand.\nimport { defineServerPlugin, type PoServerSessionPlugin } from '@agimon-ai/po-core/serverPlugin';\n\nimport toolRead from '../src/extensions/workspaces/sessions/(backend)/tool/read.server';\n\ntype Factory<T, C> = (context: C) => T;\nconst at = <T, C>(value: T | Factory<T, C>, context: C): T =>\n typeof value === 'function' ? (value as Factory<T, C>)(context) : value;\nconst via = <T>(identity: Record<string, unknown>, value: unknown): T =>\n (value === undefined ? undefined : { ...identity, ...(value as object) }) as T;\n\nexport const serverPlugin = defineServerPlugin({\n name: '@agimon-ai/po-read',\n session: (context) => ({\n get tools(): PoServerSessionPlugin['tools'] { return [via({ name: 'read' }, at(toolRead, context))]; },\n }),\n});\n\nexport default serverPlugin;\n"],"mappings":";;;;;;;;AAMA,IAAA,uBAAA,6CAAeA,CAAAA,CAAAA,iBAAAA,EAAkB,EAAE,cAAqC;CACtE,IAAI;CACJ,QAAQ,OAAO,CAACC,4BAAAA,aAAa,IAAI,WAAW;EAC1C,MAAM,SAAA,GAAQC,4BAAAA,YAAAA,CAAY,MAAM;EAChC,aAAa;EACb,aAAa;GACX,IAAI,eAAe,OAAO,aAAa,KAAA;EACzC;CACF,CAAC;CACD,OAAOC,iBAAAA,6BAA6B;EAClC,IAAI,CAAC,YAAY,MAAM,IAAI,MAAM,yCAAyC;EAC1E,OAAO;CACT,CAAC;AACH,CAAC;;;ACbD,MAAM,MAAY,OAA0B,YAC1C,OAAO,UAAU,aAAc,MAAwB,OAAO,IAAI;AACpE,MAAM,OAAU,UAAmC,UAChD,UAAU,KAAA,IAAY,KAAA,IAAY;CAAE,GAAG;CAAU,GAAI;AAAiB;AAEzE,MAAa,gBAAA,GAAeC,gCAAAA,mBAAAA,CAAmB;CAC7C,MAAM;CACN,UAAU,aAAa,EACrB,IAAI,QAAwC;EAAE,OAAO,CAAC,IAAI,EAAE,MAAM,OAAO,GAAG,GAAGC,qBAAU,OAAO,CAAC,CAAC;CAAG,EACvG;AACF,CAAC"}
1
+ {"version":3,"file":"server.cjs","names":["defineServerTool","PO_FS_SERVICE","requirePoFs","createHeadlessReadTool","defineServerPlugin","toolRead"],"sources":["../../src/extensions/workspaces/sessions/(backend)/tool/read.server.ts","../../generated/server.ts"],"sourcesContent":["import { defineServerTool } from '@agimon-ai/po-core/extensionFile';\nimport { PO_FS_SERVICE, requirePoFs, type FileSystem } from '@agimon-ai/po-core/platform';\nimport type { PoServerPluginContext } from '@agimon-ai/po-core/serverPlugin';\n\nimport { createHeadlessReadTool } from '../../../../../services/readTool';\n\nexport default defineServerTool(({ context }: PoServerPluginContext) => {\n let filesystem: FileSystem | undefined;\n context.inject([PO_FS_SERVICE], (scoped) => {\n const bound = requirePoFs(scoped);\n filesystem = bound;\n return () => {\n if (filesystem === bound) filesystem = undefined;\n };\n });\n return createHeadlessReadTool(() => {\n if (!filesystem) throw new Error('Read filesystem service is unavailable.');\n return filesystem;\n });\n});\n","// Generated by @agimon-ai/po-build. Do not edit by hand.\nimport { defineServerPlugin, type PoServerSessionPlugin } from '@agimon-ai/po-core/serverPlugin';\n\nimport toolRead from '../src/extensions/workspaces/sessions/(backend)/tool/read.server';\n\ntype Factory<T, C> = (context: C) => T;\nconst at = <T, C>(value: T | Factory<T, C>, context: C): T =>\n typeof value === 'function' ? (value as Factory<T, C>)(context) : value;\nconst via = <T>(identity: Record<string, unknown>, value: unknown): T =>\n (value === undefined ? undefined : { ...identity, ...(value as object) }) as T;\n\nexport const serverPlugin = defineServerPlugin({\n name: '@agimon-ai/po-read',\n session: (context) => ({\n get tools(): PoServerSessionPlugin['tools'] { return [via({ name: 'read' }, at(toolRead, context))]; },\n }),\n});\n\nexport default serverPlugin;\n"],"mappings":";;;;;;;;AAMA,IAAA,uBAAA,G,0CAAeA,CAAAA,CAAAA,iBAAAA,EAAkB,EAAE,cAAqC;CACtE,IAAI;CACJ,QAAQ,OAAO,CAACC,4BAAAA,aAAa,IAAI,WAAW;EAC1C,MAAM,SAAA,GAAQC,4BAAAA,YAAAA,CAAY,MAAM;EAChC,aAAa;EACb,aAAa;GACX,IAAI,eAAe,OAAO,aAAa,KAAA;EACzC;CACF,CAAC;CACD,OAAOC,iBAAAA,6BAA6B;EAClC,IAAI,CAAC,YAAY,MAAM,IAAI,MAAM,yCAAyC;EAC1E,OAAO;CACT,CAAC;AACH,CAAC;;;ACbD,MAAM,MAAY,OAA0B,YAC1C,OAAO,UAAU,aAAc,MAAwB,OAAO,IAAI;AACpE,MAAM,OAAU,UAAmC,UAChD,UAAU,KAAA,IAAY,KAAA,IAAY;CAAE,GAAG;CAAU,GAAI;AAAiB;AAEzE,MAAa,gBAAA,GAAeC,gCAAAA,mBAAAA,CAAmB;CAC7C,MAAM;CACN,UAAU,aAAa,EACrB,IAAI,QAAwC;EAAE,OAAO,CAAC,IAAI,EAAE,MAAM,OAAO,GAAG,GAAGC,qBAAU,OAAO,CAAC,CAAC;CAAG,EACvG;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agimon-ai/po-read",
3
- "version": "0.0.0-alpha.129",
3
+ "version": "0.0.0-alpha.130",
4
4
  "description": "Snapshot-bound hashline read tool for Pi and Po.",
5
5
  "keywords": [
6
6
  "ai",
@@ -60,17 +60,17 @@
60
60
  "access": "public"
61
61
  },
62
62
  "dependencies": {
63
- "@agimon-ai/po-config": "0.0.0-alpha.129",
64
- "@agimon-ai/po-core": "0.0.0-alpha.129",
65
- "@agimon-ai/po-hashline": "0.0.0-alpha.129",
66
- "@agimon-ai/po-ui": "0.0.0-alpha.129",
67
- "@agimon-ai/po-web-components": "0.0.0-alpha.129",
63
+ "@agimon-ai/po-config": "0.0.0-alpha.130",
64
+ "@agimon-ai/po-core": "0.0.0-alpha.130",
65
+ "@agimon-ai/po-hashline": "0.0.0-alpha.130",
66
+ "@agimon-ai/po-ui": "0.0.0-alpha.130",
67
+ "@agimon-ai/po-web-components": "0.0.0-alpha.130",
68
68
  "@deepseek-ai/cordis": "4.0.5",
69
69
  "typebox": "1.4.2"
70
70
  },
71
71
  "devDependencies": {
72
- "@agimon-ai/po-build": "0.0.0-alpha.129",
73
- "@agimon-ai/po-native-components": "0.0.0-alpha.129",
72
+ "@agimon-ai/po-build": "0.0.0-alpha.130",
73
+ "@agimon-ai/po-native-components": "0.0.0-alpha.130",
74
74
  "@earendil-works/pi-coding-agent": "1.5.0",
75
75
  "@earendil-works/pi-durable": "1.5.0",
76
76
  "@tanstack/react-store": "0.11.2",
@@ -87,7 +87,7 @@
87
87
  "vitest": "5.0.4"
88
88
  },
89
89
  "peerDependencies": {
90
- "@agimon-ai/po-native-components": "0.0.0-alpha.129",
90
+ "@agimon-ai/po-native-components": "0.0.0-alpha.130",
91
91
  "@earendil-works/pi-coding-agent": "1.5.0",
92
92
  "react-native": "0.88.1",
93
93
  "react-native-unistyles": "^3.5.3"