@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.
- package/dist/apiContracts.cjs +27 -21
- package/dist/apiContracts.cjs.map +1 -1
- package/dist/apiContracts.d.mts +2 -0
- package/dist/apiContracts.d.mts.map +1 -1
- package/dist/apiContracts.mjs +27 -21
- package/dist/apiContracts.mjs.map +1 -1
- package/dist/src/pi/piSessionRuntime.cjs +4 -1
- package/dist/src/pi/piSessionRuntime.cjs.map +1 -1
- package/dist/src/pi/piSessionRuntime.d.mts.map +1 -1
- package/dist/src/pi/piSessionRuntime.mjs +4 -1
- package/dist/src/pi/piSessionRuntime.mjs.map +1 -1
- package/dist/src/schemas/protocolSessionContract.d.mts +1 -0
- package/dist/src/schemas/protocolSessionContract.d.mts.map +1 -1
- package/dist/src/schemas/sessionApiContracts.cjs +4 -1
- package/dist/src/schemas/sessionApiContracts.cjs.map +1 -1
- package/dist/src/schemas/sessionApiContracts.mjs +4 -1
- package/dist/src/schemas/sessionApiContracts.mjs.map +1 -1
- package/dist/src/schemas/sessionProtocol.cjs.map +1 -1
- package/dist/src/schemas/sessionProtocol.d.mts +2 -0
- package/dist/src/schemas/sessionProtocol.d.mts.map +1 -1
- package/dist/src/schemas/sessionProtocol.mjs.map +1 -1
- package/dist/src/server/directHarnessRuntime.cjs +6 -1
- package/dist/src/server/directHarnessRuntime.cjs.map +1 -1
- package/dist/src/server/directHarnessRuntime.d.mts.map +1 -1
- package/dist/src/server/directHarnessRuntime.mjs +6 -1
- package/dist/src/server/directHarnessRuntime.mjs.map +1 -1
- package/dist/src/types/server/directHarnessRuntime.d.mts +2 -1
- package/dist/src/types/server/directHarnessRuntime.d.mts.map +1 -1
- package/dist/src/web/types/template.d.mts +2 -0
- package/dist/src/web/types/template.d.mts.map +1 -1
- package/package.json +4 -4
package/dist/apiContracts.cjs
CHANGED
|
@@ -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({
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
typebox.Type.
|
|
1285
|
-
typebox.Type.
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
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({
|
|
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 },
|