agentroam 0.2.0-preview.3 → 0.2.0-preview.4

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 (87) hide show
  1. package/dist/cli.js +1 -1
  2. package/dist/cloudflared/bundled-asset.test.js +1 -1
  3. package/dist/cloudflared/manifest.js +1 -1
  4. package/dist/tunnel/cloudflare-provider.js +17 -10
  5. package/dist/tunnel/cloudflare-provider.test.js +33 -0
  6. package/dist/tunnel/proxy-settings.js +141 -0
  7. package/dist/tunnel/proxy-settings.test.js +111 -0
  8. package/dist/tunnel/public-readiness.js +60 -36
  9. package/dist/tunnel/public-readiness.test.js +80 -0
  10. package/package.json +27 -9
  11. package/runtime/.next/BUILD_ID +1 -1
  12. package/runtime/.next/app-build-manifest.json +4 -4
  13. package/runtime/.next/app-path-routes-manifest.json +1 -1
  14. package/runtime/.next/build-manifest.json +7 -7
  15. package/runtime/.next/prerender-manifest.json +1 -1
  16. package/runtime/.next/react-loadable-manifest.json +1 -1
  17. package/runtime/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  18. package/runtime/.next/server/app/_not-found.html +1 -1
  19. package/runtime/.next/server/app/_not-found.rsc +1 -1
  20. package/runtime/.next/server/app/api/agent/abort/route.js +1 -1
  21. package/runtime/.next/server/app/api/agent/answer/route.js +1 -1
  22. package/runtime/.next/server/app/api/agent/model/route.js +1 -0
  23. package/runtime/.next/server/app/api/agent/model/route.js.nft.json +1 -0
  24. package/runtime/.next/server/app/api/agent/model.body +1 -0
  25. package/runtime/.next/server/app/api/agent/model.meta +1 -0
  26. package/runtime/.next/server/app/api/agent/run/route.js +1 -1
  27. package/runtime/.next/server/app/api/agent/steer/route.js +1 -0
  28. package/runtime/.next/server/app/api/agent/steer/route.js.nft.json +1 -0
  29. package/runtime/.next/server/app/api/agent/stream/route.js +3 -2
  30. package/runtime/.next/server/app/api/mcp/connect/route.js +1 -1
  31. package/runtime/.next/server/app/api/plugins/load/route.js +1 -1
  32. package/runtime/.next/server/app/api/remote-tools/register/route.js +1 -1
  33. package/runtime/.next/server/app/api/sessions/[id]/route.js +1 -1
  34. package/runtime/.next/server/app/api/sessions/route.js +1 -1
  35. package/runtime/.next/server/app/api/skills/route.js +1 -1
  36. package/runtime/.next/server/app/api/tools/route.js +1 -1
  37. package/runtime/.next/server/app/api/web-auth/login/route.js +1 -1
  38. package/runtime/.next/server/app/api/web-auth/logout/route.js +1 -1
  39. package/runtime/.next/server/app/api/web-auth/revoke-all/route.js +1 -1
  40. package/runtime/.next/server/app/api/web-auth/setup/route.js +1 -1
  41. package/runtime/.next/server/app/api/web-auth/status/route.js +1 -1
  42. package/runtime/.next/server/app/api/web-console/bootstrap/route.js +1 -1
  43. package/runtime/.next/server/app/api/web-console/device-state/route.js +1 -1
  44. package/runtime/.next/server/app/api/web-console/history/route.js +1 -1
  45. package/runtime/.next/server/app/api/web-console/history/route.js.nft.json +1 -1
  46. package/runtime/.next/server/app/api/web-console/preferences/route.js +1 -1
  47. package/runtime/.next/server/app/web/page.js +10 -10
  48. package/runtime/.next/server/app/web/page_client-reference-manifest.js +1 -1
  49. package/runtime/.next/server/app/web.html +1 -1
  50. package/runtime/.next/server/app/web.rsc +2 -2
  51. package/runtime/.next/server/app-paths-manifest.json +13 -11
  52. package/runtime/.next/server/chunks/322.js +28 -12
  53. package/runtime/.next/server/middleware-build-manifest.js +1 -1
  54. package/runtime/.next/server/middleware-react-loadable-manifest.js +1 -1
  55. package/runtime/.next/server/pages/404.html +1 -1
  56. package/runtime/.next/server/pages/500.html +1 -1
  57. package/runtime/.next/server/server-reference-manifest.json +1 -1
  58. package/runtime/.next/static/chunks/982.9e87a5cc0e6b13cf.js +1 -0
  59. package/runtime/.next/static/chunks/app/web/page-02e0df331bb14489.js +1 -0
  60. package/runtime/.next/static/chunks/{main-a7dd8c98b48af038.js → main-30618c50527ce4e9.js} +1 -1
  61. package/runtime/.next/static/chunks/{webpack-d91bc49de770fd58.js → webpack-0c872a6ee48cbbdf.js} +1 -1
  62. package/runtime/node_modules/.package-lock.json +3 -3
  63. package/runtime/node_modules/@agent/core/dist/domain/context/ContextLoader.d.ts +2 -0
  64. package/runtime/node_modules/@agent/core/dist/domain/context/ContextLoader.d.ts.map +1 -1
  65. package/runtime/node_modules/@agent/core/dist/index.js +114 -12
  66. package/runtime/node_modules/@agent/core/dist/index.js.map +7 -6
  67. package/runtime/node_modules/@agent/core/dist/infrastructure/SQLiteAnonymousWebStore.d.ts +13 -0
  68. package/runtime/node_modules/@agent/core/dist/infrastructure/SQLiteAnonymousWebStore.d.ts.map +1 -0
  69. package/runtime/node_modules/@agent/core/dist/infrastructure/SQLiteAnonymousWebStore.test.d.ts +2 -0
  70. package/runtime/node_modules/@agent/core/dist/infrastructure/SQLiteAnonymousWebStore.test.d.ts.map +1 -0
  71. package/runtime/node_modules/@agent/core/dist/infrastructure/SQLiteDatabase.d.ts.map +1 -1
  72. package/runtime/node_modules/@agent/core/dist/infrastructure/SQLiteSessionStore.d.ts.map +1 -1
  73. package/runtime/node_modules/@agent/core/dist/infrastructure/index.d.ts +1 -0
  74. package/runtime/node_modules/@agent/core/dist/infrastructure/index.d.ts.map +1 -1
  75. package/runtime/node_modules/node-abi/abi_registry.json +7 -0
  76. package/runtime/node_modules/node-abi/package.json +1 -1
  77. package/runtime/package-lock.json +3 -3
  78. package/runtime/webapp/dist/assets/App-lXIeMH5u.js +52 -0
  79. package/runtime/webapp/dist/assets/index-BAFMhDtY.js +42 -0
  80. package/runtime/webapp/dist/assets/index-Beg9M2xI.css +1 -0
  81. package/runtime/webapp/dist/index.html +17 -0
  82. package/runtime/webapp/dist/pcm-audio-worklet.js +126 -0
  83. package/runtime/ws-server.mjs +148 -18
  84. package/runtime/.next/static/chunks/982.bf2e6e7fe55cd5ca.js +0 -1
  85. package/runtime/.next/static/chunks/app/web/page-0ee508ac538f72d3.js +0 -1
  86. /package/runtime/.next/static/{OszWLAB2kMAnNfSwJzpyw → dclalTmecO-HMVQvSKG7g}/_buildManifest.js +0 -0
  87. /package/runtime/.next/static/{OszWLAB2kMAnNfSwJzpyw → dclalTmecO-HMVQvSKG7g}/_ssgManifest.js +0 -0
