@nyte-ai/ai 0.0.25-nightly.20261102.45 → 0.0.27

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/README.md CHANGED
@@ -1,60 +1,102 @@
1
1
  # @nyte-ai/ai
2
2
 
3
- Provider streaming, authentication, and model catalogs. Every Nyte client composes the same
4
- providers through `createNyteModels()` over the shared `~/.nyte` credential and model stores
5
- (`NYTE_HOME` overrides the directory). Catalogs come from the R2 bucket named by
6
- `DEFAULT_MODELS_CATALOG_URL` in `src/models.ts` and are cached in `~/.nyte/models-store.json`;
7
- `NYTE_MODELS_URL` overrides the catalog origin. A login made in one client is a login in all of
8
- them.
3
+ Provider streaming, authentication and model catalogs for Nyte. Every Nyte client composes the
4
+ same providers over the same credential and model stores, so a login made in one client is a login
5
+ in all of them.
9
6
 
10
- ## Layout
7
+ ## Quick start
11
8
 
12
- | Path | Responsibility |
13
- | --- | --- |
14
- | `src/models.ts` | `Provider`, `Models`, `createProvider`, auth resolution, hosted catalog refresh and caching |
15
- | `src/auth/` | Credential types and stores, api-key helpers, OAuth flows under `auth/oauth/` |
16
- | `src/api/` | Wire adapters: Anthropic Messages, OpenAI Responses and Chat Completions, Codex, Google |
17
- | `src/api/github-copilot-headers.ts` | Copilot identity shared by auth, catalog generation, and request adapters |
18
- | `src/providers/` | Provider factories and provider-specific account filtering |
19
- | `src/providers/opencode-headers.ts` | Maps `sessionId` to `x-opencode-session` for OpenCode Zen and Go requests |
20
- | `src/providers/nyte-catalog.ts` | The provider list and default models each client starts from |
21
- | `scripts/` | Hosted catalog generation and R2 publishing (`pnpm models:generate`, `pnpm models:publish`) |
9
+ `createNyteModels` registers every provider over the stores in `~/.nyte`:
10
+
11
+ ```ts
12
+ import { createNyteModels } from "@nyte-ai/ai";
13
+
14
+ const models = createNyteModels();
15
+ await models.refresh({ providers: ["openai"] });
16
+ const available = await models.getAvailable("openai");
17
+ ```
18
+
19
+ The main entry also exports the Node file stores. In a browser or a server that keeps credentials
20
+ elsewhere, import the narrow entries instead, as the [GitHub Copilot example](#browser-and-server-hosts)
21
+ shows.
22
+
23
+ ## Configuration
24
+
25
+ | Variable | Default | What it does |
26
+ | --- | --- | --- |
27
+ | `NYTE_HOME` | `~/.nyte` | Directory that holds `auth.json` and `models-store.json` |
28
+ | `NYTE_MODELS_URL` | `DEFAULT_MODELS_CATALOG_URL` | Origin of the hosted model catalogs |
29
+ | `NYTE_GITHUB_COPILOT_CLIENT_ID` | `Iv1.b507a08c87ecfe98` | GitHub OAuth client for Copilot sign-in |
30
+
31
+ Provider API keys come from the environment variables in the next table or from a stored key.
22
32
 
23
33
  ## Providers
24
34
 
25
35
  | Provider | Auth | Catalog |
26
36
  | --- | --- | --- |
27
- | `openai-codex` | ChatGPT OAuth (browser or device code) | Hosted JSON feed |
28
- | `openai`, `anthropic` | API key from the environment or a stored key; Anthropic also offers OAuth | Hosted JSON feed |
37
+ | `openai-codex` | ChatGPT OAuth, in the browser or with a device code | Hosted JSON feed |
38
+ | `openai` | `OPENAI_API_KEY` or a stored key | Hosted JSON feed |
39
+ | `anthropic` | `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, `ANTHROPIC_OAUTH_TOKEN`, a stored key, OAuth, or workload identity federation | Hosted JSON feed |
29
40
  | `opencode`, `opencode-go` | `OPENCODE_API_KEY` or a stored key | Hosted JSON feed |
30
- | `github-copilot` | GitHub device sign-in or an injected bearer token | Hosted JSON feed, filtered by OAuth account model IDs |
41
+ | `github-copilot` | GitHub device sign-in, or a bearer token in `COPILOT_GITHUB_TOKEN` | Hosted JSON feed, filtered by the account's model IDs |
42
+ | `vercel-ai-gateway` | `AI_GATEWAY_API_KEY`, `VERCEL_OIDC_TOKEN` or a stored key | Hosted JSON feed |
43
+ | `openrouter` | `OPENROUTER_API_KEY` or a stored key | Hosted JSON feed |
44
+
45
+ Anthropic workload identity federation needs `ANTHROPIC_FEDERATION_RULE_ID`,
46
+ `ANTHROPIC_ORGANIZATION_ID` and `ANTHROPIC_IDENTITY_TOKEN_FILE`. `ANTHROPIC_SERVICE_ACCOUNT_ID` and
47
+ `ANTHROPIC_WORKSPACE_ID` are optional.
48
+
49
+ Clients fetch the catalog file for each provider from the R2 bucket at
50
+ `DEFAULT_MODELS_CATALOG_URL` and cache it in `~/.nyte/models-store.json`. To rebuild and upload the
51
+ catalogs, run:
52
+
53
+ ```sh
54
+ pnpm --dir packages/ai models:generate
55
+ pnpm --dir packages/ai models:publish
56
+ ```
57
+
58
+ `models:generate` writes one JSON array per provider under `catalog.generated/`, and
59
+ `models:publish` uploads those files to the `nyte-models` R2 bucket with `wrangler`. Before you
60
+ publish, run `wrangler login` or set `CLOUDFLARE_API_TOKEN` and `CLOUDFLARE_ACCOUNT_ID`.
31
61
 
32
- `pnpm models:generate` writes one JSON array per provider under `catalog/`, and
33
- `pnpm models:publish` uploads those files to Cloudflare R2. Clients fetch the file for their
34
- provider and cache the result.
62
+ ## Layout
63
+
64
+ | Path | What it holds |
65
+ | --- | --- |
66
+ | `src/models.ts` | `Provider`, `Models`, `createProvider`, auth resolution, hosted catalog refresh and caching |
67
+ | `src/auth/` | Credential types and stores, API-key helpers, and the OAuth flows under `auth/oauth/` |
68
+ | `src/api/` | Wire adapters for Anthropic Messages, OpenAI Responses and Chat Completions, Codex and Google |
69
+ | `src/providers/` | Provider factories and provider-specific account filtering |
70
+ | `src/providers/nyte-catalog.ts` | The provider list and default models each client starts from |
71
+ | `scripts/` | Hosted catalog generation and R2 publishing |
35
72
 
36
73
  ## Credential storage
37
74
 
38
- `FileCredentialStore` keeps one credential per provider in `~/.nyte/auth.json`. A TUI, a desktop
39
- window, and a host can all write that file, so every mutation takes `auth.json.lock` and holds it
40
- across the whole read-modify-write, including the OAuth refresh that `Models` runs inside `modify`.
41
- A rotating refresh token is therefore spent once, not once per client. The lock names its owning
42
- process, host, and acquisition, so a crashed client's lock is taken over at once when it came from
43
- this machine. Any lock older than a minute is reclaimed even if a process still claims it, because
44
- pids get reused and a suspended machine wakes with held locks; a refresh interrupted that way costs
45
- the user a sign-in, so refreshes are capped well below that. A holder whose lock was reclaimed
46
- reports that nothing was written instead of publishing over the client that holds it now.
47
-
48
- Writes publish by renaming a temporary file over `auth.json`, so readers take no lock and never
49
- observe a half-written file. A file that cannot be read fails the operation instead of resolving
50
- empty, including for providers that would otherwise fall back to an environment variable: an
51
- unparseable `auth.json` is a typo to fix, not a reason to overwrite every stored login. Entries
52
- that this version cannot parse are reported as no credential and left on disk untouched, so a
53
- downgrade cannot drop credentials a newer build wrote.
75
+ `FileCredentialStore`, which `createNyteModels` uses, keeps one credential per provider in
76
+ `~/.nyte/auth.json`. Several processes can write that file at once. Every change takes
77
+ `auth.json.lock` and holds it across the whole read-modify-write, including the OAuth refresh that
78
+ `Models` runs inside `modify`. A rotating refresh token is then spent once, not once per client.
79
+
80
+ A host from `openHost` in `@nyte-ai/host` keeps logins in its own store instead, through
81
+ `credentialStore` from `@nyte-ai/host/credentials`.
82
+
83
+ The lock names its owning process, host and acquisition. When a client on this machine crashes,
84
+ the next client takes over its lock at once. Any lock older than a minute is reclaimed even if a
85
+ process still claims it, because pids get reused and a suspended machine wakes with held locks. A
86
+ refresh interrupted this way costs the user a sign-in, so refreshes time out well before a minute.
87
+ A holder whose lock was reclaimed reports that it wrote nothing instead of overwriting the new
88
+ holder's work.
89
+
90
+ Writes publish by renaming a temporary file over `auth.json`, so readers take no lock and never see
91
+ a half-written file. A file that can't be read fails the operation instead of reading as empty.
92
+ This holds even for providers that would otherwise fall back to an environment variable, so a typo
93
+ in `auth.json` never overwrites every stored login. This version reports entries it can't parse as
94
+ no credential and leaves them on disk, so a downgrade can't drop credentials a newer build wrote.
54
95
 
55
96
  ## GitHub Copilot
56
97
 
57
- The OAuth flow follows [Pi at `71dca871`](https://github.com/earendil-works/pi/blob/71dca871bc80b6bc97be37f0ca3189399d651fff/packages/ai/src/auth/oauth/github-copilot.ts):
98
+ The OAuth flow follows
99
+ [Pi at `71dca871`](https://github.com/earendil-works/pi/blob/71dca871bc80b6bc97be37f0ca3189399d651fff/packages/ai/src/auth/oauth/github-copilot.ts):
58
100
 
59
101
  ```text
60
102
  Host starts GitHub device authorization
@@ -65,49 +107,54 @@ Host starts GitHub device authorization
65
107
  -> credential store saves both tokens and account model IDs
66
108
  ```
67
109
 
68
- `refresh` stores the GitHub token. `access` stores the short-lived Copilot session token.
69
- `expires` is the session token's actual expiry; shared auth resolution already refreshes five
70
- minutes early under the credential store lock. Refresh repeats the exchange and account model
71
- lookup without another device login. A failed lookup does not persist a partial login or refresh.
72
- Credential reads validate both tokens, expiry, and account model IDs through one schema. Incomplete
73
- or old direct-token credentials require a fresh sign-in.
74
-
75
- Client identity is GitHub's Copilot OAuth client, `Iv1.b507a08c87ecfe98`, with Copilot's
76
- editor headers. This is not Nyte's OAuth app, and the device-code instructions say so. The
77
- `clientId` option or `NYTE_GITHUB_COPILOT_CLIENT_ID` can select a host's own client, but that client
78
- must be permitted to use Copilot's token exchange. A successful GitHub device grant alone does
79
- not establish that permission. This integration does not establish official Copilot client support.
80
-
81
- The session token's `proxy-ep` chooses the API origin. Only HTTPS origins under
82
- `*.githubcopilot.com` on the default port are accepted; an untrusted endpoint fails before the
83
- session token leaves the host. A token without `proxy-ep` uses
84
- `https://api.individual.githubcopilot.com`. Requests refuse redirects, time out after 15 seconds
85
- including body reading, and expose fixed errors with HTTP status or known OAuth error codes,
86
- never remote response bodies or token-bearing transport messages. Device polling is cancellable
87
- and bounded by the code's lifetime. Verification URLs must name a GitHub HTTPS login page.
110
+ The credential stores the GitHub token in `refresh` and the short-lived Copilot session token in
111
+ `access`. `expires` is the session token's real expiry, and shared auth resolution refreshes five
112
+ minutes early under the credential store lock. A refresh repeats the exchange and the account model
113
+ lookup without another device login. A failed lookup saves neither a partial login nor a partial
114
+ refresh. Credential reads validate both tokens, the expiry and the account model IDs through one
115
+ schema. An incomplete credential or an old direct-token credential needs a fresh sign-in.
116
+
117
+ ### Client identity
118
+
119
+ Sign-in uses GitHub's Copilot OAuth client, `Iv1.b507a08c87ecfe98`, with Copilot's editor headers.
120
+ This is not Nyte's own OAuth app, and the device-code instructions say so. The `clientId` option or
121
+ `NYTE_GITHUB_COPILOT_CLIENT_ID` selects another client, but that client must be allowed to use
122
+ Copilot's token exchange. A successful GitHub device grant doesn't prove that it is. Nyte is not an
123
+ official Copilot client.
124
+
125
+ ### Security
126
+
127
+ - The session token's `proxy-ep` chooses the API origin. The host accepts only HTTPS origins under
128
+ `*.githubcopilot.com` on the default port, and an untrusted origin fails before the session token
129
+ leaves the host.
130
+ - A token without `proxy-ep` uses `https://api.individual.githubcopilot.com`.
131
+ - Requests refuse redirects and time out after 15 seconds, including reading the body.
132
+ - Errors carry the HTTP status or a known OAuth error code. They never carry remote response
133
+ bodies or transport messages that contain tokens.
134
+ - Device polling can be cancelled and stops when the code expires.
135
+ - Verification URLs must point to a GitHub HTTPS login page.
88
136
 
89
137
  ### Model definitions and account access
90
138
 
91
- The hosted catalog supplies Copilot endpoint routes, limits, reasoning controls, and prices. The
92
- authenticated `/models` response supplies account availability, not a second complete model schema.
93
- Missing `supported_endpoints`, limits, or billing metadata therefore does not drop a known model.
94
- Unknown IDs wait for a catalog update rather than receiving guessed routes.
139
+ The hosted catalog supplies Copilot endpoint routes, limits, reasoning controls and prices. The
140
+ authenticated `/models` response supplies which models the account can use. A known model stays
141
+ in the list when `/models` omits `supported_endpoints`, limits or billing data. An unknown model ID
142
+ waits for a catalog update and never gets a guessed route.
95
143
 
96
144
  `getModels()` returns the cached hosted definitions. `getAvailable()` applies the account's
97
- `availableModelIds`. Those IDs live with the credential, so another client can restore them offline
98
- without a separate Copilot model-cache entry. Login and token refresh replace the list, including
99
- an empty list. Disabled policies and explicit lack of tool support are excluded. When every picker
100
- flag is false, only the Individual endpoint falls back to explicitly enabled policies, as Pi does.
101
- Unlike Pi, Nyte does not automatically enable unconfigured model policies. It reports that account
102
- approval is needed and leaves those models unavailable until enabled.
145
+ `availableModelIds`. Those IDs live with the credential, so another client can restore them
146
+ offline. Login and token refresh replace the list, even with an empty one. Models with a disabled
147
+ policy or no tool support are excluded. When every picker flag is false, only the Individual
148
+ endpoint falls back to models whose policy is enabled. Nyte never enables a model policy for you.
149
+ It reports that the account needs approval and leaves those models unavailable until you enable
150
+ them.
103
151
 
104
- Catalog prices are model-rate estimates, not a calculation of Copilot subscription charges or
105
- premium-request usage. Request adapters retain Copilot headers, vision declarations, opaque
106
- Chat Completions reasoning, and encrypted Responses reasoning across turns.
152
+ Catalog prices estimate model rates. They don't calculate Copilot subscription charges or
153
+ premium-request usage.
107
154
 
108
155
  ### Browser and server hosts
109
156
 
110
- Use the narrow package exports instead of the main index, which also exports Node file stores:
157
+ Use the narrow package entries instead of the main index, which also exports Node file stores:
111
158
 
112
159
  ```ts
113
160
  import { InMemoryCredentialStore } from "@nyte-ai/ai/auth/credential-store";
@@ -126,46 +173,41 @@ async function connect(interaction: AuthInteraction) {
126
173
  }
127
174
  ```
128
175
 
129
- `@nyte-ai/ai/auth/oauth/github-copilot` also exposes the fetch-only flow directly. Both entrypoints
130
- accept an injected `fetch`. No terminal, browser opener, callback listener, or filesystem is needed.
131
- The browser-bundle test runs login in a realm without Node globals using a simulated HTTP boundary;
132
- it does not prove GitHub CORS support.
176
+ `@nyte-ai/ai/auth/oauth/github-copilot` exposes the fetch-only flow directly. Both entries accept
177
+ an injected `fetch` and need no terminal, browser opener, callback listener or file system. The
178
+ tests run this login without Node globals against a simulated HTTP boundary. They don't show that
179
+ GitHub's CORS policy allows the requests from a browser.
180
+
181
+ In a web application, keep both tokens and the credential store on the server. Send the browser
182
+ only the device-code instructions, progress and safe completion details. The server polls and
183
+ refreshes, and the browser's cancel action aborts the signal the host owns. Use a durable
184
+ `CredentialStore` that keeps each user apart instead of the in-memory store in the example. Never
185
+ share one user's credentials across tenants.
133
186
 
134
- For a web application, keep both tokens and credential storage on the server. Send the browser only
135
- device-code instructions, progress, and safe completion metadata. The server polls and refreshes;
136
- the browser's cancel action aborts the host-owned signal. Nyte's remote protocol does not yet expose
137
- provider-login operations, so these exports support embedding hosts, not remote login in the shipped
138
- web client. Use a durable, user-isolated `CredentialStore` in a server instead of the example's
139
- in-memory store. Do not share one user's credentials across tenants.
187
+ The API-key method accepts `COPILOT_GITHUB_TOKEN`, a stored bearer token or an explicit request
188
+ token for headless hosts. It passes the token through as it is. It doesn't exchange or refresh the
189
+ token or look up the account's model IDs, so you must supply a token the Copilot API accepts. Use
190
+ OAuth to get token exchange, expiry handling and account filtering.
140
191
 
141
- Like Pi, the API-key method accepts `COPILOT_GITHUB_TOKEN`, a stored bearer token, or an explicit
142
- request token for headless hosts. That method passes the token through and does not exchange or
143
- refresh it, or discover account model IDs. Hosts must supply a token accepted by the Copilot API;
144
- OAuth is the path that manages token exchange, expiry, and account filtering.
192
+ The integration doesn't support GitHub Enterprise domains or turn on model policies for you. It
193
+ has not been checked live with a fresh sign-in and an inference request.
194
+
195
+ ## Account usage windows
145
196
 
146
- Not covered: GitHub Enterprise domains, automatic model-policy opt-in, subagent/title/compaction
147
- interaction types, remote provider-login protocol operations, and live validation of this rewritten
148
- flow with a fresh sign-in and inference request.
197
+ The Claude and Codex account-limit fetchers report the percentage used and the reset time of each
198
+ window, apart from token consumption. For Claude, they read the 5-hour and weekly buckets and the
199
+ model-specific `weekly_scoped` entries in the response's `limits` array. Scoped windows use
200
+ `seven_day_<display_name>` IDs and `<display_name> weekly` labels. The fetchers omit missing or
201
+ malformed windows, and a missing reset time stays unknown. Requests can be cancelled up to the end
202
+ of the response body.
149
203
 
150
- ## Verification
204
+ ## Development
151
205
 
152
206
  ```sh
153
207
  pnpm --dir packages/ai test
154
208
  pnpm --dir packages/ai typecheck
155
209
  ```
156
210
 
157
- `pnpm --dir packages/ai test` runs Vitest. All tests live in
158
- `test/`, including cases ported from Pi. There is no separate upstream suite. Package typecheck
159
- includes every test and fixture recursively and rejects unused locals and parameters.
160
-
161
- Transport tests inject HTTP or WebSocket fixtures at the network boundary and exercise the real
162
- adapters. They run without provider credentials or live API calls.
163
-
164
- ## Account usage windows
165
-
166
- The Claude and Codex account-limit fetchers normalize percentages used and reset
167
- timestamps separately from token consumption. Claude supports the named 5-hour
168
- and weekly buckets plus model-specific `weekly_scoped` entries in the response's
169
- `limits` array, including Fable. Scoped windows use `seven_day_<display_name>` ids and `<display_name> weekly` labels.
170
- Missing or malformed windows are omitted; a missing reset stays unknown.
171
- Requests remain cancellable through response-body reading.
211
+ The tests live in `test/` and run with Vitest. Transport tests inject HTTP or WebSocket fixtures at
212
+ the network boundary and exercise the real adapters, so they need no provider credentials and make
213
+ no live API calls.
@@ -611,6 +611,71 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
611
611
  SOFTWARE.
612
612
  ```
613
613
 
614
+ ## Ghostty (`ghostty-org/ghostty`)
615
+
616
+ - Repository: https://github.com/ghostty-org/ghostty
617
+ - What: `packages/vt/ghostty-vt.wasm` is the signed libghostty-vt WebAssembly
618
+ build from Ghostty's `tip` release at the commit recorded in
619
+ `packages/vt/pin.json`, shipped unmodified. `packages/vt` binds its C API.
620
+
621
+ License: MIT, with the following notice:
622
+
623
+ ```text
624
+ MIT License
625
+
626
+ Copyright (c) 2024 Mitchell Hashimoto, Ghostty contributors
627
+
628
+ Permission is hereby granted, free of charge, to any person obtaining a copy
629
+ of this software and associated documentation files (the "Software"), to deal
630
+ in the Software without restriction, including without limitation the rights
631
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
632
+ copies of the Software, and to permit persons to whom the Software is
633
+ furnished to do so, subject to the following conditions:
634
+
635
+ The above copyright notice and this permission notice shall be included in all
636
+ copies or substantial portions of the Software.
637
+
638
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
639
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
640
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
641
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
642
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
643
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
644
+ SOFTWARE.
645
+ ```
646
+
647
+ ## ghostty-web (`coder/ghostty-web`)
648
+
649
+ - Repository: https://github.com/coder/ghostty-web
650
+ - What: the escape-heavy viewport row-merge fixture in `packages/vt/test` is
651
+ ported from ghostty-web's `lib/viewport-row-merge.test.ts`.
652
+
653
+ License: MIT, with the following notice:
654
+
655
+ ```text
656
+ MIT License
657
+
658
+ Copyright (c) 2025 Coder
659
+
660
+ Permission is hereby granted, free of charge, to any person obtaining a copy
661
+ of this software and associated documentation files (the "Software"), to deal
662
+ in the Software without restriction, including without limitation the rights
663
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
664
+ copies of the Software, and to permit persons to whom the Software is
665
+ furnished to do so, subject to the following conditions:
666
+
667
+ The above copyright notice and this permission notice shall be included in all
668
+ copies or substantial portions of the Software.
669
+
670
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
671
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
672
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
673
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
674
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
675
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
676
+ SOFTWARE.
677
+ ```
678
+
614
679
  ## Naybr, "Copyright Free Gameplay (No Commentary) - Minecraft Survival"
615
680
 
616
681
  - Source: https://www.youtube.com/watch?v=GPsGyv5zTlM, by Naybr (youtube.com/@Naybr)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nyte-ai/ai",
3
- "version": "0.0.25-nightly.20261102.45",
3
+ "version": "0.0.27",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -125,16 +125,16 @@
125
125
  "provenance": true
126
126
  },
127
127
  "dependencies": {
128
- "@anthropic-ai/sdk": "^1.0.0",
129
- "@google/genai": "^2.30.0",
130
- "@nyte-ai/schema": "0.0.25-nightly.20261102.45",
131
- "openai": "^7.41.0",
128
+ "@anthropic-ai/sdk": "~1.2.0",
129
+ "@google/genai": "^2.32.0",
130
+ "@nyte-ai/schema": "0.0.27",
131
+ "openai": "^7.47.0",
132
132
  "partial-json": "^0.1.7",
133
- "typebox": "^1.4.2"
133
+ "typebox": "^1.4.3"
134
134
  },
135
135
  "devDependencies": {
136
- "@types/node": "^26.6.5",
137
- "vitest": "^5.0.5"
136
+ "@types/node": "^26.6.6",
137
+ "vitest": "^5.1.0"
138
138
  },
139
139
  "engines": {
140
140
  "node": ">=26.4.0"