@akanjs/cli 3.0.0-alpha.22 → 3.0.0-alpha.23

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/.build-stamp CHANGED
@@ -1 +1 @@
1
- 3e7239f205adf97e7963c9c815081694ccab1602ea91fb3ca264977690e1df04
1
+ 3237453a1286b1bf99348cb60b92184947f53163fa9ae1efae1013a73d10aa77
@@ -648,8 +648,9 @@ libs never import it directly (`no-import-external-library`) — everything reac
648
648
  `AKAN_AGENT=false` takes it off — and negotiates streaming via `accept`, so assistant text arrives as it is
649
649
  generated with zero app code. The endpoint is a stateless relay and **never executes tools**: every tool runs in
650
650
  the caller's own browser session, gated by guards and the approval card. Its guard is `AgentRelayAccess`, which
651
- defaults to allow and **warns at boot while no policy is registered** — a product with accounts locks it in its
652
- `option.ts`, `option.setAgentAccess((ctx) => !!ctx.get("account"))`, or anonymous visitors spend the LLM key.
651
+ **refuses every call until a policy is registered** — the same answer `None` gives, with no boot warning. A
652
+ product with accounts locks it in its `option.ts`, `option.setAgentAccess((ctx) => !!ctx.get("account"))`;
653
+ without a policy the chat cannot spend the LLM key.
653
654
  `persist` keeps the transcript across reloads (sessionStorage; `{ storage: "local" }` to outlive the tab),
654
655
  default off. Re-skin through the `AgentChat` slot in `_overrides.tsx`.
655
656
  - **The LLM is configured in `option.ts`, never through the environment.** `option.setLlm({ apiKey, model, host })`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/cli",
3
- "version": "3.0.0-alpha.22",
3
+ "version": "3.0.0-alpha.23",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -34,7 +34,7 @@
34
34
  "@langchain/openai": "^1.4.6",
35
35
  "@tailwindcss/node": "^4.3.0",
36
36
  "@trapezedev/project": "^7.1.4",
37
- "akanjs": "3.0.0-alpha.22",
37
+ "akanjs": "3.0.0-alpha.23",
38
38
  "chalk": "^5.6.2",
39
39
  "commander": "^14.0.3",
40
40
  "dayjs": "^1.11.20",
@@ -1,6 +1,3 @@
1
1
  import type { ModulesOptions } from "../lib/option";
2
- import { libEnv } from "./env.server.type";
3
2
 
4
- export const env: ModulesOptions = {
5
- ...libEnv,
6
- };
3
+ export const env: ModulesOptions = {};
@@ -1,6 +1,3 @@
1
1
  import type { ModulesOptions } from "../lib/option";
2
- import { libEnv } from "./env.server.type";
3
2
 
4
- export const env: ModulesOptions = {
5
- ...libEnv,
6
- };
3
+ export const env: ModulesOptions = {};
@@ -1,6 +1,3 @@
1
1
  import type { ModulesOptions } from "../lib/option";
2
- import { libEnv } from "./env.server.type";
3
2
 
4
- export const env: ModulesOptions = {
5
- ...libEnv,
6
- };
3
+ export const env: ModulesOptions = {};
@@ -1,6 +1,3 @@
1
1
  import type { ModulesOptions } from "../lib/option";
2
- import { libEnv } from "./env.server.type";
3
2
 
4
- export const env: ModulesOptions = {
5
- ...libEnv,
6
- };
3
+ export const env: ModulesOptions = {};