@antasphere/slideless 0.13.6 → 0.13.7
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 +63 -63
- package/package.json +4 -4
package/dist/bin.js
CHANGED
|
@@ -3535,7 +3535,7 @@ function migrateLegacyConfig(env, spec) {
|
|
|
3535
3535
|
return { migrated: true, from, to };
|
|
3536
3536
|
}
|
|
3537
3537
|
|
|
3538
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.
|
|
3538
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/config.js
|
|
3539
3539
|
function createConfig(identity) {
|
|
3540
3540
|
const TOOL = identity.tool;
|
|
3541
3541
|
const LEGACY = { tool: TOOL, legacyDir: identity.legacyConfigDir };
|
|
@@ -3561,7 +3561,7 @@ function createConfig(identity) {
|
|
|
3561
3561
|
return { configPath: configPath2, loadConfig: loadConfig3, saveConfig: saveConfig3, clearConfig: clearConfig2, removeConnectKey: removeConnectKey2 };
|
|
3562
3562
|
}
|
|
3563
3563
|
|
|
3564
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-sdk@1.0.
|
|
3564
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-sdk@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-sdk/dist/index.js
|
|
3565
3565
|
var PlatformApiError = class extends Error {
|
|
3566
3566
|
status;
|
|
3567
3567
|
code;
|
|
@@ -4074,7 +4074,7 @@ var ChassisClient = class {
|
|
|
4074
4074
|
}
|
|
4075
4075
|
};
|
|
4076
4076
|
|
|
4077
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.
|
|
4077
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/workspace.js
|
|
4078
4078
|
var UUID_RE = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
4079
4079
|
function isWorkspaceId(value) {
|
|
4080
4080
|
return UUID_RE.test(value);
|
|
@@ -4181,7 +4181,7 @@ ${workspaceLines(me.workspaces)}`;
|
|
|
4181
4181
|
};
|
|
4182
4182
|
}
|
|
4183
4183
|
|
|
4184
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.
|
|
4184
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/context.js
|
|
4185
4185
|
var CliApiRefusal = class extends CliUsageError {
|
|
4186
4186
|
status;
|
|
4187
4187
|
constructor(message, status) {
|
|
@@ -4475,7 +4475,7 @@ var {
|
|
|
4475
4475
|
Help
|
|
4476
4476
|
} = import_index.default;
|
|
4477
4477
|
|
|
4478
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.
|
|
4478
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/stdin.js
|
|
4479
4479
|
var claims = /* @__PURE__ */ new WeakMap();
|
|
4480
4480
|
async function readAllStdin() {
|
|
4481
4481
|
const chunks = [];
|
|
@@ -4496,7 +4496,7 @@ async function readSecretFromStdin(io, claimant) {
|
|
|
4496
4496
|
return value;
|
|
4497
4497
|
}
|
|
4498
4498
|
|
|
4499
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.
|
|
4499
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/auth.js
|
|
4500
4500
|
var HUB_URL_ENV = "ANTASPHERE_URL";
|
|
4501
4501
|
var DEFAULT_HUB_URL = "https://account.antasphere.com";
|
|
4502
4502
|
function describeCredential(source, profileName) {
|
|
@@ -4951,7 +4951,7 @@ ${organizationsLine(me)}`);
|
|
|
4951
4951
|
});
|
|
4952
4952
|
}
|
|
4953
4953
|
|
|
4954
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.
|
|
4954
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/workspaces.js
|
|
4955
4955
|
function registerWorkspaceCommands(kit, program2, io) {
|
|
4956
4956
|
const { requireApiKey: requireApiKey2, resolveContext: resolveContext2, workspaceSource } = kit;
|
|
4957
4957
|
const { describeSelection } = kit.workspace;
|
|
@@ -5023,7 +5023,7 @@ function registerWorkspaceCommands(kit, program2, io) {
|
|
|
5023
5023
|
});
|
|
5024
5024
|
}
|
|
5025
5025
|
|
|
5026
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.
|
|
5026
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/teams.js
|
|
5027
5027
|
function explainTeamRefusal(e, ctx) {
|
|
5028
5028
|
switch (e.code) {
|
|
5029
5029
|
case "forbidden":
|
|
@@ -5227,7 +5227,7 @@ ${teamLines(team)}`);
|
|
|
5227
5227
|
});
|
|
5228
5228
|
}
|
|
5229
5229
|
|
|
5230
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.
|
|
5230
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/projects.js
|
|
5231
5231
|
var ROLES = ["viewer", "editor", "manager"];
|
|
5232
5232
|
function parseRole(value) {
|
|
5233
5233
|
if (ROLES.includes(value))
|
|
@@ -20016,7 +20016,7 @@ function date4(params) {
|
|
|
20016
20016
|
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
|
|
20017
20017
|
config(en_default());
|
|
20018
20018
|
|
|
20019
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
20019
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/common.js
|
|
20020
20020
|
var apiErrorSchema = external_exports.object({
|
|
20021
20021
|
error: external_exports.object({
|
|
20022
20022
|
code: external_exports.string(),
|
|
@@ -20121,12 +20121,12 @@ function isValidMediaType(value) {
|
|
|
20121
20121
|
return value.length >= 1 && value.length <= 255 && isLatin1(value) && MEDIA_TYPE_RE.test(value);
|
|
20122
20122
|
}
|
|
20123
20123
|
|
|
20124
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
20124
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/scope.js
|
|
20125
20125
|
function defineScopeSchema(scopes) {
|
|
20126
20126
|
return external_exports.enum(scopes);
|
|
20127
20127
|
}
|
|
20128
20128
|
|
|
20129
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
20129
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/seams.js
|
|
20130
20130
|
var KNOWN_AUTH_METHODS = [
|
|
20131
20131
|
"password",
|
|
20132
20132
|
"email-otp",
|
|
@@ -20136,7 +20136,7 @@ var KNOWN_AUTH_METHODS = [
|
|
|
20136
20136
|
"antasphere"
|
|
20137
20137
|
];
|
|
20138
20138
|
|
|
20139
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
20139
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/common.js
|
|
20140
20140
|
var apiErrorSchema2 = external_exports.object({
|
|
20141
20141
|
error: external_exports.object({
|
|
20142
20142
|
code: external_exports.string(),
|
|
@@ -20179,7 +20179,7 @@ function plainTextTrimmed(min, max) {
|
|
|
20179
20179
|
return noControlChars2(external_exports.string().trim().min(min).max(max));
|
|
20180
20180
|
}
|
|
20181
20181
|
|
|
20182
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
20182
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/instance.js
|
|
20183
20183
|
var instanceInfoSchema = external_exports.object({
|
|
20184
20184
|
name: external_exports.string(),
|
|
20185
20185
|
instanceId: external_exports.string().nullable(),
|
|
@@ -20223,7 +20223,7 @@ var instanceInfoSchema = external_exports.object({
|
|
|
20223
20223
|
demoSignIn: external_exports.boolean().optional()
|
|
20224
20224
|
});
|
|
20225
20225
|
|
|
20226
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
20226
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/setup.js
|
|
20227
20227
|
var setupRequestSchema = external_exports.object({
|
|
20228
20228
|
instanceName: plainText2(1, 120),
|
|
20229
20229
|
owner: external_exports.object({
|
|
@@ -20239,7 +20239,7 @@ var setupResponseSchema = external_exports.object({
|
|
|
20239
20239
|
ownerUserId: external_exports.string()
|
|
20240
20240
|
});
|
|
20241
20241
|
|
|
20242
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
20242
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/orgs.js
|
|
20243
20243
|
var lookKey = external_exports.string().regex(/^[a-z][a-z0-9-]{0,31}$/, "a short lowercase key").nullable();
|
|
20244
20244
|
var lookLevel = external_exports.number().min(0).max(1).nullable();
|
|
20245
20245
|
var workspaceLookSchema = external_exports.object({
|
|
@@ -20307,7 +20307,7 @@ var workspaceUpdatedSchema = external_exports.object({
|
|
|
20307
20307
|
});
|
|
20308
20308
|
var orgCreatedSchema = external_exports.object({ org: orgSchema });
|
|
20309
20309
|
|
|
20310
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
20310
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/me.js
|
|
20311
20311
|
var meResponseSchema = external_exports.object({
|
|
20312
20312
|
user: external_exports.object({
|
|
20313
20313
|
id: external_exports.string(),
|
|
@@ -20379,7 +20379,7 @@ var defaultOrgSchema = external_exports.object({
|
|
|
20379
20379
|
defaultWorkspaceId: external_exports.string().nullable()
|
|
20380
20380
|
});
|
|
20381
20381
|
|
|
20382
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
20382
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/members.js
|
|
20383
20383
|
var memberSchema = external_exports.object({
|
|
20384
20384
|
id: external_exports.string(),
|
|
20385
20385
|
userId: external_exports.string(),
|
|
@@ -20411,7 +20411,7 @@ var memberChangeEmailLinkSchema = external_exports.object({
|
|
|
20411
20411
|
expiresAt: external_exports.string()
|
|
20412
20412
|
});
|
|
20413
20413
|
|
|
20414
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
20414
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/teams.js
|
|
20415
20415
|
var teamSlugSchema = external_exports.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/, "lowercase letters and digits, joined by single dashes").min(1).max(60);
|
|
20416
20416
|
var teamSchema = external_exports.object({
|
|
20417
20417
|
id: external_exports.string(),
|
|
@@ -20452,7 +20452,7 @@ var teamMembersListSchema = external_exports.object({
|
|
|
20452
20452
|
nextCursor: external_exports.string().nullable()
|
|
20453
20453
|
});
|
|
20454
20454
|
|
|
20455
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
20455
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/tool-access.js
|
|
20456
20456
|
var TOOL_ACCESS_MODES = ["everyone", "teams"];
|
|
20457
20457
|
var toolAccessModeSchema = external_exports.enum(TOOL_ACCESS_MODES);
|
|
20458
20458
|
var toolSlugSchema = external_exports.string().regex(/^[a-z0-9][a-z0-9-]{0,62}[a-z0-9]$/, "a tool slug (lowercase letters, digits, dashes)");
|
|
@@ -20536,7 +20536,7 @@ var adminToolAccessSetSchema = external_exports.object({
|
|
|
20536
20536
|
changed: external_exports.boolean()
|
|
20537
20537
|
});
|
|
20538
20538
|
|
|
20539
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
20539
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/api-keys.js
|
|
20540
20540
|
var apiKeySchema = external_exports.object({
|
|
20541
20541
|
id: external_exports.string(),
|
|
20542
20542
|
name: external_exports.string(),
|
|
@@ -20577,7 +20577,7 @@ var apiKeyCreatedSchema = external_exports.object({
|
|
|
20577
20577
|
key: external_exports.string()
|
|
20578
20578
|
});
|
|
20579
20579
|
|
|
20580
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
20580
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/cli-auth.js
|
|
20581
20581
|
var cliAuthRequestSchema = external_exports.object({
|
|
20582
20582
|
email: external_exports.email()
|
|
20583
20583
|
});
|
|
@@ -20621,7 +20621,7 @@ var cliAuthRevokedSchema = external_exports.object({
|
|
|
20621
20621
|
id: external_exports.string()
|
|
20622
20622
|
});
|
|
20623
20623
|
|
|
20624
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
20624
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/invitations.js
|
|
20625
20625
|
var invitationSchema = external_exports.object({
|
|
20626
20626
|
id: external_exports.string(),
|
|
20627
20627
|
email: external_exports.string(),
|
|
@@ -20665,7 +20665,7 @@ var invitationAcceptedSchema = external_exports.object({
|
|
|
20665
20665
|
role: workspaceRoleSchema2
|
|
20666
20666
|
});
|
|
20667
20667
|
|
|
20668
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
20668
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/audit.js
|
|
20669
20669
|
var auditEntrySchema = external_exports.object({
|
|
20670
20670
|
id: external_exports.number(),
|
|
20671
20671
|
actorUserId: external_exports.string().nullable(),
|
|
@@ -20685,7 +20685,7 @@ var auditListSchema = external_exports.object({
|
|
|
20685
20685
|
nextCursor: external_exports.string().nullable()
|
|
20686
20686
|
});
|
|
20687
20687
|
|
|
20688
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
20688
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/break-glass.js
|
|
20689
20689
|
var breakGlassClaimOwnershipRequestSchema = external_exports.object({
|
|
20690
20690
|
userId: external_exports.string().min(1).optional(),
|
|
20691
20691
|
workspaceId: external_exports.uuid().optional()
|
|
@@ -20743,7 +20743,7 @@ var workspaceSetStatusSchema = external_exports.object({
|
|
|
20743
20743
|
changed: external_exports.boolean()
|
|
20744
20744
|
});
|
|
20745
20745
|
|
|
20746
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
20746
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/connections.js
|
|
20747
20747
|
var connectionSchema = external_exports.object({
|
|
20748
20748
|
clientId: external_exports.string(),
|
|
20749
20749
|
/** Display name — registry-sourced for first-party tools. */
|
|
@@ -20770,7 +20770,7 @@ var connectionRevokedSchema = external_exports.object({
|
|
|
20770
20770
|
consents: external_exports.number().int()
|
|
20771
20771
|
});
|
|
20772
20772
|
|
|
20773
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
20773
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/sso.js
|
|
20774
20774
|
var ssoToolTokenRequestSchema = external_exports.object({
|
|
20775
20775
|
/**
|
|
20776
20776
|
* The target tool's RFC 8707 resource identifier — MUST equal a registered
|
|
@@ -20796,7 +20796,7 @@ var ssoToolTokenSchema = external_exports.object({
|
|
|
20796
20796
|
hubRefreshToken: external_exports.string()
|
|
20797
20797
|
});
|
|
20798
20798
|
|
|
20799
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
20799
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/tool-info.js
|
|
20800
20800
|
var toolInfoSchema = external_exports.object({
|
|
20801
20801
|
clientId: external_exports.string(),
|
|
20802
20802
|
name: external_exports.string(),
|
|
@@ -20806,7 +20806,7 @@ var toolInfoQuerySchema = external_exports.object({
|
|
|
20806
20806
|
client_id: plainText2(1, 128)
|
|
20807
20807
|
});
|
|
20808
20808
|
|
|
20809
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
20809
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/tools.js
|
|
20810
20810
|
var toolCatalogEntrySchema = external_exports.object({
|
|
20811
20811
|
/** Registry slug — stable machine identity. */
|
|
20812
20812
|
slug: external_exports.string(),
|
|
@@ -20839,7 +20839,7 @@ var toolCatalogEntrySchema = external_exports.object({
|
|
|
20839
20839
|
});
|
|
20840
20840
|
var toolsListSchema = external_exports.object({ tools: external_exports.array(toolCatalogEntrySchema) });
|
|
20841
20841
|
|
|
20842
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
20842
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/account-confirm.js
|
|
20843
20843
|
var accountConfirmRequestSchema = external_exports.object({
|
|
20844
20844
|
token: external_exports.string().min(16).max(4096),
|
|
20845
20845
|
decision: external_exports.enum(["confirm", "deny"])
|
|
@@ -20853,7 +20853,7 @@ var accountConfirmResultSchema = external_exports.object({
|
|
|
20853
20853
|
status: external_exports.enum(["verified", "already_verified", "denied"])
|
|
20854
20854
|
});
|
|
20855
20855
|
|
|
20856
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
20856
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/files.js
|
|
20857
20857
|
var fileSchema = external_exports.object({
|
|
20858
20858
|
id: external_exports.string(),
|
|
20859
20859
|
sha256: external_exports.string(),
|
|
@@ -20878,7 +20878,7 @@ var fileUploadQuerySchema = external_exports.object({
|
|
|
20878
20878
|
name: plainText2(1, 255)
|
|
20879
20879
|
});
|
|
20880
20880
|
|
|
20881
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
20881
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/billing.js
|
|
20882
20882
|
var BILLING_PLANS = ["free", "pro"];
|
|
20883
20883
|
var billingPlanSchema = external_exports.enum(BILLING_PLANS);
|
|
20884
20884
|
var accountRefSchema = external_exports.uuid();
|
|
@@ -21464,7 +21464,7 @@ var voucherRedemptionsSchema = external_exports.object({
|
|
|
21464
21464
|
}))
|
|
21465
21465
|
});
|
|
21466
21466
|
|
|
21467
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
21467
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/demo-passes.js
|
|
21468
21468
|
var DEMO_PASS_MAX_MINUTES = 10080;
|
|
21469
21469
|
var demoPassSchema = external_exports.object({
|
|
21470
21470
|
id: external_exports.string(),
|
|
@@ -21519,7 +21519,7 @@ var demoPassRedeemedSchema = external_exports.object({
|
|
|
21519
21519
|
expiresAt: external_exports.string()
|
|
21520
21520
|
});
|
|
21521
21521
|
|
|
21522
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.16.
|
|
21522
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.16.5_hono@4.12.27/node_modules/@antasphere/contract/dist/wire.js
|
|
21523
21523
|
var DAY = 24 * 60 * 60 * 1e3;
|
|
21524
21524
|
var MIN = 60 * 1e3;
|
|
21525
21525
|
var ULID = "01J8Z1X2Y3K4M5N6P7Q8R9S0TV";
|
|
@@ -21710,7 +21710,7 @@ var HUB_TOOL_WIRE_INPUTS = {
|
|
|
21710
21710
|
}
|
|
21711
21711
|
};
|
|
21712
21712
|
|
|
21713
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
21713
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/entitlements.js
|
|
21714
21714
|
var entitlementTierSchema = billingPlanSchema;
|
|
21715
21715
|
var entitlementActionSchema = external_exports.object({
|
|
21716
21716
|
key: external_exports.string().min(1),
|
|
@@ -21744,7 +21744,7 @@ var entitlementProfileSchema = external_exports.object({
|
|
|
21744
21744
|
upgradeUrl: external_exports.string()
|
|
21745
21745
|
});
|
|
21746
21746
|
|
|
21747
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
21747
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/instance.js
|
|
21748
21748
|
var instanceInfoSchema2 = external_exports.object({
|
|
21749
21749
|
name: external_exports.string(),
|
|
21750
21750
|
instanceId: external_exports.string().nullable(),
|
|
@@ -21805,7 +21805,7 @@ var instanceInfoSchema2 = external_exports.object({
|
|
|
21805
21805
|
entitlements: toolEntitlementsSchema.optional()
|
|
21806
21806
|
});
|
|
21807
21807
|
|
|
21808
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
21808
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/setup.js
|
|
21809
21809
|
var setupRequestSchema2 = external_exports.object({
|
|
21810
21810
|
instanceName: plainText(1, 120),
|
|
21811
21811
|
owner: external_exports.object({
|
|
@@ -21822,7 +21822,7 @@ var setupResponseSchema2 = external_exports.object({
|
|
|
21822
21822
|
ownerUserId: external_exports.string()
|
|
21823
21823
|
});
|
|
21824
21824
|
|
|
21825
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
21825
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/workspaces.js
|
|
21826
21826
|
var lookKey2 = external_exports.string().regex(/^[a-z][a-z0-9-]{0,31}$/, "a short lowercase key").nullable();
|
|
21827
21827
|
var lookLevel2 = external_exports.number().min(0).max(1).nullable();
|
|
21828
21828
|
var workspaceLookSchema2 = external_exports.object({
|
|
@@ -21862,7 +21862,7 @@ var workspaceUpdatedSchema2 = external_exports.object({
|
|
|
21862
21862
|
})
|
|
21863
21863
|
});
|
|
21864
21864
|
|
|
21865
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
21865
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/me.js
|
|
21866
21866
|
var onboardingDismissedSchema = external_exports.object({
|
|
21867
21867
|
dismissed: external_exports.literal(true)
|
|
21868
21868
|
});
|
|
@@ -22014,7 +22014,7 @@ function defineMeSchemas(scopeSchema3) {
|
|
|
22014
22014
|
return { meResponseSchema: meResponseSchema3 };
|
|
22015
22015
|
}
|
|
22016
22016
|
|
|
22017
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
22017
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/members.js
|
|
22018
22018
|
var memberSchema2 = external_exports.object({
|
|
22019
22019
|
id: external_exports.string(),
|
|
22020
22020
|
userId: external_exports.string(),
|
|
@@ -22048,7 +22048,7 @@ var memberChangeEmailLinkSchema2 = external_exports.object({
|
|
|
22048
22048
|
expiresAt: external_exports.string()
|
|
22049
22049
|
});
|
|
22050
22050
|
|
|
22051
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
22051
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/cli-auth.js
|
|
22052
22052
|
var cliAuthRequestSchema2 = external_exports.object({
|
|
22053
22053
|
email: external_exports.email()
|
|
22054
22054
|
});
|
|
@@ -22090,7 +22090,7 @@ function defineCliAuthSchemas(apiKeySchema3) {
|
|
|
22090
22090
|
return { cliAuthCompletedSchema: cliAuthCompletedSchema3 };
|
|
22091
22091
|
}
|
|
22092
22092
|
|
|
22093
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
22093
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/sso-connect.js
|
|
22094
22094
|
var ssoCliConnectSchema = external_exports.object({
|
|
22095
22095
|
/** The hub-minted exchange JWT (compact JWS — three base64url segments). */
|
|
22096
22096
|
token: external_exports.string().min(20).max(4096),
|
|
@@ -22105,12 +22105,12 @@ var ssoCliConnectSchema = external_exports.object({
|
|
|
22105
22105
|
hubRefreshToken: external_exports.string().min(20).max(512).optional()
|
|
22106
22106
|
});
|
|
22107
22107
|
|
|
22108
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
22108
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/sso-logout.js
|
|
22109
22109
|
var ssoLogoutResponseSchema = external_exports.object({
|
|
22110
22110
|
url: external_exports.string().nullable()
|
|
22111
22111
|
});
|
|
22112
22112
|
|
|
22113
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
22113
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/invitations.js
|
|
22114
22114
|
var invitationSchema2 = external_exports.object({
|
|
22115
22115
|
id: external_exports.string(),
|
|
22116
22116
|
email: external_exports.string(),
|
|
@@ -22152,7 +22152,7 @@ var invitationAcceptedSchema2 = external_exports.object({
|
|
|
22152
22152
|
role: workspaceRoleSchema
|
|
22153
22153
|
});
|
|
22154
22154
|
|
|
22155
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
22155
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/audit.js
|
|
22156
22156
|
var auditEntrySchema2 = external_exports.object({
|
|
22157
22157
|
id: external_exports.number(),
|
|
22158
22158
|
actorUserId: external_exports.string().nullable(),
|
|
@@ -22197,7 +22197,7 @@ var auditListSchema2 = external_exports.object({
|
|
|
22197
22197
|
total: external_exports.number().int().nullable()
|
|
22198
22198
|
});
|
|
22199
22199
|
|
|
22200
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
22200
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/break-glass.js
|
|
22201
22201
|
var breakGlassClaimOwnershipRequestSchema2 = external_exports.object({
|
|
22202
22202
|
userId: external_exports.string().min(1).optional(),
|
|
22203
22203
|
workspaceId: external_exports.uuid().optional()
|
|
@@ -22222,7 +22222,7 @@ var breakGlassResetTwoFactorSchema2 = external_exports.object({
|
|
|
22222
22222
|
hadTwoFactor: external_exports.boolean()
|
|
22223
22223
|
});
|
|
22224
22224
|
|
|
22225
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
22225
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/files.js
|
|
22226
22226
|
var fileSchema2 = external_exports.object({
|
|
22227
22227
|
id: external_exports.string(),
|
|
22228
22228
|
sha256: external_exports.string(),
|
|
@@ -22247,7 +22247,7 @@ var fileUploadQuerySchema2 = external_exports.object({
|
|
|
22247
22247
|
name: plainText(1, 255)
|
|
22248
22248
|
});
|
|
22249
22249
|
|
|
22250
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
22250
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/projects.js
|
|
22251
22251
|
var projectRoleSchema = external_exports.enum(["manager", "editor", "viewer"]);
|
|
22252
22252
|
var PROJECT_METADATA_MAX_LENGTH = 16 * 1024;
|
|
22253
22253
|
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`);
|
|
@@ -22335,7 +22335,7 @@ var projectMemberParamsSchema = external_exports.object({
|
|
|
22335
22335
|
});
|
|
22336
22336
|
var projectTeamParamsSchema = external_exports.object({ id: external_exports.uuid(), teamId: external_exports.uuid() });
|
|
22337
22337
|
|
|
22338
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
22338
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/teams.js
|
|
22339
22339
|
var teamSlugSchema2 = external_exports.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/, "lowercase letters and digits, joined by single dashes").min(1).max(60);
|
|
22340
22340
|
var teamSchema2 = external_exports.object({
|
|
22341
22341
|
id: external_exports.string(),
|
|
@@ -22389,7 +22389,7 @@ var teamMemberParamsSchema = external_exports.object({
|
|
|
22389
22389
|
userId: noControlChars(external_exports.string().min(1).max(200))
|
|
22390
22390
|
});
|
|
22391
22391
|
|
|
22392
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
22392
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/demo-passes.js
|
|
22393
22393
|
var DEMO_PASS_MAX_MINUTES2 = 10080;
|
|
22394
22394
|
var demoPassSchema2 = external_exports.object({
|
|
22395
22395
|
id: external_exports.string(),
|
|
@@ -22430,7 +22430,7 @@ var demoPassRedeemedSchema2 = external_exports.object({
|
|
|
22430
22430
|
expiresAt: external_exports.string()
|
|
22431
22431
|
});
|
|
22432
22432
|
|
|
22433
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
22433
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/api-keys.js
|
|
22434
22434
|
function defineApiKeySchemas(scopeSchema3) {
|
|
22435
22435
|
const apiKeySchema3 = external_exports.object({
|
|
22436
22436
|
id: external_exports.string(),
|
|
@@ -22475,7 +22475,7 @@ function defineApiKeySchemas(scopeSchema3) {
|
|
|
22475
22475
|
return { apiKeySchema: apiKeySchema3, apiKeysListSchema: apiKeysListSchema3, apiKeyCreateSchema: apiKeyCreateSchema3, apiKeyCreatedSchema: apiKeyCreatedSchema3 };
|
|
22476
22476
|
}
|
|
22477
22477
|
|
|
22478
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.
|
|
22478
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/define.js
|
|
22479
22479
|
function defineChassisContract(tool) {
|
|
22480
22480
|
return buildChassisContract(defineScopeSchema(tool.scopes));
|
|
22481
22481
|
}
|
|
@@ -22489,7 +22489,7 @@ function buildChassisContract(scopeSchema3) {
|
|
|
22489
22489
|
};
|
|
22490
22490
|
}
|
|
22491
22491
|
|
|
22492
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.
|
|
22492
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/owner-session.js
|
|
22493
22493
|
var SIGN_IN_WAITS_MS = [4e3, 8e3, 12e3];
|
|
22494
22494
|
var SESSION_COOKIE = /session_token$/;
|
|
22495
22495
|
function sessionCookie(res) {
|
|
@@ -22570,7 +22570,7 @@ async function withOwnerSession(ctx, options, run2) {
|
|
|
22570
22570
|
}
|
|
22571
22571
|
}
|
|
22572
22572
|
|
|
22573
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.
|
|
22573
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/demo.js
|
|
22574
22574
|
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.";
|
|
22575
22575
|
var NOT_AN_OWNER = "Only an owner of this workspace manages demo links: the account that signed in is not one.";
|
|
22576
22576
|
var REFUSALS = /* @__PURE__ */ new Set([
|
|
@@ -22724,14 +22724,14 @@ function registerDemoCommands(kit, program2, io) {
|
|
|
22724
22724
|
});
|
|
22725
22725
|
}
|
|
22726
22726
|
|
|
22727
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.
|
|
22727
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/files.js
|
|
22728
22728
|
import { createWriteStream } from "node:fs";
|
|
22729
22729
|
import { mkdir as mkdir2, readFile, writeFile } from "node:fs/promises";
|
|
22730
22730
|
import { basename, resolve as resolve2, win32 } from "node:path";
|
|
22731
22731
|
import { Readable } from "node:stream";
|
|
22732
22732
|
import { pipeline as pipeline2 } from "node:stream/promises";
|
|
22733
22733
|
|
|
22734
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.
|
|
22734
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/safe-write.js
|
|
22735
22735
|
import { constants as FS } from "node:fs";
|
|
22736
22736
|
import { mkdir, open, realpath, unlink } from "node:fs/promises";
|
|
22737
22737
|
import { dirname as dirname2, isAbsolute, relative, resolve } from "node:path";
|
|
@@ -22812,7 +22812,7 @@ async function streamContained(root, relPath, source) {
|
|
|
22812
22812
|
}
|
|
22813
22813
|
}
|
|
22814
22814
|
|
|
22815
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.
|
|
22815
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/files.js
|
|
22816
22816
|
function safeDownloadName(originalName) {
|
|
22817
22817
|
const name = basename(win32.basename(originalName));
|
|
22818
22818
|
if (name === "" || name === "." || name === ".." || name.startsWith(".")) {
|
|
@@ -22939,7 +22939,7 @@ function registerFileCommands(kit, program2, io) {
|
|
|
22939
22939
|
});
|
|
22940
22940
|
}
|
|
22941
22941
|
|
|
22942
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.
|
|
22942
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/completion.js
|
|
22943
22943
|
function commandTree(program2) {
|
|
22944
22944
|
return program2.commands.filter((c) => !c.name().startsWith("help")).map((c) => ({
|
|
22945
22945
|
name: c.name(),
|
|
@@ -23014,7 +23014,7 @@ function registerCompletionCommand(identity, program2, io) {
|
|
|
23014
23014
|
});
|
|
23015
23015
|
}
|
|
23016
23016
|
|
|
23017
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.
|
|
23017
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/program.js
|
|
23018
23018
|
function creditFigures(credit) {
|
|
23019
23019
|
const parts = [
|
|
23020
23020
|
typeof credit?.credits === "number" ? `this needs ${credit.credits} credits` : null,
|
|
@@ -23096,7 +23096,7 @@ function createProgram(kit, definition) {
|
|
|
23096
23096
|
return { buildProgram, run: run2 };
|
|
23097
23097
|
}
|
|
23098
23098
|
|
|
23099
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.
|
|
23099
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/identity.js
|
|
23100
23100
|
function cliIdentity(identity) {
|
|
23101
23101
|
return {
|
|
23102
23102
|
bin: identity.cli.bin,
|
|
@@ -23110,7 +23110,7 @@ function cliIdentity(identity) {
|
|
|
23110
23110
|
};
|
|
23111
23111
|
}
|
|
23112
23112
|
|
|
23113
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.
|
|
23113
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/open.js
|
|
23114
23114
|
import { spawn } from "node:child_process";
|
|
23115
23115
|
function platformOpener(platform = process.platform) {
|
|
23116
23116
|
if (platform === "darwin")
|
|
@@ -23136,7 +23136,7 @@ function isInteractive(io) {
|
|
|
23136
23136
|
return io.out.isTTY === true;
|
|
23137
23137
|
}
|
|
23138
23138
|
|
|
23139
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.
|
|
23139
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.0.2_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/index.js
|
|
23140
23140
|
function defineCli(definition) {
|
|
23141
23141
|
const { identity, createClient } = definition;
|
|
23142
23142
|
const config2 = createConfig(identity);
|
|
@@ -27419,7 +27419,7 @@ async function zipMode(ctx, io, id, responseId, filters, zip) {
|
|
|
27419
27419
|
}
|
|
27420
27420
|
|
|
27421
27421
|
// src/index.ts
|
|
27422
|
-
var VERSION = "0.13.
|
|
27422
|
+
var VERSION = "0.13.7";
|
|
27423
27423
|
function registerTool(program2, io) {
|
|
27424
27424
|
registerDeckCommands(program2, io);
|
|
27425
27425
|
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.7",
|
|
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.0.
|
|
40
|
-
"@antasphere/chassis-contract": "1.0.
|
|
41
|
-
"@antasphere/chassis-sdk": "1.0.
|
|
39
|
+
"@antasphere/chassis-cli": "1.0.2",
|
|
40
|
+
"@antasphere/chassis-contract": "1.0.2",
|
|
41
|
+
"@antasphere/chassis-sdk": "1.0.2",
|
|
42
42
|
"@antasphere/cli-core": "^0.5.0",
|
|
43
43
|
"@slideless/contract": "workspace:*",
|
|
44
44
|
"@slideless/sdk": "workspace:*",
|