@antasphere/slideless 0.13.12 → 0.13.13
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/bin.js +76 -48
- package/package.json +4 -4
package/dist/bin.js
CHANGED
|
@@ -4391,7 +4391,7 @@ function migrateLegacyConfig(env, spec) {
|
|
|
4391
4391
|
return { migrated: true, from, to };
|
|
4392
4392
|
}
|
|
4393
4393
|
|
|
4394
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
4394
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/config.js
|
|
4395
4395
|
function createConfig(identity) {
|
|
4396
4396
|
const TOOL = identity.tool;
|
|
4397
4397
|
const LEGACY = { tool: TOOL, legacyDir: identity.legacyConfigDir };
|
|
@@ -4417,7 +4417,7 @@ function createConfig(identity) {
|
|
|
4417
4417
|
return { configPath: configPath3, loadConfig: loadConfig4, saveConfig: saveConfig4, clearConfig: clearConfig3, removeConnectKey: removeConnectKey3 };
|
|
4418
4418
|
}
|
|
4419
4419
|
|
|
4420
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-sdk@1.
|
|
4420
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-sdk@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-sdk/dist/index.js
|
|
4421
4421
|
var PlatformApiError = class extends Error {
|
|
4422
4422
|
status;
|
|
4423
4423
|
code;
|
|
@@ -5057,7 +5057,7 @@ var ChassisClient = class {
|
|
|
5057
5057
|
}
|
|
5058
5058
|
};
|
|
5059
5059
|
|
|
5060
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
5060
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/identity.js
|
|
5061
5061
|
var DEFAULT_HUB_URL = "https://account.antasphere.com";
|
|
5062
5062
|
function cliIdentity(identity) {
|
|
5063
5063
|
return {
|
|
@@ -5073,7 +5073,7 @@ function cliIdentity(identity) {
|
|
|
5073
5073
|
};
|
|
5074
5074
|
}
|
|
5075
5075
|
|
|
5076
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
5076
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/workspace.js
|
|
5077
5077
|
var UUID_RE = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
5078
5078
|
function isWorkspaceId(value) {
|
|
5079
5079
|
return UUID_RE.test(value);
|
|
@@ -5180,7 +5180,7 @@ ${workspaceLines(me.workspaces)}`;
|
|
|
5180
5180
|
};
|
|
5181
5181
|
}
|
|
5182
5182
|
|
|
5183
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
5183
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/context.js
|
|
5184
5184
|
var CliApiRefusal = class extends CliUsageError {
|
|
5185
5185
|
status;
|
|
5186
5186
|
constructor(message, status) {
|
|
@@ -5496,7 +5496,7 @@ var {
|
|
|
5496
5496
|
Help
|
|
5497
5497
|
} = import_index.default;
|
|
5498
5498
|
|
|
5499
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
5499
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/stdin.js
|
|
5500
5500
|
var claims = /* @__PURE__ */ new WeakMap();
|
|
5501
5501
|
async function readAllStdin() {
|
|
5502
5502
|
const chunks = [];
|
|
@@ -5517,7 +5517,7 @@ async function readSecretFromStdin(io, claimant) {
|
|
|
5517
5517
|
return value;
|
|
5518
5518
|
}
|
|
5519
5519
|
|
|
5520
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
5520
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/auth.js
|
|
5521
5521
|
var HUB_URL_ENV2 = "ANTASPHERE_URL";
|
|
5522
5522
|
function describeCredential(source, profileName) {
|
|
5523
5523
|
switch (source) {
|
|
@@ -5974,7 +5974,7 @@ ${organizationsLine(me)}`);
|
|
|
5974
5974
|
});
|
|
5975
5975
|
}
|
|
5976
5976
|
|
|
5977
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
5977
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/workspaces.js
|
|
5978
5978
|
function registerWorkspaceCommands(kit, program2, io) {
|
|
5979
5979
|
const { requireApiKey: requireApiKey2, resolveContext: resolveContext2, workspaceSource } = kit;
|
|
5980
5980
|
const { describeSelection } = kit.workspace;
|
|
@@ -6046,7 +6046,7 @@ function registerWorkspaceCommands(kit, program2, io) {
|
|
|
6046
6046
|
});
|
|
6047
6047
|
}
|
|
6048
6048
|
|
|
6049
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
6049
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/teams.js
|
|
6050
6050
|
function explainTeamRefusal(e, ctx) {
|
|
6051
6051
|
switch (e.code) {
|
|
6052
6052
|
case "forbidden":
|
|
@@ -6250,7 +6250,7 @@ ${teamLines(team)}`);
|
|
|
6250
6250
|
});
|
|
6251
6251
|
}
|
|
6252
6252
|
|
|
6253
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
6253
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/projects.js
|
|
6254
6254
|
var ROLES = ["viewer", "editor", "manager"];
|
|
6255
6255
|
function parseRole(value) {
|
|
6256
6256
|
if (ROLES.includes(value))
|
|
@@ -6525,7 +6525,7 @@ ${projectLines(project)}`);
|
|
|
6525
6525
|
});
|
|
6526
6526
|
}
|
|
6527
6527
|
|
|
6528
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
6528
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/webhooks.js
|
|
6529
6529
|
function explainWebhookRefusal(e, lookup, identity) {
|
|
6530
6530
|
switch (e.code) {
|
|
6531
6531
|
case "forbidden":
|
|
@@ -6827,7 +6827,7 @@ The previous secret keeps signing until ${rotated.previousSecretExpiresAt}.
|
|
|
6827
6827
|
});
|
|
6828
6828
|
}
|
|
6829
6829
|
|
|
6830
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
6830
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/connections.js
|
|
6831
6831
|
import { readFile } from "node:fs/promises";
|
|
6832
6832
|
function explainConnectionRefusal(e, lookup, identity) {
|
|
6833
6833
|
switch (e.code) {
|
|
@@ -26868,7 +26868,7 @@ function date4(params) {
|
|
|
26868
26868
|
return _coercedDate(ZodDate, params);
|
|
26869
26869
|
}
|
|
26870
26870
|
|
|
26871
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
26871
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/common.js
|
|
26872
26872
|
var apiErrorSchema = external_exports.object({
|
|
26873
26873
|
error: external_exports.object({
|
|
26874
26874
|
code: external_exports.string(),
|
|
@@ -26973,12 +26973,12 @@ function isValidMediaType(value) {
|
|
|
26973
26973
|
return value.length >= 1 && value.length <= 255 && isLatin1(value) && MEDIA_TYPE_RE.test(value);
|
|
26974
26974
|
}
|
|
26975
26975
|
|
|
26976
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
26976
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/scope.js
|
|
26977
26977
|
function defineScopeSchema(scopes) {
|
|
26978
26978
|
return external_exports.enum(scopes);
|
|
26979
26979
|
}
|
|
26980
26980
|
|
|
26981
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
26981
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/seams.js
|
|
26982
26982
|
var KNOWN_AUTH_METHODS = [
|
|
26983
26983
|
"password",
|
|
26984
26984
|
"email-otp",
|
|
@@ -28654,7 +28654,7 @@ var HUB_TOOL_WIRE_INPUTS = {
|
|
|
28654
28654
|
}
|
|
28655
28655
|
};
|
|
28656
28656
|
|
|
28657
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
28657
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/entitlements.js
|
|
28658
28658
|
var entitlementTierSchema = billingPlanSchema;
|
|
28659
28659
|
var entitlementActionSchema = external_exports.object({
|
|
28660
28660
|
key: external_exports.string().min(1),
|
|
@@ -28688,7 +28688,7 @@ var entitlementProfileSchema = external_exports.object({
|
|
|
28688
28688
|
upgradeUrl: external_exports.string()
|
|
28689
28689
|
});
|
|
28690
28690
|
|
|
28691
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
28691
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/instance.js
|
|
28692
28692
|
var instanceInfoSchema2 = external_exports.object({
|
|
28693
28693
|
name: external_exports.string(),
|
|
28694
28694
|
instanceId: external_exports.string().nullable(),
|
|
@@ -28754,10 +28754,20 @@ var instanceInfoSchema2 = external_exports.object({
|
|
|
28754
28754
|
* held to (the CLI's upfront refusal with the right number). Optional on
|
|
28755
28755
|
* the wire so a client keeps parsing an instance from before the rail.
|
|
28756
28756
|
*/
|
|
28757
|
-
entitlements: toolEntitlementsSchema.optional()
|
|
28757
|
+
entitlements: toolEntitlementsSchema.optional(),
|
|
28758
|
+
/**
|
|
28759
|
+
* Where this instance sends its people for the docs (PRDCT-4110): the
|
|
28760
|
+
* tool's section, `<site>/<slug>`, on the docs site the operator named
|
|
28761
|
+
* (`DOCS_SITE_URL`; the public site by default, the team stack's Handbook).
|
|
28762
|
+
* The dashboard's Docs card, the first-run welcome and the agent prompt
|
|
28763
|
+
* open it, so one setting moves every link. Optional on the wire so a
|
|
28764
|
+
* client keeps parsing an instance from before 1.9.0, and falls back to
|
|
28765
|
+
* the public site itself.
|
|
28766
|
+
*/
|
|
28767
|
+
docs: external_exports.object({ url: external_exports.url() }).optional()
|
|
28758
28768
|
});
|
|
28759
28769
|
|
|
28760
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
28770
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/setup.js
|
|
28761
28771
|
var setupRequestSchema2 = external_exports.object({
|
|
28762
28772
|
instanceName: plainText(1, 120),
|
|
28763
28773
|
owner: external_exports.object({
|
|
@@ -28774,7 +28784,7 @@ var setupResponseSchema2 = external_exports.object({
|
|
|
28774
28784
|
ownerUserId: external_exports.string()
|
|
28775
28785
|
});
|
|
28776
28786
|
|
|
28777
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
28787
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/workspaces.js
|
|
28778
28788
|
var lookKey2 = external_exports.string().regex(/^[a-z][a-z0-9-]{0,31}$/, "a short lowercase key").nullable();
|
|
28779
28789
|
var lookLevel2 = external_exports.number().min(0).max(1).nullable();
|
|
28780
28790
|
var workspaceLookSchema2 = external_exports.object({
|
|
@@ -28814,7 +28824,7 @@ var workspaceUpdatedSchema2 = external_exports.object({
|
|
|
28814
28824
|
})
|
|
28815
28825
|
});
|
|
28816
28826
|
|
|
28817
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
28827
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/me.js
|
|
28818
28828
|
var onboardingDismissedSchema = external_exports.object({
|
|
28819
28829
|
dismissed: external_exports.literal(true)
|
|
28820
28830
|
});
|
|
@@ -28966,7 +28976,7 @@ function defineMeSchemas(scopeSchema3) {
|
|
|
28966
28976
|
return { meResponseSchema: meResponseSchema3 };
|
|
28967
28977
|
}
|
|
28968
28978
|
|
|
28969
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
28979
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/members.js
|
|
28970
28980
|
var memberSchema2 = external_exports.object({
|
|
28971
28981
|
id: external_exports.string(),
|
|
28972
28982
|
userId: external_exports.string(),
|
|
@@ -29000,7 +29010,7 @@ var memberChangeEmailLinkSchema2 = external_exports.object({
|
|
|
29000
29010
|
expiresAt: external_exports.string()
|
|
29001
29011
|
});
|
|
29002
29012
|
|
|
29003
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
29013
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/cli-auth.js
|
|
29004
29014
|
var cliAuthRequestSchema2 = external_exports.object({
|
|
29005
29015
|
email: external_exports.email()
|
|
29006
29016
|
});
|
|
@@ -29042,7 +29052,7 @@ function defineCliAuthSchemas(apiKeySchema3) {
|
|
|
29042
29052
|
return { cliAuthCompletedSchema: cliAuthCompletedSchema3 };
|
|
29043
29053
|
}
|
|
29044
29054
|
|
|
29045
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
29055
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/sso-connect.js
|
|
29046
29056
|
var ssoCliConnectSchema = external_exports.object({
|
|
29047
29057
|
/** The hub-minted exchange JWT (compact JWS — three base64url segments). */
|
|
29048
29058
|
token: external_exports.string().min(20).max(4096),
|
|
@@ -29057,18 +29067,18 @@ var ssoCliConnectSchema = external_exports.object({
|
|
|
29057
29067
|
hubRefreshToken: external_exports.string().min(20).max(512).optional()
|
|
29058
29068
|
});
|
|
29059
29069
|
|
|
29060
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
29070
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/cli-package.js
|
|
29061
29071
|
var cliPackageRequestSchema = external_exports.object({
|
|
29062
29072
|
/** The hub-minted exchange JWT (compact JWS — three base64url segments). */
|
|
29063
29073
|
token: external_exports.string().min(1)
|
|
29064
29074
|
});
|
|
29065
29075
|
|
|
29066
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
29076
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/sso-logout.js
|
|
29067
29077
|
var ssoLogoutResponseSchema = external_exports.object({
|
|
29068
29078
|
url: external_exports.string().nullable()
|
|
29069
29079
|
});
|
|
29070
29080
|
|
|
29071
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
29081
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/invitations.js
|
|
29072
29082
|
var invitationSchema2 = external_exports.object({
|
|
29073
29083
|
id: external_exports.string(),
|
|
29074
29084
|
email: external_exports.string(),
|
|
@@ -29110,7 +29120,7 @@ var invitationAcceptedSchema2 = external_exports.object({
|
|
|
29110
29120
|
role: workspaceRoleSchema
|
|
29111
29121
|
});
|
|
29112
29122
|
|
|
29113
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
29123
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/audit.js
|
|
29114
29124
|
var auditEntrySchema2 = external_exports.object({
|
|
29115
29125
|
id: external_exports.number(),
|
|
29116
29126
|
actorUserId: external_exports.string().nullable(),
|
|
@@ -29155,7 +29165,7 @@ var auditListSchema2 = external_exports.object({
|
|
|
29155
29165
|
total: external_exports.number().int().nullable()
|
|
29156
29166
|
});
|
|
29157
29167
|
|
|
29158
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
29168
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/break-glass.js
|
|
29159
29169
|
var breakGlassClaimOwnershipRequestSchema2 = external_exports.object({
|
|
29160
29170
|
userId: external_exports.string().min(1).optional(),
|
|
29161
29171
|
workspaceId: external_exports.uuid().optional()
|
|
@@ -29180,7 +29190,7 @@ var breakGlassResetTwoFactorSchema2 = external_exports.object({
|
|
|
29180
29190
|
hadTwoFactor: external_exports.boolean()
|
|
29181
29191
|
});
|
|
29182
29192
|
|
|
29183
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
29193
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/files.js
|
|
29184
29194
|
var fileSchema2 = external_exports.object({
|
|
29185
29195
|
id: external_exports.string(),
|
|
29186
29196
|
sha256: external_exports.string(),
|
|
@@ -29205,7 +29215,7 @@ var fileUploadQuerySchema2 = external_exports.object({
|
|
|
29205
29215
|
name: plainText(1, 255)
|
|
29206
29216
|
});
|
|
29207
29217
|
|
|
29208
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
29218
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/projects.js
|
|
29209
29219
|
var projectRoleSchema = external_exports.enum(["manager", "editor", "viewer"]);
|
|
29210
29220
|
var PROJECT_METADATA_MAX_LENGTH = 16 * 1024;
|
|
29211
29221
|
var projectMetadataSchema = opaqueJsonChecks(external_exports.record(external_exports.string(), external_exports.unknown())).refine((v) => JSON.stringify(v).length <= PROJECT_METADATA_MAX_LENGTH, `metadata must serialize to at most ${PROJECT_METADATA_MAX_LENGTH} characters`);
|
|
@@ -29293,7 +29303,7 @@ var projectMemberParamsSchema = external_exports.object({
|
|
|
29293
29303
|
});
|
|
29294
29304
|
var projectTeamParamsSchema = external_exports.object({ id: external_exports.uuid(), teamId: external_exports.uuid() });
|
|
29295
29305
|
|
|
29296
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
29306
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/teams.js
|
|
29297
29307
|
var teamSlugSchema2 = external_exports.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/, "lowercase letters and digits, joined by single dashes").min(1).max(60);
|
|
29298
29308
|
var teamSchema2 = external_exports.object({
|
|
29299
29309
|
id: external_exports.string(),
|
|
@@ -29347,7 +29357,7 @@ var teamMemberParamsSchema = external_exports.object({
|
|
|
29347
29357
|
userId: noControlChars(external_exports.string().min(1).max(200))
|
|
29348
29358
|
});
|
|
29349
29359
|
|
|
29350
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
29360
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/webhooks.js
|
|
29351
29361
|
var webhookEventPatternSchema = external_exports.string().max(80).regex(/^(\*|[a-z][a-z0-9_]*\.(\*|[a-z][a-z0-9_]*))$/, "an event type (thing.created), a family (thing.*) or everything (*)");
|
|
29352
29362
|
var webhookSubjectKeySchema = external_exports.string().max(40).regex(/^[a-z][a-z0-9_]*$/, "lowercase letters, digits and underscores, starting with a letter");
|
|
29353
29363
|
var webhookFiltersSchema = external_exports.record(webhookSubjectKeySchema, external_exports.array(plainText(1, 200)).min(1).max(100)).refine((v) => Object.keys(v).length <= 10, { error: "at most 10 subject keys" }).describe("Subject key \u2192 ids; AND across keys, OR within a key; an event that does not carry a filtered subject does not match");
|
|
@@ -29459,7 +29469,7 @@ var webhookCatalogSchema = external_exports.object({
|
|
|
29459
29469
|
var webhookParamsSchema = external_exports.object({ id: external_exports.uuid() });
|
|
29460
29470
|
var webhookDeliveryParamsSchema = webhookParamsSchema.extend({ deliveryId: external_exports.uuid() });
|
|
29461
29471
|
|
|
29462
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
29472
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/connections.js
|
|
29463
29473
|
var connectionSourceKeySchema = external_exports.string().min(1).max(40).regex(/^[a-z][a-z0-9_]*$/, "lowercase letters, digits and underscores, starting with a letter");
|
|
29464
29474
|
var connectionKindSchema = external_exports.enum(["inbound", "key", "both"]);
|
|
29465
29475
|
var connectionFieldDeclarationSchema = external_exports.object({
|
|
@@ -29553,7 +29563,7 @@ var connectionDeliveriesListSchema = external_exports.object({
|
|
|
29553
29563
|
});
|
|
29554
29564
|
var connectionParamsSchema = external_exports.object({ source: connectionSourceKeySchema });
|
|
29555
29565
|
|
|
29556
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
29566
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/demo-passes.js
|
|
29557
29567
|
var DEMO_PASS_MAX_MINUTES2 = 10080;
|
|
29558
29568
|
var demoPassSchema2 = external_exports.object({
|
|
29559
29569
|
id: external_exports.string(),
|
|
@@ -29594,7 +29604,7 @@ var demoPassRedeemedSchema2 = external_exports.object({
|
|
|
29594
29604
|
expiresAt: external_exports.string()
|
|
29595
29605
|
});
|
|
29596
29606
|
|
|
29597
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
29607
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/apps.js
|
|
29598
29608
|
var appEntrySchema = external_exports.object({
|
|
29599
29609
|
/** The tool's registry slug (`finance`, `hiring`, …). */
|
|
29600
29610
|
slug: external_exports.string(),
|
|
@@ -29624,7 +29634,25 @@ var appsListSchema = external_exports.object({
|
|
|
29624
29634
|
organization: external_exports.object({ name: external_exports.string(), status: external_exports.enum(APP_ORGANIZATION_STATUSES) }).optional()
|
|
29625
29635
|
});
|
|
29626
29636
|
|
|
29627
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
29637
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/docs-source.js
|
|
29638
|
+
var docsSourcePageSchema = external_exports.object({
|
|
29639
|
+
path: external_exports.string().min(1),
|
|
29640
|
+
title: external_exports.string(),
|
|
29641
|
+
description: external_exports.string()
|
|
29642
|
+
});
|
|
29643
|
+
var docsSourceGroupSchema = external_exports.object({
|
|
29644
|
+
title: external_exports.string(),
|
|
29645
|
+
pages: external_exports.array(docsSourcePageSchema)
|
|
29646
|
+
});
|
|
29647
|
+
var docsSourceManifestSchema = external_exports.object({
|
|
29648
|
+
product: external_exports.string(),
|
|
29649
|
+
description: external_exports.string(),
|
|
29650
|
+
version: external_exports.string(),
|
|
29651
|
+
slug: external_exports.string(),
|
|
29652
|
+
groups: external_exports.array(docsSourceGroupSchema)
|
|
29653
|
+
});
|
|
29654
|
+
|
|
29655
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/api-keys.js
|
|
29628
29656
|
function defineApiKeySchemas(scopeSchema3) {
|
|
29629
29657
|
const apiKeySchema3 = external_exports.object({
|
|
29630
29658
|
id: external_exports.string(),
|
|
@@ -29669,7 +29697,7 @@ function defineApiKeySchemas(scopeSchema3) {
|
|
|
29669
29697
|
return { apiKeySchema: apiKeySchema3, apiKeysListSchema: apiKeysListSchema3, apiKeyCreateSchema: apiKeyCreateSchema3, apiKeyCreatedSchema: apiKeyCreatedSchema3 };
|
|
29670
29698
|
}
|
|
29671
29699
|
|
|
29672
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
29700
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/define.js
|
|
29673
29701
|
function defineChassisContract(tool) {
|
|
29674
29702
|
return buildChassisContract(defineScopeSchema(tool.scopes));
|
|
29675
29703
|
}
|
|
@@ -29683,7 +29711,7 @@ function buildChassisContract(scopeSchema3) {
|
|
|
29683
29711
|
};
|
|
29684
29712
|
}
|
|
29685
29713
|
|
|
29686
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
29714
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/owner-session.js
|
|
29687
29715
|
var SIGN_IN_WAITS_MS = [4e3, 8e3, 12e3];
|
|
29688
29716
|
var SESSION_COOKIE = /session_token$/;
|
|
29689
29717
|
function sessionCookie(res) {
|
|
@@ -29764,7 +29792,7 @@ async function withOwnerSession(ctx, options, run2) {
|
|
|
29764
29792
|
}
|
|
29765
29793
|
}
|
|
29766
29794
|
|
|
29767
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
29795
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/demo.js
|
|
29768
29796
|
var SWITCH_OFF = "Demo sign-in is off on this instance (DEMO_SIGN_IN), or this is the cloud edition, where demo links are minted at the Antasphere hub.";
|
|
29769
29797
|
var NOT_AN_OWNER = "Only an owner of this workspace manages demo links: the account that signed in is not one.";
|
|
29770
29798
|
var REFUSALS = /* @__PURE__ */ new Set([
|
|
@@ -29918,14 +29946,14 @@ function registerDemoCommands(kit, program2, io) {
|
|
|
29918
29946
|
});
|
|
29919
29947
|
}
|
|
29920
29948
|
|
|
29921
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
29949
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/files.js
|
|
29922
29950
|
import { createWriteStream } from "node:fs";
|
|
29923
29951
|
import { mkdir as mkdir2, readFile as readFile2, writeFile } from "node:fs/promises";
|
|
29924
29952
|
import { basename, resolve as resolve2, win32 } from "node:path";
|
|
29925
29953
|
import { Readable } from "node:stream";
|
|
29926
29954
|
import { pipeline as pipeline2 } from "node:stream/promises";
|
|
29927
29955
|
|
|
29928
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
29956
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/safe-write.js
|
|
29929
29957
|
import { constants as FS } from "node:fs";
|
|
29930
29958
|
import { mkdir, open as open2, realpath, unlink } from "node:fs/promises";
|
|
29931
29959
|
import { dirname as dirname2, isAbsolute, relative, resolve } from "node:path";
|
|
@@ -30006,7 +30034,7 @@ async function streamContained(root, relPath, source) {
|
|
|
30006
30034
|
}
|
|
30007
30035
|
}
|
|
30008
30036
|
|
|
30009
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
30037
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/files.js
|
|
30010
30038
|
function safeDownloadName(originalName) {
|
|
30011
30039
|
const name = basename(win32.basename(originalName));
|
|
30012
30040
|
if (name === "" || name === "." || name === ".." || name.startsWith(".")) {
|
|
@@ -30133,7 +30161,7 @@ function registerFileCommands(kit, program2, io) {
|
|
|
30133
30161
|
});
|
|
30134
30162
|
}
|
|
30135
30163
|
|
|
30136
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
30164
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/completion.js
|
|
30137
30165
|
function commandTree(program2) {
|
|
30138
30166
|
return program2.commands.filter((c) => !c.name().startsWith("help")).map((c) => ({
|
|
30139
30167
|
name: c.name(),
|
|
@@ -30208,7 +30236,7 @@ function registerCompletionCommand(identity, program2, io) {
|
|
|
30208
30236
|
});
|
|
30209
30237
|
}
|
|
30210
30238
|
|
|
30211
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
30239
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/program.js
|
|
30212
30240
|
function creditFigures(credit) {
|
|
30213
30241
|
const parts = [
|
|
30214
30242
|
typeof credit?.credits === "number" ? `this needs ${credit.credits} credits` : null,
|
|
@@ -30292,7 +30320,7 @@ function createProgram(kit, definition) {
|
|
|
30292
30320
|
return { buildProgram, run: run2 };
|
|
30293
30321
|
}
|
|
30294
30322
|
|
|
30295
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
30323
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/open.js
|
|
30296
30324
|
import { spawn } from "node:child_process";
|
|
30297
30325
|
function platformOpener(platform = process.platform) {
|
|
30298
30326
|
if (platform === "darwin")
|
|
@@ -30318,7 +30346,7 @@ function isInteractive(io) {
|
|
|
30318
30346
|
return io.out.isTTY === true;
|
|
30319
30347
|
}
|
|
30320
30348
|
|
|
30321
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
30349
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.9.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/index.js
|
|
30322
30350
|
function defineCli(definition) {
|
|
30323
30351
|
const { identity, createClient } = definition;
|
|
30324
30352
|
const config2 = createConfig(identity);
|
|
@@ -36521,7 +36549,7 @@ async function zipMode(ctx, io, id2, responseId, filters, zip) {
|
|
|
36521
36549
|
}
|
|
36522
36550
|
|
|
36523
36551
|
// src/index.ts
|
|
36524
|
-
var VERSION = "0.13.
|
|
36552
|
+
var VERSION = "0.13.13";
|
|
36525
36553
|
function registerTool(program2, io) {
|
|
36526
36554
|
registerDeckCommands(program2, io);
|
|
36527
36555
|
registerContentCommands(program2, io);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antasphere/slideless",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.13",
|
|
4
4
|
"description": "The Slideless CLI — push, share, pull, and preview decks on a Slideless instance",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"repository": {
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"test": "vitest run --passWithNoTests"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@antasphere/chassis-cli": "1.
|
|
40
|
-
"@antasphere/chassis-contract": "1.
|
|
41
|
-
"@antasphere/chassis-sdk": "1.
|
|
39
|
+
"@antasphere/chassis-cli": "1.9.0",
|
|
40
|
+
"@antasphere/chassis-contract": "1.9.0",
|
|
41
|
+
"@antasphere/chassis-sdk": "1.9.0",
|
|
42
42
|
"@antasphere/cli-core": "^0.5.0",
|
|
43
43
|
"@slideless/contract": "workspace:*",
|
|
44
44
|
"@slideless/sdk": "workspace:*",
|