@@ -0,0 +1,13 @@
1
+ export interface AnonymousWebPrincipal {
2
+ userId: string;
3
+ username: string;
4
+ }
5
+ export declare class SQLiteAnonymousWebStore {
6
+ private readonly db;
7
+ constructor(baseDir: string);
8
+ getOrCreatePrincipal(): AnonymousWebPrincipal;
9
+ issueWsNonce(nonce: string, userId: string, expiresAt: number, now?: number): void;
10
+ consumeWsNonce(nonce: string, now?: number): string | null;
11
+ private findPrincipal;
12
+ }
13
+ //# sourceMappingURL=SQLiteAnonymousWebStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SQLiteAnonymousWebStore.d.ts","sourceRoot":"","sources":["../../src/infrastructure/SQLiteAnonymousWebStore.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAWD,qBAAa,uBAAuB;IAClC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAER,OAAO,EAAE,MAAM;IAI3B,oBAAoB,IAAI,qBAAqB;IA0B7C,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,SAAa,GAAG,IAAI;IAStF,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,SAAa,GAAG,MAAM,GAAG,IAAI;IAS9D,OAAO,CAAC,aAAa;CAItB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=SQLiteAnonymousWebStore.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SQLiteAnonymousWebStore.test.d.ts","sourceRoot":"","sources":["../../src/infrastructure/SQLiteAnonymousWebStore.test.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"SQLiteDatabase.d.ts","sourceRoot":"","sources":["../../src/infrastructure/SQLiteDatabase.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAItC,qBAAa,cAAc;IACzB,QAAQ,CAAC,EAAE,EAAE,QAAQ,CAAC;gBAEV,OAAO,EAAE,MAAM;IAU3B,OAAO,CAAC,OAAO;IAiQf,0FAA0F;IAC1F,OAAO,CAAC,iBAAiB;IAezB;;;OAGG;IACH,OAAO,CAAC,gCAAgC;IAgCxC,4EAA4E;IAC5E,OAAO,CAAC,yBAAyB;IAWjC,2FAA2F;IAC3F,OAAO,CAAC,+BAA+B;IAkCvC,oDAAoD;IACpD,OAAO,CAAC,uBAAuB;IAO/B,gEAAgE;IAChE,OAAO,CAAC,uBAAuB;IAQ/B,KAAK,IAAI,IAAI;CAGd;AAID,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,cAAc,CAO3D"}
1
+ {"version":3,"file":"SQLiteDatabase.d.ts","sourceRoot":"","sources":["../../src/infrastructure/SQLiteDatabase.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAwBtC,qBAAa,cAAc;IACzB,QAAQ,CAAC,EAAE,EAAE,QAAQ,CAAC;gBAEV,OAAO,EAAE,MAAM;IAW3B,OAAO,CAAC,OAAO;IAwQf,0FAA0F;IAC1F,OAAO,CAAC,iBAAiB;IAezB;;;OAGG;IACH,OAAO,CAAC,gCAAgC;IAgCxC,4EAA4E;IAC5E,OAAO,CAAC,yBAAyB;IAWjC,2FAA2F;IAC3F,OAAO,CAAC,+BAA+B;IAkCvC,oDAAoD;IACpD,OAAO,CAAC,uBAAuB;IAO/B,gEAAgE;IAChE,OAAO,CAAC,uBAAuB;IAQ/B,KAAK,IAAI,IAAI;CAGd;AAID,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,cAAc,CAO3D"}
@@ -1 +1 @@
1
- {"version":3,"file":"SQLiteSessionStore.d.ts","sourceRo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CA6BrB"}
@@ -11,5 +11,6 @@ export { SQLiteAgentStore } from './SQLiteAgentStore.js';
11
11
  export { SQLiteLSPServerStore } from './SQLiteLSPServerStore.js';
12
12
  export { SQLiteRemoteToolStore } from './SQLiteRemoteToolStore.js';
13
13
  export { SQLiteAuthStore } from './SQLiteAuthStore.js';
14
+ export { SQLiteAnonymousWebStore, type AnonymousWebPrincipal } from './SQLiteAnonymousWebStore.js';
14
15
  export { SQLiteWebConsoleStore } from './SQLiteWebConsoleStore.js';
15
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/infrastructure/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/infrastructure/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,KAAK,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACnG,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC"}
@@ -449,5 +449,12 @@
449
449
  "lts": false,
450
450
  "runtime": "electron",
451
451
  "target": "44.0.0-alpha.1"
452
+ },
453
+ {
454
+ "abi": "150",
455
+ "future": true,
456
+ "lts": false,
457
+ "runtime": "electron",
458
+ "target": "45.0.0-alpha.1"
452
459
  }
453
460
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-abi",
3
- "version": "3.95.0",
3
+ "version": "3.96.0",
4
4
  "description": "Get the Node ABI for a given target and runtime, and vice versa.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -544,9 +544,9 @@
544
544
  }
545
545
  },
546
546
  "node_modules/node-abi": {
547
- "version": "3.95.0",
548
- "resolved": "http://nexus.17usoft.com/repository/npm-all/node-abi/-/node-abi-3.95.0.tgz",
549
- "integrity": "sha512-T9iGctuocf0qIWFFOTxPzjT5q0SILqaBYXt272tlBHvTKC5+3JnkMirLxNJNkXHtFyBjU2Jx+NL4Zipr0B/c6Q==",
547
+ "version": "3.96.0",
548
+ "resolved": "http://nexus.17usoft.com/repository/npm-all/node-abi/-/node-abi-3.96.0.tgz",
549
+ "integrity": "sha512-rebQ/lz7i0EkoLzUVSrKRzA69zMkwLp95kKMWoMDkkM00Suxz0D7zEQPwRml5fQum24mj7bPvmlgLAmu2JCiYg==",
550
550
  "license": "MIT",
551
551
  "dependencies": {
552
552
  "semver": "^7.3.5"