@antasphere/slideless 0.13.10 → 0.13.11
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 +178 -101
- 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.5.1_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.5.1_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;
|
|
@@ -3942,6 +3942,13 @@ var ChassisClient = class {
|
|
|
3942
3942
|
webhookEvents() {
|
|
3943
3943
|
return this.request("GET", "/webhooks/events");
|
|
3944
3944
|
}
|
|
3945
|
+
// ── The Apps page (PRDCT-3493) ─────────────────────────────────────────────
|
|
3946
|
+
// The other tools of the organization: a browser session's alone (an API key
|
|
3947
|
+
// or an OAuth token is refused 403).
|
|
3948
|
+
/** The tools the caller may open, the account that signs them in, and where the list came from. */
|
|
3949
|
+
apps() {
|
|
3950
|
+
return this.request("GET", "/apps");
|
|
3951
|
+
}
|
|
3945
3952
|
/** Owner or admin. The answer carries the signing secret (`whsec_…`), shown once. */
|
|
3946
3953
|
createWebhook(req, opts = {}) {
|
|
3947
3954
|
return this.request("POST", "/webhooks", req, idempotencyHeader(opts));
|
|
@@ -4161,7 +4168,7 @@ var ChassisClient = class {
|
|
|
4161
4168
|
}
|
|
4162
4169
|
};
|
|
4163
4170
|
|
|
4164
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
4171
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/identity.js
|
|
4165
4172
|
var DEFAULT_HUB_URL = "https://account.antasphere.com";
|
|
4166
4173
|
function cliIdentity(identity) {
|
|
4167
4174
|
return {
|
|
@@ -4177,7 +4184,7 @@ function cliIdentity(identity) {
|
|
|
4177
4184
|
};
|
|
4178
4185
|
}
|
|
4179
4186
|
|
|
4180
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
4187
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/workspace.js
|
|
4181
4188
|
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
4189
|
function isWorkspaceId(value) {
|
|
4183
4190
|
return UUID_RE.test(value);
|
|
@@ -4284,7 +4291,7 @@ ${workspaceLines(me.workspaces)}`;
|
|
|
4284
4291
|
};
|
|
4285
4292
|
}
|
|
4286
4293
|
|
|
4287
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
4294
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/context.js
|
|
4288
4295
|
var CliApiRefusal = class extends CliUsageError {
|
|
4289
4296
|
status;
|
|
4290
4297
|
constructor(message, status) {
|
|
@@ -4600,7 +4607,7 @@ var {
|
|
|
4600
4607
|
Help
|
|
4601
4608
|
} = import_index.default;
|
|
4602
4609
|
|
|
4603
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
4610
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/stdin.js
|
|
4604
4611
|
var claims = /* @__PURE__ */ new WeakMap();
|
|
4605
4612
|
async function readAllStdin() {
|
|
4606
4613
|
const chunks = [];
|
|
@@ -4621,7 +4628,7 @@ async function readSecretFromStdin(io, claimant) {
|
|
|
4621
4628
|
return value;
|
|
4622
4629
|
}
|
|
4623
4630
|
|
|
4624
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
4631
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/auth.js
|
|
4625
4632
|
var HUB_URL_ENV2 = "ANTASPHERE_URL";
|
|
4626
4633
|
function describeCredential(source, profileName) {
|
|
4627
4634
|
switch (source) {
|
|
@@ -5078,7 +5085,7 @@ ${organizationsLine(me)}`);
|
|
|
5078
5085
|
});
|
|
5079
5086
|
}
|
|
5080
5087
|
|
|
5081
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
5088
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/workspaces.js
|
|
5082
5089
|
function registerWorkspaceCommands(kit, program2, io) {
|
|
5083
5090
|
const { requireApiKey: requireApiKey2, resolveContext: resolveContext2, workspaceSource } = kit;
|
|
5084
5091
|
const { describeSelection } = kit.workspace;
|
|
@@ -5150,7 +5157,7 @@ function registerWorkspaceCommands(kit, program2, io) {
|
|
|
5150
5157
|
});
|
|
5151
5158
|
}
|
|
5152
5159
|
|
|
5153
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
5160
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/teams.js
|
|
5154
5161
|
function explainTeamRefusal(e, ctx) {
|
|
5155
5162
|
switch (e.code) {
|
|
5156
5163
|
case "forbidden":
|
|
@@ -5354,7 +5361,7 @@ ${teamLines(team)}`);
|
|
|
5354
5361
|
});
|
|
5355
5362
|
}
|
|
5356
5363
|
|
|
5357
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
5364
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/projects.js
|
|
5358
5365
|
var ROLES = ["viewer", "editor", "manager"];
|
|
5359
5366
|
function parseRole(value) {
|
|
5360
5367
|
if (ROLES.includes(value))
|
|
@@ -5629,7 +5636,7 @@ ${projectLines(project)}`);
|
|
|
5629
5636
|
});
|
|
5630
5637
|
}
|
|
5631
5638
|
|
|
5632
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
5639
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/webhooks.js
|
|
5633
5640
|
function explainWebhookRefusal(e, lookup, identity) {
|
|
5634
5641
|
switch (e.code) {
|
|
5635
5642
|
case "forbidden":
|
|
@@ -20445,7 +20452,7 @@ function date4(params) {
|
|
|
20445
20452
|
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
|
|
20446
20453
|
config(en_default());
|
|
20447
20454
|
|
|
20448
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
20455
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/common.js
|
|
20449
20456
|
var apiErrorSchema = external_exports.object({
|
|
20450
20457
|
error: external_exports.object({
|
|
20451
20458
|
code: external_exports.string(),
|
|
@@ -20550,12 +20557,12 @@ function isValidMediaType(value) {
|
|
|
20550
20557
|
return value.length >= 1 && value.length <= 255 && isLatin1(value) && MEDIA_TYPE_RE.test(value);
|
|
20551
20558
|
}
|
|
20552
20559
|
|
|
20553
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
20560
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/scope.js
|
|
20554
20561
|
function defineScopeSchema(scopes) {
|
|
20555
20562
|
return external_exports.enum(scopes);
|
|
20556
20563
|
}
|
|
20557
20564
|
|
|
20558
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
20565
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/seams.js
|
|
20559
20566
|
var KNOWN_AUTH_METHODS = [
|
|
20560
20567
|
"password",
|
|
20561
20568
|
"email-otp",
|
|
@@ -20565,7 +20572,7 @@ var KNOWN_AUTH_METHODS = [
|
|
|
20565
20572
|
"antasphere"
|
|
20566
20573
|
];
|
|
20567
20574
|
|
|
20568
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
20575
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/common.js
|
|
20569
20576
|
var apiErrorSchema2 = external_exports.object({
|
|
20570
20577
|
error: external_exports.object({
|
|
20571
20578
|
code: external_exports.string(),
|
|
@@ -20608,7 +20615,7 @@ function plainTextTrimmed(min, max) {
|
|
|
20608
20615
|
return noControlChars2(external_exports.string().trim().min(min).max(max));
|
|
20609
20616
|
}
|
|
20610
20617
|
|
|
20611
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
20618
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/instance.js
|
|
20612
20619
|
var instanceInfoSchema = external_exports.object({
|
|
20613
20620
|
name: external_exports.string(),
|
|
20614
20621
|
instanceId: external_exports.string().nullable(),
|
|
@@ -20652,7 +20659,7 @@ var instanceInfoSchema = external_exports.object({
|
|
|
20652
20659
|
demoSignIn: external_exports.boolean().optional()
|
|
20653
20660
|
});
|
|
20654
20661
|
|
|
20655
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
20662
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/setup.js
|
|
20656
20663
|
var setupRequestSchema = external_exports.object({
|
|
20657
20664
|
instanceName: plainText2(1, 120),
|
|
20658
20665
|
owner: external_exports.object({
|
|
@@ -20668,7 +20675,7 @@ var setupResponseSchema = external_exports.object({
|
|
|
20668
20675
|
ownerUserId: external_exports.string()
|
|
20669
20676
|
});
|
|
20670
20677
|
|
|
20671
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
20678
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/orgs.js
|
|
20672
20679
|
var lookKey = external_exports.string().regex(/^[a-z][a-z0-9-]{0,31}$/, "a short lowercase key").nullable();
|
|
20673
20680
|
var lookLevel = external_exports.number().min(0).max(1).nullable();
|
|
20674
20681
|
var workspaceLookSchema = external_exports.object({
|
|
@@ -20736,7 +20743,7 @@ var workspaceUpdatedSchema = external_exports.object({
|
|
|
20736
20743
|
});
|
|
20737
20744
|
var orgCreatedSchema = external_exports.object({ org: orgSchema });
|
|
20738
20745
|
|
|
20739
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
20746
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/me.js
|
|
20740
20747
|
var meResponseSchema = external_exports.object({
|
|
20741
20748
|
user: external_exports.object({
|
|
20742
20749
|
id: external_exports.string(),
|
|
@@ -20808,7 +20815,7 @@ var defaultOrgSchema = external_exports.object({
|
|
|
20808
20815
|
defaultWorkspaceId: external_exports.string().nullable()
|
|
20809
20816
|
});
|
|
20810
20817
|
|
|
20811
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
20818
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/members.js
|
|
20812
20819
|
var memberSchema = external_exports.object({
|
|
20813
20820
|
id: external_exports.string(),
|
|
20814
20821
|
userId: external_exports.string(),
|
|
@@ -20840,7 +20847,7 @@ var memberChangeEmailLinkSchema = external_exports.object({
|
|
|
20840
20847
|
expiresAt: external_exports.string()
|
|
20841
20848
|
});
|
|
20842
20849
|
|
|
20843
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
20850
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/teams.js
|
|
20844
20851
|
var teamSlugSchema = external_exports.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/, "lowercase letters and digits, joined by single dashes").min(1).max(60);
|
|
20845
20852
|
var teamSchema = external_exports.object({
|
|
20846
20853
|
id: external_exports.string(),
|
|
@@ -20881,7 +20888,7 @@ var teamMembersListSchema = external_exports.object({
|
|
|
20881
20888
|
nextCursor: external_exports.string().nullable()
|
|
20882
20889
|
});
|
|
20883
20890
|
|
|
20884
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
20891
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/tool-access.js
|
|
20885
20892
|
var TOOL_ACCESS_MODES = ["everyone", "teams"];
|
|
20886
20893
|
var toolAccessModeSchema = external_exports.enum(TOOL_ACCESS_MODES);
|
|
20887
20894
|
var toolSlugSchema = external_exports.string().regex(/^[a-z0-9][a-z0-9-]{0,62}[a-z0-9]$/, "a tool slug (lowercase letters, digits, dashes)");
|
|
@@ -20965,7 +20972,7 @@ var adminToolAccessSetSchema = external_exports.object({
|
|
|
20965
20972
|
changed: external_exports.boolean()
|
|
20966
20973
|
});
|
|
20967
20974
|
|
|
20968
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
20975
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/api-keys.js
|
|
20969
20976
|
var apiKeySchema = external_exports.object({
|
|
20970
20977
|
id: external_exports.string(),
|
|
20971
20978
|
name: external_exports.string(),
|
|
@@ -21006,7 +21013,7 @@ var apiKeyCreatedSchema = external_exports.object({
|
|
|
21006
21013
|
key: external_exports.string()
|
|
21007
21014
|
});
|
|
21008
21015
|
|
|
21009
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
21016
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/cli-auth.js
|
|
21010
21017
|
var cliAuthRequestSchema = external_exports.object({
|
|
21011
21018
|
email: external_exports.email()
|
|
21012
21019
|
});
|
|
@@ -21050,7 +21057,7 @@ var cliAuthRevokedSchema = external_exports.object({
|
|
|
21050
21057
|
id: external_exports.string()
|
|
21051
21058
|
});
|
|
21052
21059
|
|
|
21053
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
21060
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/invitations.js
|
|
21054
21061
|
var invitationSchema = external_exports.object({
|
|
21055
21062
|
id: external_exports.string(),
|
|
21056
21063
|
email: external_exports.string(),
|
|
@@ -21094,7 +21101,7 @@ var invitationAcceptedSchema = external_exports.object({
|
|
|
21094
21101
|
role: workspaceRoleSchema2
|
|
21095
21102
|
});
|
|
21096
21103
|
|
|
21097
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
21104
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/audit.js
|
|
21098
21105
|
var auditEntrySchema = external_exports.object({
|
|
21099
21106
|
id: external_exports.number(),
|
|
21100
21107
|
actorUserId: external_exports.string().nullable(),
|
|
@@ -21114,7 +21121,7 @@ var auditListSchema = external_exports.object({
|
|
|
21114
21121
|
nextCursor: external_exports.string().nullable()
|
|
21115
21122
|
});
|
|
21116
21123
|
|
|
21117
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
21124
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/break-glass.js
|
|
21118
21125
|
var breakGlassClaimOwnershipRequestSchema = external_exports.object({
|
|
21119
21126
|
userId: external_exports.string().min(1).optional(),
|
|
21120
21127
|
workspaceId: external_exports.uuid().optional()
|
|
@@ -21172,7 +21179,7 @@ var workspaceSetStatusSchema = external_exports.object({
|
|
|
21172
21179
|
changed: external_exports.boolean()
|
|
21173
21180
|
});
|
|
21174
21181
|
|
|
21175
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
21182
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/connections.js
|
|
21176
21183
|
var connectionSchema = external_exports.object({
|
|
21177
21184
|
clientId: external_exports.string(),
|
|
21178
21185
|
/** Display name — registry-sourced for first-party tools. */
|
|
@@ -21199,7 +21206,7 @@ var connectionRevokedSchema = external_exports.object({
|
|
|
21199
21206
|
consents: external_exports.number().int()
|
|
21200
21207
|
});
|
|
21201
21208
|
|
|
21202
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
21209
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/sso.js
|
|
21203
21210
|
var ssoToolTokenRequestSchema = external_exports.object({
|
|
21204
21211
|
/**
|
|
21205
21212
|
* The target tool's RFC 8707 resource identifier — MUST equal a registered
|
|
@@ -21225,7 +21232,7 @@ var ssoToolTokenSchema = external_exports.object({
|
|
|
21225
21232
|
hubRefreshToken: external_exports.string()
|
|
21226
21233
|
});
|
|
21227
21234
|
|
|
21228
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
21235
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/tool-info.js
|
|
21229
21236
|
var toolInfoSchema = external_exports.object({
|
|
21230
21237
|
clientId: external_exports.string(),
|
|
21231
21238
|
name: external_exports.string(),
|
|
@@ -21235,7 +21242,59 @@ var toolInfoQuerySchema = external_exports.object({
|
|
|
21235
21242
|
client_id: plainText2(1, 128)
|
|
21236
21243
|
});
|
|
21237
21244
|
|
|
21238
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
21245
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/tools.js
|
|
21246
|
+
var TOOL_ICONS = [
|
|
21247
|
+
"landmark",
|
|
21248
|
+
"users",
|
|
21249
|
+
"calendar-clock",
|
|
21250
|
+
"contact",
|
|
21251
|
+
"key-round",
|
|
21252
|
+
"mail",
|
|
21253
|
+
"pen-line",
|
|
21254
|
+
"layers",
|
|
21255
|
+
"presentation",
|
|
21256
|
+
"trophy",
|
|
21257
|
+
"layout-grid",
|
|
21258
|
+
"briefcase",
|
|
21259
|
+
"folder-kanban",
|
|
21260
|
+
"receipt",
|
|
21261
|
+
"wallet",
|
|
21262
|
+
"building-2",
|
|
21263
|
+
"shield-check",
|
|
21264
|
+
"globe",
|
|
21265
|
+
"bot",
|
|
21266
|
+
"sparkles",
|
|
21267
|
+
"file-text",
|
|
21268
|
+
"inbox",
|
|
21269
|
+
"megaphone",
|
|
21270
|
+
"qr-code",
|
|
21271
|
+
"chart-column",
|
|
21272
|
+
"rocket"
|
|
21273
|
+
];
|
|
21274
|
+
var TOOL_DRAWINGS = [
|
|
21275
|
+
"ledger",
|
|
21276
|
+
"funnel",
|
|
21277
|
+
"clock-sheet",
|
|
21278
|
+
"cards",
|
|
21279
|
+
"tree-key",
|
|
21280
|
+
"rings",
|
|
21281
|
+
"sheets",
|
|
21282
|
+
"envelopes",
|
|
21283
|
+
"signature",
|
|
21284
|
+
"lanes",
|
|
21285
|
+
"slides",
|
|
21286
|
+
"podium"
|
|
21287
|
+
];
|
|
21288
|
+
var toolDescriptorSchema = external_exports.object({
|
|
21289
|
+
/** One sentence on what the tool is, shown under its name on the Apps pages; rendered as text. */
|
|
21290
|
+
description: external_exports.string().trim().min(1).max(300).optional(),
|
|
21291
|
+
/** The sidebar icon, one of TOOL_ICONS. */
|
|
21292
|
+
icon: external_exports.enum(TOOL_ICONS).optional(),
|
|
21293
|
+
/** The card's drawing, one of TOOL_DRAWINGS. */
|
|
21294
|
+
drawing: external_exports.enum(TOOL_DRAWINGS).optional(),
|
|
21295
|
+
/** The accent the drawing and the card use once, `#rrggbb`. */
|
|
21296
|
+
accent: external_exports.string().regex(/^#[0-9a-fA-F]{6}$/, "a six-digit hex colour, #rrggbb").optional()
|
|
21297
|
+
}).strict();
|
|
21239
21298
|
var toolCatalogEntrySchema = external_exports.object({
|
|
21240
21299
|
/** Registry slug — stable machine identity. */
|
|
21241
21300
|
slug: external_exports.string(),
|
|
@@ -21264,11 +21323,33 @@ var toolCatalogEntrySchema = external_exports.object({
|
|
|
21264
21323
|
* organization it is granted in; everyone else never sees the entry.
|
|
21265
21324
|
* Absent (false) on every other tool.
|
|
21266
21325
|
*/
|
|
21267
|
-
restricted: external_exports.boolean().optional()
|
|
21326
|
+
restricted: external_exports.boolean().optional(),
|
|
21327
|
+
/**
|
|
21328
|
+
* How the tool presents itself in the other tools' sidebars and Apps
|
|
21329
|
+
* pages (PRDCT-3493), registry-sourced. Absent when the registry entry
|
|
21330
|
+
* declares none: the reader falls back to the name alone.
|
|
21331
|
+
*/
|
|
21332
|
+
descriptor: toolDescriptorSchema.optional()
|
|
21268
21333
|
});
|
|
21269
21334
|
var toolsListSchema = external_exports.object({ tools: external_exports.array(toolCatalogEntrySchema) });
|
|
21335
|
+
var meAppsEntrySchema = toolCatalogEntrySchema.extend({
|
|
21336
|
+
/** The organization this request resolved to lets the person use the tool. */
|
|
21337
|
+
open: external_exports.boolean()
|
|
21338
|
+
});
|
|
21339
|
+
var meAppsSchema = external_exports.object({
|
|
21340
|
+
/**
|
|
21341
|
+
* The organization the verdicts are for (the request's resolved workspace),
|
|
21342
|
+
* with its status: an all-suspended account still resolves its suspended
|
|
21343
|
+
* organization here (the route is on the account's own surface, ADR 014),
|
|
21344
|
+
* and `open` says what the access rule says, not whether the tool's door
|
|
21345
|
+
* will let the person through. A reader greys or hides the list on
|
|
21346
|
+
* `suspended`; the tools' Apps service never serves such a list.
|
|
21347
|
+
*/
|
|
21348
|
+
organization: external_exports.object({ id: external_exports.string(), name: external_exports.string(), status: external_exports.enum(["active", "suspended"]) }),
|
|
21349
|
+
tools: external_exports.array(meAppsEntrySchema)
|
|
21350
|
+
});
|
|
21270
21351
|
|
|
21271
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
21352
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/account-confirm.js
|
|
21272
21353
|
var accountConfirmRequestSchema = external_exports.object({
|
|
21273
21354
|
token: external_exports.string().min(16).max(4096),
|
|
21274
21355
|
decision: external_exports.enum(["confirm", "deny"])
|
|
@@ -21282,7 +21363,7 @@ var accountConfirmResultSchema = external_exports.object({
|
|
|
21282
21363
|
status: external_exports.enum(["verified", "already_verified", "denied"])
|
|
21283
21364
|
});
|
|
21284
21365
|
|
|
21285
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
21366
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/files.js
|
|
21286
21367
|
var fileSchema = external_exports.object({
|
|
21287
21368
|
id: external_exports.string(),
|
|
21288
21369
|
sha256: external_exports.string(),
|
|
@@ -21307,7 +21388,7 @@ var fileUploadQuerySchema = external_exports.object({
|
|
|
21307
21388
|
name: plainText2(1, 255)
|
|
21308
21389
|
});
|
|
21309
21390
|
|
|
21310
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
21391
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/billing.js
|
|
21311
21392
|
var BILLING_PLANS = ["free", "pro"];
|
|
21312
21393
|
var billingPlanSchema = external_exports.enum(BILLING_PLANS);
|
|
21313
21394
|
var accountRefSchema = external_exports.uuid();
|
|
@@ -21893,7 +21974,7 @@ var voucherRedemptionsSchema = external_exports.object({
|
|
|
21893
21974
|
}))
|
|
21894
21975
|
});
|
|
21895
21976
|
|
|
21896
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
21977
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/schemas/demo-passes.js
|
|
21897
21978
|
var DEMO_PASS_MAX_MINUTES = 10080;
|
|
21898
21979
|
var demoPassSchema = external_exports.object({
|
|
21899
21980
|
id: external_exports.string(),
|
|
@@ -21948,7 +22029,7 @@ var demoPassRedeemedSchema = external_exports.object({
|
|
|
21948
22029
|
expiresAt: external_exports.string()
|
|
21949
22030
|
});
|
|
21950
22031
|
|
|
21951
|
-
// ../../node_modules/.pnpm/@antasphere+contract@0.
|
|
22032
|
+
// ../../node_modules/.pnpm/@antasphere+contract@0.19.1_hono@4.12.27/node_modules/@antasphere/contract/dist/wire.js
|
|
21952
22033
|
var DAY = 24 * 60 * 60 * 1e3;
|
|
21953
22034
|
var MIN = 60 * 1e3;
|
|
21954
22035
|
var ULID = "01J8Z1X2Y3K4M5N6P7Q8R9S0TV";
|
|
@@ -22139,7 +22220,7 @@ var HUB_TOOL_WIRE_INPUTS = {
|
|
|
22139
22220
|
}
|
|
22140
22221
|
};
|
|
22141
22222
|
|
|
22142
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22223
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/entitlements.js
|
|
22143
22224
|
var entitlementTierSchema = billingPlanSchema;
|
|
22144
22225
|
var entitlementActionSchema = external_exports.object({
|
|
22145
22226
|
key: external_exports.string().min(1),
|
|
@@ -22173,7 +22254,7 @@ var entitlementProfileSchema = external_exports.object({
|
|
|
22173
22254
|
upgradeUrl: external_exports.string()
|
|
22174
22255
|
});
|
|
22175
22256
|
|
|
22176
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22257
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/instance.js
|
|
22177
22258
|
var instanceInfoSchema2 = external_exports.object({
|
|
22178
22259
|
name: external_exports.string(),
|
|
22179
22260
|
instanceId: external_exports.string().nullable(),
|
|
@@ -22242,7 +22323,7 @@ var instanceInfoSchema2 = external_exports.object({
|
|
|
22242
22323
|
entitlements: toolEntitlementsSchema.optional()
|
|
22243
22324
|
});
|
|
22244
22325
|
|
|
22245
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22326
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/setup.js
|
|
22246
22327
|
var setupRequestSchema2 = external_exports.object({
|
|
22247
22328
|
instanceName: plainText(1, 120),
|
|
22248
22329
|
owner: external_exports.object({
|
|
@@ -22259,7 +22340,7 @@ var setupResponseSchema2 = external_exports.object({
|
|
|
22259
22340
|
ownerUserId: external_exports.string()
|
|
22260
22341
|
});
|
|
22261
22342
|
|
|
22262
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22343
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/workspaces.js
|
|
22263
22344
|
var lookKey2 = external_exports.string().regex(/^[a-z][a-z0-9-]{0,31}$/, "a short lowercase key").nullable();
|
|
22264
22345
|
var lookLevel2 = external_exports.number().min(0).max(1).nullable();
|
|
22265
22346
|
var workspaceLookSchema2 = external_exports.object({
|
|
@@ -22299,7 +22380,7 @@ var workspaceUpdatedSchema2 = external_exports.object({
|
|
|
22299
22380
|
})
|
|
22300
22381
|
});
|
|
22301
22382
|
|
|
22302
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22383
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/me.js
|
|
22303
22384
|
var onboardingDismissedSchema = external_exports.object({
|
|
22304
22385
|
dismissed: external_exports.literal(true)
|
|
22305
22386
|
});
|
|
@@ -22451,7 +22532,7 @@ function defineMeSchemas(scopeSchema3) {
|
|
|
22451
22532
|
return { meResponseSchema: meResponseSchema3 };
|
|
22452
22533
|
}
|
|
22453
22534
|
|
|
22454
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22535
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/members.js
|
|
22455
22536
|
var memberSchema2 = external_exports.object({
|
|
22456
22537
|
id: external_exports.string(),
|
|
22457
22538
|
userId: external_exports.string(),
|
|
@@ -22485,7 +22566,7 @@ var memberChangeEmailLinkSchema2 = external_exports.object({
|
|
|
22485
22566
|
expiresAt: external_exports.string()
|
|
22486
22567
|
});
|
|
22487
22568
|
|
|
22488
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22569
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/cli-auth.js
|
|
22489
22570
|
var cliAuthRequestSchema2 = external_exports.object({
|
|
22490
22571
|
email: external_exports.email()
|
|
22491
22572
|
});
|
|
@@ -22527,7 +22608,7 @@ function defineCliAuthSchemas(apiKeySchema3) {
|
|
|
22527
22608
|
return { cliAuthCompletedSchema: cliAuthCompletedSchema3 };
|
|
22528
22609
|
}
|
|
22529
22610
|
|
|
22530
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22611
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/sso-connect.js
|
|
22531
22612
|
var ssoCliConnectSchema = external_exports.object({
|
|
22532
22613
|
/** The hub-minted exchange JWT (compact JWS — three base64url segments). */
|
|
22533
22614
|
token: external_exports.string().min(20).max(4096),
|
|
@@ -22542,18 +22623,18 @@ var ssoCliConnectSchema = external_exports.object({
|
|
|
22542
22623
|
hubRefreshToken: external_exports.string().min(20).max(512).optional()
|
|
22543
22624
|
});
|
|
22544
22625
|
|
|
22545
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22626
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/cli-package.js
|
|
22546
22627
|
var cliPackageRequestSchema = external_exports.object({
|
|
22547
22628
|
/** The hub-minted exchange JWT (compact JWS — three base64url segments). */
|
|
22548
22629
|
token: external_exports.string().min(1)
|
|
22549
22630
|
});
|
|
22550
22631
|
|
|
22551
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22632
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/sso-logout.js
|
|
22552
22633
|
var ssoLogoutResponseSchema = external_exports.object({
|
|
22553
22634
|
url: external_exports.string().nullable()
|
|
22554
22635
|
});
|
|
22555
22636
|
|
|
22556
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22637
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/invitations.js
|
|
22557
22638
|
var invitationSchema2 = external_exports.object({
|
|
22558
22639
|
id: external_exports.string(),
|
|
22559
22640
|
email: external_exports.string(),
|
|
@@ -22595,7 +22676,7 @@ var invitationAcceptedSchema2 = external_exports.object({
|
|
|
22595
22676
|
role: workspaceRoleSchema
|
|
22596
22677
|
});
|
|
22597
22678
|
|
|
22598
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22679
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/audit.js
|
|
22599
22680
|
var auditEntrySchema2 = external_exports.object({
|
|
22600
22681
|
id: external_exports.number(),
|
|
22601
22682
|
actorUserId: external_exports.string().nullable(),
|
|
@@ -22640,7 +22721,7 @@ var auditListSchema2 = external_exports.object({
|
|
|
22640
22721
|
total: external_exports.number().int().nullable()
|
|
22641
22722
|
});
|
|
22642
22723
|
|
|
22643
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22724
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/break-glass.js
|
|
22644
22725
|
var breakGlassClaimOwnershipRequestSchema2 = external_exports.object({
|
|
22645
22726
|
userId: external_exports.string().min(1).optional(),
|
|
22646
22727
|
workspaceId: external_exports.uuid().optional()
|
|
@@ -22665,7 +22746,7 @@ var breakGlassResetTwoFactorSchema2 = external_exports.object({
|
|
|
22665
22746
|
hadTwoFactor: external_exports.boolean()
|
|
22666
22747
|
});
|
|
22667
22748
|
|
|
22668
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22749
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/files.js
|
|
22669
22750
|
var fileSchema2 = external_exports.object({
|
|
22670
22751
|
id: external_exports.string(),
|
|
22671
22752
|
sha256: external_exports.string(),
|
|
@@ -22690,7 +22771,7 @@ var fileUploadQuerySchema2 = external_exports.object({
|
|
|
22690
22771
|
name: plainText(1, 255)
|
|
22691
22772
|
});
|
|
22692
22773
|
|
|
22693
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22774
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/projects.js
|
|
22694
22775
|
var projectRoleSchema = external_exports.enum(["manager", "editor", "viewer"]);
|
|
22695
22776
|
var PROJECT_METADATA_MAX_LENGTH = 16 * 1024;
|
|
22696
22777
|
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 +22859,7 @@ var projectMemberParamsSchema = external_exports.object({
|
|
|
22778
22859
|
});
|
|
22779
22860
|
var projectTeamParamsSchema = external_exports.object({ id: external_exports.uuid(), teamId: external_exports.uuid() });
|
|
22780
22861
|
|
|
22781
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22862
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/teams.js
|
|
22782
22863
|
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
22864
|
var teamSchema2 = external_exports.object({
|
|
22784
22865
|
id: external_exports.string(),
|
|
@@ -22832,7 +22913,7 @@ var teamMemberParamsSchema = external_exports.object({
|
|
|
22832
22913
|
userId: noControlChars(external_exports.string().min(1).max(200))
|
|
22833
22914
|
});
|
|
22834
22915
|
|
|
22835
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
22916
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/webhooks.js
|
|
22836
22917
|
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
22918
|
var webhookSubjectKeySchema = external_exports.string().max(40).regex(/^[a-z][a-z0-9_]*$/, "lowercase letters, digits and underscores, starting with a letter");
|
|
22838
22919
|
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 +23025,7 @@ var webhookCatalogSchema = external_exports.object({
|
|
|
22944
23025
|
var webhookParamsSchema = external_exports.object({ id: external_exports.uuid() });
|
|
22945
23026
|
var webhookDeliveryParamsSchema = webhookParamsSchema.extend({ deliveryId: external_exports.uuid() });
|
|
22946
23027
|
|
|
22947
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
23028
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/demo-passes.js
|
|
22948
23029
|
var DEMO_PASS_MAX_MINUTES2 = 10080;
|
|
22949
23030
|
var demoPassSchema2 = external_exports.object({
|
|
22950
23031
|
id: external_exports.string(),
|
|
@@ -22985,7 +23066,37 @@ var demoPassRedeemedSchema2 = external_exports.object({
|
|
|
22985
23066
|
expiresAt: external_exports.string()
|
|
22986
23067
|
});
|
|
22987
23068
|
|
|
22988
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
23069
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/apps.js
|
|
23070
|
+
var appEntrySchema = external_exports.object({
|
|
23071
|
+
/** The tool's registry slug (`finance`, `hiring`, …). */
|
|
23072
|
+
slug: external_exports.string(),
|
|
23073
|
+
/** The tool's display name. */
|
|
23074
|
+
name: external_exports.string(),
|
|
23075
|
+
/** Where opening the tool lands. */
|
|
23076
|
+
launchUrl: external_exports.string(),
|
|
23077
|
+
/** How the tool presents itself (the registry's descriptor, or the file's); absent when neither declares one. */
|
|
23078
|
+
descriptor: toolDescriptorSchema.optional(),
|
|
23079
|
+
/** The person has signed in to the tool (the hub source); false when nothing says so. */
|
|
23080
|
+
connected: external_exports.boolean(),
|
|
23081
|
+
/** When the person first signed in to the tool (the hub source), else null. */
|
|
23082
|
+
firstUsedAt: external_exports.string().nullable(),
|
|
23083
|
+
/** When the person last signed in to the tool (the hub source), else null. */
|
|
23084
|
+
lastUsedAt: external_exports.string().nullable(),
|
|
23085
|
+
/** This very tool: the page shows it, with no button. */
|
|
23086
|
+
current: external_exports.boolean()
|
|
23087
|
+
});
|
|
23088
|
+
var APP_SOURCES = ["hub", "file", "none"];
|
|
23089
|
+
var APP_ORGANIZATION_STATUSES = ["active", "suspended"];
|
|
23090
|
+
var appsListSchema = external_exports.object({
|
|
23091
|
+
apps: external_exports.array(appEntrySchema),
|
|
23092
|
+
/** The account that signs the person in (the hub), when the instance knows one. */
|
|
23093
|
+
hub: external_exports.object({ url: external_exports.string(), name: external_exports.string() }).nullable(),
|
|
23094
|
+
source: external_exports.enum(APP_SOURCES),
|
|
23095
|
+
/** The hub organization the list is for (the hub source); `suspended` empties the list. */
|
|
23096
|
+
organization: external_exports.object({ name: external_exports.string(), status: external_exports.enum(APP_ORGANIZATION_STATUSES) }).optional()
|
|
23097
|
+
});
|
|
23098
|
+
|
|
23099
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/schemas/api-keys.js
|
|
22989
23100
|
function defineApiKeySchemas(scopeSchema3) {
|
|
22990
23101
|
const apiKeySchema3 = external_exports.object({
|
|
22991
23102
|
id: external_exports.string(),
|
|
@@ -23030,7 +23141,7 @@ function defineApiKeySchemas(scopeSchema3) {
|
|
|
23030
23141
|
return { apiKeySchema: apiKeySchema3, apiKeysListSchema: apiKeysListSchema3, apiKeyCreateSchema: apiKeyCreateSchema3, apiKeyCreatedSchema: apiKeyCreatedSchema3 };
|
|
23031
23142
|
}
|
|
23032
23143
|
|
|
23033
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.
|
|
23144
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-contract@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-contract/dist/define.js
|
|
23034
23145
|
function defineChassisContract(tool) {
|
|
23035
23146
|
return buildChassisContract(defineScopeSchema(tool.scopes));
|
|
23036
23147
|
}
|
|
@@ -23044,7 +23155,7 @@ function buildChassisContract(scopeSchema3) {
|
|
|
23044
23155
|
};
|
|
23045
23156
|
}
|
|
23046
23157
|
|
|
23047
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
23158
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/owner-session.js
|
|
23048
23159
|
var SIGN_IN_WAITS_MS = [4e3, 8e3, 12e3];
|
|
23049
23160
|
var SESSION_COOKIE = /session_token$/;
|
|
23050
23161
|
function sessionCookie(res) {
|
|
@@ -23125,7 +23236,7 @@ async function withOwnerSession(ctx, options, run2) {
|
|
|
23125
23236
|
}
|
|
23126
23237
|
}
|
|
23127
23238
|
|
|
23128
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
23239
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/demo.js
|
|
23129
23240
|
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
23241
|
var NOT_AN_OWNER = "Only an owner of this workspace manages demo links: the account that signed in is not one.";
|
|
23131
23242
|
var REFUSALS = /* @__PURE__ */ new Set([
|
|
@@ -23279,14 +23390,14 @@ function registerDemoCommands(kit, program2, io) {
|
|
|
23279
23390
|
});
|
|
23280
23391
|
}
|
|
23281
23392
|
|
|
23282
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
23393
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/files.js
|
|
23283
23394
|
import { createWriteStream } from "node:fs";
|
|
23284
23395
|
import { mkdir as mkdir2, readFile, writeFile } from "node:fs/promises";
|
|
23285
23396
|
import { basename, resolve as resolve2, win32 } from "node:path";
|
|
23286
23397
|
import { Readable } from "node:stream";
|
|
23287
23398
|
import { pipeline as pipeline2 } from "node:stream/promises";
|
|
23288
23399
|
|
|
23289
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
23400
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/safe-write.js
|
|
23290
23401
|
import { constants as FS } from "node:fs";
|
|
23291
23402
|
import { mkdir, open, realpath, unlink } from "node:fs/promises";
|
|
23292
23403
|
import { dirname as dirname2, isAbsolute, relative, resolve } from "node:path";
|
|
@@ -23367,7 +23478,7 @@ async function streamContained(root, relPath, source) {
|
|
|
23367
23478
|
}
|
|
23368
23479
|
}
|
|
23369
23480
|
|
|
23370
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
23481
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/files.js
|
|
23371
23482
|
function safeDownloadName(originalName) {
|
|
23372
23483
|
const name = basename(win32.basename(originalName));
|
|
23373
23484
|
if (name === "" || name === "." || name === ".." || name.startsWith(".")) {
|
|
@@ -23494,7 +23605,7 @@ function registerFileCommands(kit, program2, io) {
|
|
|
23494
23605
|
});
|
|
23495
23606
|
}
|
|
23496
23607
|
|
|
23497
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
23608
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/commands/completion.js
|
|
23498
23609
|
function commandTree(program2) {
|
|
23499
23610
|
return program2.commands.filter((c) => !c.name().startsWith("help")).map((c) => ({
|
|
23500
23611
|
name: c.name(),
|
|
@@ -23569,7 +23680,7 @@ function registerCompletionCommand(identity, program2, io) {
|
|
|
23569
23680
|
});
|
|
23570
23681
|
}
|
|
23571
23682
|
|
|
23572
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
23683
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/program.js
|
|
23573
23684
|
function creditFigures(credit) {
|
|
23574
23685
|
const parts = [
|
|
23575
23686
|
typeof credit?.credits === "number" ? `this needs ${credit.credits} credits` : null,
|
|
@@ -23652,7 +23763,7 @@ function createProgram(kit, definition) {
|
|
|
23652
23763
|
return { buildProgram, run: run2 };
|
|
23653
23764
|
}
|
|
23654
23765
|
|
|
23655
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
23766
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/open.js
|
|
23656
23767
|
import { spawn } from "node:child_process";
|
|
23657
23768
|
function platformOpener(platform = process.platform) {
|
|
23658
23769
|
if (platform === "darwin")
|
|
@@ -23678,7 +23789,7 @@ function isInteractive(io) {
|
|
|
23678
23789
|
return io.out.isTTY === true;
|
|
23679
23790
|
}
|
|
23680
23791
|
|
|
23681
|
-
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.
|
|
23792
|
+
// ../../node_modules/.pnpm/@antasphere+chassis-cli@1.5.1_hono@4.12.27/node_modules/@antasphere/chassis-cli/dist/index.js
|
|
23682
23793
|
function defineCli(definition) {
|
|
23683
23794
|
const { identity, createClient } = definition;
|
|
23684
23795
|
const config2 = createConfig(identity);
|
|
@@ -24427,33 +24538,6 @@ var formResponsesSummarySchema = external_exports.object({
|
|
|
24427
24538
|
total: external_exports.number().int()
|
|
24428
24539
|
});
|
|
24429
24540
|
|
|
24430
|
-
// ../contract/dist/schemas/apps.js
|
|
24431
|
-
var appEntrySchema = external_exports.object({
|
|
24432
|
-
/** The tool's registry slug (`finance`, `hiring`, …): what picks its drawing and its sentence. */
|
|
24433
|
-
slug: external_exports.string(),
|
|
24434
|
-
/** The tool's display name. */
|
|
24435
|
-
name: external_exports.string(),
|
|
24436
|
-
/** Where opening the tool lands. */
|
|
24437
|
-
launchUrl: external_exports.string(),
|
|
24438
|
-
/** The operator's own sentence for the tool (the file source), else null. */
|
|
24439
|
-
description: external_exports.string().nullable(),
|
|
24440
|
-
/** The person has signed in to the tool (the hub source); false when nothing says so. */
|
|
24441
|
-
connected: external_exports.boolean(),
|
|
24442
|
-
/** When the person first signed in to the tool (the hub source), else null. */
|
|
24443
|
-
firstUsedAt: external_exports.string().nullable(),
|
|
24444
|
-
/** When the person last signed in to the tool (the hub source), else null. */
|
|
24445
|
-
lastUsedAt: external_exports.string().nullable(),
|
|
24446
|
-
/** This very tool: the page shows it, with no button. */
|
|
24447
|
-
current: external_exports.boolean()
|
|
24448
|
-
});
|
|
24449
|
-
var APP_SOURCES = ["hub", "file", "none"];
|
|
24450
|
-
var appsListSchema = external_exports.object({
|
|
24451
|
-
apps: external_exports.array(appEntrySchema),
|
|
24452
|
-
/** The account that signs the person in (the hub), when the instance knows one. */
|
|
24453
|
-
hub: external_exports.object({ url: external_exports.string(), name: external_exports.string() }).nullable(),
|
|
24454
|
-
source: external_exports.enum(APP_SOURCES)
|
|
24455
|
-
});
|
|
24456
|
-
|
|
24457
24541
|
// ../contract/dist/schemas/webhooks.js
|
|
24458
24542
|
var id = external_exports.string();
|
|
24459
24543
|
var isoDate = external_exports.string();
|
|
@@ -25119,13 +25203,6 @@ var PlatformClient = class extends ChassisClient {
|
|
|
25119
25203
|
deleteFormResponse(id2, responseId) {
|
|
25120
25204
|
return this.request("DELETE", `/presentations/${encodeURIComponent(id2)}/responses/${encodeURIComponent(responseId)}`);
|
|
25121
25205
|
}
|
|
25122
|
-
// ── Apps ──────────────────────────────────────────────────────────────────
|
|
25123
|
-
// The other tools of the organization: a browser session's alone (an API key
|
|
25124
|
-
// or an OAuth token is refused 403). `me()` is the chassis client's.
|
|
25125
|
-
/** The tools the caller may open, the account that signs them in, and where the list came from. */
|
|
25126
|
-
apps() {
|
|
25127
|
-
return this.request("GET", "/apps");
|
|
25128
|
-
}
|
|
25129
25206
|
};
|
|
25130
25207
|
|
|
25131
25208
|
// src/cli.ts
|
|
@@ -28226,7 +28303,7 @@ async function zipMode(ctx, io, id2, responseId, filters, zip) {
|
|
|
28226
28303
|
}
|
|
28227
28304
|
|
|
28228
28305
|
// src/index.ts
|
|
28229
|
-
var VERSION = "0.13.
|
|
28306
|
+
var VERSION = "0.13.11";
|
|
28230
28307
|
function registerTool(program2, io) {
|
|
28231
28308
|
registerDeckCommands(program2, io);
|
|
28232
28309
|
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.11",
|
|
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.5.1",
|
|
40
|
+
"@antasphere/chassis-contract": "1.5.1",
|
|
41
|
+
"@antasphere/chassis-sdk": "1.5.1",
|
|
42
42
|
"@antasphere/cli-core": "^0.5.0",
|
|
43
43
|
"@slideless/contract": "workspace:*",
|
|
44
44
|
"@slideless/sdk": "workspace:*",
|