@agent-native/core 0.167.4 → 0.168.1
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/corpus/README.md +1 -1
- package/corpus/templates/brain/actions/list-sources.ts +17 -7
- package/corpus/templates/brain/app/components/brain/Surface.tsx +4 -2
- package/corpus/templates/brain/app/lib/brain.ts +13 -3
- package/corpus/templates/brain/server/lib/brain-health.ts +5 -8
- package/corpus/templates/brain/server/lib/brain.ts +1 -0
- package/corpus/templates/brain/server/lib/capture-sanitization.ts +5 -0
- package/corpus/templates/brain/server/routes/api/brain/queue/run.post.ts +3 -2
- package/corpus/templates/clips/desktop/src/app.tsx +11 -10
- package/corpus/templates/clips/desktop/src/lib/desktop-oauth-window.ts +23 -0
- package/corpus/templates/clips/desktop/src-tauri/src/util.rs +32 -0
- package/dist/client/AboutAgentNativeDialog.d.ts +5 -0
- package/dist/client/AboutAgentNativeDialog.js +56 -0
- package/dist/client/AgentPanel.d.ts +3 -1
- package/dist/client/AgentPanel.js +2 -2
- package/dist/client/CommandMenu.d.ts +6 -1
- package/dist/client/CommandMenu.js +46 -3
- package/dist/client/EnvironmentBadge.js +4 -1
- package/dist/client/agent-native-version.d.ts +12 -0
- package/dist/client/agent-native-version.js +36 -0
- package/dist/client/agent-page/AgentTabsPage.d.ts +4 -1
- package/dist/client/agent-page/AgentTabsPage.js +2 -2
- package/dist/client/integrations/IntegrationConnectionChoice.d.ts +4 -1
- package/dist/client/integrations/IntegrationConnectionChoice.js +6 -2
- package/dist/client/onboarding/FirstRunOnboarding.js +9 -5
- package/dist/client/resources/McpIntegrationDialog.d.ts +3 -1
- package/dist/client/resources/McpIntegrationDialog.js +181 -112
- package/dist/client/resources/mcp-integration-catalog.d.ts +1 -0
- package/dist/client/resources/mcp-integration-catalog.js +5 -2
- package/dist/collab/struct-routes.d.ts +1 -1
- package/dist/config.d.ts +3 -1
- package/dist/config.js +14 -9
- package/dist/localization/core-messages/ar-SA.js +6 -0
- package/dist/localization/core-messages/de-DE.js +6 -0
- package/dist/localization/core-messages/en-US.d.ts +6 -0
- package/dist/localization/core-messages/en-US.js +6 -0
- package/dist/localization/core-messages/es-ES.js +6 -0
- package/dist/localization/core-messages/fr-FR.js +6 -0
- package/dist/localization/core-messages/hi-IN.js +6 -0
- package/dist/localization/core-messages/ja-JP.js +6 -0
- package/dist/localization/core-messages/ko-KR.js +6 -0
- package/dist/localization/core-messages/pt-BR.js +6 -0
- package/dist/localization/core-messages/zh-CN.js +6 -0
- package/dist/localization/core-messages/zh-TW.js +6 -0
- package/dist/localization/core-messages.d.ts +6 -0
- package/dist/localization/default-messages.d.ts +9 -0
- package/dist/localization/default-messages.js +9 -0
- package/dist/observability/routes.d.ts +3 -3
- package/dist/provider-api/actions/custom-provider-registration.d.ts +4 -4
- package/dist/provider-api/actions/provider-api.d.ts +8 -8
- package/dist/provider-api/corpus-jobs.d.ts +2 -2
- package/dist/vite/agent-native-config-loader.js +1 -1
- package/dist/vite/client.js +9 -8
- package/dist/vite/package-versions.d.ts +1 -0
- package/dist/vite/package-versions.js +97 -0
- package/docs/content/agent-native-config.mdx +55 -31
- package/docs/content/environment-variables.mdx +51 -14
- package/package.json +1 -1
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import fs from "fs";
|
|
2
|
+
import { createRequire } from "module";
|
|
3
|
+
import path from "path";
|
|
4
|
+
import { fileURLToPath } from "url";
|
|
5
|
+
const AGENT_NATIVE_PACKAGE_PREFIX = "@agent-native/";
|
|
6
|
+
function readPackageManifest(manifestPath) {
|
|
7
|
+
try {
|
|
8
|
+
const manifest = JSON.parse(fs.readFileSync(manifestPath, "utf8"));
|
|
9
|
+
return manifest && typeof manifest === "object"
|
|
10
|
+
? manifest
|
|
11
|
+
: null;
|
|
12
|
+
}
|
|
13
|
+
catch {
|
|
14
|
+
// coercion-ok: missing or malformed manifests are typed absence from the optional version inventory.
|
|
15
|
+
return null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function dependencyNames(manifest, includeDevDependencies = false) {
|
|
19
|
+
if (!manifest) {
|
|
20
|
+
return [];
|
|
21
|
+
}
|
|
22
|
+
return [
|
|
23
|
+
...Object.keys(manifest.dependencies ?? {}),
|
|
24
|
+
...Object.keys(manifest.optionalDependencies ?? {}),
|
|
25
|
+
...Object.keys(manifest.peerDependencies ?? {}),
|
|
26
|
+
...(includeDevDependencies
|
|
27
|
+
? Object.keys(manifest.devDependencies ?? {})
|
|
28
|
+
: []),
|
|
29
|
+
];
|
|
30
|
+
}
|
|
31
|
+
function resolvePackageManifest(packageName, resolutionBase) {
|
|
32
|
+
let entryPath;
|
|
33
|
+
const packageRequire = createRequire(path.join(resolutionBase, "package.json"));
|
|
34
|
+
try {
|
|
35
|
+
entryPath = packageRequire.resolve(packageName);
|
|
36
|
+
}
|
|
37
|
+
catch {
|
|
38
|
+
if (packageName !== "@agent-native/core") {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
const coreManifestPath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../../package.json");
|
|
42
|
+
const coreManifest = readPackageManifest(coreManifestPath);
|
|
43
|
+
return coreManifest?.name === packageName
|
|
44
|
+
? { manifest: coreManifest, manifestPath: coreManifestPath }
|
|
45
|
+
: null;
|
|
46
|
+
}
|
|
47
|
+
let directory = path.dirname(entryPath);
|
|
48
|
+
for (let depth = 0; depth < 20; depth += 1) {
|
|
49
|
+
const manifestPath = path.join(directory, "package.json");
|
|
50
|
+
const manifest = readPackageManifest(manifestPath);
|
|
51
|
+
if (manifest?.name === packageName) {
|
|
52
|
+
return { manifest, manifestPath };
|
|
53
|
+
}
|
|
54
|
+
const parent = path.dirname(directory);
|
|
55
|
+
if (parent === directory) {
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
directory = parent;
|
|
59
|
+
}
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
export function resolveAgentNativePackageVersions(cwd) {
|
|
63
|
+
const appManifest = readPackageManifest(path.join(cwd, "package.json"));
|
|
64
|
+
const packageNames = new Set([
|
|
65
|
+
"@agent-native/core",
|
|
66
|
+
...dependencyNames(appManifest, true).filter((name) => name.startsWith(AGENT_NATIVE_PACKAGE_PREFIX)),
|
|
67
|
+
]);
|
|
68
|
+
const resolvedVersions = new Map();
|
|
69
|
+
const queuedPackages = [...packageNames].map((packageName) => ({
|
|
70
|
+
packageName,
|
|
71
|
+
resolutionBase: cwd,
|
|
72
|
+
}));
|
|
73
|
+
while (queuedPackages.length > 0) {
|
|
74
|
+
const queuedPackage = queuedPackages.shift();
|
|
75
|
+
if (!queuedPackage)
|
|
76
|
+
continue;
|
|
77
|
+
const resolvedPackage = resolvePackageManifest(queuedPackage.packageName, queuedPackage.resolutionBase);
|
|
78
|
+
if (!resolvedPackage) {
|
|
79
|
+
continue;
|
|
80
|
+
}
|
|
81
|
+
const { manifest } = resolvedPackage;
|
|
82
|
+
if (typeof manifest.version === "string" && manifest.version.trim()) {
|
|
83
|
+
resolvedVersions.set(queuedPackage.packageName, manifest.version.trim());
|
|
84
|
+
}
|
|
85
|
+
for (const dependencyName of dependencyNames(manifest)) {
|
|
86
|
+
if (dependencyName.startsWith(AGENT_NATIVE_PACKAGE_PREFIX) &&
|
|
87
|
+
!packageNames.has(dependencyName)) {
|
|
88
|
+
packageNames.add(dependencyName);
|
|
89
|
+
queuedPackages.push({
|
|
90
|
+
packageName: dependencyName,
|
|
91
|
+
resolutionBase: path.dirname(resolvedPackage.manifestPath),
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return Object.fromEntries([...resolvedVersions.entries()].sort(([left], [right]) => left.localeCompare(right)));
|
|
97
|
+
}
|
|
@@ -16,13 +16,19 @@ The resolved configuration is serialized into the browser bundle. Treat every
|
|
|
16
16
|
value in these files as public. Put credentials and deployment-specific values
|
|
17
17
|
in the environment or the scoped secret store instead.
|
|
18
18
|
|
|
19
|
-
This file is the home for public, app-owned configuration - the values
|
|
20
|
-
describe how an app should behave or what capabilities it exposes.
|
|
21
|
-
|
|
22
|
-
deployment-specific value, the framework
|
|
23
|
-
`AGENT_NATIVE_CONFIG*` environment alias
|
|
24
|
-
secrets, provider credentials, database URLs, host-specific
|
|
25
|
-
server-only values that are not part of this public config.
|
|
19
|
+
This file is the primary home for public, app-owned configuration - the values
|
|
20
|
+
that describe how an app should behave or what capabilities it exposes. Put
|
|
21
|
+
the committed default here first. When the same public setting needs a
|
|
22
|
+
deployment-specific value, the framework accepts a deterministic
|
|
23
|
+
`AGENT_NATIVE_CONFIG*` environment alias as the final override. Environment
|
|
24
|
+
variables still own secrets, provider credentials, database URLs, host-specific
|
|
25
|
+
values, and other server-only values that are not part of this public config.
|
|
26
|
+
|
|
27
|
+
The server-only `defineAppConfig()` schema is a deliberate boundary, not a
|
|
28
|
+
second spelling of this file. It configures behavior that must stay out of the
|
|
29
|
+
browser bundle, such as credential scoping, webhook trust, and workspace
|
|
30
|
+
runtime wiring. Its declared environment aliases are documented separately in
|
|
31
|
+
the maintainer environment inventory.
|
|
26
32
|
|
|
27
33
|
## File location and loading
|
|
28
34
|
|
|
@@ -109,13 +115,23 @@ Every supported public config path has an environment alias under the
|
|
|
109
115
|
`AGENT_NATIVE_CONFIG` namespace. Convert each lower-camel-case path segment to
|
|
110
116
|
upper snake case and join segments with underscores:
|
|
111
117
|
|
|
112
|
-
| Config path
|
|
113
|
-
|
|
|
114
|
-
| the whole config
|
|
115
|
-
| `
|
|
116
|
-
| `runtime
|
|
117
|
-
| `runtime.auth
|
|
118
|
-
| `
|
|
118
|
+
| Config path | Environment alias |
|
|
119
|
+
| ------------------------------ | -------------------------------------------------- |
|
|
120
|
+
| the whole config | `AGENT_NATIVE_CONFIG` |
|
|
121
|
+
| `onboarding.firstRun` | `AGENT_NATIVE_CONFIG_ONBOARDING_FIRST_RUN` |
|
|
122
|
+
| `runtime` | `AGENT_NATIVE_CONFIG_RUNTIME` |
|
|
123
|
+
| `runtime.auth` | `AGENT_NATIVE_CONFIG_RUNTIME_AUTH` |
|
|
124
|
+
| `runtime.auth.enabled` | `AGENT_NATIVE_CONFIG_RUNTIME_AUTH_ENABLED` |
|
|
125
|
+
| `runtime.database.required` | `AGENT_NATIVE_CONFIG_RUNTIME_DATABASE_REQUIRED` |
|
|
126
|
+
| `runtime.environment.required` | `AGENT_NATIVE_CONFIG_RUNTIME_ENVIRONMENT_REQUIRED` |
|
|
127
|
+
| `deployment.environment` | `AGENT_NATIVE_CONFIG_DEPLOYMENT_ENVIRONMENT` |
|
|
128
|
+
| `diagnostics.failOnBuild` | `AGENT_NATIVE_CONFIG_DIAGNOSTICS_FAIL_ON_BUILD` |
|
|
129
|
+
| `instructions.runtime` | `AGENT_NATIVE_CONFIG_INSTRUCTIONS_RUNTIME` |
|
|
130
|
+
| `instructions.development` | `AGENT_NATIVE_CONFIG_INSTRUCTIONS_DEVELOPMENT` |
|
|
131
|
+
| `translations.locales` | `AGENT_NATIVE_CONFIG_TRANSLATIONS_LOCALES` |
|
|
132
|
+
| `changelog.enabled` | `AGENT_NATIVE_CONFIG_CHANGELOG_ENABLED` |
|
|
133
|
+
| `harness` | `AGENT_NATIVE_CONFIG_HARNESS` |
|
|
134
|
+
| `harness.runtimes` | `AGENT_NATIVE_CONFIG_HARNESS_RUNTIMES` |
|
|
119
135
|
|
|
120
136
|
The whole config, an object section, or a deeply nested object can be supplied
|
|
121
137
|
as one JSON string. Arrays also use JSON strings. More-specific aliases are
|
|
@@ -148,12 +164,16 @@ scoped secret and connection stores.
|
|
|
148
164
|
## Configuration vs environment variables
|
|
149
165
|
|
|
150
166
|
Use the config file or JSON manifest for stable, non-secret application
|
|
151
|
-
defaults. Use
|
|
152
|
-
|
|
167
|
+
defaults. Use the canonical config alias when a public value needs a deployment
|
|
168
|
+
override. Use a separate environment variable or the scoped secret store only
|
|
169
|
+
when the value belongs to a deployment, the server, or a user or organization
|
|
170
|
+
connection:
|
|
153
171
|
|
|
154
172
|
| Put it in | Examples | Notes |
|
|
155
173
|
| --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
156
|
-
| `agent-native.config.ts` or the shared section of `agent-native.json` | onboarding mode, required runtime contracts, release lane, shipped locales, changelog, hosted harness capabilities | Committed app policy. It is resolved during the Vite config phase and can use `command`, `mode`, `isDev`, and `isBuild`.
|
|
174
|
+
| `agent-native.config.ts` or the shared section of `agent-native.json` | onboarding mode, required runtime contracts, release lane, shipped locales, changelog, hosted harness capabilities | Committed public app policy. It is resolved during the Vite config phase and can use `command`, `mode`, `isDev`, and `isBuild`. |
|
|
175
|
+
| `AGENT_NATIVE_CONFIG_<PATH>` | A deployment-specific public override of one config path | Final override for the typed/JSON public config. Its value is bundled for the browser, so it is never a secret. |
|
|
176
|
+
| Server-only `defineAppConfig()` | credential scoping, webhook trust, agent runtime controls, workspace wiring | Not serialized into the browser. Its declared aliases are the deliberate exception for server behavior. |
|
|
157
177
|
| Deployment environment variables | `DATABASE_URL`, `BETTER_AUTH_SECRET`, `APP_URL`, `NITRO_PRESET`, provider keys, host-specific toggles | Set by the deployment platform or local `.env`. Keep secret values out of source control. See [Environment Variables](/docs/environment-variables). |
|
|
158
178
|
| `runtime.environment.required` | `"PUBLIC_API_ORIGIN"`, `"STRIPE_PUBLISHABLE_KEY"` | A declaration of names the production readiness check must find. It does not set, expose, or replace the values. |
|
|
159
179
|
|
|
@@ -282,26 +302,28 @@ the same setting as the separate `doctor.failOnBuild` option documented in the
|
|
|
282
302
|
|
|
283
303
|
## Precedence and merge behavior
|
|
284
304
|
|
|
285
|
-
For a Vite app, the effective
|
|
305
|
+
For a Vite app, the effective public configuration follows this order:
|
|
286
306
|
|
|
287
307
|
1. Framework defaults. First-run onboarding defaults to `off`; auth and a
|
|
288
308
|
persistent database default to required in production diagnostics.
|
|
289
|
-
2.
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
fallback for deployment inference only; it does not override explicit JSON,
|
|
293
|
-
typed, or canonical config-alias values.
|
|
309
|
+
2. A workspace-level typed config, when the app is inside a configured
|
|
310
|
+
workspace.
|
|
311
|
+
3. `agent-native.json` at the app root.
|
|
294
312
|
4. The automatically loaded typed file, if present. The loader checks these
|
|
295
313
|
candidates in order: `agent-native.config.ts`, `agent-native.ts`,
|
|
296
314
|
`agent-native.mts`, `agent-native.config.mts`.
|
|
297
315
|
5. An explicit `agentNativeConfig` passed to `agentNative()` or the legacy
|
|
298
316
|
`defineConfig()` wrapper. Supplying this option skips automatic typed-file
|
|
299
317
|
loading, while the explicit value still overlays `agent-native.json`.
|
|
300
|
-
6.
|
|
318
|
+
6. `AGENT_NATIVE_CONFIG` and its path aliases from the deployment environment.
|
|
319
|
+
These are the final public-config overrides. The legacy
|
|
320
|
+
`AGENT_NATIVE_DEPLOYMENT_ENVIRONMENT` variable remains a fallback for
|
|
321
|
+
deployment inference only; it does not override an explicit config value.
|
|
322
|
+
7. For onboarding only, the legacy public Vite variables
|
|
301
323
|
`VITE_AGENT_NATIVE_FIRST_RUN_ONBOARDING` and
|
|
302
324
|
`VITE_AGENT_NATIVE_FIRST_RUN_ONBOARDING_SKIP_INTEGRATIONS` can override the
|
|
303
|
-
resolved onboarding mode. Use the config file
|
|
304
|
-
for new work.
|
|
325
|
+
resolved onboarding mode for backwards compatibility. Use the config file
|
|
326
|
+
or its canonical path alias for new work.
|
|
305
327
|
|
|
306
328
|
Use only one of the four typed filenames. If more than one exists, the first
|
|
307
329
|
candidate in the loader's order wins, with `agent-native.config.ts` preferred
|
|
@@ -319,9 +341,10 @@ The JSON and typed sources are merged by supported nested section:
|
|
|
319
341
|
supplies it, it replaces the lower-precedence string or mode map as a whole.
|
|
320
342
|
|
|
321
343
|
For example, JSON can provide `runtime.auth.enabled` and
|
|
322
|
-
`
|
|
323
|
-
`
|
|
324
|
-
|
|
344
|
+
`runtime.environment.required: ["NOTION_API_KEY"]`, while
|
|
345
|
+
`agent-native.config.ts` adds `runtime.database.required` and
|
|
346
|
+
`runtime.environment.required: ["GOOGLE_CLIENT_ID"]`. The result keeps the
|
|
347
|
+
auth setting, adds the database setting, and checks both environment names.
|
|
325
348
|
|
|
326
349
|
## What is safe to commit
|
|
327
350
|
|
|
@@ -342,8 +365,9 @@ Do not commit these values to either config format:
|
|
|
342
365
|
vary by environment.
|
|
343
366
|
|
|
344
367
|
Even a value that is not a secret should stay in deployment configuration when
|
|
345
|
-
it
|
|
346
|
-
public
|
|
368
|
+
it is a platform fact, a routing detail, or server-only behavior that changes
|
|
369
|
+
between targets. For public app behavior, use the typed config plus its
|
|
370
|
+
canonical deployment alias rather than inventing another standalone variable.
|
|
347
371
|
|
|
348
372
|
## `agent-native.json` compatibility
|
|
349
373
|
|
|
@@ -12,20 +12,57 @@ deployment system in this repository. Template-only values stay in the
|
|
|
12
12
|
maintainer inventory; the setup tables below focus on the shared configuration
|
|
13
13
|
most apps need.
|
|
14
14
|
|
|
15
|
-
For a normal app, start with [
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
vary by deployment, use its deterministic
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
15
|
+
For a normal app, start with the [Agent-Native app configuration guide](/docs/agent-native-config),
|
|
16
|
+
then use [Deployment: Environment Variables](/docs/deployment-environment-variables)
|
|
17
|
+
and [Authentication](/docs/authentication) for the deliberate environment-only
|
|
18
|
+
parts. Keep user-, organization-, and workspace-scoped credentials in the
|
|
19
|
+
database-backed secret or connection store; use environment variables for
|
|
20
|
+
deploy-level configuration.
|
|
21
|
+
|
|
22
|
+
For committed, non-secret app defaults, use `agent-native.config.ts` first. If a
|
|
23
|
+
public config value must vary by deployment, use its deterministic
|
|
24
|
+
`AGENT_NATIVE_CONFIG_<PATH>` alias. That alias is the final override of the
|
|
25
|
+
typed/JSON config and also becomes part of the public browser bundle. Do not
|
|
26
|
+
create another standalone Vite-prefixed or Agent-Native-prefixed variable for
|
|
27
|
+
a public setting already represented by the config guide.
|
|
28
|
+
|
|
29
|
+
## Start with Agent-Native app configuration
|
|
30
|
+
|
|
31
|
+
The typed config is the primary documentation and default source for public
|
|
32
|
+
app behavior. Its deployment aliases are the standard environment override:
|
|
33
|
+
|
|
34
|
+
| Config path | Deployment override alias |
|
|
35
|
+
| ------------------------------ | -------------------------------------------------- |
|
|
36
|
+
| `onboarding.firstRun` | `AGENT_NATIVE_CONFIG_ONBOARDING_FIRST_RUN` |
|
|
37
|
+
| `runtime.auth.enabled` | `AGENT_NATIVE_CONFIG_RUNTIME_AUTH_ENABLED` |
|
|
38
|
+
| `runtime.database.required` | `AGENT_NATIVE_CONFIG_RUNTIME_DATABASE_REQUIRED` |
|
|
39
|
+
| `runtime.environment.required` | `AGENT_NATIVE_CONFIG_RUNTIME_ENVIRONMENT_REQUIRED` |
|
|
40
|
+
| `deployment.environment` | `AGENT_NATIVE_CONFIG_DEPLOYMENT_ENVIRONMENT` |
|
|
41
|
+
| `diagnostics.failOnBuild` | `AGENT_NATIVE_CONFIG_DIAGNOSTICS_FAIL_ON_BUILD` |
|
|
42
|
+
| `instructions.runtime` | `AGENT_NATIVE_CONFIG_INSTRUCTIONS_RUNTIME` |
|
|
43
|
+
| `instructions.development` | `AGENT_NATIVE_CONFIG_INSTRUCTIONS_DEVELOPMENT` |
|
|
44
|
+
| `translations.locales` | `AGENT_NATIVE_CONFIG_TRANSLATIONS_LOCALES` |
|
|
45
|
+
| `changelog.enabled` | `AGENT_NATIVE_CONFIG_CHANGELOG_ENABLED` |
|
|
46
|
+
| `harness` | `AGENT_NATIVE_CONFIG_HARNESS` |
|
|
47
|
+
| `harness.runtimes` | `AGENT_NATIVE_CONFIG_HARNESS_RUNTIMES` |
|
|
48
|
+
|
|
49
|
+
Use [Agent-Native app configuration](/docs/agent-native-config) for the full
|
|
50
|
+
schema, mode-aware examples, JSON fragments, and precedence rules. The
|
|
51
|
+
resolved public config is bundled into the browser, so it must contain only
|
|
52
|
+
non-secret app policy.
|
|
53
|
+
|
|
54
|
+
Some non-secret environment variables remain deliberate exceptions because
|
|
55
|
+
they configure server-only behavior, platform facts, routing, or deployment
|
|
56
|
+
secrets. Server-only product controls use the framework's `defineAppConfig()`
|
|
57
|
+
schema and its declared aliases; they are not public `agent-native.config.ts`
|
|
58
|
+
fields. The maintainer inventory's generated **Declared app configuration**
|
|
59
|
+
section is the exhaustive list of those server fields and aliases.
|
|
60
|
+
|
|
61
|
+
## Server, environment-only, and deployment variables
|
|
62
|
+
|
|
63
|
+
The table below covers values that belong to the running deployment, a
|
|
64
|
+
server-only config surface, or an environment-only compatibility surface. For
|
|
65
|
+
public app behavior, use the config paths above instead.
|
|
29
66
|
|
|
30
67
|
| Variable | What it controls | Supported values or format |
|
|
31
68
|
| ---------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-native/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.168.1",
|
|
4
4
|
"description": "Framework for agent-native application development — where AI agents and UI share SQL state, actions, and context",
|
|
5
5
|
"homepage": "https://github.com/BuilderIO/agent-native#readme",
|
|
6
6
|
"bugs": {
|