@guren/core 1.13.1 → 1.14.0

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.
@@ -1,5 +1,12 @@
1
1
  //#region src/internal/deploy-build.d.ts
2
2
  type PathLike = string | URL;
3
+ /**
4
+ * The agent registry (RFC 0017 §3), at a path neither side may choose. Shared
5
+ * rather than spelled twice: `guren check` reads it as source and a deploy build
6
+ * reads it to generate the worker's Durable Object exports, so a second spelling
7
+ * is a deploy exporting no agents while the check calls them registered.
8
+ */
9
+ declare const AGENTS_CONFIG_FILE = "config/agents.ts";
3
10
  type ManifestEntry = {
4
11
  file?: string;
5
12
  css?: string[];
@@ -283,4 +290,4 @@ declare function renderDevOnlyStub(module: DevOnlyModule, message: string): stri
283
290
  */
284
291
  declare const MCP_SDK_SUBPATH_PREFIX = "@modelcontextprotocol/sdk/";
285
292
  //#endregion
286
- export { ClientAssetEnv, DATABASE_CONFIG_CANDIDATES, DATABASE_DIALECTS, DATABASE_FACTORIES, DEV_ONLY_MODULES, DOCUMENT_ASSET_EXTENSIONS, DOCUMENT_ASSET_HEADERS, DatabaseDialect, DatabaseDialectDetection, DevOnlyModule, DevOnlyModuleEntry, DevOnlyModuleKind, DevOnlySpecifier, MCP_PLUGIN_PACKAGE, MCP_SDK_SUBPATH_PREFIX, MCP_TRANSPORT_SPECIFIER, Manifest, ManifestEntry, PathLike, SQL_CLIENT_MODULES, SqlClientModule, SqlClientSpecifier, UnusedSqlClient, appUsesMcpPlugin, assertOutputDirOutsideRoot, clientManifestJson, detectDatabaseDialects, importSpecifier, parseDatabaseDialects, readManifest, removeShadowingIndex, renderDevOnlyStub, resetOutputDir, resolveClientAssetEnv, resolvePathLike, resolveSsrEntryFile, ssrRuntimePaths, stageStaticAssets, stubbableDevOnlyModules, unusedSqlClients };
293
+ export { AGENTS_CONFIG_FILE, ClientAssetEnv, DATABASE_CONFIG_CANDIDATES, DATABASE_DIALECTS, DATABASE_FACTORIES, DEV_ONLY_MODULES, DOCUMENT_ASSET_EXTENSIONS, DOCUMENT_ASSET_HEADERS, DatabaseDialect, DatabaseDialectDetection, DevOnlyModule, DevOnlyModuleEntry, DevOnlyModuleKind, DevOnlySpecifier, MCP_PLUGIN_PACKAGE, MCP_SDK_SUBPATH_PREFIX, MCP_TRANSPORT_SPECIFIER, Manifest, ManifestEntry, PathLike, SQL_CLIENT_MODULES, SqlClientModule, SqlClientSpecifier, UnusedSqlClient, appUsesMcpPlugin, assertOutputDirOutsideRoot, clientManifestJson, detectDatabaseDialects, importSpecifier, parseDatabaseDialects, readManifest, removeShadowingIndex, renderDevOnlyStub, resetOutputDir, resolveClientAssetEnv, resolvePathLike, resolveSsrEntryFile, ssrRuntimePaths, stageStaticAssets, stubbableDevOnlyModules, unusedSqlClients };
@@ -11,6 +11,13 @@ import { fileURLToPath } from "node:url";
11
11
  * fatal, SSR renderer verification) stay per-plugin. A helper that *relates* two
12
12
  * paths canonicalizes both first; one that reads or writes a single path does not.
13
13
  */
14
+ /**
15
+ * The agent registry (RFC 0017 §3), at a path neither side may choose. Shared
16
+ * rather than spelled twice: `guren check` reads it as source and a deploy build
17
+ * reads it to generate the worker's Durable Object exports, so a second spelling
18
+ * is a deploy exporting no agents while the check calls them registered.
19
+ */
20
+ const AGENTS_CONFIG_FILE = "config/agents.ts";
14
21
  function resolvePathLike(value) {
15
22
  return value instanceof URL ? fileURLToPath(value) : resolve(String(value));
16
23
  }
@@ -444,4 +451,4 @@ function renderDevOnlyStub(module, message) {
444
451
  */
445
452
  const MCP_SDK_SUBPATH_PREFIX = "@modelcontextprotocol/sdk/";
446
453
  //#endregion
447
- export { DATABASE_CONFIG_CANDIDATES, DATABASE_DIALECTS, DATABASE_FACTORIES, DEV_ONLY_MODULES, DOCUMENT_ASSET_EXTENSIONS, DOCUMENT_ASSET_HEADERS, MCP_PLUGIN_PACKAGE, MCP_SDK_SUBPATH_PREFIX, MCP_TRANSPORT_SPECIFIER, SQL_CLIENT_MODULES, appUsesMcpPlugin, assertOutputDirOutsideRoot, clientManifestJson, detectDatabaseDialects, importSpecifier, parseDatabaseDialects, readManifest, removeShadowingIndex, renderDevOnlyStub, resetOutputDir, resolveClientAssetEnv, resolvePathLike, resolveSsrEntryFile, ssrRuntimePaths, stageStaticAssets, stubbableDevOnlyModules, unusedSqlClients };
454
+ export { AGENTS_CONFIG_FILE, DATABASE_CONFIG_CANDIDATES, DATABASE_DIALECTS, DATABASE_FACTORIES, DEV_ONLY_MODULES, DOCUMENT_ASSET_EXTENSIONS, DOCUMENT_ASSET_HEADERS, MCP_PLUGIN_PACKAGE, MCP_SDK_SUBPATH_PREFIX, MCP_TRANSPORT_SPECIFIER, SQL_CLIENT_MODULES, appUsesMcpPlugin, assertOutputDirOutsideRoot, clientManifestJson, detectDatabaseDialects, importSpecifier, parseDatabaseDialects, readManifest, removeShadowingIndex, renderDevOnlyStub, resetOutputDir, resolveClientAssetEnv, resolvePathLike, resolveSsrEntryFile, ssrRuntimePaths, stageStaticAssets, stubbableDevOnlyModules, unusedSqlClients };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guren/core",
3
- "version": "1.13.1",
3
+ "version": "1.14.0",
4
4
  "type": "module",
5
5
  "sideEffects": [
6
6
  "./src/bin.ts",
@@ -84,9 +84,9 @@
84
84
  "typecheck": "tsc --noEmit"
85
85
  },
86
86
  "dependencies": {
87
- "@guren/cli": "^2.15.0",
87
+ "@guren/cli": "^2.16.0",
88
88
  "@guren/orm": "^2.6.3",
89
- "@guren/server": "^2.16.0"
89
+ "@guren/server": "^2.17.0"
90
90
  },
91
91
  "devDependencies": {
92
92
  "@types/node": "^20.14.10",