@portel/photon 1.34.0 → 1.34.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/README.md +20 -6
- package/dist/auto-ui/beam/routes/api-browse.d.ts.map +1 -1
- package/dist/auto-ui/beam/routes/api-browse.js +92 -15
- package/dist/auto-ui/beam/routes/api-browse.js.map +1 -1
- package/dist/auto-ui/beam/routes/api-config.d.ts.map +1 -1
- package/dist/auto-ui/beam/routes/api-config.js +16 -7
- package/dist/auto-ui/beam/routes/api-config.js.map +1 -1
- package/dist/auto-ui/beam/routes/api-marketplace.js +4 -4
- package/dist/auto-ui/beam/routes/api-marketplace.js.map +1 -1
- package/dist/auto-ui/beam.d.ts.map +1 -1
- package/dist/auto-ui/beam.js +21 -2
- package/dist/auto-ui/beam.js.map +1 -1
- package/dist/auto-ui/streamable-http-transport.d.ts.map +1 -1
- package/dist/auto-ui/streamable-http-transport.js +56 -2
- package/dist/auto-ui/streamable-http-transport.js.map +1 -1
- package/dist/beam.bundle.js +47 -0
- package/dist/beam.bundle.js.map +2 -2
- package/dist/daemon/server.js +57 -13
- package/dist/daemon/server.js.map +1 -1
- package/dist/daemon/session-manager.d.ts +2 -1
- package/dist/daemon/session-manager.d.ts.map +1 -1
- package/dist/daemon/session-manager.js +33 -2
- package/dist/daemon/session-manager.js.map +1 -1
- package/dist/serv/auth/http-adapter.d.ts.map +1 -1
- package/dist/serv/auth/http-adapter.js +7 -2
- package/dist/serv/auth/http-adapter.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +15 -2
- package/dist/server.js.map +1 -1
- package/package.json +4 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@portel/photon",
|
|
3
|
-
"version": "1.34.
|
|
3
|
+
"version": "1.34.2",
|
|
4
4
|
"description": "Build MCP servers, CLI tools, and web dashboards for AI agents from a single TypeScript file.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "bun@1.2.20",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"prepublishOnly": "bun run verify:publish-version && node -e \"const p=require('./package.json'); if(JSON.stringify(p.dependencies).includes('file:')) { console.error('ERROR: file: dependency found.'); process.exit(1); }\" && node -e \"const fs=require('fs'),path=require('path'); const p=require('./package.json'); for(const d of Object.keys(p.dependencies||{})){const t=path.join('node_modules',d); if(fs.lstatSync(t).isSymbolicLink()){console.error('ERROR: '+d+' is linked. Run: bun remove '+d+' && bun add '+d); process.exit(1);}}\" && bun run build && bun run build:beam",
|
|
34
34
|
"test": "bash scripts/run-tests.sh",
|
|
35
35
|
"test:chain": "bun run test:all",
|
|
36
|
-
"test:all": "bun run build && bun run test:security && bun run test:schema && bun run test:marketplace && bun run test:loader && bun run test:server && bun run test:integration && bun run test:byte-compat && bun run test:format-registry && bun run test:content-negotiation && bun run test:ui-resources && bun run test:client-adaptive && bun run test:zero-config && bun run test:mcp-config && bun run test:cli && bun run test:intent && bun run test:logger && bun run test:error-handler && bun run test:validation && bun run test:daemon-pubsub && bun run test:daemon-buffer && bun run test:instance-drift && bun run test:daemon-watcher && bun run test:ui-rendering && bun run test:photon-instance-manager && bun run test:viewport-aware-proxy && bun run test:viewport-manager && bun run test:pagination-integration && bun run test:pagination-performance && tsx tests/pagination-phase5.test.ts && tsx tests/pagination-phase5c.test.ts && tsx tests/pagination-phase5d.test.ts && tsx tests/phase6a-service-worker.test.ts && tsx tests/phase6b-offline-state.test.ts && tsx tests/phase6c-offline-sync.test.ts && tsx tests/phase6d-integration.test.ts && tsx tests/promises.test.ts && bun run test:cf-bindings && bun run test:cf-runtime && bun run test:cf-overrides && bun run test:cf-deploy && bun run test:cf-mcp-bearer && bun run test:readme",
|
|
36
|
+
"test:all": "bun run build && bun run test:security && bun run test:schema && bun run test:marketplace && bun run test:loader && bun run test:server && bun run test:integration && bun run test:byte-compat && bun run test:format-registry && bun run test:content-negotiation && bun run test:ui-resources && bun run test:client-adaptive && bun run test:zero-config && bun run test:mcp-config && bun run test:cli && bun run test:intent && bun run test:logger && bun run test:error-handler && bun run test:validation && bun run test:daemon-pubsub && bun run test:daemon-buffer && bun run test:instance-drift && bun run test:daemon-watcher && bun run test:ui-rendering && bun run test:beam:port-hosting && bun run test:photon-instance-manager && bun run test:viewport-aware-proxy && bun run test:viewport-manager && bun run test:pagination-integration && bun run test:pagination-performance && tsx tests/pagination-phase5.test.ts && tsx tests/pagination-phase5c.test.ts && tsx tests/pagination-phase5d.test.ts && tsx tests/phase6a-service-worker.test.ts && tsx tests/phase6b-offline-state.test.ts && tsx tests/phase6c-offline-sync.test.ts && tsx tests/phase6d-integration.test.ts && tsx tests/promises.test.ts && bun run test:cf-bindings && bun run test:cf-runtime && bun run test:cf-overrides && bun run test:cf-deploy && bun run test:cf-mcp-bearer && bun run test:readme",
|
|
37
37
|
"test:daemon-watcher": "tsx tests/daemon-watcher.test.ts && tsx tests/schedule-missed-fire.test.ts",
|
|
38
38
|
"test:instance-drift": "tsx tests/instance-drift.test.ts",
|
|
39
39
|
"test:photon-instance-manager": "vitest run tests/photon-instance-manager.test.ts",
|
|
@@ -87,6 +87,7 @@
|
|
|
87
87
|
"test:github": "bun run build && tsx tests/github-issues.integration.ts",
|
|
88
88
|
"test:beam": "bun run build && tsx tests/beam/rendering.test.ts",
|
|
89
89
|
"test:beam:regressions": "bun run build && tsx tests/beam/beam-integration-regressions.test.ts",
|
|
90
|
+
"test:beam:port-hosting": "tsx tests/beam/port-hosting-regressions.test.ts",
|
|
90
91
|
"test:e2e": "bun run build && playwright test",
|
|
91
92
|
"test:e2e:ui": "bun run build && playwright test --ui",
|
|
92
93
|
"test:visual": "bun run build && bun run build:beam && tsx tests/beam/visual/visual.test.ts",
|
|
@@ -216,5 +217,5 @@
|
|
|
216
217
|
"bugs": {
|
|
217
218
|
"url": "https://github.com/portel-dev/photon/issues"
|
|
218
219
|
},
|
|
219
|
-
"homepage": "https://portel
|
|
220
|
+
"homepage": "https://photon.portel.dev/"
|
|
220
221
|
}
|