@sealant/mend 0.37.0-next.1426 → 0.37.0-next.1442
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/dist/{chunk-4XJ3PLAY.js → chunk-KDKKFY2Y.js} +136 -46
- package/dist/{dashboard-W4PGLWQV.js → dashboard-6A342K3S.js} +1 -1
- package/dist/main.js +2015 -69
- package/man/mend-access-keys-create.1 +1 -1
- package/man/mend-access-keys-list.1 +1 -1
- package/man/mend-access-keys-revoke.1 +1 -1
- package/man/mend-accounts.1 +1 -1
- package/man/mend-adopt.1 +1 -1
- package/man/mend-agent-install.1 +1 -1
- package/man/mend-agent-logins.1 +1 -1
- package/man/mend-attach.1 +1 -1
- package/man/mend-boat-check.1 +1 -1
- package/man/mend-boat-connect.1 +1 -1
- package/man/mend-boat-disconnect.1 +1 -1
- package/man/mend-boat-status.1 +4 -2
- package/man/mend-boat-wallet.1 +33 -0
- package/man/mend-change.1 +1 -1
- package/man/mend-codex.1 +1 -1
- package/man/mend-comment-add.1 +1 -1
- package/man/mend-comment-send.1 +1 -1
- package/man/mend-completions.1 +1 -1
- package/man/mend-connect-executor.1 +1 -1
- package/man/mend-connect-pi.1 +1 -1
- package/man/mend-connect-status.1 +1 -1
- package/man/mend-connect.1 +1 -1
- package/man/mend-continue.1 +1 -1
- package/man/mend-diff.1 +1 -1
- package/man/mend-doctor.1 +5 -2
- package/man/mend-doppler-connect.1 +1 -1
- package/man/mend-doppler-disconnect.1 +1 -1
- package/man/mend-doppler-status.1 +1 -1
- package/man/mend-doppler-use.1 +1 -1
- package/man/mend-doppler.1 +1 -1
- package/man/mend-dotfiles-repo.1 +1 -1
- package/man/mend-dotfiles-sync.1 +1 -1
- package/man/mend-dotfiles.1 +1 -1
- package/man/mend-env-cluster.1 +1 -1
- package/man/mend-env-load.1 +1 -1
- package/man/mend-env-show.1 +1 -1
- package/man/mend-folder-create.1 +1 -1
- package/man/mend-folder-list.1 +1 -1
- package/man/mend-folder-push.1 +1 -1
- package/man/mend-folder-rm.1 +1 -1
- package/man/mend-git-author.1 +1 -1
- package/man/mend-git-check.1 +1 -1
- package/man/mend-handoff.1 +1 -1
- package/man/mend-help.1 +1 -1
- package/man/mend-history.1 +1 -1
- package/man/mend-interrupt.1 +1 -1
- package/man/mend-invite.1 +1 -1
- package/man/mend-keys-init.1 +1 -1
- package/man/mend-keys-mode.1 +1 -1
- package/man/mend-keys-share.1 +1 -1
- package/man/mend-keys-show.1 +1 -1
- package/man/mend-land.1 +1 -1
- package/man/mend-login.1 +1 -1
- package/man/mend-logout.1 +1 -1
- package/man/mend-logs.1 +1 -1
- package/man/mend-man.1 +1 -1
- package/man/mend-mcp-add.1 +1 -1
- package/man/mend-mcp-forget.1 +1 -1
- package/man/mend-mcp-off.1 +1 -1
- package/man/mend-mcp-on.1 +1 -1
- package/man/mend-mcp-remove.1 +1 -1
- package/man/mend-mcp.1 +1 -1
- package/man/mend-members.1 +1 -1
- package/man/mend-memory-import.1 +1 -1
- package/man/mend-memory-rm.1 +1 -1
- package/man/mend-memory-show.1 +1 -1
- package/man/mend-memory.1 +1 -1
- package/man/mend-message.1 +1 -1
- package/man/mend-models.1 +1 -1
- package/man/mend-operator-exposure.1 +1 -1
- package/man/mend-operator-gate.1 +1 -1
- package/man/mend-operator-grant-owner.1 +1 -1
- package/man/mend-operator-org-add-member.1 +1 -1
- package/man/mend-operator-org-create.1 +1 -1
- package/man/mend-operator-org-invite-owner.1 +1 -1
- package/man/mend-operator-org-list.1 +1 -1
- package/man/mend-operator-org-rename.1 +1 -1
- package/man/mend-operator-reset-link.1 +1 -1
- package/man/mend-org-leave.1 +1 -1
- package/man/mend-org-switch.1 +1 -1
- package/man/mend-org.1 +1 -1
- package/man/mend-pair.1 +1 -1
- package/man/mend-preview.1 +1 -1
- package/man/mend-projects-image.1 +1 -1
- package/man/mend-projects-purge.1 +1 -1
- package/man/mend-projects-removed.1 +1 -1
- package/man/mend-projects-restore.1 +1 -1
- package/man/mend-projects-rm.1 +1 -1
- package/man/mend-projects.1 +1 -1
- package/man/mend-proof-get.1 +1 -1
- package/man/mend-proof-list.1 +1 -1
- package/man/mend-pull.1 +1 -1
- package/man/mend-refresh.1 +1 -1
- package/man/mend-rejoin.1 +1 -1
- package/man/mend-resource-add.1 +1 -1
- package/man/mend-resource-env.1 +1 -1
- package/man/mend-resource-list.1 +1 -1
- package/man/mend-resource-load.1 +1 -1
- package/man/mend-resource-remove.1 +1 -1
- package/man/mend-resource-reset.1 +1 -1
- package/man/mend-resource-start.1 +1 -1
- package/man/mend-resource-stop.1 +1 -1
- package/man/mend-resource-use.1 +1 -1
- package/man/mend-respond.1 +1 -1
- package/man/mend-resume.1 +1 -1
- package/man/mend-run.1 +1 -1
- package/man/mend-screen-look.1 +1 -1
- package/man/mend-secrets-add.1 +1 -1
- package/man/mend-secrets-rm.1 +1 -1
- package/man/mend-secrets.1 +1 -1
- package/man/mend-server-logs.1 +1 -1
- package/man/mend-server-restart.1 +1 -1
- package/man/mend-server-setup.1 +2 -2
- package/man/mend-server-start.1 +1 -1
- package/man/mend-server-status.1 +1 -1
- package/man/mend-server-stop.1 +1 -1
- package/man/mend-server-upgrade.1 +1 -1
- package/man/mend-server.1 +1 -1
- package/man/mend-service-add.1 +1 -1
- package/man/mend-service-connect.1 +1 -1
- package/man/mend-service-init.1 +1 -1
- package/man/mend-service-list.1 +1 -1
- package/man/mend-service-logs.1 +1 -1
- package/man/mend-service-restart.1 +1 -1
- package/man/mend-service-run.1 +1 -1
- package/man/mend-service-stop.1 +1 -1
- package/man/mend-session-share.1 +1 -1
- package/man/mend-sessions.1 +1 -1
- package/man/mend-settings.1 +1 -1
- package/man/mend-setup-session.1 +1 -1
- package/man/mend-shell.1 +1 -1
- package/man/mend-skills-push.1 +1 -1
- package/man/mend-skills.1 +1 -1
- package/man/mend-snake.1 +1 -1
- package/man/mend-ssh-keys-remove.1 +1 -1
- package/man/mend-ssh-keys.1 +1 -1
- package/man/mend-ssh-setup.1 +1 -1
- package/man/mend-ssh.1 +1 -1
- package/man/mend-stop.1 +1 -1
- package/man/mend-ui.1 +1 -1
- package/man/mend-uninstall.1 +1 -1
- package/man/mend-version.1 +1 -1
- package/man/mend-wait.1 +1 -1
- package/man/mend-workspace-replace.1 +1 -1
- package/man/mend-worktrees-rm.1 +1 -1
- package/man/mend-worktrees.1 +1 -1
- package/man/mend.1 +5 -2
- package/package.json +2 -2
|
@@ -26591,13 +26591,13 @@ var make32 = (identifier2, options2) => makeProto4({
|
|
|
26591
26591
|
annotations: empty3()
|
|
26592
26592
|
});
|
|
26593
26593
|
|
|
26594
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
26594
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/person-id.js
|
|
26595
26595
|
var RESOURCE_DOMAIN_ID_PREFIX = "rdm:";
|
|
26596
26596
|
var isResourceDomainId = (id2) => id2.startsWith(RESOURCE_DOMAIN_ID_PREFIX);
|
|
26597
26597
|
var NOT_A_PERSON = "names a resource domain, which never holds a login or a provider credential and never runs a harness";
|
|
26598
26598
|
var PersonId = Schema_exports.String.check(Schema_exports.isNonEmpty(), Schema_exports.isTrimmed(), Schema_exports.makeFilter((id2) => isResourceDomainId(id2) ? NOT_A_PERSON : void 0));
|
|
26599
26599
|
|
|
26600
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
26600
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/connected-accounts.js
|
|
26601
26601
|
var NonEmptyString2 = Schema_exports.String.check(Schema_exports.isNonEmpty(), Schema_exports.isTrimmed());
|
|
26602
26602
|
var connectedAccountProviderSchema = Schema_exports.Literals(["claude", "codex", "github"]);
|
|
26603
26603
|
var connectedAccountStatusSchema = Schema_exports.Literals(["active", "invalid", "archived"]);
|
|
@@ -26782,7 +26782,7 @@ var ConnectedAccountsGroup = HttpApiGroup_exports.make("connectedAccounts").add(
|
|
|
26782
26782
|
]
|
|
26783
26783
|
})).annotate(OpenApi_exports.Description, "Connected provider accounts (Claude / Codex / GitHub credentials). Secret material is never returned by any endpoint.");
|
|
26784
26784
|
|
|
26785
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
26785
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/access-tokens.js
|
|
26786
26786
|
var NonEmptyString3 = Schema_exports.String.check(Schema_exports.isNonEmpty(), Schema_exports.isTrimmed());
|
|
26787
26787
|
var accessTokenScopeSchema = Schema_exports.Literals([
|
|
26788
26788
|
"session:read",
|
|
@@ -26841,7 +26841,7 @@ var AccessTokensGroup = HttpApiGroup_exports.make("accessTokens").add(HttpApiEnd
|
|
|
26841
26841
|
error: [AccessTokenBadRequestError, AccessTokenNotFoundError, AccessTokenInternalServerError]
|
|
26842
26842
|
})).annotate(OpenApi_exports.Description, "Scoped bearer tokens for the session surface.");
|
|
26843
26843
|
|
|
26844
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
26844
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/boat-failures.js
|
|
26845
26845
|
var BOAT_FAILURE_KINDS = [
|
|
26846
26846
|
"key-refused",
|
|
26847
26847
|
"key-expired",
|
|
@@ -26864,7 +26864,7 @@ var boatFailureSchema = Schema_exports.Struct({
|
|
|
26864
26864
|
kind: boatFailureKindSchema,
|
|
26865
26865
|
/** Whether the same call may succeed later as it stands (see `BOAT_RETRYABLE_FAILURE_KINDS`). */
|
|
26866
26866
|
retryable: Schema_exports.Boolean,
|
|
26867
|
-
/**
|
|
26867
|
+
/** sealant's call that Boat refused (`create`, `saveSnapshot`, `verify`), when known. */
|
|
26868
26868
|
operation: Schema_exports.optional(Schema_exports.String),
|
|
26869
26869
|
/** Boat's error code (`api_key_expired`). Absent when Boat did not answer with one. */
|
|
26870
26870
|
code: Schema_exports.optional(Schema_exports.String),
|
|
@@ -26884,7 +26884,7 @@ var boatFailureSchema = Schema_exports.Struct({
|
|
|
26884
26884
|
billingUrl: Schema_exports.optional(Schema_exports.String)
|
|
26885
26885
|
});
|
|
26886
26886
|
|
|
26887
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
26887
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/boat-accounts.js
|
|
26888
26888
|
var NonEmptyString4 = Schema_exports.String.check(Schema_exports.isNonEmpty(), Schema_exports.isTrimmed());
|
|
26889
26889
|
var SecretString = Schema_exports.String.check(Schema_exports.isNonEmpty());
|
|
26890
26890
|
var BoatAccountId = Schema_exports.String.check(Schema_exports.isPattern(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/));
|
|
@@ -26899,6 +26899,28 @@ var observedOr = (fields) => Schema_exports.Union([
|
|
|
26899
26899
|
Schema_exports.Struct({ observed: Schema_exports.Literal(true), ...fields }),
|
|
26900
26900
|
boatKeyNotObservedSchema
|
|
26901
26901
|
]);
|
|
26902
|
+
var boatWalletFields = {
|
|
26903
|
+
kind: Schema_exports.Literals(["personal", "organization"]),
|
|
26904
|
+
organizationId: Schema_exports.optional(Schema_exports.String),
|
|
26905
|
+
organizationName: Schema_exports.optional(Schema_exports.String),
|
|
26906
|
+
role: Schema_exports.optional(Schema_exports.String)
|
|
26907
|
+
};
|
|
26908
|
+
var boatWalletSchema = Schema_exports.Struct(boatWalletFields);
|
|
26909
|
+
var boatKeyWalletChoiceSchema = Schema_exports.Struct({
|
|
26910
|
+
id: Schema_exports.String,
|
|
26911
|
+
kind: Schema_exports.Literals(["personal", "organization"]),
|
|
26912
|
+
name: Schema_exports.optional(Schema_exports.String),
|
|
26913
|
+
role: Schema_exports.optional(Schema_exports.String),
|
|
26914
|
+
active: Schema_exports.Boolean
|
|
26915
|
+
});
|
|
26916
|
+
var boatKeyBillingSchema = Schema_exports.Union([
|
|
26917
|
+
Schema_exports.Struct({ mode: Schema_exports.Literal("pinned"), organization: Schema_exports.String }),
|
|
26918
|
+
Schema_exports.Struct({ mode: Schema_exports.Literal("key-organization") }),
|
|
26919
|
+
Schema_exports.Struct({
|
|
26920
|
+
mode: Schema_exports.Literal("active-wallet"),
|
|
26921
|
+
walletChanged: Schema_exports.optional(Schema_exports.Struct({ from: boatWalletSchema, observedAt: Schema_exports.String }))
|
|
26922
|
+
})
|
|
26923
|
+
]);
|
|
26902
26924
|
var boatKeyReportSchema = Schema_exports.Struct({
|
|
26903
26925
|
observedAt: Schema_exports.String,
|
|
26904
26926
|
/** The Boat organization the account bills (`X-Boat-Org` on every request), or null. */
|
|
@@ -26918,19 +26940,24 @@ var boatKeyReportSchema = Schema_exports.Struct({
|
|
|
26918
26940
|
/** A personal (account) key, or an organization's key. */
|
|
26919
26941
|
keyKind: observedOr({ kind: Schema_exports.Literals(["personal", "organization"]) }),
|
|
26920
26942
|
/** Which wallet a VM started with the key bills (`GET /limits`). */
|
|
26921
|
-
wallet: observedOr(
|
|
26922
|
-
|
|
26923
|
-
|
|
26924
|
-
|
|
26925
|
-
|
|
26926
|
-
}),
|
|
26927
|
-
/**
|
|
26943
|
+
wallet: observedOr(boatWalletFields),
|
|
26944
|
+
/**
|
|
26945
|
+
* The wallets the key's Boat account can bill (`GET /orgs`), the active one marked. Absent in
|
|
26946
|
+
* reports made before sealant read them.
|
|
26947
|
+
*/
|
|
26948
|
+
wallets: Schema_exports.optional(observedOr({ choices: Schema_exports.Array(boatKeyWalletChoiceSchema) })),
|
|
26949
|
+
/**
|
|
26950
|
+
* Whether the account names the wallet it bills, or follows the key's active wallet. Absent in
|
|
26951
|
+
* reports made before sealant said so.
|
|
26952
|
+
*/
|
|
26953
|
+
billing: Schema_exports.optional(boatKeyBillingSchema),
|
|
26954
|
+
/** The permissions sealant needs of every key, from the Boat calls it makes. */
|
|
26928
26955
|
requiredPermissions: Schema_exports.Array(Schema_exports.String),
|
|
26929
26956
|
/** The key's permissions (`GET /api-keys`), and which of the required ones it lacks. */
|
|
26930
26957
|
permissions: observedOr({
|
|
26931
26958
|
held: Schema_exports.Array(Schema_exports.String),
|
|
26932
26959
|
missing: Schema_exports.Array(Schema_exports.String),
|
|
26933
|
-
/** The key is limited to some VMs or environments: it cannot reach VMs
|
|
26960
|
+
/** The key is limited to some VMs or environments: it cannot reach VMs sealant creates. */
|
|
26934
26961
|
limitedToSandboxes: Schema_exports.Boolean
|
|
26935
26962
|
}),
|
|
26936
26963
|
/** When the key expires; `expiresAt` null: it never does. */
|
|
@@ -26976,6 +27003,14 @@ var boatKeyProofSchema = Schema_exports.Struct({
|
|
|
26976
27003
|
removalConfirmed: Schema_exports.Boolean
|
|
26977
27004
|
})
|
|
26978
27005
|
});
|
|
27006
|
+
var boatUnreachableSchema = Schema_exports.Struct({
|
|
27007
|
+
/** Saved images, by snapshot name (Saved snapshots in Boat). */
|
|
27008
|
+
savedImages: Schema_exports.Array(Schema_exports.String),
|
|
27009
|
+
/** Runs whose VM it was, by run id: each ended as gone, its VM in no wallet the key can bill. */
|
|
27010
|
+
runs: Schema_exports.optional(Schema_exports.Array(Schema_exports.String)),
|
|
27011
|
+
/** Image builds, by publication id: abandoned, and built again in the wallet the key bills now. */
|
|
27012
|
+
builds: Schema_exports.optional(Schema_exports.Array(Schema_exports.String))
|
|
27013
|
+
});
|
|
26979
27014
|
var boatAccountSchema = Schema_exports.Struct({
|
|
26980
27015
|
boatAccountId: BoatAccountId,
|
|
26981
27016
|
label: NonEmptyString4,
|
|
@@ -26984,17 +27019,26 @@ var boatAccountSchema = Schema_exports.Struct({
|
|
|
26984
27019
|
createdAt: Schema_exports.String,
|
|
26985
27020
|
/** When its key was last replaced; null when it still has the key it was created with. */
|
|
26986
27021
|
keyRotatedAt: Schema_exports.NullOr(Schema_exports.String),
|
|
26987
|
-
/**
|
|
27022
|
+
/**
|
|
27023
|
+
* The wallet the account bills, named (`X-Boat-Org`) on every request it makes: an
|
|
27024
|
+
* organization's id, or `personal`. Every personal key is pinned (to the wallet it billed when it
|
|
27025
|
+
* was connected, unless the caller named another). Null: an organization's key, which has one
|
|
27026
|
+
* wallet, or an account connected before sealant pinned accounts that the worker has not pinned yet.
|
|
27027
|
+
*/
|
|
26988
27028
|
organization: Schema_exports.optional(Schema_exports.NullOr(Schema_exports.String)),
|
|
26989
27029
|
/** The key's last report, with when it was observed; null until the key is checked. */
|
|
26990
27030
|
report: Schema_exports.optional(Schema_exports.NullOr(boatKeyReportSchema)),
|
|
26991
27031
|
/** The account's last full check (`prove`), kept beside its report; null until it is proven. */
|
|
26992
|
-
lastProof: Schema_exports.optional(Schema_exports.NullOr(boatKeyProofSchema))
|
|
27032
|
+
lastProof: Schema_exports.optional(Schema_exports.NullOr(boatKeyProofSchema)),
|
|
27033
|
+
/** What the account made in Boat that sealant cannot reach (`boatUnreachableSchema`). */
|
|
27034
|
+
unreachable: Schema_exports.optional(Schema_exports.NullOr(boatUnreachableSchema))
|
|
26993
27035
|
});
|
|
26994
27036
|
var boatInstallKeySchema = Schema_exports.Struct({
|
|
26995
27037
|
label: NonEmptyString4,
|
|
26996
27038
|
/** The key's last report, with when it was observed; null until it is checked. */
|
|
26997
|
-
report: Schema_exports.NullOr(boatKeyReportSchema)
|
|
27039
|
+
report: Schema_exports.NullOr(boatKeyReportSchema),
|
|
27040
|
+
/** What the install's key made in Boat that sealant cannot reach (`boatUnreachableSchema`). */
|
|
27041
|
+
unreachable: Schema_exports.optional(Schema_exports.NullOr(boatUnreachableSchema))
|
|
26998
27042
|
});
|
|
26999
27043
|
var createBoatAccountRequestSchema = Schema_exports.Struct({
|
|
27000
27044
|
/** The caller's name for the account (an organization's name, say). At most 200 characters. */
|
|
@@ -27007,6 +27051,14 @@ var createBoatAccountRequestSchema = Schema_exports.Struct({
|
|
|
27007
27051
|
*/
|
|
27008
27052
|
organization: Schema_exports.optional(NonEmptyString4)
|
|
27009
27053
|
});
|
|
27054
|
+
var setBoatAccountOrganizationRequestSchema = Schema_exports.Struct({
|
|
27055
|
+
/**
|
|
27056
|
+
* The wallet to bill from now on: an organization's id (or name) from the key report's
|
|
27057
|
+
* `wallets`, or `personal` for the key's own Boat account. Only a personal key can be pointed at
|
|
27058
|
+
* a wallet. Null is refused: a personal key's account is never unpinned.
|
|
27059
|
+
*/
|
|
27060
|
+
organization: Schema_exports.NullOr(NonEmptyString4)
|
|
27061
|
+
});
|
|
27010
27062
|
var rotateBoatAccountKeyRequestSchema = Schema_exports.Struct({
|
|
27011
27063
|
/** The new Boat key, for the same Boat account: it must see every VM the account runs. */
|
|
27012
27064
|
apiKey: SecretString
|
|
@@ -27038,9 +27090,12 @@ var BoatAccountConflictError = class extends Schema_exports.TaggedError()("BoatA
|
|
|
27038
27090
|
"boat-account-removing",
|
|
27039
27091
|
"boat-account-changed",
|
|
27040
27092
|
"boat-account-environment",
|
|
27041
|
-
"boat-proof-running"
|
|
27093
|
+
"boat-proof-running",
|
|
27094
|
+
"boat-key-organization",
|
|
27095
|
+
"boat-account-wallet-unresolved"
|
|
27042
27096
|
]),
|
|
27043
27097
|
liveRuns: Schema_exports.optional(Schema_exports.Int),
|
|
27098
|
+
unsettledRuns: Schema_exports.optional(Schema_exports.Int),
|
|
27044
27099
|
buildsInFlight: Schema_exports.optional(Schema_exports.Int),
|
|
27045
27100
|
unseen: Schema_exports.optional(Schema_exports.Int)
|
|
27046
27101
|
}, { httpApiStatus: 409 }) {
|
|
@@ -27076,6 +27131,22 @@ var BoatAccountsGroup = HttpApiGroup_exports.make("boatAccounts").add(HttpApiEnd
|
|
|
27076
27131
|
BoatAccountInternalServerError
|
|
27077
27132
|
]
|
|
27078
27133
|
})).add(
|
|
27134
|
+
// Points the account at another wallet, without its key. What it made stays recorded in the
|
|
27135
|
+
// wallet it was made in; its saved images there are removed with requests that name it.
|
|
27136
|
+
HttpApiEndpoint_exports.put("setBoatAccountOrganization", "/:boatAccountId/organization", {
|
|
27137
|
+
params: boatAccountRefParams,
|
|
27138
|
+
payload: setBoatAccountOrganizationRequestSchema,
|
|
27139
|
+
success: boatAccountSchema,
|
|
27140
|
+
error: [
|
|
27141
|
+
BoatAccountBadRequestError,
|
|
27142
|
+
BoatAccountKeyRefusedError,
|
|
27143
|
+
BoatAccountNotFoundError,
|
|
27144
|
+
BoatAccountConflictError,
|
|
27145
|
+
BoatAccountServiceUnavailableError,
|
|
27146
|
+
BoatAccountInternalServerError
|
|
27147
|
+
]
|
|
27148
|
+
})
|
|
27149
|
+
).add(
|
|
27079
27150
|
// The install's own key's last report (never the key).
|
|
27080
27151
|
HttpApiEndpoint_exports.get("getBoatInstallKey", "/install-key", {
|
|
27081
27152
|
success: boatInstallKeySchema,
|
|
@@ -27131,7 +27202,7 @@ var BoatAccountsGroup = HttpApiGroup_exports.make("boatAccounts").add(HttpApiEnd
|
|
|
27131
27202
|
})
|
|
27132
27203
|
).annotate(OpenApi_exports.Description, "The Boat keys an install keeps beside its default one: one Boat account each, for the workspaces that name it.");
|
|
27133
27204
|
|
|
27134
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
27205
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/budgets.js
|
|
27135
27206
|
var requestBudgetRefusalSchema = Schema_exports.Struct({
|
|
27136
27207
|
phase: Schema_exports.Literal("before-work"),
|
|
27137
27208
|
bucket: Schema_exports.Literals(["owner", "unowned", "key", "principal"])
|
|
@@ -27148,7 +27219,7 @@ var BudgetExceededError = class extends Schema_exports.TaggedError()("BudgetExce
|
|
|
27148
27219
|
var RequestBudget = class extends HttpApiMiddleware_exports.Service()("@sealant/api-contracts/RequestBudget", { error: BudgetExceededError }) {
|
|
27149
27220
|
};
|
|
27150
27221
|
|
|
27151
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
27222
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/github.js
|
|
27152
27223
|
var GitHubInstallationAccountTypeSchema = Schema_exports.Literals(["organization", "user"]);
|
|
27153
27224
|
var GitHubInstallationStatusSchema = Schema_exports.Literals(["active", "suspended", "deleted"]);
|
|
27154
27225
|
var GitHubInstallationRepositorySelectionSchema = Schema_exports.Literals(["all", "selected"]);
|
|
@@ -27289,7 +27360,7 @@ var GitHubGroup = HttpApiGroup_exports.make("github").add(HttpApiEndpoint_export
|
|
|
27289
27360
|
})).annotate(OpenApi_exports.Description, "GitHub App installation and webhook control-plane operations.");
|
|
27290
27361
|
var GitHubApi = HttpApi_exports.make("sealantGitHubApi").add(GitHubGroup).annotate(OpenApi_exports.Title, "Sealant Control Plane API - GitHub").annotate(OpenApi_exports.Version, "0.0.0");
|
|
27291
27362
|
|
|
27292
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
27363
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/inference.js
|
|
27293
27364
|
var NonEmptyString6 = Schema_exports.String.check(Schema_exports.isNonEmpty(), Schema_exports.isTrimmed());
|
|
27294
27365
|
var inferenceCredentialsSchema = Schema_exports.Struct({
|
|
27295
27366
|
profileId: Schema_exports.optional(NonEmptyString6),
|
|
@@ -27403,7 +27474,7 @@ var InferenceGroup = HttpApiGroup_exports.make("inference").add(HttpApiEndpoint_
|
|
|
27403
27474
|
]
|
|
27404
27475
|
})).annotate(OpenApi_exports.Description, "Inference on connected accounts, via the official agent SDKs \u2014 never raw model-API calls.");
|
|
27405
27476
|
|
|
27406
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
27477
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/packages.js
|
|
27407
27478
|
var NonEmptyString7 = Schema_exports.String.check(Schema_exports.isNonEmpty(), Schema_exports.isTrimmed());
|
|
27408
27479
|
var packageTargetOsSchema = Schema_exports.Literals(["arch", "fedora", "nix", "ubuntu"]);
|
|
27409
27480
|
var packageResolutionStatusSchema = Schema_exports.Literals([
|
|
@@ -27461,7 +27532,7 @@ var PackagesGroup = HttpApiGroup_exports.make("packages").add(HttpApiEndpoint_ex
|
|
|
27461
27532
|
error: [PackagesBadGatewayError, PackagesInternalServerError]
|
|
27462
27533
|
})).annotate(OpenApi_exports.Description, "Package normalization and distro resolution operations.");
|
|
27463
27534
|
|
|
27464
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
27535
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/profiles.js
|
|
27465
27536
|
var NonEmptyString8 = Schema_exports.String.check(Schema_exports.isNonEmpty(), Schema_exports.isTrimmed());
|
|
27466
27537
|
var profileStatusSchema = Schema_exports.Literals(["active", "archived"]);
|
|
27467
27538
|
var profileSummarySchema = Schema_exports.Struct({
|
|
@@ -27544,7 +27615,7 @@ var ProfilesGroup = HttpApiGroup_exports.make("profiles").add(HttpApiEndpoint_ex
|
|
|
27544
27615
|
})
|
|
27545
27616
|
).annotate(OpenApi_exports.Description, "Profiles and their per-provider connected-account credential bindings.");
|
|
27546
27617
|
|
|
27547
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
27618
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/oci-names.js
|
|
27548
27619
|
var REPOSITORY_COMPONENT = "[a-z0-9]+(?:(?:\\.|_|__|-+)[a-z0-9]+)*";
|
|
27549
27620
|
var REPOSITORY = new RegExp(`^${REPOSITORY_COMPONENT}(?:/${REPOSITORY_COMPONENT})*$`);
|
|
27550
27621
|
var REPOSITORY_MAX_LENGTH = 255;
|
|
@@ -27568,7 +27639,7 @@ var isOciReference = (value3) => isOciDigest(value3) || isOciTag(value3);
|
|
|
27568
27639
|
var OCI_REPOSITORY_MESSAGE = "must be an OCI repository name: lowercase path components of [a-z0-9] joined by '.', '_', '__' or '-', separated by '/'";
|
|
27569
27640
|
var OCI_REFERENCE_MESSAGE = "must be an OCI tag ([A-Za-z0-9_][A-Za-z0-9._-]{0,127}) or a digest (algorithm:encoded)";
|
|
27570
27641
|
|
|
27571
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
27642
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/registries.js
|
|
27572
27643
|
var NonEmptyString9 = Schema_exports.String.check(Schema_exports.isNonEmpty(), Schema_exports.isTrimmed());
|
|
27573
27644
|
var OciRepository = NonEmptyString9.check(Schema_exports.makeFilter((value3) => isOciRepository(value3) ? void 0 : `repository ${OCI_REPOSITORY_MESSAGE}`));
|
|
27574
27645
|
var OciReference = NonEmptyString9.check(Schema_exports.makeFilter((value3) => isOciReference(value3) ? void 0 : `reference ${OCI_REFERENCE_MESSAGE}`));
|
|
@@ -27645,7 +27716,7 @@ var RegistriesGroup = HttpApiGroup_exports.make("registries").add(HttpApiEndpoin
|
|
|
27645
27716
|
error: [RegistriesNotFoundError, RegistriesBadGatewayError]
|
|
27646
27717
|
})).annotate(OpenApi_exports.Description, "Registry metadata and OCI read operations.");
|
|
27647
27718
|
|
|
27648
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
27719
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/request-refusal.js
|
|
27649
27720
|
var RequestRefusedError = class extends Schema_exports.TaggedError()("RequestRefusedError", {
|
|
27650
27721
|
/** Where the request is wrong and what was expected; never a value it held. */
|
|
27651
27722
|
message: Schema_exports.String
|
|
@@ -27654,7 +27725,7 @@ var RequestRefusedError = class extends Schema_exports.TaggedError()("RequestRef
|
|
|
27654
27725
|
var RequestRefusal = class extends HttpApiMiddleware_exports.Service()("@sealant/api-contracts/RequestRefusal", { error: RequestRefusedError }) {
|
|
27655
27726
|
};
|
|
27656
27727
|
|
|
27657
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
27728
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/resource-domains.js
|
|
27658
27729
|
var RESOURCE_DOMAIN_ID_PATTERN = new RegExp(`^${RESOURCE_DOMAIN_ID_PREFIX}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$`);
|
|
27659
27730
|
var RESOURCE_DOMAIN_KEY_PATTERN = /^[a-z][a-z0-9-]{0,31}:[A-Za-z0-9._:/@+=-]{1,223}$/;
|
|
27660
27731
|
var ResourceDomainId = Schema_exports.String.check(Schema_exports.makeFilter((id2) => RESOURCE_DOMAIN_ID_PATTERN.test(id2) ? void 0 : "must be a resource domain id (rdm:<uuid>)"));
|
|
@@ -27830,7 +27901,7 @@ var ResourceDomainsGroup = HttpApiGroup_exports.make("resourceDomains").add(Http
|
|
|
27830
27901
|
]
|
|
27831
27902
|
})).annotate(HttpApi_exports.PayloadParseOptions, { onExcessProperty: "error" }).annotate(OpenApi_exports.Description, "Owners that are projects, not people: they never hold a login or a provider credential.");
|
|
27832
27903
|
|
|
27833
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
27904
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/resource-instances.js
|
|
27834
27905
|
var RESOURCE_INSTANCE_ID_PREFIX = "rin:";
|
|
27835
27906
|
var RESOURCE_INSTANCE_ID_PATTERN = new RegExp(`^${RESOURCE_INSTANCE_ID_PREFIX}[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$`);
|
|
27836
27907
|
var matching = (pattern, message) => Schema_exports.makeFilter((value3) => pattern.test(value3) ? void 0 : message);
|
|
@@ -27896,7 +27967,7 @@ var resourceInstanceSpecSchema = Schema_exports.Struct({
|
|
|
27896
27967
|
memoryBytes: Schema_exports.Int.check(Schema_exports.isBetween({ minimum: 16 * 1024 * 1024, maximum: Number.MAX_SAFE_INTEGER }))
|
|
27897
27968
|
}),
|
|
27898
27969
|
ready: resourceInstanceReadySchema,
|
|
27899
|
-
/** Seconds with no live linked executor reaching it before
|
|
27970
|
+
/** Seconds with no live linked executor reaching it before sealant stops it. */
|
|
27900
27971
|
idleStopAfterSeconds: Schema_exports.NullOr(Schema_exports.Int.check(Schema_exports.isBetween({ minimum: 1, maximum: RESOURCE_INSTANCE_MAX_IDLE_SECONDS })))
|
|
27901
27972
|
});
|
|
27902
27973
|
var resourceInstanceStopReasonSchema = Schema_exports.Union([
|
|
@@ -27917,7 +27988,7 @@ var resourceInstanceStateSchema = Schema_exports.Union([
|
|
|
27917
27988
|
at: Schema_exports.String,
|
|
27918
27989
|
reason: resourceInstanceStopReasonSchema
|
|
27919
27990
|
}),
|
|
27920
|
-
/** The container ended on its own;
|
|
27991
|
+
/** The container ended on its own; sealant starts it again. */
|
|
27921
27992
|
Schema_exports.Struct({
|
|
27922
27993
|
kind: Schema_exports.Literal("exited"),
|
|
27923
27994
|
at: Schema_exports.String,
|
|
@@ -27962,7 +28033,7 @@ var resourceInstanceSchema = Schema_exports.Struct({
|
|
|
27962
28033
|
desired: Schema_exports.Literals(["running", "stopped", "archived"]),
|
|
27963
28034
|
/** Why it is stopped, while `desired` is `stopped`. */
|
|
27964
28035
|
stopReason: Schema_exports.NullOr(resourceInstanceStopReasonSchema),
|
|
27965
|
-
/** What
|
|
28036
|
+
/** What sealant last observed, and when. */
|
|
27966
28037
|
state: resourceInstanceStateSchema,
|
|
27967
28038
|
observedAt: Timestamp2,
|
|
27968
28039
|
startedAt: Schema_exports.NullOr(Timestamp2),
|
|
@@ -28120,7 +28191,7 @@ var resourceInstanceExecResultSchema = Schema_exports.Struct({
|
|
|
28120
28191
|
timedOut: Schema_exports.Boolean
|
|
28121
28192
|
});
|
|
28122
28193
|
|
|
28123
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
28194
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/runs.js
|
|
28124
28195
|
var NonEmptyString10 = Schema_exports.String.check(Schema_exports.isNonEmpty(), Schema_exports.isTrimmed());
|
|
28125
28196
|
var runStatusSchema = Schema_exports.Literals([
|
|
28126
28197
|
"queued",
|
|
@@ -28368,7 +28439,7 @@ var RunsGroup = HttpApiGroup_exports.make("runs").add(HttpApiEndpoint_exports.po
|
|
|
28368
28439
|
error: [RunNotFoundError, RunInternalServerError]
|
|
28369
28440
|
})).annotate(OpenApi_exports.Description, "Runs (harness executions) and their execution record.");
|
|
28370
28441
|
|
|
28371
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
28442
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/sessions.js
|
|
28372
28443
|
var NonEmptyString11 = Schema_exports.String.check(Schema_exports.isNonEmpty(), Schema_exports.isTrimmed());
|
|
28373
28444
|
var sessionStatusSchema = Schema_exports.Literals(["starting", "running", "exited", "failed"]);
|
|
28374
28445
|
var sessionAuthorizationHeadersSchema = Schema_exports.Struct({
|
|
@@ -28683,7 +28754,7 @@ var SessionsGroup = HttpApiGroup_exports.make("sessions").add(
|
|
|
28683
28754
|
})
|
|
28684
28755
|
).annotate(OpenApi_exports.Description, "Interactive PTY sessions: durable, reattachable, sequence-keyed output.");
|
|
28685
28756
|
|
|
28686
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
28757
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/ssh-keys.js
|
|
28687
28758
|
var NonEmptyString12 = Schema_exports.String.check(Schema_exports.isNonEmpty(), Schema_exports.isTrimmed());
|
|
28688
28759
|
var sshKeyGatewayHeadersSchema = Schema_exports.Struct({
|
|
28689
28760
|
// Authenticates the gateway as a trusted caller of the internal resolve endpoint.
|
|
@@ -28780,7 +28851,7 @@ var SshKeysGroup = HttpApiGroup_exports.make("sshKeys").add(HttpApiEndpoint_expo
|
|
|
28780
28851
|
})
|
|
28781
28852
|
).annotate(OpenApi_exports.Description, "User SSH public keys and gateway principal resolution.");
|
|
28782
28853
|
|
|
28783
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
28854
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/system.js
|
|
28784
28855
|
var NonEmptyString13 = Schema_exports.String.check(Schema_exports.isNonEmpty(), Schema_exports.isTrimmed());
|
|
28785
28856
|
var systemIndexResponseSchema = Schema_exports.Struct({
|
|
28786
28857
|
name: NonEmptyString13,
|
|
@@ -28897,7 +28968,7 @@ var SystemGroup = HttpApiGroup_exports.make("system").add(HttpApiEndpoint_export
|
|
|
28897
28968
|
})
|
|
28898
28969
|
).annotate(OpenApi_exports.Description, "System metadata, health probes, and first-run setup state.");
|
|
28899
28970
|
|
|
28900
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
28971
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/users.js
|
|
28901
28972
|
var NonEmptyString14 = Schema_exports.String.check(Schema_exports.isNonEmpty(), Schema_exports.isTrimmed());
|
|
28902
28973
|
var userSchema = Schema_exports.Struct({
|
|
28903
28974
|
userId: PersonId,
|
|
@@ -28960,7 +29031,7 @@ var UsersGroup = HttpApiGroup_exports.make("users").add(HttpApiEndpoint_exports.
|
|
|
28960
29031
|
error: [UserNotFoundError, UserInternalServerError]
|
|
28961
29032
|
})).annotate(OpenApi_exports.Description, "Identity rows for products that own their own login and act on behalf of their users.");
|
|
28962
29033
|
|
|
28963
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
29034
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/endpoint-url.js
|
|
28964
29035
|
var parsed = (value3) => {
|
|
28965
29036
|
try {
|
|
28966
29037
|
return new URL(value3);
|
|
@@ -28998,7 +29069,7 @@ var parseEndpointUrl = (raw2) => {
|
|
|
28998
29069
|
return problem === void 0 ? { valid: true, url: decodeEndpointUrl(raw2) } : { valid: false, reason: `The endpoint ${problem}.` };
|
|
28999
29070
|
};
|
|
29000
29071
|
|
|
29001
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
29072
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/workspaces.js
|
|
29002
29073
|
var NonEmptyString15 = Schema_exports.String.check(Schema_exports.isNonEmpty(), Schema_exports.isTrimmed());
|
|
29003
29074
|
var workspaceStatusSchema = Schema_exports.Literals([
|
|
29004
29075
|
"queued",
|
|
@@ -30256,7 +30327,7 @@ var WorkspacesGroup = HttpApiGroup_exports.make("workspaces").add(HttpApiEndpoin
|
|
|
30256
30327
|
WorkspaceConflictError,
|
|
30257
30328
|
// The executor did not confirm the staging.
|
|
30258
30329
|
WorkspaceBadGatewayError,
|
|
30259
|
-
//
|
|
30330
|
+
// sealant cannot reach the executor.
|
|
30260
30331
|
WorkspaceServiceUnavailableError,
|
|
30261
30332
|
WorkspaceInternalServerError
|
|
30262
30333
|
]
|
|
@@ -30350,7 +30421,7 @@ var WorkspacesGroup = HttpApiGroup_exports.make("workspaces").add(HttpApiEndpoin
|
|
|
30350
30421
|
WorkspaceConflictError,
|
|
30351
30422
|
// The executor did not confirm the write.
|
|
30352
30423
|
WorkspaceBadGatewayError,
|
|
30353
|
-
// SEALANT_CREDENTIALS_KEY is not configured, or
|
|
30424
|
+
// SEALANT_CREDENTIALS_KEY is not configured, or sealant cannot reach the executor.
|
|
30354
30425
|
WorkspaceServiceUnavailableError,
|
|
30355
30426
|
WorkspaceInternalServerError
|
|
30356
30427
|
]
|
|
@@ -30372,7 +30443,7 @@ var WorkspacesGroup = HttpApiGroup_exports.make("workspaces").add(HttpApiEndpoin
|
|
|
30372
30443
|
WorkspaceConflictError,
|
|
30373
30444
|
// The executor did not confirm the write.
|
|
30374
30445
|
WorkspaceBadGatewayError,
|
|
30375
|
-
// SEALANT_CREDENTIALS_KEY is not configured, or
|
|
30446
|
+
// SEALANT_CREDENTIALS_KEY is not configured, or sealant cannot reach the executor.
|
|
30376
30447
|
WorkspaceServiceUnavailableError,
|
|
30377
30448
|
WorkspaceInternalServerError
|
|
30378
30449
|
]
|
|
@@ -30451,10 +30522,10 @@ var WorkspacesGroup = HttpApiGroup_exports.make("workspaces").add(HttpApiEndpoin
|
|
|
30451
30522
|
]
|
|
30452
30523
|
})).annotate(OpenApi_exports.Description, "Workspace lifecycle, attempts, events, and runtime routing endpoints.");
|
|
30453
30524
|
|
|
30454
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
30525
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/control-plane.js
|
|
30455
30526
|
var ControlPlaneAPI = HttpApi_exports.make("sealantControlPlaneApi").add(SystemGroup).add(PackagesGroup.prefix("/v1/packages")).add(WorkspacesGroup.prefix("/v1/workspaces")).add(SshKeysGroup.prefix("/v1/ssh-keys")).add(ConnectedAccountsGroup.prefix("/v1/connected-accounts")).add(ProfilesGroup.prefix("/v1/profiles")).add(InferenceGroup.prefix("/v1/inference")).add(RunsGroup.prefix("/v1/runs")).add(SessionsGroup.prefix("/v1/sessions")).add(AccessTokensGroup.prefix("/v1/access-tokens")).add(RegistriesGroup.prefix("/v1/registries")).add(GitHubGroup.prefix("/v1/github")).add(UsersGroup.prefix("/v1/users")).add(BoatAccountsGroup.prefix("/v1/boat-accounts")).add(ResourceDomainsGroup.prefix("/v1/resource-domains")).add(ResourceInstancesGroup.prefix("/v1/resource-domains")).middleware(RequestRefusal).middleware(RequestBudget).annotate(OpenApi_exports.Title, "Sealant Control Plane API").annotate(OpenApi_exports.Version, "0.0.0").annotate(OpenApi_exports.Description, "Sealant control-plane HTTP API.");
|
|
30456
30527
|
|
|
30457
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
30528
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/record-events.js
|
|
30458
30529
|
var recordEventKindValues = [
|
|
30459
30530
|
"runtimeStateChanged",
|
|
30460
30531
|
"runtimeHeartbeat",
|
|
@@ -30596,7 +30667,7 @@ var decoders = {
|
|
|
30596
30667
|
networkSourceObserved: eventCase("networkSourceObserved", networkSourceObservedEventSchema)
|
|
30597
30668
|
};
|
|
30598
30669
|
|
|
30599
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
30670
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/core-api/workspace-forward.js
|
|
30600
30671
|
var FORWARD_V2_MAX_FRAME_BYTES = 64 * 1024;
|
|
30601
30672
|
var forwardRefusalReasonSchema = Schema_exports.Literals([
|
|
30602
30673
|
"workspace-not-ready",
|
|
@@ -30674,7 +30745,7 @@ var forwardFlowFrameSchema = Schema_exports.Union([
|
|
|
30674
30745
|
]);
|
|
30675
30746
|
var decodeFlowFrame = Schema_exports.decodeUnknownOption(Schema_exports.fromJsonString(forwardFlowFrameSchema));
|
|
30676
30747
|
|
|
30677
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
30748
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/workspace-environment.js
|
|
30678
30749
|
var WORKSPACE_ENV_NAME_PATTERN = /^[A-Za-z_][A-Za-z0-9_]*$/u;
|
|
30679
30750
|
var WORKSPACE_ENV_MAX_NAME_LENGTH = 128;
|
|
30680
30751
|
var RESERVED_PREFIXES = [
|
|
@@ -30777,7 +30848,7 @@ var providerLoginEnvNames = {
|
|
|
30777
30848
|
codex: ["OPENAI_API_KEY", "CODEX_API_KEY"]
|
|
30778
30849
|
};
|
|
30779
30850
|
|
|
30780
|
-
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.
|
|
30851
|
+
// ../../node_modules/.pnpm/@sealant+api-contracts-next@0.40.0-next.880_effect@4.0.5/node_modules/@sealant/api-contracts-next/dist/capture-owner-map.js
|
|
30781
30852
|
var CAPTURE_OWNER_MAP_UID_RANGE = { first: 40001, last: 49999 };
|
|
30782
30853
|
var UID_RANGE_TEXT = `${CAPTURE_OWNER_MAP_UID_RANGE.first}\u2013${CAPTURE_OWNER_MAP_UID_RANGE.last}`;
|
|
30783
30854
|
|
|
@@ -30857,6 +30928,9 @@ var AGENT_HOOKS = {
|
|
|
30857
30928
|
]
|
|
30858
30929
|
};
|
|
30859
30930
|
|
|
30931
|
+
// ../../packages/domain/src/workbench/capture-drain-schema.ts
|
|
30932
|
+
var CaptureDrainReason = Schema_exports.Literals(["stop", "relaunch", "replacement"]);
|
|
30933
|
+
|
|
30860
30934
|
// ../../packages/domain/src/workbench/capture-drain.ts
|
|
30861
30935
|
var FALLBACK_REPLACEMENT_AGE_SECONDS = 7 * 60 * 60 + 30 * 60;
|
|
30862
30936
|
var CAPTURE_EXECUTOR_RETAINED = "retained";
|
|
@@ -31906,6 +31980,9 @@ export {
|
|
|
31906
31980
|
WorktreeId,
|
|
31907
31981
|
ResourceDefinitionId,
|
|
31908
31982
|
CheckpointId,
|
|
31983
|
+
ContextSnapshotId,
|
|
31984
|
+
ReferenceId,
|
|
31985
|
+
ProjectMountId,
|
|
31909
31986
|
SessionProcessId,
|
|
31910
31987
|
AgentTurnId,
|
|
31911
31988
|
AgentItemId,
|
|
@@ -31918,12 +31995,18 @@ export {
|
|
|
31918
31995
|
SecretFileId,
|
|
31919
31996
|
McpServerId,
|
|
31920
31997
|
OrganizationId,
|
|
31998
|
+
InvitationId,
|
|
31999
|
+
AuditEventId,
|
|
31921
32000
|
ChangeLandingId,
|
|
31922
32001
|
ResourceLoadId,
|
|
31923
32002
|
Timestamp,
|
|
31924
32003
|
SequenceNumber,
|
|
31925
32004
|
SessionRuntime,
|
|
31926
32005
|
WorkspaceImage,
|
|
32006
|
+
defaultWorkspaceImage,
|
|
32007
|
+
DotfilesRepository,
|
|
32008
|
+
MendSettings,
|
|
32009
|
+
OrganizationSettings,
|
|
31927
32010
|
HttpApiEndpoint_exports,
|
|
31928
32011
|
HttpApiMiddleware_exports,
|
|
31929
32012
|
HttpApiGroup_exports,
|
|
@@ -31939,8 +32022,15 @@ export {
|
|
|
31939
32022
|
takesReviewFollowUp,
|
|
31940
32023
|
noReviewFollowUpLine,
|
|
31941
32024
|
resumesOwnHarness,
|
|
32025
|
+
CaptureDrainReason,
|
|
32026
|
+
OrganizationRole,
|
|
31942
32027
|
TenancyMode,
|
|
31943
32028
|
ProjectVisibility,
|
|
32029
|
+
Organization,
|
|
32030
|
+
OrganizationMember,
|
|
32031
|
+
Invitation,
|
|
32032
|
+
AutomationChoice,
|
|
32033
|
+
RequestedGitAuthMode,
|
|
31944
32034
|
AMBIENT_REMOVED_GUIDANCE,
|
|
31945
32035
|
repositoryCloneUrlIssue,
|
|
31946
32036
|
Project,
|