@antasphere/slideless 0.13.9 → 0.13.10
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 +44 -44
- package/package.json +4 -4
package/dist/bin.js
CHANGED
|
@@ -3547,7 +3547,7 @@ function migrateLegacyConfig(env, spec) {
|
|
|
3547
3547
|
return { migrated: true, from, to };
|
|
3548
3548
|
}
|
|
3549
3549
|
|
|
3550
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
3550
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/config.js
|
|
3551
3551
|
function createConfig(identity) {
|
|
3552
3552
|
const TOOL = identity.tool;
|
|
3553
3553
|
const LEGACY = { tool: TOOL, legacyDir: identity.legacyConfigDir };
|
|
@@ -3573,7 +3573,7 @@ function createConfig(identity) {
|
|
|
3573
3573
|
return { configPath: configPath3, loadConfig: loadConfig4, saveConfig: saveConfig4, clearConfig: clearConfig3, removeConnectKey: removeConnectKey3 };
|
|
3574
3574
|
}
|
|
3575
3575
|
|
|
3576
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-sdk@1.
|
|
3576
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-sdk@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-sdk/dist/index.js
|
|
3577
3577
|
var PlatformApiError = class extends Error {
|
|
3578
3578
|
status;
|
|
3579
3579
|
code;
|
|
@@ -4161,7 +4161,7 @@ var ChassisClient = class {
|
|
|
4161
4161
|
}
|
|
4162
4162
|
};
|
|
4163
4163
|
|
|
4164
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
4164
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/identity.js
|
|
4165
4165
|
var DEFAULT_HUB_URL = "https://account.antasphere.com";
|
|
4166
4166
|
function cliIdentity(identity) {
|
|
4167
4167
|
return {
|
|
@@ -4177,7 +4177,7 @@ function cliIdentity(identity) {
|
|
|
4177
4177
|
};
|
|
4178
4178
|
}
|
|
4179
4179
|
|
|
4180
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
4180
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/workspace.js
|
|
4181
4181
|
var UUID_RE = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
4182
4182
|
function isWorkspaceId(value) {
|
|
4183
4183
|
return UUID_RE.test(value);
|
|
@@ -4284,7 +4284,7 @@ ${workspaceLines(me.workspaces)}`;
|
|
|
4284
4284
|
};
|
|
4285
4285
|
}
|
|
4286
4286
|
|
|
4287
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
4287
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/context.js
|
|
4288
4288
|
var CliApiRefusal = class extends CliUsageError {
|
|
4289
4289
|
status;
|
|
4290
4290
|
constructor(message, status) {
|
|
@@ -4600,7 +4600,7 @@ var {
|
|
|
4600
4600
|
Help
|
|
4601
4601
|
} = import_index.default;
|
|
4602
4602
|
|
|
4603
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
4603
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/stdin.js
|
|
4604
4604
|
var claims = /* @__PURE__ */ new WeakMap();
|
|
4605
4605
|
async function readAllStdin() {
|
|
4606
4606
|
const chunks = [];
|
|
@@ -4621,7 +4621,7 @@ async function readSecretFromStdin(io, claimant) {
|
|
|
4621
4621
|
return value;
|
|
4622
4622
|
}
|
|
4623
4623
|
|
|
4624
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
4624
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/auth.js
|
|
4625
4625
|
var HUB_URL_ENV2 = "ANTASPHERE_URL";
|
|
4626
4626
|
function describeCredential(source, profileName) {
|
|
4627
4627
|
switch (source) {
|
|
@@ -5078,7 +5078,7 @@ ${organizationsLine(me)}`);
|
|
|
5078
5078
|
});
|
|
5079
5079
|
}
|
|
5080
5080
|
|
|
5081
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
5081
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/workspaces.js
|
|
5082
5082
|
function registerWorkspaceCommands(kit, program2, io) {
|
|
5083
5083
|
const { requireApiKey: requireApiKey2, resolveContext: resolveContext2, workspaceSource } = kit;
|
|
5084
5084
|
const { describeSelection } = kit.workspace;
|
|
@@ -5150,7 +5150,7 @@ function registerWorkspaceCommands(kit, program2, io) {
|
|
|
5150
5150
|
});
|
|
5151
5151
|
}
|
|
5152
5152
|
|
|
5153
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
5153
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/teams.js
|
|
5154
5154
|
function explainTeamRefusal(e, ctx) {
|
|
5155
5155
|
switch (e.code) {
|
|
5156
5156
|
case "forbidden":
|
|
@@ -5354,7 +5354,7 @@ ${teamLines(team)}`);
|
|
|
5354
5354
|
});
|
|
5355
5355
|
}
|
|
5356
5356
|
|
|
5357
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
5357
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/projects.js
|
|
5358
5358
|
var ROLES = ["viewer", "editor", "manager"];
|
|
5359
5359
|
function parseRole(value) {
|
|
5360
5360
|
if (ROLES.includes(value))
|
|
@@ -5629,7 +5629,7 @@ ${projectLines(project)}`);
|
|
|
5629
5629
|
});
|
|
5630
5630
|
}
|
|
5631
5631
|
|
|
5632
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
5632
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/webhooks.js
|
|
5633
5633
|
function explainWebhookRefusal(e, lookup, identity) {
|
|
5634
5634
|
switch (e.code) {
|
|
5635
5635
|
case "forbidden":
|
|
@@ -20445,7 +20445,7 @@ function date4(params) {
|
|
|
20445
20445
|
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
|
|
20446
20446
|
config(en_default());
|
|
20447
20447
|
|
|
20448
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
20448
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/common.js
|
|
20449
20449
|
var apiErrorSchema = external_exports.object({
|
|
20450
20450
|
error: external_exports.object({
|
|
20451
20451
|
code: external_exports.string(),
|
|
@@ -20550,12 +20550,12 @@ function isValidMediaType(value) {
|
|
|
20550
20550
|
return value.length >= 1 && value.length <= 255 && isLatin1(value) && MEDIA_TYPE_RE.test(value);
|
|
20551
20551
|
}
|
|
20552
20552
|
|
|
20553
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
20553
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/scope.js
|
|
20554
20554
|
function defineScopeSchema(scopes) {
|
|
20555
20555
|
return external_exports.enum(scopes);
|
|
20556
20556
|
}
|
|
20557
20557
|
|
|
20558
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
20558
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/seams.js
|
|
20559
20559
|
var KNOWN_AUTH_METHODS = [
|
|
20560
20560
|
"password",
|
|
20561
20561
|
"email-otp",
|
|
@@ -22139,7 +22139,7 @@ var HUB_TOOL_WIRE_INPUTS = {
|
|
|
22139
22139
|
}
|
|
22140
22140
|
};
|
|
22141
22141
|
|
|
22142
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22142
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/entitlements.js
|
|
22143
22143
|
var entitlementTierSchema = billingPlanSchema;
|
|
22144
22144
|
var entitlementActionSchema = external_exports.object({
|
|
22145
22145
|
key: external_exports.string().min(1),
|
|
@@ -22173,7 +22173,7 @@ var entitlementProfileSchema = external_exports.object({
|
|
|
22173
22173
|
upgradeUrl: external_exports.string()
|
|
22174
22174
|
});
|
|
22175
22175
|
|
|
22176
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22176
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/instance.js
|
|
22177
22177
|
var instanceInfoSchema2 = external_exports.object({
|
|
22178
22178
|
name: external_exports.string(),
|
|
22179
22179
|
instanceId: external_exports.string().nullable(),
|
|
@@ -22242,7 +22242,7 @@ var instanceInfoSchema2 = external_exports.object({
|
|
|
22242
22242
|
entitlements: toolEntitlementsSchema.optional()
|
|
22243
22243
|
});
|
|
22244
22244
|
|
|
22245
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22245
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/setup.js
|
|
22246
22246
|
var setupRequestSchema2 = external_exports.object({
|
|
22247
22247
|
instanceName: plainText(1, 120),
|
|
22248
22248
|
owner: external_exports.object({
|
|
@@ -22259,7 +22259,7 @@ var setupResponseSchema2 = external_exports.object({
|
|
|
22259
22259
|
ownerUserId: external_exports.string()
|
|
22260
22260
|
});
|
|
22261
22261
|
|
|
22262
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22262
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/workspaces.js
|
|
22263
22263
|
var lookKey2 = external_exports.string().regex(/^[a-z][a-z0-9-]{0,31}$/, "a short lowercase key").nullable();
|
|
22264
22264
|
var lookLevel2 = external_exports.number().min(0).max(1).nullable();
|
|
22265
22265
|
var workspaceLookSchema2 = external_exports.object({
|
|
@@ -22299,7 +22299,7 @@ var workspaceUpdatedSchema2 = external_exports.object({
|
|
|
22299
22299
|
})
|
|
22300
22300
|
});
|
|
22301
22301
|
|
|
22302
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22302
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/me.js
|
|
22303
22303
|
var onboardingDismissedSchema = external_exports.object({
|
|
22304
22304
|
dismissed: external_exports.literal(true)
|
|
22305
22305
|
});
|
|
@@ -22451,7 +22451,7 @@ function defineMeSchemas(scopeSchema3) {
|
|
|
22451
22451
|
return { meResponseSchema: meResponseSchema3 };
|
|
22452
22452
|
}
|
|
22453
22453
|
|
|
22454
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22454
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/members.js
|
|
22455
22455
|
var memberSchema2 = external_exports.object({
|
|
22456
22456
|
id: external_exports.string(),
|
|
22457
22457
|
userId: external_exports.string(),
|
|
@@ -22485,7 +22485,7 @@ var memberChangeEmailLinkSchema2 = external_exports.object({
|
|
|
22485
22485
|
expiresAt: external_exports.string()
|
|
22486
22486
|
});
|
|
22487
22487
|
|
|
22488
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22488
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/cli-auth.js
|
|
22489
22489
|
var cliAuthRequestSchema2 = external_exports.object({
|
|
22490
22490
|
email: external_exports.email()
|
|
22491
22491
|
});
|
|
@@ -22527,7 +22527,7 @@ function defineCliAuthSchemas(apiKeySchema3) {
|
|
|
22527
22527
|
return { cliAuthCompletedSchema: cliAuthCompletedSchema3 };
|
|
22528
22528
|
}
|
|
22529
22529
|
|
|
22530
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22530
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/sso-connect.js
|
|
22531
22531
|
var ssoCliConnectSchema = external_exports.object({
|
|
22532
22532
|
/** The hub-minted exchange JWT (compact JWS — three base64url segments). */
|
|
22533
22533
|
token: external_exports.string().min(20).max(4096),
|
|
@@ -22542,18 +22542,18 @@ var ssoCliConnectSchema = external_exports.object({
|
|
|
22542
22542
|
hubRefreshToken: external_exports.string().min(20).max(512).optional()
|
|
22543
22543
|
});
|
|
22544
22544
|
|
|
22545
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22545
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/cli-package.js
|
|
22546
22546
|
var cliPackageRequestSchema = external_exports.object({
|
|
22547
22547
|
/** The hub-minted exchange JWT (compact JWS — three base64url segments). */
|
|
22548
22548
|
token: external_exports.string().min(1)
|
|
22549
22549
|
});
|
|
22550
22550
|
|
|
22551
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22551
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/sso-logout.js
|
|
22552
22552
|
var ssoLogoutResponseSchema = external_exports.object({
|
|
22553
22553
|
url: external_exports.string().nullable()
|
|
22554
22554
|
});
|
|
22555
22555
|
|
|
22556
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22556
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/invitations.js
|
|
22557
22557
|
var invitationSchema2 = external_exports.object({
|
|
22558
22558
|
id: external_exports.string(),
|
|
22559
22559
|
email: external_exports.string(),
|
|
@@ -22595,7 +22595,7 @@ var invitationAcceptedSchema2 = external_exports.object({
|
|
|
22595
22595
|
role: workspaceRoleSchema
|
|
22596
22596
|
});
|
|
22597
22597
|
|
|
22598
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22598
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/audit.js
|
|
22599
22599
|
var auditEntrySchema2 = external_exports.object({
|
|
22600
22600
|
id: external_exports.number(),
|
|
22601
22601
|
actorUserId: external_exports.string().nullable(),
|
|
@@ -22640,7 +22640,7 @@ var auditListSchema2 = external_exports.object({
|
|
|
22640
22640
|
total: external_exports.number().int().nullable()
|
|
22641
22641
|
});
|
|
22642
22642
|
|
|
22643
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22643
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/break-glass.js
|
|
22644
22644
|
var breakGlassClaimOwnershipRequestSchema2 = external_exports.object({
|
|
22645
22645
|
userId: external_exports.string().min(1).optional(),
|
|
22646
22646
|
workspaceId: external_exports.uuid().optional()
|
|
@@ -22665,7 +22665,7 @@ var breakGlassResetTwoFactorSchema2 = external_exports.object({
|
|
|
22665
22665
|
hadTwoFactor: external_exports.boolean()
|
|
22666
22666
|
});
|
|
22667
22667
|
|
|
22668
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22668
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/files.js
|
|
22669
22669
|
var fileSchema2 = external_exports.object({
|
|
22670
22670
|
id: external_exports.string(),
|
|
22671
22671
|
sha256: external_exports.string(),
|
|
@@ -22690,7 +22690,7 @@ var fileUploadQuerySchema2 = external_exports.object({
|
|
|
22690
22690
|
name: plainText(1, 255)
|
|
22691
22691
|
});
|
|
22692
22692
|
|
|
22693
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22693
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/projects.js
|
|
22694
22694
|
var projectRoleSchema = external_exports.enum(["manager", "editor", "viewer"]);
|
|
22695
22695
|
var PROJECT_METADATA_MAX_LENGTH = 16 * 1024;
|
|
22696
22696
|
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`);
|
|
@@ -22778,7 +22778,7 @@ var projectMemberParamsSchema = external_exports.object({
|
|
|
22778
22778
|
});
|
|
22779
22779
|
var projectTeamParamsSchema = external_exports.object({ id: external_exports.uuid(), teamId: external_exports.uuid() });
|
|
22780
22780
|
|
|
22781
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22781
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/teams.js
|
|
22782
22782
|
var teamSlugSchema2 = external_exports.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/, "lowercase letters and digits, joined by single dashes").min(1).max(60);
|
|
22783
22783
|
var teamSchema2 = external_exports.object({
|
|
22784
22784
|
id: external_exports.string(),
|
|
@@ -22832,7 +22832,7 @@ var teamMemberParamsSchema = external_exports.object({
|
|
|
22832
22832
|
userId: noControlChars(external_exports.string().min(1).max(200))
|
|
22833
22833
|
});
|
|
22834
22834
|
|
|
22835
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22835
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/webhooks.js
|
|
22836
22836
|
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 (*)");
|
|
22837
22837
|
var webhookSubjectKeySchema = external_exports.string().max(40).regex(/^[a-z][a-z0-9_]*$/, "lowercase letters, digits and underscores, starting with a letter");
|
|
22838
22838
|
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");
|
|
@@ -22944,7 +22944,7 @@ var webhookCatalogSchema = external_exports.object({
|
|
|
22944
22944
|
var webhookParamsSchema = external_exports.object({ id: external_exports.uuid() });
|
|
22945
22945
|
var webhookDeliveryParamsSchema = webhookParamsSchema.extend({ deliveryId: external_exports.uuid() });
|
|
22946
22946
|
|
|
22947
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22947
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/demo-passes.js
|
|
22948
22948
|
var DEMO_PASS_MAX_MINUTES2 = 10080;
|
|
22949
22949
|
var demoPassSchema2 = external_exports.object({
|
|
22950
22950
|
id: external_exports.string(),
|
|
@@ -22985,7 +22985,7 @@ var demoPassRedeemedSchema2 = external_exports.object({
|
|
|
22985
22985
|
expiresAt: external_exports.string()
|
|
22986
22986
|
});
|
|
22987
22987
|
|
|
22988
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22988
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/api-keys.js
|
|
22989
22989
|
function defineApiKeySchemas(scopeSchema3) {
|
|
22990
22990
|
const apiKeySchema3 = external_exports.object({
|
|
22991
22991
|
id: external_exports.string(),
|
|
@@ -23030,7 +23030,7 @@ function defineApiKeySchemas(scopeSchema3) {
|
|
|
23030
23030
|
return { apiKeySchema: apiKeySchema3, apiKeysListSchema: apiKeysListSchema3, apiKeyCreateSchema: apiKeyCreateSchema3, apiKeyCreatedSchema: apiKeyCreatedSchema3 };
|
|
23031
23031
|
}
|
|
23032
23032
|
|
|
23033
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
23033
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/define.js
|
|
23034
23034
|
function defineChassisContract(tool) {
|
|
23035
23035
|
return buildChassisContract(defineScopeSchema(tool.scopes));
|
|
23036
23036
|
}
|
|
@@ -23044,7 +23044,7 @@ function buildChassisContract(scopeSchema3) {
|
|
|
23044
23044
|
};
|
|
23045
23045
|
}
|
|
23046
23046
|
|
|
23047
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
23047
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/owner-session.js
|
|
23048
23048
|
var SIGN_IN_WAITS_MS = [4e3, 8e3, 12e3];
|
|
23049
23049
|
var SESSION_COOKIE = /session_token$/;
|
|
23050
23050
|
function sessionCookie(res) {
|
|
@@ -23125,7 +23125,7 @@ async function withOwnerSession(ctx, options, run2) {
|
|
|
23125
23125
|
}
|
|
23126
23126
|
}
|
|
23127
23127
|
|
|
23128
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
23128
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/demo.js
|
|
23129
23129
|
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.";
|
|
23130
23130
|
var NOT_AN_OWNER = "Only an owner of this workspace manages demo links: the account that signed in is not one.";
|
|
23131
23131
|
var REFUSALS = /* @__PURE__ */ new Set([
|
|
@@ -23279,14 +23279,14 @@ function registerDemoCommands(kit, program2, io) {
|
|
|
23279
23279
|
});
|
|
23280
23280
|
}
|
|
23281
23281
|
|
|
23282
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
23282
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/files.js
|
|
23283
23283
|
import { createWriteStream } from "node:fs";
|
|
23284
23284
|
import { mkdir as mkdir2, readFile, writeFile } from "node:fs/promises";
|
|
23285
23285
|
import { basename, resolve as resolve2, win32 } from "node:path";
|
|
23286
23286
|
import { Readable } from "node:stream";
|
|
23287
23287
|
import { pipeline as pipeline2 } from "node:stream/promises";
|
|
23288
23288
|
|
|
23289
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
23289
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/safe-write.js
|
|
23290
23290
|
import { constants as FS } from "node:fs";
|
|
23291
23291
|
import { mkdir, open, realpath, unlink } from "node:fs/promises";
|
|
23292
23292
|
import { dirname as dirname2, isAbsolute, relative, resolve } from "node:path";
|
|
@@ -23367,7 +23367,7 @@ async function streamContained(root, relPath, source) {
|
|
|
23367
23367
|
}
|
|
23368
23368
|
}
|
|
23369
23369
|
|
|
23370
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
23370
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/files.js
|
|
23371
23371
|
function safeDownloadName(originalName) {
|
|
23372
23372
|
const name = basename(win32.basename(originalName));
|
|
23373
23373
|
if (name === "" || name === "." || name === ".." || name.startsWith(".")) {
|
|
@@ -23494,7 +23494,7 @@ function registerFileCommands(kit, program2, io) {
|
|
|
23494
23494
|
});
|
|
23495
23495
|
}
|
|
23496
23496
|
|
|
23497
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
23497
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/completion.js
|
|
23498
23498
|
function commandTree(program2) {
|
|
23499
23499
|
return program2.commands.filter((c) => !c.name().startsWith("help")).map((c) => ({
|
|
23500
23500
|
name: c.name(),
|
|
@@ -23569,7 +23569,7 @@ function registerCompletionCommand(identity, program2, io) {
|
|
|
23569
23569
|
});
|
|
23570
23570
|
}
|
|
23571
23571
|
|
|
23572
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
23572
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/program.js
|
|
23573
23573
|
function creditFigures(credit) {
|
|
23574
23574
|
const parts = [
|
|
23575
23575
|
typeof credit?.credits === "number" ? `this needs ${credit.credits} credits` : null,
|
|
@@ -23652,7 +23652,7 @@ function createProgram(kit, definition) {
|
|
|
23652
23652
|
return { buildProgram, run: run2 };
|
|
23653
23653
|
}
|
|
23654
23654
|
|
|
23655
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
23655
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/open.js
|
|
23656
23656
|
import { spawn } from "node:child_process";
|
|
23657
23657
|
function platformOpener(platform = process.platform) {
|
|
23658
23658
|
if (platform === "darwin")
|
|
@@ -23678,7 +23678,7 @@ function isInteractive(io) {
|
|
|
23678
23678
|
return io.out.isTTY === true;
|
|
23679
23679
|
}
|
|
23680
23680
|
|
|
23681
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
23681
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.4.0_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/index.js
|
|
23682
23682
|
function defineCli(definition) {
|
|
23683
23683
|
const { identity, createClient } = definition;
|
|
23684
23684
|
const config2 = createConfig(identity);
|
|
@@ -28226,7 +28226,7 @@ async function zipMode(ctx, io, id2, responseId, filters, zip) {
|
|
|
28226
28226
|
}
|
|
28227
28227
|
|
|
28228
28228
|
// src/index.ts
|
|
28229
|
-
var VERSION = "0.13.
|
|
28229
|
+
var VERSION = "0.13.10";
|
|
28230
28230
|
function registerTool(program2, io) {
|
|
28231
28231
|
registerDeckCommands(program2, io);
|
|
28232
28232
|
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.10",
|
|
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.4.0",
|
|
40
|
+
"@antasphere/chassis-contract": "1.4.0",
|
|
41
|
+
"@antasphere/chassis-sdk": "1.4.0",
|
|
42
42
|
"@antasphere/cli-core": "^0.5.0",
|
|
43
43
|
"@slideless/contract": "workspace:*",
|
|
44
44
|
"@slideless/sdk": "workspace:*",
|