veryfront 0.1.1285 → 0.1.1286-rc.25342
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/docs/README.md +1 -1
- package/docs/api-reference/veryfront/provider.md +51 -49
- package/docs/config.json +1 -1
- package/docs/getting-started/overview.mdx +1 -1
- package/docs/guides/chat-ui.md +8 -0
- package/docs/manifest.json +10 -9
- package/esm/cli/auth/login.d.ts +4 -4
- package/esm/cli/auth/login.d.ts.map +1 -1
- package/esm/cli/auth/login.js +228 -205
- package/esm/cli/commands/docs/command.d.ts.map +1 -1
- package/esm/cli/commands/docs/command.js +82 -67
- package/esm/deno.js +1 -1
- package/esm/extensions/ext-llm-anthropic/src/anthropic-provider.d.ts +1 -2
- package/esm/extensions/ext-llm-anthropic/src/anthropic-provider.d.ts.map +1 -1
- package/esm/extensions/ext-llm-anthropic/src/anthropic-provider.js +2 -2
- package/esm/extensions/ext-llm-anthropic/src/anthropic-stream.d.ts.map +1 -1
- package/esm/extensions/ext-llm-anthropic/src/anthropic-stream.js +7 -7
- package/esm/extensions/ext-llm-google/src/google-thought-signatures.d.ts.map +1 -1
- package/esm/extensions/ext-llm-google/src/google-thought-signatures.js +62 -41
- package/esm/extensions/ext-llm-openai/src/openai-chat-request-builder.d.ts.map +1 -1
- package/esm/extensions/ext-llm-openai/src/openai-chat-request-builder.js +72 -48
- package/esm/extensions/ext-llm-openai/src/openai-responses-request-builder.d.ts.map +1 -1
- package/esm/extensions/ext-llm-openai/src/openai-responses-request-builder.js +0 -2
- package/esm/src/agent/ag-ui/connected-local-platform-tools.d.ts.map +1 -1
- package/esm/src/agent/ag-ui/connected-local-platform-tools.js +1 -0
- package/esm/src/agent/hosted/chat-preparation.d.ts.map +1 -1
- package/esm/src/agent/hosted/chat-preparation.js +2 -0
- package/esm/src/agent/hosted/chat-runtime-agent-adapter.d.ts.map +1 -1
- package/esm/src/agent/hosted/chat-runtime-agent-adapter.js +6 -1
- package/esm/src/agent/hosted/cloud-agent-chat-execution.d.ts.map +1 -1
- package/esm/src/agent/hosted/cloud-agent-chat-execution.js +2 -0
- package/esm/src/agent/hosted/default-chat-runtime.d.ts.map +1 -1
- package/esm/src/agent/hosted/default-chat-runtime.js +3 -2
- package/esm/src/agent/hosted/runtime-preparation-core.d.ts.map +1 -1
- package/esm/src/agent/hosted/runtime-preparation-core.js +7 -0
- package/esm/src/agent/hosted/terminal-credential.d.ts +5 -0
- package/esm/src/agent/hosted/terminal-credential.d.ts.map +1 -1
- package/esm/src/agent/hosted/terminal-credential.js +12 -0
- package/esm/src/agent/hosted/tool-run-authorization.d.ts +19 -0
- package/esm/src/agent/hosted/tool-run-authorization.d.ts.map +1 -0
- package/esm/src/agent/hosted/tool-run-authorization.js +20 -0
- package/esm/src/chat/message-prep.d.ts.map +1 -1
- package/esm/src/chat/message-prep.js +14 -2
- package/esm/src/html/hydration-script-builder/hydration-runtime.generated.d.ts.map +1 -1
- package/esm/src/html/hydration-script-builder/hydration-runtime.generated.js +1 -1
- package/esm/src/observability/telemetry-error.d.ts.map +1 -1
- package/esm/src/observability/telemetry-error.js +119 -9
- package/esm/src/platform/adapters/fs/veryfront/file-list-access.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/file-list-access.js +12 -7
- package/esm/src/platform/adapters/fs/veryfront/file-list-index.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/file-list-index.js +5 -3
- package/esm/src/platform/adapters/fs/veryfront/read-operations.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/read-operations.js +31 -19
- package/esm/src/platform/adapters/fs/veryfront/stat-operations.d.ts.map +1 -1
- package/esm/src/platform/adapters/fs/veryfront/stat-operations.js +74 -47
- package/esm/src/platform/compat/http/pinned-fetch.d.ts +1 -1
- package/esm/src/platform/compat/http/pinned-fetch.d.ts.map +1 -1
- package/esm/src/provider/runtime-loader/stream-protocol-classification-factories.d.ts +36 -0
- package/esm/src/provider/runtime-loader/stream-protocol-classification-factories.d.ts.map +1 -0
- package/esm/src/provider/runtime-loader/stream-protocol-classification-factories.js +38 -0
- package/esm/src/provider/runtime-loader/stream-protocol-classification.d.ts +18 -0
- package/esm/src/provider/runtime-loader/stream-protocol-classification.d.ts.map +1 -0
- package/esm/src/provider/runtime-loader/stream-protocol-classification.js +27 -0
- package/esm/src/provider/shared/index.d.ts +1 -0
- package/esm/src/provider/shared/index.d.ts.map +1 -1
- package/esm/src/provider/shared/index.js +5 -0
- package/esm/src/resource/pattern.d.ts.map +1 -1
- package/esm/src/resource/pattern.js +65 -52
- package/esm/src/server/project-env/fetcher.d.ts.map +1 -1
- package/esm/src/server/project-env/fetcher.js +0 -7
- package/esm/src/trigger/discovery.d.ts.map +1 -1
- package/esm/src/trigger/discovery.js +53 -43
- package/esm/src/trigger/target.d.ts.map +1 -1
- package/esm/src/trigger/target.js +3 -1
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.d.ts.map +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/esm/src/webhook/runtime.d.ts.map +1 -1
- package/esm/src/webhook/runtime.js +58 -45
- package/esm/src/webhook/validation.d.ts.map +1 -1
- package/esm/src/webhook/validation.js +4 -2
- package/esm/src/workflow/discovery/workflow-discovery.d.ts.map +1 -1
- package/esm/src/workflow/discovery/workflow-discovery.js +29 -24
- package/esm/src/workflow/dsl/sub-workflow.d.ts +3 -2
- package/esm/src/workflow/dsl/sub-workflow.d.ts.map +1 -1
- package/esm/src/workflow/dsl/wait.d.ts +2 -1
- package/esm/src/workflow/dsl/wait.d.ts.map +1 -1
- package/esm/src/workflow/events.d.ts.map +1 -1
- package/esm/src/workflow/events.js +22 -17
- package/esm/src/workflow/executor/dag/graph.d.ts.map +1 -1
- package/esm/src/workflow/executor/dag/graph.js +22 -19
- package/esm/src/workflow/registry.d.ts.map +1 -1
- package/esm/src/workflow/registry.js +36 -29
- package/esm/src/workflow/types.d.ts +4 -2
- package/esm/src/workflow/types.d.ts.map +1 -1
- package/esm/src/workflow/types.js +19 -17
- package/package.json +9 -9
package/docs/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Veryfront Code documentation
|
|
2
2
|
|
|
3
|
-
These docs ship with veryfront 0.1.
|
|
3
|
+
These docs ship with veryfront 0.1.1286-rc.25342. Read the relevant guide before changing framework code in a consuming project. Start with [Local quickstart](./getting-started/quickstart.md), then use the task guides or generated API reference below.
|
|
4
4
|
|
|
5
5
|
Edit source comments and regenerate API reference; do not edit generated reference directly. Website docs may describe a newer version.
|
|
6
6
|
|
|
@@ -162,55 +162,57 @@ import {
|
|
|
162
162
|
|
|
163
163
|
#### Functions
|
|
164
164
|
|
|
165
|
-
| Name
|
|
166
|
-
|
|
|
167
|
-
| `buildProviderError`
|
|
168
|
-
| `closeSchemaForOutputConfig`
|
|
169
|
-
| `createAnthropicRequestInit`
|
|
170
|
-
| `
|
|
171
|
-
| `
|
|
172
|
-
| `
|
|
173
|
-
| `
|
|
174
|
-
| `
|
|
175
|
-
| `
|
|
176
|
-
| `
|
|
177
|
-
| `
|
|
178
|
-
| `
|
|
179
|
-
| `
|
|
180
|
-
| `
|
|
181
|
-
| `
|
|
182
|
-
| `
|
|
183
|
-
| `
|
|
184
|
-
| `
|
|
185
|
-
| `
|
|
186
|
-
| `
|
|
187
|
-
| `
|
|
188
|
-
| `
|
|
189
|
-
| `
|
|
190
|
-
| `
|
|
191
|
-
| `
|
|
192
|
-
| `
|
|
193
|
-
| `
|
|
194
|
-
| `
|
|
195
|
-
| `
|
|
196
|
-
| `
|
|
197
|
-
| `
|
|
198
|
-
| `
|
|
199
|
-
| `
|
|
200
|
-
| `
|
|
201
|
-
| `
|
|
202
|
-
| `
|
|
203
|
-
| `
|
|
204
|
-
| `
|
|
205
|
-
| `
|
|
206
|
-
| `
|
|
207
|
-
| `
|
|
208
|
-
| `
|
|
209
|
-
| `
|
|
210
|
-
| `
|
|
211
|
-
| `
|
|
212
|
-
| `
|
|
213
|
-
| `
|
|
165
|
+
| Name | Description | Source |
|
|
166
|
+
| --------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
|
|
167
|
+
| `buildProviderError` | Inspect a non-2xx response and build the most specific ProviderError subclass we can. Reads the response body as text (it's already dead on the wire by this point). Body classification handles the cases where HTTP status alone is ambiguous - notably OpenAI `insufficient_quota` vs `rate_limit_exceeded` both arriving as 429. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-http.ts) |
|
|
168
|
+
| `closeSchemaForOutputConfig` | Close every object in a schema bound for `output_config`. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/shared/anthropic-output-schema.ts) |
|
|
169
|
+
| `createAnthropicRequestInit` | Create Anthropic request init. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-request-init.ts) |
|
|
170
|
+
| `createClassifiedProviderStreamProtocolError` | Create a `ProviderStreamProtocolError` with a trusted WeakMap classification. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/stream-protocol-classification-factories.ts) |
|
|
171
|
+
| `createClassifiedStreamRangeError` | Create a native `RangeError` with a trusted WeakMap classification. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/stream-protocol-classification-factories.ts) |
|
|
172
|
+
| `createGoogleRequestInit` | Create Google request init. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-request-init.ts) |
|
|
173
|
+
| `createOpenAIRequestInit` | Create request init options for OpenAI-compatible providers. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-request-init.ts) |
|
|
174
|
+
| `createStreamRetentionBudget` | Create an empty retention budget. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/stream-retention.ts) |
|
|
175
|
+
| `createWarningCollector` | Create warning collector. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader.ts) |
|
|
176
|
+
| `fileInputBaseName` | The base name of a file part's filename, or `undefined` when none is usable. Requests and errors leave the machine, so a local path must not. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/inline-file.ts) |
|
|
177
|
+
| `getAnthropicMessagesUrl` | Return Anthropic messages URL. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-endpoints.ts) |
|
|
178
|
+
| `getGoogleEmbeddingUrl` | Return Google embedding URL. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-endpoints.ts) |
|
|
179
|
+
| `getGoogleGenerateContentUrl` | Return Google generate content URL. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-endpoints.ts) |
|
|
180
|
+
| `getGoogleStreamGenerateContentUrl` | Return Google stream generate content URL. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-endpoints.ts) |
|
|
181
|
+
| `getOpenAIChatCompletionsUrl` | Return OpenAI chat completions URL. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-endpoints.ts) |
|
|
182
|
+
| `getOpenAIEmbeddingUrl` | Return OpenAI embedding URL. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-endpoints.ts) |
|
|
183
|
+
| `getOpenAIResponsesUrl` | Return OpenAI responses URL. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-endpoints.ts) |
|
|
184
|
+
| `isImageFileInput` | Whether a prompt part is an image. MIME types compare case-insensitively. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/inline-file.ts) |
|
|
185
|
+
| `isNumberArray` | Check whether a value is an array of numbers. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-embedding-responses.ts) |
|
|
186
|
+
| `isProxyWithoutHooks` | Identify a Proxy without evaluating any trap on the proxied value. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/platform/compat/error-introspection.ts) |
|
|
187
|
+
| `jsonValuesEqual` | Compare JSON-compatible values independently of object key order. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/json-snapshot.ts) |
|
|
188
|
+
| `mergeUsage` | Merge provider usage counters. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-usage.ts) |
|
|
189
|
+
| `notifyProviderRequestRetry` | Report a provider request retry to the debug log and to the active observer. An observer that throws, or whose promise rejects, never affects the request. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-request-observer.ts) |
|
|
190
|
+
| `parseFinalSseChunk` | Parse the final unterminated SSE block without making the synthetic frame delimiter count against the caller-visible retention boundary. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-sse.ts) |
|
|
191
|
+
| `parseRetryAfterMs` | Parses retry after ms. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-http.ts) |
|
|
192
|
+
| `parseSseChunk` | Parse a bounded provider SSE buffer. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-sse.ts) |
|
|
193
|
+
| `promptHasDocumentInput` | Whether a prompt carries a non-image file in a user message. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/inline-file.ts) |
|
|
194
|
+
| `readGatewayBillingMode` | Read a trusted gateway billing mode from provider metadata. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-usage.ts) |
|
|
195
|
+
| `readGatewayUsageCosts` | Read the credit amount of a gateway `veryfront` usage envelope. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-usage.ts) |
|
|
196
|
+
| `readInlineFileData` | Read the base64 payload of an inline `data:` file part. Returns `undefined` for remote URLs. MIME types compare case-insensitively. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/inline-file.ts) |
|
|
197
|
+
| `readProviderOptions` | Options accepted by read provider. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader.ts) |
|
|
198
|
+
| `readRecord` | Record shape for read. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-records.ts) |
|
|
199
|
+
| `readRemoteFileUrl` | Return a remote file URL, or throw before inference. A local path or other non-HTTP scheme must not reach the provider request. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/inline-file.ts) |
|
|
200
|
+
| `readTextParts` | Read text content parts from provider messages. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader.ts) |
|
|
201
|
+
| `requestJson` | Request and parse a bounded JSON response. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-http.ts) |
|
|
202
|
+
| `requestStream` | Request a streaming response. When the request body is replayable, typed retryable failures are retried up to two times before provider output is exposed. Each attempt gets a fresh stream header deadline, and replays are capped so the whole header wait stays inside one shared budget. ReadableStream request bodies are not retried because fetch can consume them on the first attempt. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-http.ts) |
|
|
203
|
+
| `reserveStreamRetention` | Reserve room for one streamed fragment. Returns the exceeded limit without changing the budget, or `undefined` once the fragment is accounted for. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/stream-retention.ts) |
|
|
204
|
+
| `routesOpenAIDocumentInputToResponses` | Whether an OpenAI-wire provider serves document input on Responses, so the `auto` transport may move a request with a document there. Mistral and generic compatible servers do not, and keep the local Chat Completions error. An `openai` provider on a custom base URL is a compatible server too. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/inline-file.ts) |
|
|
205
|
+
| `snapshotJsonValue` | Create a bounded, deeply owned, accessor-free snapshot of a JSON value. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/json-snapshot.ts) |
|
|
206
|
+
| `snapshotProviderJsonValue` | Create the provider-boundary snapshot used by request builders. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/json-snapshot.ts) |
|
|
207
|
+
| `stringifyJsonValue` | Serialize a JSON-compatible value. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader.ts) |
|
|
208
|
+
| `stringifyToolArguments` | Preserve provider-native argument text while serializing structured tool inputs. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader.ts) |
|
|
209
|
+
| `stringifyToolResultValue` | Preserve text tool results while serializing structured tool results. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader.ts) |
|
|
210
|
+
| `toOpenAICompatibleMessages` | Convert runtime prompt messages into OpenAI-compatible chat messages. Adjacent non-empty system layers become one ordered instruction so strict Chat Completions providers receive a compatible message sequence. A verified transport capability can preserve the original system message boundaries. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader.ts) |
|
|
211
|
+
| `toOpenAICompatibleTools` | Convert runtime tool definitions into OpenAI-compatible function tools. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader.ts) |
|
|
212
|
+
| `unsupportedFileInputError` | Error for a file part that a provider transport cannot send. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/inline-file.ts) |
|
|
213
|
+
| `unwrapToolInputSchema` | Zod schema for unwrap tool input. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader.ts) |
|
|
214
|
+
| `waitForProviderStreamRetry` | Wait out a retry delay, rejecting the moment the caller cancels. Shared with providers that must replay a request the SSE body failed, so every retry path honors cancellation the same way. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/provider-http.ts) |
|
|
215
|
+
| `withToolInputStatusTransitions` | Applies tool input status transitions. | [source](https://github.com/veryfront/veryfront-code/blob/main/src/provider/runtime-loader/tool-input-status.ts) |
|
|
214
216
|
|
|
215
217
|
#### Classes
|
|
216
218
|
|
package/docs/config.json
CHANGED
|
@@ -23,7 +23,7 @@ description: Full-stack AI framework for building apps and agents with TypeScrip
|
|
|
23
23
|
|
|
24
24
|
Veryfront Code is the TypeScript and React framework for building AI applications in your editor and repository. Define agents, tools, workflows, evaluations, routes, and chat interfaces in one project.
|
|
25
25
|
|
|
26
|
-
Run locally with your provider key, deploy with Cloud, or self-host. See the [platform lifecycle](/
|
|
26
|
+
Run locally with your provider key, deploy with Cloud, or self-host. See the [platform lifecycle](/cloud/getting-started/ai-application-lifecycle) for how Code connects to Studio, Cloud, and Agent.
|
|
27
27
|
|
|
28
28
|
## How to get started
|
|
29
29
|
|
package/docs/guides/chat-ui.md
CHANGED
|
@@ -586,3 +586,11 @@ agent errors and confirm the AG-UI route is mounted.
|
|
|
586
586
|
- [veryfront/markdown](../api-reference/veryfront/markdown.md): Markdown props
|
|
587
587
|
and renderer extension points
|
|
588
588
|
- [veryfront/agent](../api-reference/veryfront/agent.md): Agent route helpers
|
|
589
|
+
|
|
590
|
+
## Tool results in follow-up requests
|
|
591
|
+
|
|
592
|
+
Message preparation keeps a collection result (`{ data: [...] }`) of up to
|
|
593
|
+
4,096 serialized characters from the preceding user turn. This preserves resource
|
|
594
|
+
IDs and continuation tokens for follow-up requests. Older or larger collections
|
|
595
|
+
still use the existing history compaction and overall token budget. Refetch a
|
|
596
|
+
resource when the retained context no longer identifies it.
|
package/docs/manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.1.
|
|
2
|
+
"version": "0.1.1286-rc.25342",
|
|
3
3
|
"pages": [
|
|
4
4
|
{
|
|
5
5
|
"path": "api-reference/index.md",
|
|
@@ -706,10 +706,11 @@
|
|
|
706
706
|
"sources": [
|
|
707
707
|
{
|
|
708
708
|
"product": "code",
|
|
709
|
-
"version": "0.1.
|
|
710
|
-
"revision": "
|
|
709
|
+
"version": "0.1.1286-rc.25342",
|
|
710
|
+
"revision": "07f4ea751fe2a988164bd5c0db7b03d0349b3eba",
|
|
711
711
|
"dirty": false,
|
|
712
|
-
"repository": "https://github.com/veryfront/veryfront-code"
|
|
712
|
+
"repository": "https://github.com/veryfront/veryfront-code",
|
|
713
|
+
"versionPreparation": "ci-rc"
|
|
713
714
|
}
|
|
714
715
|
],
|
|
715
716
|
"files": [
|
|
@@ -827,7 +828,7 @@
|
|
|
827
828
|
},
|
|
828
829
|
{
|
|
829
830
|
"path": "api-reference/veryfront/provider.md",
|
|
830
|
-
"sha256": "
|
|
831
|
+
"sha256": "161dae3a865905e418c5b579bf2026f95f075ba51380c2076f24a18bd47c5983"
|
|
831
832
|
},
|
|
832
833
|
{
|
|
833
834
|
"path": "api-reference/veryfront/release-assets.md",
|
|
@@ -1003,7 +1004,7 @@
|
|
|
1003
1004
|
},
|
|
1004
1005
|
{
|
|
1005
1006
|
"path": "config.json",
|
|
1006
|
-
"sha256": "
|
|
1007
|
+
"sha256": "edf082c52cf7956fa16322b395b9da8c2c5488c53cec78d2b3681fbd3a8dd66e"
|
|
1007
1008
|
},
|
|
1008
1009
|
{
|
|
1009
1010
|
"path": "getting-started/add-to-existing-project.md",
|
|
@@ -1043,7 +1044,7 @@
|
|
|
1043
1044
|
},
|
|
1044
1045
|
{
|
|
1045
1046
|
"path": "getting-started/overview.mdx",
|
|
1046
|
-
"sha256": "
|
|
1047
|
+
"sha256": "75a6d2b13c8c5dc26a16541295acac3e00c484a10c1bac35d62d913c5cbd72a1"
|
|
1047
1048
|
},
|
|
1048
1049
|
{
|
|
1049
1050
|
"path": "getting-started/quickstart.md",
|
|
@@ -1083,7 +1084,7 @@
|
|
|
1083
1084
|
},
|
|
1084
1085
|
{
|
|
1085
1086
|
"path": "guides/chat-ui.md",
|
|
1086
|
-
"sha256": "
|
|
1087
|
+
"sha256": "03a334cffae5409d70f3ae407259ed16e88de24129d56e67cc13eb673af64440"
|
|
1087
1088
|
},
|
|
1088
1089
|
{
|
|
1089
1090
|
"path": "guides/choose-a-primitive.md",
|
|
@@ -1287,7 +1288,7 @@
|
|
|
1287
1288
|
},
|
|
1288
1289
|
{
|
|
1289
1290
|
"path": "README.md",
|
|
1290
|
-
"sha256": "
|
|
1291
|
+
"sha256": "b2fe8059e99206322dda4025d7b0bb2900e2773f93cca53ab1eaf5b7d6ed4e1a"
|
|
1291
1292
|
}
|
|
1292
1293
|
]
|
|
1293
1294
|
}
|
package/esm/cli/auth/login.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type EnvironmentConfig } from "../../src/config/index.js";
|
|
2
|
-
import { deleteToken, hasToken, readToken, saveToken } from "./token-store.js";
|
|
3
2
|
import { type BrowserLaunchOptions } from "./browser.js";
|
|
4
3
|
import { type SpinnerController } from "../ui/progress.js";
|
|
5
4
|
/**
|
|
@@ -13,7 +12,8 @@ import { type SpinnerController } from "../ui/progress.js";
|
|
|
13
12
|
* this is worth the extra clause.
|
|
14
13
|
*/
|
|
15
14
|
export declare function formatEnvSourcePathForDisplay(file: string, currentCwd?: string): string;
|
|
16
|
-
|
|
15
|
+
type BrowserAuthMethod = "google" | "github" | "microsoft";
|
|
16
|
+
export type AuthMethod = BrowserAuthMethod | "token";
|
|
17
17
|
export interface UserInfo {
|
|
18
18
|
id: string;
|
|
19
19
|
email: string;
|
|
@@ -44,7 +44,7 @@ export declare function isCredentialRejectionStatus(status: number): boolean;
|
|
|
44
44
|
/** Test seam: shrink the preflight deadline so a stall is observable quickly. */
|
|
45
45
|
export declare function __setExistingSessionTimeoutForTests(ms?: number): void;
|
|
46
46
|
export declare function createOAuthState(): string;
|
|
47
|
-
export declare function createOAuthAuthorizationUrl(provider:
|
|
47
|
+
export declare function createOAuthAuthorizationUrl(provider: BrowserAuthMethod, callbackUrl: string, state: string, env?: EnvironmentConfig): string;
|
|
48
48
|
export declare function validateToken(token: string, env?: EnvironmentConfig, options?: CredentialValidationOptions): Promise<UserInfo | null>;
|
|
49
49
|
export declare function isApiKeyToken(token: string): boolean;
|
|
50
50
|
export declare function isApiKeyIdentity(identity: AuthIdentity): identity is ApiKeyIdentity;
|
|
@@ -57,5 +57,5 @@ export declare function login(method?: AuthMethod, env?: EnvironmentConfig, proj
|
|
|
57
57
|
export declare function ensureAuthenticated(env?: EnvironmentConfig, projectDir?: string, validationOptions?: CredentialValidationOptions): Promise<AuthIdentity | null>;
|
|
58
58
|
export declare function logout(env?: EnvironmentConfig): Promise<void>;
|
|
59
59
|
export declare function whoami(env?: EnvironmentConfig): Promise<AuthIdentity | null>;
|
|
60
|
-
export { deleteToken, hasToken, readToken, saveToken };
|
|
60
|
+
export { deleteToken, hasToken, readToken, saveToken } from "./token-store.js";
|
|
61
61
|
//# sourceMappingURL=login.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../src/cli/auth/login.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iBAAiB,EAAwB,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../src/cli/auth/login.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iBAAiB,EAAwB,MAAM,2BAA2B,CAAC;AAGzF,OAAO,EAAE,KAAK,oBAAoB,EAA+B,MAAM,cAAc,CAAC;AAGtF,OAAO,EAAiB,KAAK,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAqC1E;;;;;;;;;GASG;AACH,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,SAAQ,GAAG,MAAM,CAatF;AAWD,KAAK,iBAAiB,GAAG,QAAQ,GAAG,QAAQ,GAAG,WAAW,CAAC;AAC3D,MAAM,MAAM,UAAU,GAAG,iBAAiB,GAAG,OAAO,CAAC;AAErD,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,cAAc;IAC7B,aAAa,EAAE,IAAI,CAAC;IACpB,IAAI,EAAE,Q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