@owlmeans/viable-common 0.0.45 → 0.0.47
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 +163 -13
- package/agent-meta/manifest.json +2 -2
- package/agent-meta/skills/agent-presentation/SKILL.md +1 -1
- package/agent-meta/skills/viable-common/SKILL.md +132 -23
- package/build/connect/account/types.d.ts +81 -0
- package/build/connect/account/types.d.ts.map +1 -0
- package/build/connect/account/types.js +2 -0
- package/build/connect/account/types.js.map +1 -0
- package/build/connect/branding/types.d.ts +26 -4
- package/build/connect/branding/types.d.ts.map +1 -1
- package/build/connect/call/types.d.ts +28 -0
- package/build/connect/call/types.d.ts.map +1 -0
- package/build/connect/call/types.js +2 -0
- package/build/connect/call/types.js.map +1 -0
- package/build/connect/config/types.d.ts +45 -0
- package/build/connect/config/types.d.ts.map +1 -0
- package/build/connect/config/types.js +2 -0
- package/build/connect/config/types.js.map +1 -0
- package/build/connect/consts.d.ts +383 -1
- package/build/connect/consts.d.ts.map +1 -1
- package/build/connect/consts.js +387 -1
- package/build/connect/consts.js.map +1 -1
- package/build/connect/conversion/types.d.ts +24 -0
- package/build/connect/conversion/types.d.ts.map +1 -1
- package/build/connect/entrypoints/types.d.ts +22 -13
- package/build/connect/entrypoints/types.d.ts.map +1 -1
- package/build/connect/entrypoints.d.ts +441 -8
- package/build/connect/entrypoints.d.ts.map +1 -1
- package/build/connect/entrypoints.js +292 -9
- package/build/connect/entrypoints.js.map +1 -1
- package/build/connect/errors.d.ts +12 -0
- package/build/connect/errors.d.ts.map +1 -1
- package/build/connect/errors.js +16 -0
- package/build/connect/errors.js.map +1 -1
- package/build/connect/feed/types.d.ts +71 -0
- package/build/connect/feed/types.d.ts.map +1 -0
- package/build/connect/feed/types.js +2 -0
- package/build/connect/feed/types.js.map +1 -0
- package/build/connect/files/types.d.ts +34 -0
- package/build/connect/files/types.d.ts.map +1 -0
- package/build/connect/files/types.js +2 -0
- package/build/connect/files/types.js.map +1 -0
- package/build/connect/git/types.d.ts +170 -0
- package/build/connect/git/types.d.ts.map +1 -0
- package/build/connect/git/types.js +14 -0
- package/build/connect/git/types.js.map +1 -0
- package/build/connect/iam/types.d.ts +25 -0
- package/build/connect/iam/types.d.ts.map +1 -0
- package/build/connect/iam/types.js +8 -0
- package/build/connect/iam/types.js.map +1 -0
- package/build/connect/index.d.ts +9 -0
- package/build/connect/index.d.ts.map +1 -1
- package/build/connect/ops.d.ts +189 -0
- package/build/connect/ops.d.ts.map +1 -0
- package/build/connect/ops.js +2 -0
- package/build/connect/ops.js.map +1 -0
- package/build/connect/production/types.d.ts +65 -0
- package/build/connect/production/types.d.ts.map +1 -0
- package/build/connect/production/types.js +2 -0
- package/build/connect/production/types.js.map +1 -0
- package/build/connect/project/types.d.ts +23 -16
- package/build/connect/project/types.d.ts.map +1 -1
- package/build/connect/references/types.d.ts +424 -2
- package/build/connect/references/types.d.ts.map +1 -1
- package/build/connect/references.d.ts.map +1 -1
- package/build/connect/references.js +122 -0
- package/build/connect/references.js.map +1 -1
- package/build/connect/schemas.d.ts +65 -2
- package/build/connect/schemas.d.ts.map +1 -1
- package/build/connect/schemas.js +306 -1
- package/build/connect/schemas.js.map +1 -1
- package/build/connect/settings/types.d.ts +0 -25
- package/build/connect/settings/types.d.ts.map +1 -1
- package/build/connect/slot/types.d.ts +24 -0
- package/build/connect/slot/types.d.ts.map +1 -0
- package/build/connect/slot/types.js +2 -0
- package/build/connect/slot/types.js.map +1 -0
- package/build/connect/types.d.ts +453 -0
- package/build/connect/types.d.ts.map +1 -0
- package/build/connect/types.js +2 -0
- package/build/connect/types.js.map +1 -0
- package/build/convert/record/types.d.ts +0 -9
- package/build/convert/record/types.d.ts.map +1 -1
- package/build/convert/schemas.d.ts +2 -5
- package/build/convert/schemas.d.ts.map +1 -1
- package/build/convert/schemas.js +2 -15
- package/build/convert/schemas.js.map +1 -1
- package/build/iam-console/consts.d.ts +13 -0
- package/build/iam-console/consts.d.ts.map +1 -0
- package/build/iam-console/consts.js +13 -0
- package/build/iam-console/consts.js.map +1 -0
- package/build/iam-console/consts.local.d.ts +123 -0
- package/build/iam-console/consts.local.d.ts.map +1 -0
- package/build/iam-console/consts.local.js +50 -0
- package/build/iam-console/consts.local.js.map +1 -0
- package/build/iam-console/index.d.ts +4 -0
- package/build/iam-console/index.d.ts.map +1 -0
- package/build/iam-console/index.js +3 -0
- package/build/iam-console/index.js.map +1 -0
- package/build/iam-console/schemas.d.ts +38 -0
- package/build/iam-console/schemas.d.ts.map +1 -0
- package/build/iam-console/schemas.js +217 -0
- package/build/iam-console/schemas.js.map +1 -0
- package/build/iam-console/types.d.ts +140 -0
- package/build/iam-console/types.d.ts.map +1 -0
- package/build/iam-console/types.js +2 -0
- package/build/iam-console/types.js.map +1 -0
- package/build/index.d.ts +2 -0
- package/build/index.d.ts.map +1 -1
- package/build/index.js +2 -0
- package/build/index.js.map +1 -1
- package/build/intent/flow.d.ts +17 -0
- package/build/intent/flow.d.ts.map +1 -0
- package/build/intent/flow.js +65 -0
- package/build/intent/flow.js.map +1 -0
- package/build/legal/consts.d.ts +67 -0
- package/build/legal/consts.d.ts.map +1 -0
- package/build/legal/consts.js +24 -0
- package/build/legal/consts.js.map +1 -0
- package/build/legal/index.d.ts +3 -0
- package/build/legal/index.d.ts.map +1 -0
- package/build/legal/index.js +2 -0
- package/build/legal/index.js.map +1 -0
- package/build/legal/types.d.ts +17 -0
- package/build/legal/types.d.ts.map +1 -0
- package/build/legal/types.js +2 -0
- package/build/legal/types.js.map +1 -0
- package/build/planning/flows.d.ts +34 -0
- package/build/planning/flows.d.ts.map +1 -0
- package/build/planning/flows.js +174 -0
- package/build/planning/flows.js.map +1 -0
- package/build/planning/schemas.d.ts.map +1 -1
- package/build/planning/schemas.js +0 -1
- package/build/planning/schemas.js.map +1 -1
- package/build/planning/types.d.ts +0 -2
- package/build/planning/types.d.ts.map +1 -1
- package/build/skills/roles.d.ts +43 -0
- package/build/skills/roles.d.ts.map +1 -0
- package/build/skills/roles.js +44 -0
- package/build/skills/roles.js.map +1 -0
- package/package.json +19 -3
- package/src/connect/account/types.ts +91 -0
- package/src/connect/branding/types.ts +28 -4
- package/src/connect/call/types.ts +31 -0
- package/src/connect/config/types.ts +51 -0
- package/src/connect/consts.ts +400 -1
- package/src/connect/conversion/types.ts +25 -0
- package/src/connect/entrypoints/types.ts +22 -7
- package/src/connect/entrypoints.ts +592 -15
- package/src/connect/errors.ts +18 -0
- package/src/connect/feed/types.ts +76 -0
- package/src/connect/files/types.ts +38 -0
- package/src/connect/git/types.ts +187 -0
- package/src/connect/iam/types.ts +28 -0
- package/src/connect/index.ts +9 -0
- package/src/connect/production/types.ts +71 -0
- package/src/connect/project/types.ts +25 -12
- package/src/connect/references/types.ts +166 -5
- package/src/connect/references.ts +210 -5
- package/src/connect/schemas.ts +366 -5
- package/src/connect/settings/types.ts +0 -25
- package/src/connect/slot/types.ts +24 -0
- package/src/convert/record/types.ts +0 -11
- package/src/convert/schemas.ts +3 -19
- package/src/iam-console/consts.local.ts +64 -0
- package/src/iam-console/consts.ts +15 -0
- package/src/iam-console/index.ts +3 -0
- package/src/iam-console/schemas.ts +251 -0
- package/src/iam-console/types.ts +165 -0
- package/src/index.ts +2 -0
- package/src/legal/consts.ts +25 -0
- package/src/legal/index.ts +2 -0
- package/src/legal/types.ts +22 -0
- package/src/planning/schemas.ts +0 -1
- package/src/planning/types.ts +0 -2
- package/tests/connect-convert.spec.ts +6 -2
- package/tests/connect-entrypoints.spec.ts +554 -16
- package/tests/error-status.spec.ts +2 -1
- package/tests/iam-console.spec.ts +89 -0
- package/tests/planning.spec.ts +8 -0
package/build/connect/consts.js
CHANGED
|
@@ -69,7 +69,8 @@ export var ConnectExecutor;
|
|
|
69
69
|
ConnectExecutor["Git"] = "git";
|
|
70
70
|
/**
|
|
71
71
|
* The parent agent PERFORMS the model calls of a run: each one arrives as a `ModelTask`, is run
|
|
72
|
-
* in a clean subagent and submitted back.
|
|
72
|
+
* in a clean subagent and submitted back. Advertised exactly when the connector's `llm` is `Local`;
|
|
73
|
+
* a cloud-mode connector never offers it, whatever else it executes.
|
|
73
74
|
*/
|
|
74
75
|
ConnectExecutor["Model"] = "model";
|
|
75
76
|
/**
|
|
@@ -260,6 +261,36 @@ export const CONNECT_MAX_PENDING = 32;
|
|
|
260
261
|
export const CONNECT_MODEL_TASK_TIMEOUT_MS = 2_700_000;
|
|
261
262
|
/** How long the platform waits for a connector to write the target's configuration. */
|
|
262
263
|
export const CONNECT_CONFIGURE_TIMEOUT_MS = 60_000;
|
|
264
|
+
/**
|
|
265
|
+
* The header a DELEGATED connector names a write with — a UUID it generated, sent on every non-GET
|
|
266
|
+
* request and reused when that request is retried.
|
|
267
|
+
*
|
|
268
|
+
* In the delegated mode a write may wait on a model call the connector's own parent performs, which
|
|
269
|
+
* can take longer than an edge proxy holds a response open (~100 s). So the platform answers such a
|
|
270
|
+
* call early with {@link ConnectCallPending} (HTTP 202) once it has held it for
|
|
271
|
+
* {@link CONNECT_CALL_ACCEPT_MS}, and the connector collects the outcome by this id through
|
|
272
|
+
* `connect.call.collect` — request now, collect later.
|
|
273
|
+
*/
|
|
274
|
+
export const CONNECT_CALL_HEADER = 'x-viable-call';
|
|
275
|
+
/** How long the platform holds a named call before it answers `{ pending }` instead of the result. */
|
|
276
|
+
export const CONNECT_CALL_ACCEPT_MS = 20_000;
|
|
277
|
+
/** How long ONE collect long poll holds before answering `pending`, in seconds (also its maximum `wait`). */
|
|
278
|
+
export const CONNECT_CALL_COLLECT_WAIT_SEC = 25;
|
|
279
|
+
/**
|
|
280
|
+
* A pending call whose heartbeat is older than this is LOST: the process that held it stopped
|
|
281
|
+
* before it recorded an outcome, and a collect answers {@link ConnectCallState.Lost}.
|
|
282
|
+
*/
|
|
283
|
+
export const CONNECT_CALL_LOST_MS = 90_000;
|
|
284
|
+
/** Where a named call stands, as a collect reports it. */
|
|
285
|
+
export var ConnectCallState;
|
|
286
|
+
(function (ConnectCallState) {
|
|
287
|
+
/** Still running on the platform — collect again. */
|
|
288
|
+
ConnectCallState["Pending"] = "pending";
|
|
289
|
+
/** Finished: the result carries the call's value, or its marshalled error. */
|
|
290
|
+
ConnectCallState["Settled"] = "settled";
|
|
291
|
+
/** Its outcome was never recorded — whether it took effect is read from its domain status. */
|
|
292
|
+
ConnectCallState["Lost"] = "lost";
|
|
293
|
+
})(ConnectCallState || (ConnectCallState = {}));
|
|
263
294
|
/**
|
|
264
295
|
* The capability key that gates the local-LLM mode.
|
|
265
296
|
*
|
|
@@ -279,6 +310,106 @@ export const CONNECT_BRANDING_COPYRIGHT_MAX = 200;
|
|
|
279
310
|
export const CONNECT_BRANDING_ORGANIZATION_MAX = 120;
|
|
280
311
|
export const CONNECT_BRANDING_URL_MAX = 2048;
|
|
281
312
|
export const CONNECT_BRANDING_GOOGLE_TAG_MAX = 32;
|
|
313
|
+
/**
|
|
314
|
+
* The bounds of one configuration variable on the connector wire: an environment variable's NAME
|
|
315
|
+
* (a letter or underscore, then letters, digits and underscores), its value, and how many one save
|
|
316
|
+
* may carry per side.
|
|
317
|
+
*/
|
|
318
|
+
export const CONNECT_CONFIG_NAME_PATTERN = '^[A-Za-z_][A-Za-z0-9_]*$';
|
|
319
|
+
export const CONNECT_CONFIG_NAME_MAX = 128;
|
|
320
|
+
export const CONNECT_CONFIG_VALUE_MAX = 32_768;
|
|
321
|
+
export const CONNECT_CONFIG_SAVE_MAX = 100;
|
|
322
|
+
/**
|
|
323
|
+
* The longest file path a connector may address in a cloud target — the web editor's own bound
|
|
324
|
+
* (`ProjectFileQuerySchema`), so one path never has two answers.
|
|
325
|
+
*/
|
|
326
|
+
export const CONNECT_FILE_PATH_MAX = 512;
|
|
327
|
+
/**
|
|
328
|
+
* The bounds of a marketing-consent withdrawal: how many consent keys one call may name, and how
|
|
329
|
+
* long one key may be. Which keys exist is the platform's catalogue, checked by the handler — an
|
|
330
|
+
* unknown key refuses the whole call rather than being silently dropped.
|
|
331
|
+
*/
|
|
332
|
+
export const CONNECT_PRIVACY_KEYS_MAX = 32;
|
|
333
|
+
export const CONNECT_PRIVACY_KEY_MAX = 128;
|
|
334
|
+
/**
|
|
335
|
+
* The bounds of the git and GitHub routes — each the web's own (`@owlmeans/git`'s commit and revert
|
|
336
|
+
* arguments, the platform's publish, picker and link schemas), so one value never has two answers:
|
|
337
|
+
* a commit message, a commit hash (abbreviated or full), an owner or repository name, a branch name,
|
|
338
|
+
* a picker page and a picker search.
|
|
339
|
+
*/
|
|
340
|
+
export const CONNECT_GIT_MESSAGE_MAX = 200;
|
|
341
|
+
export const CONNECT_GIT_HASH_PATTERN = '^[0-9a-f]{7,40}$';
|
|
342
|
+
export const CONNECT_GITHUB_NAME_MAX = 100;
|
|
343
|
+
export const CONNECT_GITHUB_BRANCH_MAX = 200;
|
|
344
|
+
export const CONNECT_GITHUB_PAGE_MAX = 1000;
|
|
345
|
+
export const CONNECT_GITHUB_SEARCH_MAX = 200;
|
|
346
|
+
/**
|
|
347
|
+
* The bounds of the production routes: a custom domain is a DNS host name (the web's own domain
|
|
348
|
+
* rule — labels of letters, digits and inner hyphens, a letter-led top label), and the standalone
|
|
349
|
+
* redirect addresses are a bounded list of bounded strings.
|
|
350
|
+
*/
|
|
351
|
+
export const CONNECT_DOMAIN_MIN = 4;
|
|
352
|
+
export const CONNECT_DOMAIN_MAX = 253;
|
|
353
|
+
export const CONNECT_DOMAIN_PATTERN = '^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z][a-zA-Z0-9-]{0,62}$';
|
|
354
|
+
export const CONNECT_REDIRECTS_MAX = 32;
|
|
355
|
+
export const CONNECT_REDIRECT_URI_MAX = 2048;
|
|
356
|
+
/** The longest access-token id a connector may name — the token routes' own bound. */
|
|
357
|
+
export const CONNECT_TOKEN_ID_MAX = 128;
|
|
358
|
+
/**
|
|
359
|
+
* What a connector reads instead of the browser's sockets: three bounded feeds the platform keeps per
|
|
360
|
+
* project (its agent activity), per organization (its notices) and per preview (its file changes).
|
|
361
|
+
* A read names the last entry it saw (`after`, a cursor the previous read answered) and may hold for
|
|
362
|
+
* at most {@link CONNECT_FEED_WAIT_MAX_SEC} seconds for the next entry — cursor polling, never a socket.
|
|
363
|
+
*/
|
|
364
|
+
export var ConnectFeedKind;
|
|
365
|
+
(function (ConnectFeedKind) {
|
|
366
|
+
/** A model call or a platform step started. */
|
|
367
|
+
ConnectFeedKind["RunStart"] = "run-start";
|
|
368
|
+
/** A model call or a platform step finished. */
|
|
369
|
+
ConnectFeedKind["RunStop"] = "run-stop";
|
|
370
|
+
/** A line the platform wrote for a reader — a boot gate, a refusal, the scaffold stage. */
|
|
371
|
+
ConnectFeedKind["Message"] = "message";
|
|
372
|
+
/** An excerpt of what a model is writing: tokens coalesced per run, never one entry per token. */
|
|
373
|
+
ConnectFeedKind["Thinking"] = "thinking";
|
|
374
|
+
/** A pipeline crossed a step boundary. */
|
|
375
|
+
ConnectFeedKind["Step"] = "step";
|
|
376
|
+
/** A planning card (the project or a story) changed. */
|
|
377
|
+
ConnectFeedKind["Card"] = "card";
|
|
378
|
+
/** A workload's status or warnings changed. */
|
|
379
|
+
ConnectFeedKind["Slot"] = "slot";
|
|
380
|
+
/** A conversion moved: a stage started, finished, failed or waits on a decision. */
|
|
381
|
+
ConnectFeedKind["Conversion"] = "conversion";
|
|
382
|
+
/** An open-ended change left uncommitted files: commit or discard them. */
|
|
383
|
+
ConnectFeedKind["GitProposal"] = "git-proposal";
|
|
384
|
+
/** One tool call of a model run came back — its name and outcome, never its content. */
|
|
385
|
+
ConnectFeedKind["ToolResult"] = "tool-result";
|
|
386
|
+
/** The project's agent lock was taken or released. */
|
|
387
|
+
ConnectFeedKind["Lock"] = "lock";
|
|
388
|
+
/** An organization notice (the balance ran out, a plan allowance was used up). */
|
|
389
|
+
ConnectFeedKind["Toast"] = "toast";
|
|
390
|
+
/** A file of the preview's tree was added, changed or removed. */
|
|
391
|
+
ConnectFeedKind["File"] = "file";
|
|
392
|
+
})(ConnectFeedKind || (ConnectFeedKind = {}));
|
|
393
|
+
/** How much of a project's activity a read answers. */
|
|
394
|
+
export var ConnectFeedDetail;
|
|
395
|
+
(function (ConnectFeedDetail) {
|
|
396
|
+
/** Every entry but the model's own words — what happened, step by step. */
|
|
397
|
+
ConnectFeedDetail["Progress"] = "progress";
|
|
398
|
+
/** Everything, the coalesced model output included. */
|
|
399
|
+
ConnectFeedDetail["Thinking"] = "thinking";
|
|
400
|
+
})(ConnectFeedDetail || (ConnectFeedDetail = {}));
|
|
401
|
+
/** The longest a feed read holds for the next entry, in seconds — under every MCP host's tool ceiling. */
|
|
402
|
+
export const CONNECT_FEED_WAIT_MAX_SEC = 20;
|
|
403
|
+
/** The most entries one feed read answers, and how many it answers when the caller names none. */
|
|
404
|
+
export const CONNECT_FEED_LIMIT_MAX = 200;
|
|
405
|
+
export const CONNECT_FEED_LIMIT_DEFAULT = 50;
|
|
406
|
+
/**
|
|
407
|
+
* A feed cursor: a Redis stream id (`<ms>-<seq>`). `CONNECT_FEED_START` is the cursor of a feed that
|
|
408
|
+
* had nothing yet — reading after it answers everything that arrives.
|
|
409
|
+
*/
|
|
410
|
+
export const CONNECT_FEED_CURSOR_PATTERN = '^[0-9]{1,20}-[0-9]{1,20}$';
|
|
411
|
+
export const CONNECT_FEED_CURSOR_MAX = 41;
|
|
412
|
+
export const CONNECT_FEED_START = '0-0';
|
|
282
413
|
/** The access-token prefix the platform issues. Every connector token starts with it. */
|
|
283
414
|
export const CONNECT_TOKEN_PREFIX = 'vib_';
|
|
284
415
|
/**
|
|
@@ -336,6 +467,72 @@ export const RES_CONNECT_SESSION = 'connect-session';
|
|
|
336
467
|
*/
|
|
337
468
|
export const connect = Object.freeze({
|
|
338
469
|
base: 'viable:manager-api:connect:base',
|
|
470
|
+
/**
|
|
471
|
+
* The organization's own records — branding defaults, inference preferences, access tokens,
|
|
472
|
+
* privacy choices. A ROOT of its own (`/connect/account`), never a child of `base`: it carries the
|
|
473
|
+
* deployment's ACCOUNT gate, and a child would resolve both ownership gates under one gate service
|
|
474
|
+
* (`getGates()` keeps one gate per service), so one of them would silently not apply.
|
|
475
|
+
*/
|
|
476
|
+
account: Object.freeze({
|
|
477
|
+
base: 'viable:manager-api:connect:account:base',
|
|
478
|
+
/**
|
|
479
|
+
* The organization's branding defaults — its name and copyright line, copied into every new
|
|
480
|
+
* project — read, saved, and backfilled into the projects whose rows are still blank.
|
|
481
|
+
*/
|
|
482
|
+
branding: Object.freeze({
|
|
483
|
+
get: 'viable:manager-api:connect:account:branding:get',
|
|
484
|
+
save: 'viable:manager-api:connect:account:branding:save',
|
|
485
|
+
backfill: 'viable:manager-api:connect:account:branding:backfill',
|
|
486
|
+
}),
|
|
487
|
+
/**
|
|
488
|
+
* The person's own inference preference — who performs the model calls (`ConnectLlm`) for every
|
|
489
|
+
* project they have not decided about individually. Reading is free; `set` carries the
|
|
490
|
+
* deployment's `ConnectPaidGate.LocalLlm` gate, exactly its browser twin's. It is the default of
|
|
491
|
+
* the URL-configured host and the browser's connector card — never a running stdio connector's
|
|
492
|
+
* own `--llm`, which stays what that process was started with.
|
|
493
|
+
*/
|
|
494
|
+
llm: Object.freeze({
|
|
495
|
+
get: 'viable:manager-api:connect:account:llm:get',
|
|
496
|
+
set: 'viable:manager-api:connect:account:llm:set',
|
|
497
|
+
}),
|
|
498
|
+
/**
|
|
499
|
+
* The person's own access tokens: listed, and one revoked. There is NO create: minting is the
|
|
500
|
+
* one act that turns a stolen credential into a permanent one, and stays the browser's.
|
|
501
|
+
*/
|
|
502
|
+
tokens: Object.freeze({
|
|
503
|
+
list: 'viable:manager-api:connect:account:tokens:list',
|
|
504
|
+
revoke: 'viable:manager-api:connect:account:tokens:revoke',
|
|
505
|
+
}),
|
|
506
|
+
/**
|
|
507
|
+
* The person's own marketing consents: read, and withdrawn. There is NO grant and no terms
|
|
508
|
+
* acceptance — a consent is a person's express act in the browser; a withdrawal is never harder
|
|
509
|
+
* than a grant (GDPR Art. 7(3)), so it is the one write a connector may make.
|
|
510
|
+
*/
|
|
511
|
+
privacy: Object.freeze({
|
|
512
|
+
status: 'viable:manager-api:connect:account:privacy:status',
|
|
513
|
+
withdraw: 'viable:manager-api:connect:account:privacy:withdraw',
|
|
514
|
+
}),
|
|
515
|
+
/**
|
|
516
|
+
* The intent-first hand-off's pickup for a signed-in caller: the prompt a visitor stashed on the
|
|
517
|
+
* public site, collected ONCE by its reference — the same record and throttle as the guest pickup.
|
|
518
|
+
*/
|
|
519
|
+
intent: Object.freeze({
|
|
520
|
+
pickup: 'viable:manager-api:connect:account:intent:pickup',
|
|
521
|
+
}),
|
|
522
|
+
/**
|
|
523
|
+
* Every end user of every app the organization owns — the owner console's read-only aggregate
|
|
524
|
+
* (`back.iam.users.list`). A person is managed per project, under `connect.iam`.
|
|
525
|
+
*/
|
|
526
|
+
iam: Object.freeze({
|
|
527
|
+
users: 'viable:manager-api:connect:account:iam:users',
|
|
528
|
+
}),
|
|
529
|
+
/**
|
|
530
|
+
* The organization's notices — what the browser shows as toasts (the balance ran out, a plan
|
|
531
|
+
* allowance was used up) — read by cursor (`?after=&wait=`): the browser's notifications socket,
|
|
532
|
+
* polled. Under the account gate, its twin's organization-wide reach.
|
|
533
|
+
*/
|
|
534
|
+
notifications: 'viable:manager-api:connect:account:notifications',
|
|
535
|
+
}),
|
|
339
536
|
session: Object.freeze({
|
|
340
537
|
open: 'viable:manager-api:connect:session:open',
|
|
341
538
|
openDelegated: 'viable:manager-api:connect:session:open-delegated',
|
|
@@ -353,6 +550,34 @@ export const connect = Object.freeze({
|
|
|
353
550
|
attach: 'viable:manager-api:connect:project:attach',
|
|
354
551
|
reinit: 'viable:manager-api:connect:project:reinit',
|
|
355
552
|
modify: 'viable:manager-api:connect:project:modify',
|
|
553
|
+
/**
|
|
554
|
+
* Rename a project — its name, brief and what its code says it is called; never its address.
|
|
555
|
+
* A new name is an agent run paid like free flight.
|
|
556
|
+
*/
|
|
557
|
+
rename: 'viable:manager-api:connect:project:rename',
|
|
558
|
+
/**
|
|
559
|
+
* Delete the project and everything it owns — its workloads, stories, documents and connector
|
|
560
|
+
* sessions. Irreversible; the tool asks for an explicit `confirm`.
|
|
561
|
+
*/
|
|
562
|
+
destroy: 'viable:manager-api:connect:project:destroy',
|
|
563
|
+
/** Release the project's agent lock by force — what the web's "unlock" button does. */
|
|
564
|
+
unlock: 'viable:manager-api:connect:project:unlock',
|
|
565
|
+
/**
|
|
566
|
+
* What the project's agent is doing, read by cursor (`?after=&limit=&wait=&detail=`): run starts
|
|
567
|
+
* and stops, pipeline steps, card, workload and conversion changes, git proposals, tool outcomes
|
|
568
|
+
* and — with `detail=thinking` — the model's own words, coalesced. The browser's project socket,
|
|
569
|
+
* polled.
|
|
570
|
+
*/
|
|
571
|
+
activity: 'viable:manager-api:connect:project:activity',
|
|
572
|
+
/**
|
|
573
|
+
* The project's inference override — `null` inherits the person's preference — and what it
|
|
574
|
+
* resolves to. `set` carries `ConnectPaidGate.LocalLlm`, exactly its browser twin's (clearing an
|
|
575
|
+
* override is a write as well).
|
|
576
|
+
*/
|
|
577
|
+
llm: Object.freeze({
|
|
578
|
+
get: 'viable:manager-api:connect:project:llm:get',
|
|
579
|
+
set: 'viable:manager-api:connect:project:llm:set',
|
|
580
|
+
}),
|
|
356
581
|
/**
|
|
357
582
|
* Planning kits — ready sets of card types and status flows the platform writes into a
|
|
358
583
|
* target's common package (`describe` lists them, `apply` writes one and rebuilds the slot).
|
|
@@ -369,8 +594,26 @@ export const connect = Object.freeze({
|
|
|
369
594
|
branding: Object.freeze({
|
|
370
595
|
get: 'viable:manager-api:connect:project:branding:get',
|
|
371
596
|
save: 'viable:manager-api:connect:project:branding:save',
|
|
597
|
+
/**
|
|
598
|
+
* Hide or show the platform credit — white label, a PAID capability: the route carries the
|
|
599
|
+
* deployment's `ConnectPaidGate.Whitelabel` gate, exactly its browser twin's.
|
|
600
|
+
*/
|
|
601
|
+
credit: 'viable:manager-api:connect:project:branding:credit',
|
|
602
|
+
/** Replace the project's organization name and copyright with the organization's defaults. */
|
|
603
|
+
copyDefaults: 'viable:manager-api:connect:project:branding:copy-defaults',
|
|
372
604
|
}),
|
|
373
605
|
}),
|
|
606
|
+
/**
|
|
607
|
+
* The project's configuration variables — what the generated application reads from its
|
|
608
|
+
* environment, backend and frontend. A backend VALUE never crosses the connector: it is a secret,
|
|
609
|
+
* and a tool result is written into whatever transcript the parent keeps. A frontend value is
|
|
610
|
+
* baked into the public bundle, so it is returned.
|
|
611
|
+
*/
|
|
612
|
+
config: Object.freeze({
|
|
613
|
+
get: 'viable:manager-api:connect:config:get',
|
|
614
|
+
save: 'viable:manager-api:connect:config:save',
|
|
615
|
+
recollect: 'viable:manager-api:connect:config:recollect',
|
|
616
|
+
}),
|
|
374
617
|
story: Object.freeze({
|
|
375
618
|
status: 'viable:manager-api:connect:story:status',
|
|
376
619
|
}),
|
|
@@ -385,14 +628,157 @@ export const connect = Object.freeze({
|
|
|
385
628
|
inquiry: Object.freeze({
|
|
386
629
|
answer: 'viable:manager-api:connect:inquiry:answer',
|
|
387
630
|
}),
|
|
631
|
+
/**
|
|
632
|
+
* A cloud target's generated tree: list it, read, write and delete one file, and list the
|
|
633
|
+
* project's metadata documents (stories, specifications, everything under `docs/` and `.agents/`).
|
|
634
|
+
* A write and a delete rebuild the preview, exactly as the web editor's do.
|
|
635
|
+
*/
|
|
388
636
|
files: Object.freeze({
|
|
389
637
|
list: 'viable:manager-api:connect:files:list',
|
|
638
|
+
get: 'viable:manager-api:connect:files:get',
|
|
639
|
+
save: 'viable:manager-api:connect:files:save',
|
|
640
|
+
remove: 'viable:manager-api:connect:files:remove',
|
|
641
|
+
meta: 'viable:manager-api:connect:files:meta',
|
|
642
|
+
/**
|
|
643
|
+
* The preview tree's file changes, read by cursor (`?after=&wait=`) — the web editor's watch
|
|
644
|
+
* socket, polled. A read starts the preview's watcher when it is not running yet.
|
|
645
|
+
*/
|
|
646
|
+
changes: 'viable:manager-api:connect:files:changes',
|
|
647
|
+
}),
|
|
648
|
+
/**
|
|
649
|
+
* The project's PREVIEW workload — the web's sandbox controls: start it, restart it, stop it,
|
|
650
|
+
* rebuild it from a clean dependency install. A cloud target only, and never the production one.
|
|
651
|
+
*/
|
|
652
|
+
sandbox: Object.freeze({
|
|
653
|
+
run: 'viable:manager-api:connect:sandbox:run',
|
|
654
|
+
restart: 'viable:manager-api:connect:sandbox:restart',
|
|
655
|
+
stop: 'viable:manager-api:connect:sandbox:stop',
|
|
656
|
+
rebuild: 'viable:manager-api:connect:sandbox:rebuild',
|
|
657
|
+
}),
|
|
658
|
+
/** The organization's workloads, every project and kind, as the connector's small projection. */
|
|
659
|
+
slot: Object.freeze({
|
|
660
|
+
list: 'viable:manager-api:connect:slot:list',
|
|
661
|
+
}),
|
|
662
|
+
/**
|
|
663
|
+
* A cloud target's git repository — the web Git dialog's own calls: the status (with the project's
|
|
664
|
+
* GitHub connection), the history, a commit, a discard and an append-only revert.
|
|
665
|
+
*/
|
|
666
|
+
git: Object.freeze({
|
|
667
|
+
status: 'viable:manager-api:connect:git:status',
|
|
668
|
+
log: 'viable:manager-api:connect:git:log',
|
|
669
|
+
commit: 'viable:manager-api:connect:git:commit',
|
|
670
|
+
discard: 'viable:manager-api:connect:git:discard',
|
|
671
|
+
revert: 'viable:manager-api:connect:git:revert',
|
|
672
|
+
}),
|
|
673
|
+
/**
|
|
674
|
+
* The project's GitHub connection: begin authorizing it (`authorize` answers the address the PERSON
|
|
675
|
+
* opens — the authorization is completed by the platform's web application when GitHub returns
|
|
676
|
+
* there, and no connector route completes it), publish, push, pull, disconnect, and the import
|
|
677
|
+
* picker's repositories, branches and origin link. The GitHub token never crosses any of them.
|
|
678
|
+
*/
|
|
679
|
+
github: Object.freeze({
|
|
680
|
+
authorize: 'viable:manager-api:connect:github:authorize',
|
|
681
|
+
publish: 'viable:manager-api:connect:github:publish',
|
|
682
|
+
push: 'viable:manager-api:connect:github:push',
|
|
683
|
+
pull: 'viable:manager-api:connect:github:pull',
|
|
684
|
+
disconnect: 'viable:manager-api:connect:github:disconnect',
|
|
685
|
+
repos: 'viable:manager-api:connect:github:repos',
|
|
686
|
+
branches: 'viable:manager-api:connect:github:branches',
|
|
687
|
+
link: 'viable:manager-api:connect:github:link',
|
|
688
|
+
}),
|
|
689
|
+
/**
|
|
690
|
+
* A cloud target's PRODUCTION workload — the web Publish dialog's own calls: its status (the
|
|
691
|
+
* workload and its domain), publish, restart and stop; a custom domain attached, verified and
|
|
692
|
+
* detached; and the standalone sign-in configuration (read — never its client secret — and its
|
|
693
|
+
* redirect addresses replaced). Never the preview: that is `sandbox`.
|
|
694
|
+
*/
|
|
695
|
+
production: Object.freeze({
|
|
696
|
+
status: 'viable:manager-api:connect:production:status',
|
|
697
|
+
publish: 'viable:manager-api:connect:production:publish',
|
|
698
|
+
restart: 'viable:manager-api:connect:production:restart',
|
|
699
|
+
stop: 'viable:manager-api:connect:production:stop',
|
|
700
|
+
domain: Object.freeze({
|
|
701
|
+
attach: 'viable:manager-api:connect:production:domain:attach',
|
|
702
|
+
verify: 'viable:manager-api:connect:production:domain:verify',
|
|
703
|
+
detach: 'viable:manager-api:connect:production:domain:detach',
|
|
704
|
+
}),
|
|
705
|
+
auth: Object.freeze({
|
|
706
|
+
get: 'viable:manager-api:connect:production:auth:get',
|
|
707
|
+
redirects: 'viable:manager-api:connect:production:auth:redirects',
|
|
708
|
+
}),
|
|
709
|
+
}),
|
|
710
|
+
/**
|
|
711
|
+
* The project's generated app's sign-in (its IAM) — the owner console's own calls, per app: its end
|
|
712
|
+
* users (listed, invited, updated, removed), its permission definitions and their defaults, the
|
|
713
|
+
* grants of a person or a group, the organizations it has members in (retitled, members managed)
|
|
714
|
+
* and their groups. `scope` picks the preview's client (default) or production's. Platform records,
|
|
715
|
+
* so a local target's app is managed here too. The staff synchronization has no twin.
|
|
716
|
+
*/
|
|
717
|
+
iam: Object.freeze({
|
|
718
|
+
permissions: 'viable:manager-api:connect:iam:permissions',
|
|
719
|
+
defaultUpdate: 'viable:manager-api:connect:iam:default-update',
|
|
720
|
+
grants: Object.freeze({
|
|
721
|
+
list: 'viable:manager-api:connect:iam:grants:list',
|
|
722
|
+
assign: 'viable:manager-api:connect:iam:grants:assign',
|
|
723
|
+
revoke: 'viable:manager-api:connect:iam:grants:revoke',
|
|
724
|
+
}),
|
|
725
|
+
users: Object.freeze({
|
|
726
|
+
list: 'viable:manager-api:connect:iam:users:list',
|
|
727
|
+
invite: 'viable:manager-api:connect:iam:users:invite',
|
|
728
|
+
update: 'viable:manager-api:connect:iam:users:update',
|
|
729
|
+
remove: 'viable:manager-api:connect:iam:users:remove',
|
|
730
|
+
}),
|
|
731
|
+
organizations: Object.freeze({
|
|
732
|
+
list: 'viable:manager-api:connect:iam:organizations:list',
|
|
733
|
+
update: 'viable:manager-api:connect:iam:organizations:update',
|
|
734
|
+
members: 'viable:manager-api:connect:iam:organizations:members',
|
|
735
|
+
addMember: 'viable:manager-api:connect:iam:organizations:add-member',
|
|
736
|
+
updateMember: 'viable:manager-api:connect:iam:organizations:update-member',
|
|
737
|
+
removeMember: 'viable:manager-api:connect:iam:organizations:remove-member',
|
|
738
|
+
}),
|
|
739
|
+
groups: Object.freeze({
|
|
740
|
+
list: 'viable:manager-api:connect:iam:groups:list',
|
|
741
|
+
ensure: 'viable:manager-api:connect:iam:groups:ensure',
|
|
742
|
+
update: 'viable:manager-api:connect:iam:groups:update',
|
|
743
|
+
remove: 'viable:manager-api:connect:iam:groups:remove',
|
|
744
|
+
members: 'viable:manager-api:connect:iam:groups:members',
|
|
745
|
+
addMembers: 'viable:manager-api:connect:iam:groups:add-members',
|
|
746
|
+
removeMembers: 'viable:manager-api:connect:iam:groups:remove-members',
|
|
747
|
+
}),
|
|
390
748
|
}),
|
|
391
749
|
pipeline: Object.freeze({
|
|
392
750
|
state: 'viable:manager-api:connect:pipeline:state',
|
|
393
751
|
resume: 'viable:manager-api:connect:pipeline:resume',
|
|
394
752
|
}),
|
|
753
|
+
/**
|
|
754
|
+
* A delegated write answered early (`{ pending }`) is collected here by its `x-viable-call` id —
|
|
755
|
+
* the transport's route, not a `ConnectorApi` member.
|
|
756
|
+
*/
|
|
757
|
+
call: Object.freeze({
|
|
758
|
+
collect: 'viable:manager-api:connect:call:collect',
|
|
759
|
+
}),
|
|
395
760
|
});
|
|
761
|
+
/**
|
|
762
|
+
* The paid gates a deployment may inject into the connector tree (`ConnectEntrypointOptions.paid`).
|
|
763
|
+
*
|
|
764
|
+
* The KIND of payment gate a connector route carries is part of the contract — which route spends
|
|
765
|
+
* which capability or limit — while its gate alias and parameters belong to the deployment, which
|
|
766
|
+
* owns the payment vocabulary. Every connector twin of a gated browser route carries exactly that
|
|
767
|
+
* route's gate, so a capability is never cheaper through the connector than in the browser.
|
|
768
|
+
*/
|
|
769
|
+
export var ConnectPaidGate;
|
|
770
|
+
(function (ConnectPaidGate) {
|
|
771
|
+
/** The delegated (local) model mode. */
|
|
772
|
+
ConnectPaidGate["LocalLlm"] = "local-llm";
|
|
773
|
+
/** Hiding the platform credit — white label. */
|
|
774
|
+
ConnectPaidGate["Whitelabel"] = "whitelabel";
|
|
775
|
+
/** Attaching a custom domain to a production workload. */
|
|
776
|
+
ConnectPaidGate["CustomDomain"] = "custom-domain";
|
|
777
|
+
/** A standalone production sign-in configuration. */
|
|
778
|
+
ConnectPaidGate["ProductionStandalone"] = "production-standalone";
|
|
779
|
+
/** Publishing holds a published-sites unit — a LIMIT gate, not a capability. */
|
|
780
|
+
ConnectPaidGate["PublishedSites"] = "published-sites";
|
|
781
|
+
})(ConnectPaidGate || (ConnectPaidGate = {}));
|
|
396
782
|
/** Tier → the model the parent will run it on. Free-form; display only. */
|
|
397
783
|
export const ModelTierValues = Object.values(ModelTier);
|
|
398
784
|
//# sourceMappingURL=consts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../src/connect/consts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,8DAA8D;AAC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;YACpE,YAAY,EAAE,4DAA4D;YAC1E,YAAY,EAAE,4DAA4D;SAC3E,CAAC;QACF,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;YACpB,IAAI,EAAE,4CAA4C;YAClD,MAAM,EAAE,8CAA8C;YACtD,MAAM,EAAE,8CAA8C;YACtD,MAAM,EAAE,8CAA8C;YACtD,OAAO,EAAE,+CAA+C;YACxD,UAAU,EAAE,mDAAmD;YAC/D,aAAa,EAAE,sDAAsD;SACtE,CAAC;KACH,CAAC;IACF,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC;QACtB,KAAK,EAAE,2CAA2C;QAClD,MAAM,EAAE,4CAA4C;KACrD,CAAC;IACF;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC;QAClB,OAAO,EAAE,yCAAyC;KACnD,CAAC;CACH,CAAC,CAAA;AAEF;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,eAWX;AAXD,WAAY,eAAe;IACzB,wCAAwC;IACxC,yCAAsB,CAAA;IACtB,gDAAgD;IAChD,4CAAyB,CAAA;IACzB,0DAA0D;IAC1D,iDAA8B,CAAA;IAC9B,qDAAqD;IACrD,iEAA8C,CAAA;IAC9C,gFAAgF;IAChF,qDAAkC,CAAA;AACpC,CAAC,EAXW,eAAe,KAAf,eAAe,QAW1B;AAED,2EAA2E;AAC3E,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAA"}
|
|
@@ -20,6 +20,11 @@ export interface ConnectConvertCreateBody {
|
|
|
20
20
|
repoUrl?: string;
|
|
21
21
|
branch?: string;
|
|
22
22
|
};
|
|
23
|
+
/**
|
|
24
|
+
* The caller's unattached delegated session; its pre-card checks are performed by that session's
|
|
25
|
+
* parent. Absent, the platform performs them.
|
|
26
|
+
*/
|
|
27
|
+
sessionId?: string;
|
|
23
28
|
}
|
|
24
29
|
/**
|
|
25
30
|
* Start the conversion of a project already filed.
|
|
@@ -42,6 +47,25 @@ export interface ConnectConvertProceedBody {
|
|
|
42
47
|
* `ConnectConfirmationRequired` — its estimate split packed — and nothing runs.
|
|
43
48
|
*/
|
|
44
49
|
confirm?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* The person's edits to what the analysis drafted, written before the stage starts — accepted
|
|
52
|
+
* only with the decision that starts the EXTRACTION, the stage that classifies the text again.
|
|
53
|
+
* Refused with any other decision, because an edit no moderation check will read must not drive
|
|
54
|
+
* the stories generated from it.
|
|
55
|
+
*/
|
|
56
|
+
update?: ConnectConvertProceedUpdate;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* What a person may change on a conversion before its extraction — the project's name and
|
|
60
|
+
* description and its three brief parts. Never its alias: the preview hostname, the slot and the
|
|
61
|
+
* OIDC client were composed from it at import.
|
|
62
|
+
*/
|
|
63
|
+
export interface ConnectConvertProceedUpdate {
|
|
64
|
+
name?: string;
|
|
65
|
+
description?: string;
|
|
66
|
+
specification?: string;
|
|
67
|
+
vision?: string;
|
|
68
|
+
designSystem?: string;
|
|
45
69
|
}
|
|
46
70
|
/**
|
|
47
71
|
* Whether this origin can be converted, and what it will cost.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/connect/conversion/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAAE,kBAAkB,EAAE,eAAe,EAAE,gBAAgB,EAAE,oBAAoB,EAC7F,qBAAqB,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,EAC5D,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AAC5F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AACpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBA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C/B,KAAK,CAAC,EAAE,kBAAkB,CAAA;IAC1B,yFAAyF;IACzF,WAAW,CAAC,EAAE,kBAAkB,CAAA;IAChC,YAAY,CAAC,EAAE,gBAAgB,CAAA;IAC/B,0DAA0D;IAC1D,SAAS,EAAE,kBAAkB,EAAE,CAAA;IAC/B,aAAa,CAAC,EAAE,iBAAiB,CAAA;IACjC,WAAW,EAAE,WAAW,CAAA;IACxB,+FAA+F;IAC/F,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,+EAA+E;IAC/E,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;CAClB"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import type { ConnectPaidGate } from '../consts.js';
|
|
2
|
+
/** One gate a deployment injects: the gate service's alias and the parameters it asserts. */
|
|
3
|
+
export interface ConnectGateRef {
|
|
4
|
+
alias: string;
|
|
5
|
+
params: string[];
|
|
6
|
+
}
|
|
1
7
|
/**
|
|
2
8
|
* What the platform injects when it mounts the connector routes.
|
|
3
9
|
*
|
|
@@ -9,21 +15,24 @@ export interface ConnectEntrypointOptions {
|
|
|
9
15
|
/** The guard alias every connector route carries. */
|
|
10
16
|
guard: string;
|
|
11
17
|
/** The gate alias and parameters that decide project ownership. */
|
|
12
|
-
gate?:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
18
|
+
gate?: ConnectGateRef;
|
|
19
|
+
/**
|
|
20
|
+
* The gate of the organization's own records — the account base (`/connect/account`), a root of
|
|
21
|
+
* its own beside `base` rather than a child of it, so the two ownership gates never share a
|
|
22
|
+
* service in one resolved list.
|
|
23
|
+
*/
|
|
24
|
+
accountGate?: ConnectGateRef;
|
|
25
|
+
/**
|
|
26
|
+
* The payment gates, by the kind of thing a route spends. A route declares its kind; the
|
|
27
|
+
* deployment names the gate service and its parameters. A kind left out leaves its routes
|
|
28
|
+
* ungated by payment — the deployment's choice, never the connector's.
|
|
29
|
+
*/
|
|
30
|
+
paid?: Partial<Record<ConnectPaidGate, ConnectGateRef>>;
|
|
16
31
|
/**
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* Applied to the one route that turns it on — opening a delegated session. Everything else is
|
|
20
|
-
* free: `cloud` is the default, and a project's own override is the platform's browser surface,
|
|
21
|
-
* not the connector's.
|
|
32
|
+
* @deprecated compat:connect-paid-map — `paid[ConnectPaidGate.LocalLlm]`. Read only when the map
|
|
33
|
+
* names no local-LLM gate.
|
|
22
34
|
*/
|
|
23
|
-
localLlm?:
|
|
24
|
-
alias: string;
|
|
25
|
-
params: string[];
|
|
26
|
-
};
|
|
35
|
+
localLlm?: ConnectGateRef;
|
|
27
36
|
/** Path prefix; defaults to `/connect`. */
|
|
28
37
|
path?: string;
|
|
29
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/connect/entrypoints/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/connect/entrypoints/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAEnD,6FAA6F;AAC7F,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,EAAE,CAAA;CACjB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,wBAAwB;IACvC,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAA;IACb,mEAAmE;IACnE,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,cAAc,CAAA;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,cAAc,CAAC,CAAC,CAAA;IACvD;;;OAGG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAA;IACzB,2CAA2C;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAA;CACd"}
|