@adonis-agora/agent 0.25.4 → 0.25.5

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.
@@ -16,5 +16,5 @@
16
16
  */
17
17
  export { type AgentDashboardAuthorize, type AgentDashboardConfig, type AgentDashboardUnauthenticatedHook, type DashboardMountDecision, decideDashboardMount, type ResolvedAgentDashboardConfig, resolveDashboardConfig, } from './define_config.js';
18
18
  export { type DashboardGateVerdict, evaluateDashboardGate } from './gate.js';
19
- export { apiBaseFor, contentTypeFor, injectApiBase, injectBaseHref, mountPathFor, safeAssetSegments, trimSlashes, } from './paths.js';
19
+ export { apiBaseFor, CONFIG_ELEMENT_ID, contentTypeFor, injectApiBase, injectBaseHref, mountPathFor, safeAssetSegments, trimSlashes, } from './paths.js';
20
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dashboard/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,iCAAiC,EACtC,KAAK,sBAAsB,EAC3B,oBAAoB,EACpB,KAAK,4BAA4B,EACjC,sBAAsB,GACvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,KAAK,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAC7E,OAAO,EACL,UAAU,EACV,cAAc,EACd,aAAa,EACb,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,WAAW,GACZ,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dashboard/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,iCAAiC,EACtC,KAAK,sBAAsB,EAC3B,oBAAoB,EACpB,KAAK,4BAA4B,EACjC,sBAAsB,GACvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,KAAK,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAC7E,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,WAAW,GACZ,MAAM,YAAY,CAAC"}
@@ -16,5 +16,5 @@
16
16
  */
17
17
  export { decideDashboardMount, resolveDashboardConfig, } from './define_config.js';
18
18
  export { evaluateDashboardGate } from './gate.js';
19
- export { apiBaseFor, contentTypeFor, injectApiBase, injectBaseHref, mountPathFor, safeAssetSegments, trimSlashes, } from './paths.js';
19
+ export { apiBaseFor, CONFIG_ELEMENT_ID, contentTypeFor, injectApiBase, injectBaseHref, mountPathFor, safeAssetSegments, trimSlashes, } from './paths.js';
20
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dashboard/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAKL,oBAAoB,EAEpB,sBAAsB,GACvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAA6B,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAC7E,OAAO,EACL,UAAU,EACV,cAAc,EACd,aAAa,EACb,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,WAAW,GACZ,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dashboard/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAKL,oBAAoB,EAEpB,sBAAsB,GACvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAA6B,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAC7E,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,WAAW,GACZ,MAAM,YAAY,CAAC"}
@@ -23,10 +23,19 @@ export declare function contentTypeFor(filename: string): string;
23
23
  * Returns the safe, normalized relative segments (never starting with `..`), or `null` to deny.
24
24
  */
25
25
  export declare function safeAssetSegments(wildcard: string | string[] | undefined): string[] | null;
26
+ /** `id` of the JSON data block {@link injectApiBase} emits; the SPA's `resolveApiBase()` reads it. */
27
+ export declare const CONFIG_ELEMENT_ID = "agent-dashboard-config";
26
28
  /**
27
- * Inject the resolved agent API base into the served `index.html` as a global the SPA reads before
28
- * boot, so the client calls the exact base the provider mounted (no build-time coupling). Idempotent
29
- * per response — inserted right before `</head>`.
29
+ * Hand the resolved agent API base to the served `index.html`, so the client calls the exact base
30
+ * the provider mounted (no build-time coupling). Inserted right before `</head>`.
31
+ *
32
+ * It goes in as a JSON DATA BLOCK (`<script type="application/json">{"apiBase":…}</script>`), not
33
+ * as an inline script assigning `window.__AGENT_DASHBOARD_BASE__`. A data block is never executed,
34
+ * so no Content-Security-Policy can refuse it; an inline script IS, and a host with
35
+ * `script-src 'self' 'nonce-…'` (`@adonisjs/shield`'s `@nonce`, the recommended setup) silently
36
+ * dropped ours — the SPA then derived a base from its own URL, which is right only for the default
37
+ * mount, and on any other every request from a console that had rendered perfectly answered 404.
38
+ * The global is still read by the SPA as a fallback, but this is no longer how the provider speaks.
30
39
  */
