@openagentpack/playground 0.0.2-beta.0 → 0.0.2
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/bin/playground.js +9 -7
- package/package.json +3 -3
- package/web/assets/index.js +47 -47
- package/web/assets/style.css +1 -1
package/dist/bin/playground.js
CHANGED
|
@@ -875,6 +875,10 @@ var qoder_default = [
|
|
|
875
875
|
{
|
|
876
876
|
name: "image_gen",
|
|
877
877
|
enabled: true
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
name: "deliver_artifacts",
|
|
881
|
+
enabled: true
|
|
878
882
|
}
|
|
879
883
|
],
|
|
880
884
|
defaultConfig: {
|
|
@@ -883,13 +887,7 @@ var qoder_default = [
|
|
|
883
887
|
type: "builtin_toolkit"
|
|
884
888
|
}
|
|
885
889
|
],
|
|
886
|
-
skills: [
|
|
887
|
-
{
|
|
888
|
-
type: "official",
|
|
889
|
-
id: "skill_N2U0MDAwYWM2NDQ0NGFkNjljMz",
|
|
890
|
-
version: "1.0"
|
|
891
|
-
}
|
|
892
|
-
],
|
|
890
|
+
skills: [],
|
|
893
891
|
mcpServers: []
|
|
894
892
|
}
|
|
895
893
|
];
|
|
@@ -3327,7 +3325,11 @@ function injectPlaygroundRuntimeMarker(html) {
|
|
|
3327
3325
|
return html.replace("<head>", '<head>\n <meta name="agents-runtime" content="playground" />');
|
|
3328
3326
|
}
|
|
3329
3327
|
async function startServer() {
|
|
3328
|
+
const cliProvider = process.env.AGENTS_CLI_PROVIDER?.trim();
|
|
3330
3329
|
await bootstrapRuntimeCredentials2();
|
|
3330
|
+
if (cliProvider) {
|
|
3331
|
+
process.env.AGENTS_PROVIDER = cliProvider;
|
|
3332
|
+
}
|
|
3331
3333
|
const preferred = Number(process.env.PORT ?? DEFAULT_PLAYGROUND_PORT);
|
|
3332
3334
|
const port = await resolveListenPort(preferred);
|
|
3333
3335
|
if (port !== preferred) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openagentpack/playground",
|
|
3
|
-
"version": "0.0.2
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "OpenAgentPack Playground — one-command local web UI for OpenAgentPack",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@hono/node-server": "^1.19.0",
|
|
44
44
|
"@hono/zod-openapi": "^1.4.0",
|
|
45
|
-
"@openagentpack/sdk": "0.0.2
|
|
45
|
+
"@openagentpack/sdk": "0.0.2",
|
|
46
46
|
"hono": "^4.12.28",
|
|
47
47
|
"zod": "^4.4.3"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/bun": "^1.3.14",
|
|
51
51
|
"@openagentpack/playbooks": "0.0.1",
|
|
52
|
-
"@openagentpack/server": "0.0.2
|
|
52
|
+
"@openagentpack/server": "0.0.2",
|
|
53
53
|
"@types/node": "^25.9.3",
|
|
54
54
|
"tsup": "^8.5.1",
|
|
55
55
|
"typescript": "^6.0.3"
|