@agimon-ai/po-core 0.0.0-alpha.163 → 0.0.0-alpha.165

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 (31) hide show
  1. package/dist/apiContracts.cjs +27 -21
  2. package/dist/apiContracts.cjs.map +1 -1
  3. package/dist/apiContracts.d.mts +2 -0
  4. package/dist/apiContracts.d.mts.map +1 -1
  5. package/dist/apiContracts.mjs +27 -21
  6. package/dist/apiContracts.mjs.map +1 -1
  7. package/dist/src/pi/piSessionRuntime.cjs +4 -1
  8. package/dist/src/pi/piSessionRuntime.cjs.map +1 -1
  9. package/dist/src/pi/piSessionRuntime.d.mts.map +1 -1
  10. package/dist/src/pi/piSessionRuntime.mjs +4 -1
  11. package/dist/src/pi/piSessionRuntime.mjs.map +1 -1
  12. package/dist/src/schemas/protocolSessionContract.d.mts +1 -0
  13. package/dist/src/schemas/protocolSessionContract.d.mts.map +1 -1
  14. package/dist/src/schemas/sessionApiContracts.cjs +4 -1
  15. package/dist/src/schemas/sessionApiContracts.cjs.map +1 -1
  16. package/dist/src/schemas/sessionApiContracts.mjs +4 -1
  17. package/dist/src/schemas/sessionApiContracts.mjs.map +1 -1
  18. package/dist/src/schemas/sessionProtocol.cjs.map +1 -1
  19. package/dist/src/schemas/sessionProtocol.d.mts +2 -0
  20. package/dist/src/schemas/sessionProtocol.d.mts.map +1 -1
  21. package/dist/src/schemas/sessionProtocol.mjs.map +1 -1
  22. package/dist/src/server/directHarnessRuntime.cjs +6 -1
  23. package/dist/src/server/directHarnessRuntime.cjs.map +1 -1
  24. package/dist/src/server/directHarnessRuntime.d.mts.map +1 -1
  25. package/dist/src/server/directHarnessRuntime.mjs +6 -1
  26. package/dist/src/server/directHarnessRuntime.mjs.map +1 -1
  27. package/dist/src/types/server/directHarnessRuntime.d.mts +2 -1
  28. package/dist/src/types/server/directHarnessRuntime.d.mts.map +1 -1
  29. package/dist/src/web/types/template.d.mts +2 -0
  30. package/dist/src/web/types/template.d.mts.map +1 -1
  31. package/package.json +4 -4
@@ -1272,26 +1272,29 @@ const PluginInstallOperationSchema = typebox.Type.Object({
1272
1272
  })),
1273
1273
  rollbackError: typebox.Type.Optional(typebox.Type.String())
1274
1274
  });
1275
- const PluginMarketplaceCatalogSchema = typebox.Type.Object({ layers: typebox.Type.Array(typebox.Type.Object({
1276
- id: typebox.Type.String(),
1277
- name: typebox.Type.String(),
1278
- description: typebox.Type.String(),
1279
- category: typebox.Type.String(),
1280
- icon: typebox.Type.String(),
1281
- logo: typebox.Type.Optional(typebox.Type.String()),
1282
- publisher: typebox.Type.String(),
1283
- tier: typebox.Type.Union([
1284
- typebox.Type.Literal("core"),
1285
- typebox.Type.Literal("foundation"),
1286
- typebox.Type.Literal("default"),
1287
- typebox.Type.Literal("mode"),
1288
- typebox.Type.Literal("plugin")
1289
- ]),
1290
- packages: typebox.Type.Array(typebox.Type.String()),
1291
- installable: typebox.Type.Boolean(),
1292
- installed: typebox.Type.Boolean(),
1293
- version: typebox.Type.Optional(typebox.Type.String())
1294
- })) });
1275
+ const PluginMarketplaceCatalogSchema = typebox.Type.Object({
1276
+ supportedScopes: typebox.Type.Optional(typebox.Type.Array(typebox.Type.Union([typebox.Type.Literal("host"), typebox.Type.Literal("workspace")]))),
1277
+ layers: typebox.Type.Array(typebox.Type.Object({
1278
+ id: typebox.Type.String(),
1279
+ name: typebox.Type.String(),
1280
+ description: typebox.Type.String(),
1281
+ category: typebox.Type.String(),
1282
+ icon: typebox.Type.String(),
1283
+ logo: typebox.Type.Optional(typebox.Type.String()),
1284
+ publisher: typebox.Type.String(),
1285
+ tier: typebox.Type.Union([
1286
+ typebox.Type.Literal("core"),
1287
+ typebox.Type.Literal("foundation"),
1288
+ typebox.Type.Literal("default"),
1289
+ typebox.Type.Literal("mode"),
1290
+ typebox.Type.Literal("plugin")
1291
+ ]),
1292
+ packages: typebox.Type.Array(typebox.Type.String()),
1293
+ installable: typebox.Type.Boolean(),
1294
+ installed: typebox.Type.Boolean(),
1295
+ version: typebox.Type.Optional(typebox.Type.String())
1296
+ }))
1297
+ });
1295
1298
  const pluginMarketplaceHttpContracts = [
1296
1299
  {
1297
1300
  id: "marketplace.catalog",
@@ -1986,7 +1989,10 @@ const SessionMethodSchemas = {
1986
1989
  getAvailableModels: { result: typebox.Type.Array(Model) },
1987
1990
  getAvailableThinkingLevels: { result: typebox.Type.Array(Thinking) },
1988
1991
  compact: {
1989
- args: typebox.Type.Object({ customInstructions: Optional(Text) }),
1992
+ args: typebox.Type.Object({
1993
+ customInstructions: Optional(Text),
1994
+ clear: Optional(Flag)
1995
+ }),
1990
1996
  result: Json$1
1991
1997
  },
1992
1998
  setName: { args: Text },