31
40
  export declare function injectApiBase(html: string, apiBase: string): string;
32
41
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../../src/dashboard/paths.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,wFAAwF;AACxF,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEhD;AAED,8FAA8F;AAC9F,wBAAgB,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAGpD;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,SAAS,EAAE,MAAM,EAAE,aAAa,CA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EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAQlE"}
@@ -69,13 +69,25 @@ export function safeAssetSegments(wildcard) {
69
69
  }
70
70
  return segments;
71
71
  }
72
+ /** `id` of the JSON data block {@link injectApiBase} emits; the SPA's `resolveApiBase()` reads it. */
73
+ export const CONFIG_ELEMENT_ID = 'agent-dashboard-config';
72
74
  /**
73
- * Inject the resolved agent API base into the served `index.html` as a global the SPA reads before
74
- * boot, so the client calls the exact base the provider mounted (no build-time coupling). Idempotent
75
- * per response — inserted right before `</head>`.
75
+ * Hand the resolved agent API base to the served `index.html`, so the client calls the exact base
76
+ * the provider mounted (no build-time coupling). Inserted right before `</head>`.
77
+ *
78
+ * It goes in as a JSON DATA BLOCK (`<script type="application/json">{"apiBase":…}</script>`), not
79
+ * as an inline script assigning `window.__AGENT_DASHBOARD_BASE__`. A data block is never executed,
80
+ * so no Content-Security-Policy can refuse it; an inline script IS, and a host with
81
+ * `script-src 'self' 'nonce-…'` (`@adonisjs/shield`'s `@nonce`, the recommended setup) silently
82
+ * dropped ours — the SPA then derived a base from its own URL, which is right only for the default
83
+ * mount, and on any other every request from a console that had rendered perfectly answered 404.
84
+ * The global is still read by the SPA as a fallback, but this is no longer how the provider speaks.
76
85
  */
77
86
  export function injectApiBase(html, apiBase) {
78
- const tag = `<script>window.__AGENT_DASHBOARD_BASE__=${JSON.stringify(apiBase)}</script>`;
87
+ // `<` escaped as `\u003c` inside the JSON: a data block ends at the first `</script`, and a
88
+ // config value must not be able to close it early. Valid JSON either way.
89
+ const json = JSON.stringify({ apiBase }).replace(/</g, '\\u003c');
90
+ const tag = `<script type="application/json" id="${CONFIG_ELEMENT_ID}">${json}</script>`;
79
91
  if (html.includes('</head>'))
80
92
  return html.replace('</head>', `${tag}</head>`);
81
93
  return `${tag}${html}`;
@@ -1 +1 @@
1
- {"version":3,"file":"paths.js","sourceRoot":"","sources":["../../../src/dashboard/paths.ts"],"names":[],"mappings":"AAAA;;;;;;;;GA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CAAC,cAAc,CAAC,CAAC;IAC5C,IAAI,QAAQ,EAAE,KAAK,KAAK,SAAS,EAAE,CAAC;QAClC,MAAM,EAAE,GAAG,QAAQ,CAAC,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;QAC/C,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAClD,CAAC;IACD,OAAO,GAAG,GAAG,GAAG,IAAI,EAAE,CAAC;AACzB,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "0.25.4";
1
+ export declare const VERSION = "0.25.5";
2
2
  export { configure } from '../configure.js';
3
3
  export * from './actor-labels.js';
4
4
  export type { AuthActorResolverOptions } from './actor-resolver.js';
package/dist/src/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export const VERSION = '0.25.4';
1
+ export const VERSION = '0.25.5';
2
2
  // Re-export the configure hook from the package root so `node ace configure` finds it.
3
3
  // AdonisJS imports the package MAIN and reads `configure` off the module namespace —
4
4
  // the `./configure` subpath alone is never consulted.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adonis-agora/agent",
3
- "version": "0.25.4",
3
+ "version": "0.25.5",
4
4
  "description": "Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.",
5
5
  "license": "MIT",
6
6
  "repository": {