@lazehq/cli 0.1.106 → 0.1.108
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/laze.mjs +417 -91
- package/package.json +1 -1
package/dist/laze.mjs
CHANGED
|
@@ -36960,7 +36960,7 @@ function shadowedLinkLineOf({ shadow }) {
|
|
|
36960
36960
|
}
|
|
36961
36961
|
|
|
36962
36962
|
// src/rules/cli-version.rules.ts
|
|
36963
|
-
var STAMPED = "0.1.
|
|
36963
|
+
var STAMPED = "0.1.108";
|
|
36964
36964
|
function cliVersionOf({ stamped = STAMPED } = {}) {
|
|
36965
36965
|
return stamped.startsWith("__") ? "dev" : stamped;
|
|
36966
36966
|
}
|
|
@@ -59352,6 +59352,7 @@ var FEATURE_NAMES = [
|
|
|
59352
59352
|
"feature-flag",
|
|
59353
59353
|
"feed",
|
|
59354
59354
|
"files",
|
|
59355
|
+
"interaction",
|
|
59355
59356
|
"langwatch",
|
|
59356
59357
|
"marketing",
|
|
59357
59358
|
"memory",
|
|
@@ -60207,6 +60208,7 @@ var VaultDeviceApprovalSlot = vaultUi.component("deviceApproval");
|
|
|
60207
60208
|
var VaultMachineKeyApprovalSlot = vaultUi.component("machineKeyApproval");
|
|
60208
60209
|
var VaultPasskeyStepSlot = vaultUi.component("passkeyStep");
|
|
60209
60210
|
var VaultPasskeyConfirmSlot = vaultUi.component("passkeyConfirm");
|
|
60211
|
+
var VaultPasskeyNudgeSlot = vaultUi.component("passkeyNudge");
|
|
60210
60212
|
var VaultNavSlot = vaultUi.component("nav");
|
|
60211
60213
|
var answerSealedApprovalInputSchemaDefinition = external_exports.object({
|
|
60212
60214
|
workspaceId: external_exports.string().min(1),
|
|
@@ -62997,6 +62999,20 @@ var attentionCardSchemaDefinition = external_exports.object({
|
|
|
62997
62999
|
expiresAt: external_exports.iso.datetime()
|
|
62998
63000
|
});
|
|
62999
63001
|
var connectCardStateSchema = external_exports.enum(["pending", "connected", "declined", "expired"]);
|
|
63002
|
+
var connectConfidenceSchema = external_exports.enum([
|
|
63003
|
+
"verified",
|
|
63004
|
+
"registry",
|
|
63005
|
+
"vendor_domain",
|
|
63006
|
+
"community",
|
|
63007
|
+
"unlisted"
|
|
63008
|
+
]);
|
|
63009
|
+
var connectServerFields = {
|
|
63010
|
+
/** The server's host, `mcp.reo.dev`, so the person sees where the key or sign-in goes. */
|
|
63011
|
+
serverHost: external_exports.string().max(255).optional(),
|
|
63012
|
+
confidence: connectConfidenceSchema.optional(),
|
|
63013
|
+
/** Markdown from the agent or the catalogue: where the key is, what to turn on first. */
|
|
63014
|
+
instructions: external_exports.string().max(2e3).optional()
|
|
63015
|
+
};
|
|
63000
63016
|
var connectCardSchemaDefinition = external_exports.object({
|
|
63001
63017
|
type: external_exports.literal("connect"),
|
|
63002
63018
|
cardId: idSchema4,
|
|
@@ -63030,7 +63046,15 @@ var connectCardSchemaDefinition = external_exports.object({
|
|
|
63030
63046
|
appName: external_exports.string().max(100).optional(),
|
|
63031
63047
|
/** A non-owner asked for the install, which an owner has yet to approve on GitHub. */
|
|
63032
63048
|
requested: external_exports.boolean().optional()
|
|
63033
|
-
}).optional()
|
|
63049
|
+
}).optional(),
|
|
63050
|
+
...connectServerFields
|
|
63051
|
+
});
|
|
63052
|
+
var inputCardSchemaDefinition = external_exports.object({
|
|
63053
|
+
...connectCardSchemaDefinition.shape,
|
|
63054
|
+
type: external_exports.literal("input"),
|
|
63055
|
+
mode: external_exports.literal("key"),
|
|
63056
|
+
/** The one line an older client shows in place of the card. */
|
|
63057
|
+
line: external_exports.string().max(300)
|
|
63034
63058
|
});
|
|
63035
63059
|
var appCardStateSchema = external_exports.enum(["offline", "live", "public", "deleted"]);
|
|
63036
63060
|
var appCardSchemaDefinition = external_exports.object({
|
|
@@ -63216,6 +63240,7 @@ var welcomeCardSchemaDefinition = external_exports.object({
|
|
|
63216
63240
|
var messageCardSchemaDefinition = external_exports.discriminatedUnion("type", [
|
|
63217
63241
|
attentionCardSchemaDefinition,
|
|
63218
63242
|
connectCardSchemaDefinition,
|
|
63243
|
+
inputCardSchemaDefinition,
|
|
63219
63244
|
appCardSchemaDefinition,
|
|
63220
63245
|
computerCardSchemaDefinition,
|
|
63221
63246
|
muteCardSchemaDefinition,
|
|
@@ -64060,6 +64085,12 @@ var signalAppPinsChangedInputSchemaDefinition = external_exports.object({
|
|
|
64060
64085
|
workspaceId: workspaceIdSchema,
|
|
64061
64086
|
channelId: idSchema4
|
|
64062
64087
|
});
|
|
64088
|
+
var signalMessageActionsChangedInputSchemaDefinition = external_exports.object({
|
|
64089
|
+
workspaceId: workspaceIdSchema,
|
|
64090
|
+
channelId: idSchema4,
|
|
64091
|
+
messageId: idSchema4,
|
|
64092
|
+
to: external_exports.enum(["self", "members"])
|
|
64093
|
+
});
|
|
64063
64094
|
var signalTypingInputSchemaDefinition = external_exports.object({
|
|
64064
64095
|
workspaceId: workspaceIdSchema,
|
|
64065
64096
|
channelId: idSchema4,
|
|
@@ -64099,7 +64130,9 @@ var searchInputSchemaDefinition = external_exports.object({
|
|
|
64099
64130
|
workspaceId: workspaceIdSchema,
|
|
64100
64131
|
/** Words, "exact phrases" and modifiers: from: in: has: before: after: during: is:thread. */
|
|
64101
64132
|
query: external_exports.string().trim().min(1).max(300),
|
|
64102
|
-
limit: external_exports.number().int().min(1).max(50).default(20)
|
|
64133
|
+
limit: external_exports.number().int().min(1).max(50).default(20),
|
|
64134
|
+
/** Newest first (the default), or the best matches among the newest 200 first. */
|
|
64135
|
+
sort: external_exports.enum(["recent", "relevance"]).optional()
|
|
64103
64136
|
});
|
|
64104
64137
|
var searchInputSchema = searchInputSchemaDefinition;
|
|
64105
64138
|
var startUploadInputSchemaDefinition = external_exports.object({
|
|
@@ -65657,6 +65690,13 @@ var realtimePublicationSchemaDefinition = external_exports.discriminatedUnion("t
|
|
|
65657
65690
|
workspaceId: external_exports.string(),
|
|
65658
65691
|
channelId: external_exports.string()
|
|
65659
65692
|
}),
|
|
65693
|
+
/** A message's presses or an app's answer to one changed: the reader reads its buttons again. */
|
|
65694
|
+
external_exports.object({
|
|
65695
|
+
type: external_exports.literal("message_actions_changed"),
|
|
65696
|
+
workspaceId: external_exports.string(),
|
|
65697
|
+
channelId: external_exports.string(),
|
|
65698
|
+
messageId: external_exports.string()
|
|
65699
|
+
}),
|
|
65660
65700
|
external_exports.object({ type: external_exports.literal("activity_added"), workspaceId: external_exports.string() }),
|
|
65661
65701
|
/** The workspace's custom emoji or who may add them changed: read the list again. */
|
|
65662
65702
|
external_exports.object({ type: external_exports.literal("custom_emoji_changed"), workspaceId: external_exports.string() }),
|
|
@@ -67782,8 +67822,18 @@ function namingFirstTextOf({ channelIds }) {
|
|
|
67782
67822
|
|
|
67783
67823
|
// ../../modules/connector/contract/src/connector-cards.ts
|
|
67784
67824
|
var suggestConnectInputSchemaDefinition = external_exports.object({
|
|
67785
|
-
/** The service by name
|
|
67786
|
-
service: external_exports.string().trim().min(1).max(
|
|
67825
|
+
/** The service by name (`gmail`, `reo`), its domain (`reo.dev`) or its MCP URL. */
|
|
67826
|
+
service: external_exports.string().trim().min(1).max(500),
|
|
67827
|
+
/** The name people know a server by, for one Laze has no card for: `Reo.dev`. */
|
|
67828
|
+
label: external_exports.string().trim().min(1).max(120).optional(),
|
|
67829
|
+
/** Markdown the person reads before signing in or pasting a key: where it is, what to turn on. */
|
|
67830
|
+
instructions: external_exports.string().trim().min(1).max(2e3).optional(),
|
|
67831
|
+
/** How a new server signs in, when the agent knows; Laze probes the server otherwise. */
|
|
67832
|
+
auth: external_exports.enum(["oauth", "key", "none"]).optional(),
|
|
67833
|
+
/** The header a key goes in, when it is not `Authorization`. */
|
|
67834
|
+
header: external_exports.string().trim().regex(/^[A-Za-z0-9-]{1,64}$/).optional(),
|
|
67835
|
+
/** What goes before the key in that header: `Bearer ` for `Authorization`, none otherwise. */
|
|
67836
|
+
prefix: external_exports.string().max(40).optional(),
|
|
67787
67837
|
/** One plain sentence the person reads on the card. */
|
|
67788
67838
|
reason: external_exports.string().trim().min(1).max(300),
|
|
67789
67839
|
/** `workspace` asks an admin to connect it into the workspace keychain, from their feed. */
|
|
@@ -67841,6 +67891,11 @@ var startedCardConnectSchemaDefinition = external_exports.discriminatedUnion("ou
|
|
|
67841
67891
|
external_exports.object({ outcome: external_exports.literal("expired"), connectorsPath: external_exports.string() })
|
|
67842
67892
|
]);
|
|
67843
67893
|
var startedCardConnectSchema = startedCardConnectSchemaDefinition;
|
|
67894
|
+
var declineCardInputSchemaDefinition = external_exports.object({
|
|
67895
|
+
workspaceId: external_exports.string().min(1),
|
|
67896
|
+
cardId: external_exports.string().min(1).max(64)
|
|
67897
|
+
});
|
|
67898
|
+
var declineCardInputSchema = declineCardInputSchemaDefinition;
|
|
67844
67899
|
var prepareCardInstallInputSchemaDefinition = external_exports.object({
|
|
67845
67900
|
workspaceId: external_exports.string().min(1),
|
|
67846
67901
|
cardId: external_exports.string().min(1).max(64)
|
|
@@ -68177,6 +68232,7 @@ var addedMcpServerSchemaDefinition = external_exports.discriminatedUnion("outcom
|
|
|
68177
68232
|
external_exports.object({ outcome: external_exports.literal("authorize"), authorizeUrl: external_exports.url() })
|
|
68178
68233
|
]);
|
|
68179
68234
|
var addedMcpServerSchema = addedMcpServerSchemaDefinition;
|
|
68235
|
+
var mcpListingSourceSchema = external_exports.enum(["curated", "registry", "glama", "well_known"]);
|
|
68180
68236
|
var mcpRegistryServerSchemaDefinition = external_exports.object({
|
|
68181
68237
|
name: external_exports.string(),
|
|
68182
68238
|
title: external_exports.string(),
|
|
@@ -68192,7 +68248,20 @@ var mcpRegistryServerSchemaDefinition = external_exports.object({
|
|
|
68192
68248
|
/** Where a person gets the key, for a server that takes one. */
|
|
68193
68249
|
keyHint: external_exports.string().nullable(),
|
|
68194
68250
|
websiteUrl: external_exports.string().nullable(),
|
|
68195
|
-
featured: external_exports.boolean()
|
|
68251
|
+
featured: external_exports.boolean(),
|
|
68252
|
+
/** A Laze logo route path (`/api/connectors/logo?...`), never a third-party address. */
|
|
68253
|
+
iconUrl: external_exports.string().nullable().optional(),
|
|
68254
|
+
/** What kind of work it is for, on curated servers: "Sales and marketing". */
|
|
68255
|
+
category: external_exports.string().nullable().optional(),
|
|
68256
|
+
/** Who runs the server: the domain its address is on, or the vendor for curated ones. */
|
|
68257
|
+
operator: external_exports.string().nullable().optional(),
|
|
68258
|
+
/** How sure Laze is of who runs it (ADR 20261014-connector-shape, discovery sources). */
|
|
68259
|
+
confidence: connectConfidenceSchema.optional(),
|
|
68260
|
+
source: mcpListingSourceSchema.optional(),
|
|
68261
|
+
/** The listing's page on the index it came from; Glama's licence asks for this link. */
|
|
68262
|
+
listingUrl: external_exports.string().nullable().optional(),
|
|
68263
|
+
/** What to do before connecting, in markdown; curated servers only. */
|
|
68264
|
+
setupNote: external_exports.string().nullable().optional()
|
|
68196
68265
|
});
|
|
68197
68266
|
var mcpRegistryServerSchema = mcpRegistryServerSchemaDefinition;
|
|
68198
68267
|
var mcpRegistryPageSchemaDefinition = external_exports.object({
|
|
@@ -68252,7 +68321,7 @@ var connectorTrpc = defineTrpcContract("connector").query("listProviders").withI
|
|
|
68252
68321
|
search: external_exports.string().trim().max(100).optional(),
|
|
68253
68322
|
cursor: external_exports.string().max(300).optional()
|
|
68254
68323
|
})
|
|
68255
|
-
).withOutput(mcpRegistryPageSchema).query("getGithubApp").withInput(workspaceInput2).withOutput(githubAppViewSchema).mutation("startGithubInstall").withInput(startGithubInstallInputSchema).withOutput(startedGithubInstallSchema).mutation("startCardConnect").withInput(startCardConnectInputSchema).withOutput(startedCardConnectSchema).mutation("prepareCardInstall").withInput(prepareCardInstallInputSchema).withOutput(preparedCardInstallSchema).build();
|
|
68324
|
+
).withOutput(mcpRegistryPageSchema).query("getGithubApp").withInput(workspaceInput2).withOutput(githubAppViewSchema).mutation("startGithubInstall").withInput(startGithubInstallInputSchema).withOutput(startedGithubInstallSchema).mutation("startCardConnect").withInput(startCardConnectInputSchema).withOutput(startedCardConnectSchema).mutation("declineCard").withInput(declineCardInputSchema).withOutput(external_exports.object({ ok: external_exports.literal(true) })).mutation("prepareCardInstall").withInput(prepareCardInstallInputSchema).withOutput(preparedCardInstallSchema).build();
|
|
68256
68325
|
var connectorUi = uiTokens("connector");
|
|
68257
68326
|
var ConnectorNavSlot = connectorUi.component("nav");
|
|
68258
68327
|
var ConnectorOpenclawConnectSlot = connectorUi.component("openclawConnect");
|
|
@@ -68280,47 +68349,72 @@ var connectorConfig = Config.define((c) => ({
|
|
|
68280
68349
|
registryUrl: c.env(
|
|
68281
68350
|
"CONNECTOR_MCP_REGISTRY_URL",
|
|
68282
68351
|
external_exports.string().default("https://registry.modelcontextprotocol.io")
|
|
68283
|
-
)
|
|
68352
|
+
),
|
|
68353
|
+
/** Glama's MCP API; read only when the deployment holds LAZE_GLAMA_API_KEY. */
|
|
68354
|
+
glamaUrl: c.env("CONNECTOR_GLAMA_URL", external_exports.string().default("https://glama.ai/api/mcp"))
|
|
68284
68355
|
}));
|
|
68285
68356
|
|
|
68357
|
+
// ../../modules/connector/contract/src/connector-logo.ts
|
|
68358
|
+
var CONNECTOR_LOGO_PATH = "/api/connectors/logo";
|
|
68359
|
+
var connectorLogoQuerySchemaDefinition = external_exports.object({
|
|
68360
|
+
server: external_exports.string().min(1).max(200).optional(),
|
|
68361
|
+
/** The sources in order, as base64url JSON. */
|
|
68362
|
+
u: external_exports.string().min(1).max(4e3).optional(),
|
|
68363
|
+
sig: external_exports.string().min(1).max(100).optional()
|
|
68364
|
+
});
|
|
68365
|
+
function connectorLogoPathOf(serverName) {
|
|
68366
|
+
return `${CONNECTOR_LOGO_PATH}?server=${encodeURIComponent(serverName)}`;
|
|
68367
|
+
}
|
|
68368
|
+
|
|
68286
68369
|
// ../../modules/connector/contract/src/connector-featured.ts
|
|
68287
|
-
function
|
|
68370
|
+
function operatorOf(remoteUrl) {
|
|
68371
|
+
return new URL(remoteUrl).hostname.split(".").slice(-2).join(".");
|
|
68372
|
+
}
|
|
68373
|
+
function curated(server) {
|
|
68288
68374
|
return {
|
|
68289
68375
|
version: "featured",
|
|
68290
|
-
auth: "oauth",
|
|
68291
|
-
header: null,
|
|
68292
|
-
prefix: null,
|
|
68293
|
-
keyHint: null,
|
|
68294
68376
|
websiteUrl: null,
|
|
68295
68377
|
featured: true,
|
|
68378
|
+
iconUrl: connectorLogoPathOf(server.name),
|
|
68379
|
+
operator: operatorOf(server.remoteUrl),
|
|
68380
|
+
confidence: "verified",
|
|
68381
|
+
source: "curated",
|
|
68382
|
+
listingUrl: null,
|
|
68383
|
+
setupNote: null,
|
|
68296
68384
|
...server
|
|
68297
68385
|
};
|
|
68298
68386
|
}
|
|
68387
|
+
function oauth(server) {
|
|
68388
|
+
return { auth: "oauth", header: null, prefix: null, keyHint: null, ...curated(server) };
|
|
68389
|
+
}
|
|
68299
68390
|
function bearerKey(server) {
|
|
68300
68391
|
return {
|
|
68301
|
-
version: "featured",
|
|
68302
68392
|
auth: "header",
|
|
68303
68393
|
header: "Authorization",
|
|
68304
68394
|
prefix: "Bearer ",
|
|
68305
|
-
|
|
68306
|
-
|
|
68307
|
-
...server
|
|
68395
|
+
keyHint: server.keyHint,
|
|
68396
|
+
...curated(server)
|
|
68308
68397
|
};
|
|
68309
68398
|
}
|
|
68399
|
+
function noSignIn(server) {
|
|
68400
|
+
return { auth: "none", header: null, prefix: null, keyHint: null, ...curated(server) };
|
|
68401
|
+
}
|
|
68310
68402
|
var CONNECTOR_FEATURED_MCP_SERVERS = [
|
|
68311
68403
|
oauth({
|
|
68312
68404
|
name: "com.notion/mcp",
|
|
68313
68405
|
title: "Notion",
|
|
68314
68406
|
description: "Search, read and write Notion pages and databases.",
|
|
68315
68407
|
remoteUrl: "https://mcp.notion.com/mcp",
|
|
68316
|
-
websiteUrl: "https://developers.notion.com/docs/mcp"
|
|
68408
|
+
websiteUrl: "https://developers.notion.com/docs/mcp",
|
|
68409
|
+
category: "Files and knowledge"
|
|
68317
68410
|
}),
|
|
68318
68411
|
oauth({
|
|
68319
68412
|
name: "app.linear/linear",
|
|
68320
68413
|
title: "Linear",
|
|
68321
68414
|
description: "Issues, projects and comments in Linear.",
|
|
68322
68415
|
remoteUrl: "https://mcp.linear.app/mcp",
|
|
68323
|
-
websiteUrl: "https://linear.app/docs/mcp"
|
|
68416
|
+
websiteUrl: "https://linear.app/docs/mcp",
|
|
68417
|
+
category: "Projects and code"
|
|
68324
68418
|
}),
|
|
68325
68419
|
bearerKey({
|
|
68326
68420
|
name: "io.github.github/github-mcp-server",
|
|
@@ -68328,143 +68422,168 @@ var CONNECTOR_FEATURED_MCP_SERVERS = [
|
|
|
68328
68422
|
description: "GitHub's own MCP server: repositories, issues and pull requests, with a token.",
|
|
68329
68423
|
remoteUrl: "https://api.githubcopilot.com/mcp/",
|
|
68330
68424
|
keyHint: "A fine-grained personal access token from github.com/settings/tokens",
|
|
68331
|
-
websiteUrl: "https://github.com/github/github-mcp-server"
|
|
68425
|
+
websiteUrl: "https://github.com/github/github-mcp-server",
|
|
68426
|
+
category: "Projects and code"
|
|
68332
68427
|
}),
|
|
68333
68428
|
oauth({
|
|
68334
68429
|
name: "com.gitlab/mcp",
|
|
68335
68430
|
title: "GitLab",
|
|
68336
68431
|
description: "Projects, issues and merge requests on gitlab.com.",
|
|
68337
|
-
remoteUrl: "https://gitlab.com/api/v4/mcp"
|
|
68432
|
+
remoteUrl: "https://gitlab.com/api/v4/mcp",
|
|
68433
|
+
category: "Projects and code"
|
|
68338
68434
|
}),
|
|
68339
68435
|
oauth({
|
|
68340
68436
|
name: "com.atlassian/atlassian-mcp-server",
|
|
68341
68437
|
title: "Atlassian",
|
|
68342
68438
|
description: "Jira issues and Confluence pages.",
|
|
68343
|
-
remoteUrl: "https://mcp.atlassian.com/v1/mcp"
|
|
68439
|
+
remoteUrl: "https://mcp.atlassian.com/v1/mcp",
|
|
68440
|
+
category: "Projects and code"
|
|
68344
68441
|
}),
|
|
68345
68442
|
oauth({
|
|
68346
68443
|
name: "io.github.getsentry/sentry-mcp",
|
|
68347
68444
|
title: "Sentry",
|
|
68348
68445
|
description: "Errors, issues and releases from Sentry.",
|
|
68349
|
-
remoteUrl: "https://mcp.sentry.dev/mcp"
|
|
68446
|
+
remoteUrl: "https://mcp.sentry.dev/mcp",
|
|
68447
|
+
category: "Projects and code"
|
|
68350
68448
|
}),
|
|
68351
68449
|
oauth({
|
|
68352
68450
|
name: "com.attio/mcp",
|
|
68353
68451
|
title: "Attio",
|
|
68354
68452
|
description: "Companies, people, deals and notes in your Attio CRM.",
|
|
68355
|
-
remoteUrl: "https://mcp.attio.com/mcp"
|
|
68453
|
+
remoteUrl: "https://mcp.attio.com/mcp",
|
|
68454
|
+
category: "Sales and marketing"
|
|
68356
68455
|
}),
|
|
68357
68456
|
oauth({
|
|
68358
68457
|
name: "ai.granola/mcp",
|
|
68359
68458
|
title: "Granola",
|
|
68360
68459
|
description: "Your meeting notes and transcripts.",
|
|
68361
|
-
remoteUrl: "https://mcp.granola.ai/mcp"
|
|
68460
|
+
remoteUrl: "https://mcp.granola.ai/mcp",
|
|
68461
|
+
category: "Files and knowledge"
|
|
68362
68462
|
}),
|
|
68363
68463
|
oauth({
|
|
68364
68464
|
name: "com.heygen/mcp",
|
|
68365
68465
|
title: "HeyGen",
|
|
68366
68466
|
description: "Make avatar videos and read your HeyGen library.",
|
|
68367
|
-
remoteUrl: "https://mcp.heygen.com/mcp/v1/"
|
|
68467
|
+
remoteUrl: "https://mcp.heygen.com/mcp/v1/",
|
|
68468
|
+
category: "Media and AI"
|
|
68368
68469
|
}),
|
|
68369
68470
|
bearerKey({
|
|
68370
68471
|
name: "com.ahrefs/mcp",
|
|
68371
68472
|
title: "Ahrefs",
|
|
68372
68473
|
description: "SEO data: keywords, backlinks, rankings and site audits.",
|
|
68373
68474
|
remoteUrl: "https://api.ahrefs.com/mcp/mcp",
|
|
68374
|
-
keyHint: "An MCP key from Ahrefs, under Account settings, API keys"
|
|
68475
|
+
keyHint: "An MCP key from Ahrefs, under Account settings, API keys",
|
|
68476
|
+
category: "Sales and marketing"
|
|
68375
68477
|
}),
|
|
68376
68478
|
bearerKey({
|
|
68377
68479
|
name: "io.github.firecrawl/firecrawl-mcp-server",
|
|
68378
68480
|
title: "Firecrawl",
|
|
68379
68481
|
description: "Scrape, crawl and search the web into clean markdown.",
|
|
68380
68482
|
remoteUrl: "https://mcp.firecrawl.dev/v2/mcp",
|
|
68381
|
-
keyHint: "An API key from firecrawl.dev/app/api-keys"
|
|
68483
|
+
keyHint: "An API key from firecrawl.dev/app/api-keys",
|
|
68484
|
+
category: "Data and analytics"
|
|
68382
68485
|
}),
|
|
68383
68486
|
oauth({
|
|
68384
68487
|
name: "com.stripe/mcp",
|
|
68385
68488
|
title: "Stripe",
|
|
68386
68489
|
description: "Customers, payments, subscriptions and invoices.",
|
|
68387
|
-
remoteUrl: "https://mcp.stripe.com"
|
|
68490
|
+
remoteUrl: "https://mcp.stripe.com",
|
|
68491
|
+
category: "Payments and finance"
|
|
68388
68492
|
}),
|
|
68389
68493
|
oauth({
|
|
68390
68494
|
name: "io.github.PostHog/mcp",
|
|
68391
68495
|
title: "PostHog",
|
|
68392
68496
|
description: "Product analytics, feature flags and experiments.",
|
|
68393
|
-
remoteUrl: "https://mcp.posthog.com/mcp"
|
|
68497
|
+
remoteUrl: "https://mcp.posthog.com/mcp",
|
|
68498
|
+
category: "Data and analytics"
|
|
68394
68499
|
}),
|
|
68395
68500
|
oauth({
|
|
68396
68501
|
name: "com.cloudflare.mcp/bindings",
|
|
68397
68502
|
title: "Cloudflare",
|
|
68398
68503
|
description: "Workers, KV, R2 and D1 on your Cloudflare account.",
|
|
68399
|
-
remoteUrl: "https://bindings.mcp.cloudflare.com/mcp"
|
|
68504
|
+
remoteUrl: "https://bindings.mcp.cloudflare.com/mcp",
|
|
68505
|
+
category: "Projects and code"
|
|
68400
68506
|
}),
|
|
68401
68507
|
oauth({
|
|
68402
68508
|
name: "io.customer/mcp",
|
|
68403
68509
|
title: "Customer.io",
|
|
68404
68510
|
description: "Customers, segments, campaigns and messages.",
|
|
68405
|
-
remoteUrl: "https://mcp.customer.io/mcp"
|
|
68511
|
+
remoteUrl: "https://mcp.customer.io/mcp",
|
|
68512
|
+
category: "Sales and marketing"
|
|
68406
68513
|
}),
|
|
68407
68514
|
oauth({
|
|
68408
68515
|
name: "com.resend/mcp",
|
|
68409
68516
|
title: "Resend",
|
|
68410
68517
|
description: "Send email, manage domains, audiences and broadcasts.",
|
|
68411
|
-
remoteUrl: "https://mcp.resend.com/mcp"
|
|
68518
|
+
remoteUrl: "https://mcp.resend.com/mcp",
|
|
68519
|
+
category: "Sales and marketing"
|
|
68412
68520
|
}),
|
|
68413
68521
|
oauth({
|
|
68414
68522
|
name: "com.replicate/mcp",
|
|
68415
68523
|
title: "Replicate",
|
|
68416
68524
|
description: "Run and browse models on Replicate.",
|
|
68417
|
-
remoteUrl: "https://mcp.replicate.com/mcp"
|
|
68525
|
+
remoteUrl: "https://mcp.replicate.com/mcp",
|
|
68526
|
+
category: "Media and AI"
|
|
68418
68527
|
}),
|
|
68419
68528
|
oauth({
|
|
68420
68529
|
name: "com.squareup/mcp",
|
|
68421
68530
|
title: "Square",
|
|
68422
68531
|
description: "Payments, orders, catalogue and customers on Square.",
|
|
68423
|
-
remoteUrl: "https://mcp.squareup.com/mcp"
|
|
68532
|
+
remoteUrl: "https://mcp.squareup.com/mcp",
|
|
68533
|
+
category: "Payments and finance"
|
|
68424
68534
|
}),
|
|
68425
68535
|
oauth({
|
|
68426
68536
|
name: "com.vanta/mcp",
|
|
68427
68537
|
title: "Vanta",
|
|
68428
68538
|
description: "Compliance tests, controls and vendor risk.",
|
|
68429
|
-
remoteUrl: "https://mcp.vanta.com/mcp"
|
|
68539
|
+
remoteUrl: "https://mcp.vanta.com/mcp",
|
|
68540
|
+
category: "Security and compliance"
|
|
68430
68541
|
}),
|
|
68431
68542
|
oauth({
|
|
68432
68543
|
name: "com.flagsmith/mcp",
|
|
68433
68544
|
title: "Flagsmith",
|
|
68434
68545
|
description: "Feature flags and remote config.",
|
|
68435
|
-
remoteUrl: "https://mcp.flagsmith.com/mcp"
|
|
68546
|
+
remoteUrl: "https://mcp.flagsmith.com/mcp",
|
|
68547
|
+
category: "Projects and code"
|
|
68436
68548
|
}),
|
|
68437
68549
|
oauth({
|
|
68438
68550
|
name: "ai.peec/mcp",
|
|
68439
68551
|
title: "Peec AI",
|
|
68440
68552
|
description: "How AI search engines mention your brand.",
|
|
68441
|
-
remoteUrl: "https://api.peec.ai/mcp"
|
|
68553
|
+
remoteUrl: "https://api.peec.ai/mcp",
|
|
68554
|
+
category: "Sales and marketing"
|
|
68442
68555
|
}),
|
|
68443
68556
|
oauth({
|
|
68444
68557
|
name: "com.facebook/ads",
|
|
68445
68558
|
title: "Meta Ads",
|
|
68446
68559
|
description: "Facebook and Instagram ad campaigns and insights.",
|
|
68447
|
-
remoteUrl: "https://mcp.facebook.com/ads"
|
|
68560
|
+
remoteUrl: "https://mcp.facebook.com/ads",
|
|
68561
|
+
category: "Sales and marketing"
|
|
68448
68562
|
}),
|
|
68449
68563
|
oauth({
|
|
68450
68564
|
name: "co.huggingface/hf-mcp-server",
|
|
68451
68565
|
title: "Hugging Face",
|
|
68452
68566
|
description: "Models, datasets, Spaces and papers on the Hub.",
|
|
68453
|
-
remoteUrl: "https://huggingface.co/mcp?login"
|
|
68567
|
+
remoteUrl: "https://huggingface.co/mcp?login",
|
|
68568
|
+
category: "Media and AI"
|
|
68454
68569
|
}),
|
|
68455
|
-
{
|
|
68570
|
+
noSignIn({
|
|
68456
68571
|
name: "com.deepwiki/mcp",
|
|
68457
68572
|
title: "DeepWiki",
|
|
68458
68573
|
description: "Ask questions about any public GitHub repository and read its generated wiki.",
|
|
68459
|
-
version: "featured",
|
|
68460
68574
|
remoteUrl: "https://mcp.deepwiki.com/mcp",
|
|
68461
|
-
auth: "none",
|
|
68462
|
-
header: null,
|
|
68463
|
-
prefix: null,
|
|
68464
|
-
keyHint: null,
|
|
68465
68575
|
websiteUrl: "https://deepwiki.com",
|
|
68466
|
-
|
|
68467
|
-
}
|
|
68576
|
+
category: "Projects and code"
|
|
68577
|
+
}),
|
|
68578
|
+
oauth({
|
|
68579
|
+
name: "dev.reo/mcp",
|
|
68580
|
+
title: "Reo.dev",
|
|
68581
|
+
description: "Accounts, people and buying signals from Reo.dev: which companies and developers are looking at your product.",
|
|
68582
|
+
remoteUrl: "https://mcp.reo.dev/mcp",
|
|
68583
|
+
websiteUrl: "https://www.reo.dev",
|
|
68584
|
+
category: "Sales and marketing",
|
|
68585
|
+
setupNote: "In Reo, turn on the Data-out API and the Product API, and sign out of Reo in this browser before you sign in here."
|
|
68586
|
+
})
|
|
68468
68587
|
];
|
|
68469
68588
|
|
|
68470
68589
|
// ../../modules/connector/contract/src/connector-keys.ts
|
|
@@ -68478,7 +68597,8 @@ var CONNECTOR_KEY_PATHS = {
|
|
|
68478
68597
|
mcpToolLevel: "/api/connectors/servers/tool-level",
|
|
68479
68598
|
github: "/api/connectors/github",
|
|
68480
68599
|
githubInstall: "/api/connectors/github/install",
|
|
68481
|
-
card: "/api/connectors/card"
|
|
68600
|
+
card: "/api/connectors/card",
|
|
68601
|
+
cardDecline: "/api/connectors/card/decline"
|
|
68482
68602
|
};
|
|
68483
68603
|
var startOAuthByKeyInputSchemaDefinition = external_exports.object({
|
|
68484
68604
|
provider: connectorProviderIdSchema,
|
|
@@ -68512,6 +68632,7 @@ var cardConnectByKeyInputSchemaDefinition = external_exports.object({
|
|
|
68512
68632
|
/** The key a key card takes; never shown again once sealed. */
|
|
68513
68633
|
key: external_exports.string().trim().min(1).max(4e3).optional()
|
|
68514
68634
|
});
|
|
68635
|
+
var cardDeclineByKeyInputSchemaDefinition = external_exports.object({ cardId: external_exports.string().min(1).max(64) });
|
|
68515
68636
|
var githubInstallByKeyInputSchemaDefinition = external_exports.object({});
|
|
68516
68637
|
|
|
68517
68638
|
// ../../modules/connector/contract/src/connector-relay.ts
|
|
@@ -71763,6 +71884,19 @@ function harnessSessionKeyOf({ context }) {
|
|
|
71763
71884
|
const sessionId = ids[harness];
|
|
71764
71885
|
return sessionId ? sessionKeyOf({ session: { harness, sessionId } }) : void 0;
|
|
71765
71886
|
}
|
|
71887
|
+
async function profileKindOf({
|
|
71888
|
+
context,
|
|
71889
|
+
args
|
|
71890
|
+
}) {
|
|
71891
|
+
const chosen = chooseProfile({
|
|
71892
|
+
config: await context.store.read(),
|
|
71893
|
+
flag: flagText({ args, name: "profile" }) || void 0,
|
|
71894
|
+
environment: context.environment.profile,
|
|
71895
|
+
session: harnessSessionKeyOf({ context }),
|
|
71896
|
+
cwd: context.cwd
|
|
71897
|
+
});
|
|
71898
|
+
return chosen.profile?.kind;
|
|
71899
|
+
}
|
|
71766
71900
|
async function signedIn({
|
|
71767
71901
|
context,
|
|
71768
71902
|
args
|
|
@@ -71854,7 +71988,8 @@ function serverUrlOf({ context, args }) {
|
|
|
71854
71988
|
}
|
|
71855
71989
|
|
|
71856
71990
|
// src/services/agent-access-commands.service.ts
|
|
71857
|
-
var SHARE_USAGE = "Usage: laze agent share
|
|
71991
|
+
var SHARE_USAGE = "Usage: laze agent share <agent> --person <userId> | --group <groupId> | --agent <agent>\n laze agent share <agent> --ask --person <userId> [--agent <agent> ...]\n laze agent unshare <agent> --person <userId> | --group <groupId> | --channel <channelId> | --agent <agent>";
|
|
71992
|
+
var CHANNEL_SHARE_GONE = "An agent joins a channel from the channel: laze channel add <channel> <agent>";
|
|
71858
71993
|
function agentWord({ args, usage }) {
|
|
71859
71994
|
const agent3 = args.words[2];
|
|
71860
71995
|
if (!agent3) throw new CliUsageError(usage);
|
|
@@ -71917,14 +72052,14 @@ function granteeOf({
|
|
|
71917
72052
|
if (agent3) return { kind: "agent", agentId: agent3 };
|
|
71918
72053
|
return { kind: "channel", channelId: channel };
|
|
71919
72054
|
}
|
|
71920
|
-
var GRANTEE_FLAGS = ["person", "group", "
|
|
72055
|
+
var GRANTEE_FLAGS = ["person", "group", "agent"];
|
|
71921
72056
|
function askedGranteesOf(args) {
|
|
71922
72057
|
return GRANTEE_FLAGS.flatMap(
|
|
71923
72058
|
(name3) => (args.lists[name3] ?? []).map(
|
|
71924
72059
|
(value) => granteeOf({
|
|
71925
72060
|
person: name3 === "person" ? value : void 0,
|
|
71926
72061
|
group: name3 === "group" ? value : void 0,
|
|
71927
|
-
channel:
|
|
72062
|
+
channel: void 0,
|
|
71928
72063
|
agent: name3 === "agent" ? value : void 0
|
|
71929
72064
|
})
|
|
71930
72065
|
)
|
|
@@ -71942,6 +72077,10 @@ async function askToShare({ context, args, agent: agent3 }) {
|
|
|
71942
72077
|
}
|
|
71943
72078
|
async function shareAgent({ context, args }) {
|
|
71944
72079
|
const agent3 = agentWord({ args, usage: SHARE_USAGE });
|
|
72080
|
+
const sharing = args.words[1] !== "unshare";
|
|
72081
|
+
if (sharing && (args.flags.channel !== void 0 || (args.lists.channel ?? []).length > 0)) {
|
|
72082
|
+
throw new CliUsageError(CHANNEL_SHARE_GONE);
|
|
72083
|
+
}
|
|
71945
72084
|
if (args.flags.ask === true) {
|
|
71946
72085
|
if (args.words[1] === "unshare") throw new CliUsageError(SHARE_USAGE);
|
|
71947
72086
|
return askToShare({ context, args, agent: agent3 });
|
|
@@ -71954,7 +72093,7 @@ async function shareAgent({ context, args }) {
|
|
|
71954
72093
|
throw new CliUsageError(SHARE_USAGE);
|
|
71955
72094
|
}
|
|
71956
72095
|
const grantee = granteeOf({ person, group, channel, agent: other });
|
|
71957
|
-
const path =
|
|
72096
|
+
const path = sharing ? "/api/agents/share" : "/api/agents/unshare";
|
|
71958
72097
|
const { client } = await signedIn({ context, args });
|
|
71959
72098
|
printAccess({ context, args, access: await client.post(path, { agent: agent3, grantee }) });
|
|
71960
72099
|
}
|
|
@@ -80271,6 +80410,12 @@ var findAppInputSchemaDefinition = external_exports.object({
|
|
|
80271
80410
|
/** The app's id or its slug; archived apps are found too. */
|
|
80272
80411
|
app: external_exports.string().min(1)
|
|
80273
80412
|
});
|
|
80413
|
+
var requestAgentAccessInputSchemaDefinition = external_exports.object({
|
|
80414
|
+
workspaceId: external_exports.string().min(1),
|
|
80415
|
+
appId: external_exports.string().min(1).optional(),
|
|
80416
|
+
/** The app's id or slug: an agent that cannot open the app cannot look it up first. */
|
|
80417
|
+
app: external_exports.string().min(1).optional()
|
|
80418
|
+
});
|
|
80274
80419
|
var renameAppInputSchemaDefinition = external_exports.object({
|
|
80275
80420
|
...appRefSchemaDefinition.shape,
|
|
80276
80421
|
name: external_exports.string().trim().min(1).max(80)
|
|
@@ -81676,6 +81821,13 @@ var createAppByKeyInputSchemaDefinition = external_exports.object({
|
|
|
81676
81821
|
});
|
|
81677
81822
|
var appByKeySchemaDefinition = external_exports.object({ appId: external_exports.string().min(1) });
|
|
81678
81823
|
var appFindByKeySchemaDefinition = external_exports.object({ app: external_exports.string().min(1) });
|
|
81824
|
+
var appRequestAccessByKeySchemaDefinition = external_exports.object({
|
|
81825
|
+
appId: external_exports.string().min(1).optional(),
|
|
81826
|
+
/** The app's id or slug, for an agent that cannot look the app up first. */
|
|
81827
|
+
app: external_exports.string().min(1).optional()
|
|
81828
|
+
}).refine((input2) => input2.appId === void 0 !== (input2.app === void 0), {
|
|
81829
|
+
message: "Give the app's id or its slug"
|
|
81830
|
+
});
|
|
81679
81831
|
var appDataByKeySchemaDefinition = external_exports.object({
|
|
81680
81832
|
...appByKeySchemaDefinition.shape,
|
|
81681
81833
|
site: legacySiteSchema
|
|
@@ -84717,15 +84869,14 @@ var appAccess = async ({ context, args }) => {
|
|
|
84717
84869
|
print5({ context, args, ...await run4({ client, appId, first, second }) });
|
|
84718
84870
|
};
|
|
84719
84871
|
var appRequest = async ({ context, args }) => {
|
|
84720
|
-
const
|
|
84721
|
-
const
|
|
84722
|
-
const
|
|
84723
|
-
|
|
84724
|
-
|
|
84725
|
-
|
|
84726
|
-
|
|
84727
|
-
|
|
84728
|
-
appId
|
|
84872
|
+
const client = await appClient({ context, args });
|
|
84873
|
+
const named = args.words[2] ?? flagText({ args, name: "app" });
|
|
84874
|
+
const body = named ? { app: named } : { appId: await appIdOf({ client, args, folder: folderOf({ context, word: void 0 }) }) };
|
|
84875
|
+
const request2 = await client.post("/api/apps/access/request", body).catch((error63) => {
|
|
84876
|
+
if (named && error63 instanceof LazeApiError && error63.code === "app_not_found") {
|
|
84877
|
+
throw new CliUsageError(`No app called ${named} in this workspace`);
|
|
84878
|
+
}
|
|
84879
|
+
throw error63;
|
|
84729
84880
|
});
|
|
84730
84881
|
const owner = request2.approverName ?? "your owner";
|
|
84731
84882
|
print5({
|
|
@@ -87513,6 +87664,15 @@ var computeConfig = Config.define((c) => ({
|
|
|
87513
87664
|
freeCpuMinutes: c.env("LAZE_FREE_CPU_MINUTES", external_exports.coerce.number().positive().default(20)),
|
|
87514
87665
|
/** How long a computer stopped for CPU stays held. */
|
|
87515
87666
|
freeCpuHoldHours: c.env("LAZE_FREE_CPU_HOLD_HOURS", external_exports.coerce.number().positive().default(24)),
|
|
87667
|
+
/** Hours a UTC day Laze in front may keep a person's computer awake for WhatsApp (ADR-216 §7). */
|
|
87668
|
+
whatsappAppAwakeHoursTeam: c.env(
|
|
87669
|
+
"LAZE_WHATSAPP_APP_AWAKE_HOURS_TEAM",
|
|
87670
|
+
external_exports.coerce.number().min(0).max(24).default(8)
|
|
87671
|
+
),
|
|
87672
|
+
whatsappAppAwakeHoursFree: c.env(
|
|
87673
|
+
"LAZE_WHATSAPP_APP_AWAKE_HOURS_FREE",
|
|
87674
|
+
external_exports.coerce.number().min(0).max(24).default(2)
|
|
87675
|
+
),
|
|
87516
87676
|
/** How often the guards read every running computer. */
|
|
87517
87677
|
guardEverySeconds: c.env(
|
|
87518
87678
|
"LAZE_COMPUTE_GUARD_SECONDS",
|
|
@@ -88745,7 +88905,9 @@ var whatsappChangeMediaDefinition = external_exports.object({
|
|
|
88745
88905
|
/** How the last fetch ended; absent while one is due, and from older connectors. */
|
|
88746
88906
|
state: external_exports.enum(["done", "gone", "too_large"]).optional(),
|
|
88747
88907
|
/** The Laze file the mirrored message carries, once confirmed; only between connector and api. */
|
|
88748
|
-
fileId: external_exports.string().max(200).optional()
|
|
88908
|
+
fileId: external_exports.string().max(200).optional(),
|
|
88909
|
+
/** A video WhatsApp plays as a GIF, on a loop; absent from older connectors. */
|
|
88910
|
+
gif: external_exports.boolean().optional()
|
|
88749
88911
|
});
|
|
88750
88912
|
var whatsappMessageDefinition = external_exports.object({
|
|
88751
88913
|
id: external_exports.string().max(200),
|
|
@@ -88779,14 +88941,16 @@ var chatPeopleDefinition = external_exports.object({
|
|
|
88779
88941
|
state: external_exports.enum(["listed", "none", "asleep", "unreachable"])
|
|
88780
88942
|
});
|
|
88781
88943
|
var whatsappChatPeopleSchema = chatPeopleDefinition;
|
|
88944
|
+
var whatsappWatchScreenSchema = external_exports.enum(["app", "whatsapp_chat"]);
|
|
88782
88945
|
var watchChatInputDefinition = external_exports.object({
|
|
88783
88946
|
workspaceId: workspaceIdSchema21,
|
|
88784
|
-
channelId: external_exports.string().min(1).max(64),
|
|
88947
|
+
channelId: external_exports.string().min(1).max(64).optional(),
|
|
88785
88948
|
/** The chat just came on screen: opened, focused again or shown again. Syncs it at once. */
|
|
88786
|
-
opened: external_exports.boolean().default(false)
|
|
88949
|
+
opened: external_exports.boolean().default(false),
|
|
88950
|
+
screen: whatsappWatchScreenSchema.optional()
|
|
88787
88951
|
});
|
|
88788
88952
|
var whatsappWatchInputSchema = watchChatInputDefinition;
|
|
88789
|
-
var whatsappWatchStateSchema = external_exports.enum(["awake", "waking", "full", "off"]);
|
|
88953
|
+
var whatsappWatchStateSchema = external_exports.enum(["awake", "waking", "full", "capped", "off"]);
|
|
88790
88954
|
var watchDefinition = external_exports.object({ computer: whatsappWatchStateSchema });
|
|
88791
88955
|
var whatsappWatchSchema = watchDefinition;
|
|
88792
88956
|
var replyCheckDefinition = external_exports.object({ state: external_exports.enum(["clear", "newer", "unchecked"]) });
|
|
@@ -88965,8 +89129,24 @@ var whatsappChangeDefinition = external_exports.object({
|
|
|
88965
89129
|
text: external_exports.string().max(1e3),
|
|
88966
89130
|
/** A quote of the account owner's own message; absent from older connectors. */
|
|
88967
89131
|
fromMe: external_exports.boolean().optional()
|
|
88968
|
-
}).optional()
|
|
89132
|
+
}).optional(),
|
|
89133
|
+
/**
|
|
89134
|
+
* The message's reactions as WhatsApp last had them, one per person, with `reactionsAt` the
|
|
89135
|
+
* newest reaction change; absent for a message with none, and from older connectors.
|
|
89136
|
+
*/
|
|
89137
|
+
reactions: external_exports.array(
|
|
89138
|
+
external_exports.object({
|
|
89139
|
+
/** The reactor's chat id; "" for the account owner. */
|
|
89140
|
+
sender: external_exports.string().max(200),
|
|
89141
|
+
fromMe: external_exports.boolean(),
|
|
89142
|
+
emoji: external_exports.string().max(64),
|
|
89143
|
+
name: external_exports.string().max(500).optional()
|
|
89144
|
+
})
|
|
89145
|
+
).max(1e3).optional(),
|
|
89146
|
+
/** Read leniently: a time Laze cannot read drops the reactions, never the page. */
|
|
89147
|
+
reactionsAt: external_exports.string().max(64).optional()
|
|
88969
89148
|
});
|
|
89149
|
+
var whatsappChangeSchema = whatsappChangeDefinition;
|
|
88970
89150
|
var whatsappReadDefinition = external_exports.object({
|
|
88971
89151
|
chat: external_exports.string().min(1).max(200),
|
|
88972
89152
|
at: external_exports.iso.datetime(),
|
|
@@ -89495,6 +89675,57 @@ var restSettleComputerCopyInputDefinition = settleComputerCopyInputDefinition.om
|
|
|
89495
89675
|
workspaceId: true
|
|
89496
89676
|
});
|
|
89497
89677
|
|
|
89678
|
+
// ../../modules/compute/contract/src/whatsapp-intake.ts
|
|
89679
|
+
var WHATSAPP_EVENTS_PER_FRAME = 200;
|
|
89680
|
+
var WHATSAPP_FILE_REF_MAX = 35e4;
|
|
89681
|
+
var whatsappObservedKindSchema = external_exports.enum(["message", "edit", "delete", "reaction", "read"]);
|
|
89682
|
+
var waIdText = external_exports.string().min(1).max(200);
|
|
89683
|
+
var whatsappObservedDefinition = external_exports.object({
|
|
89684
|
+
kind: whatsappObservedKindSchema,
|
|
89685
|
+
/** The chat's id as the job's store keeps it; `change.chat` when a change is sent. */
|
|
89686
|
+
chat: external_exports.string().min(1).max(200),
|
|
89687
|
+
/** WhatsApp's id of the message the change is about. */
|
|
89688
|
+
id: waIdText,
|
|
89689
|
+
/** The edit or reaction message's own id. */
|
|
89690
|
+
of: waIdText.optional(),
|
|
89691
|
+
/** The reactor's chat id, "" for the account owner. */
|
|
89692
|
+
reactor: external_exports.string().max(200).optional(),
|
|
89693
|
+
/** WhatsApp's time of the change. */
|
|
89694
|
+
at: external_exports.iso.datetime({ offset: true }),
|
|
89695
|
+
/** Absent when the job's store holds no such message. */
|
|
89696
|
+
change: whatsappChangeSchema.optional(),
|
|
89697
|
+
/** The stored WhatsApp message a file downloads with, base64. */
|
|
89698
|
+
file: external_exports.object({ ref: external_exports.string().min(1).max(WHATSAPP_FILE_REF_MAX) }).optional(),
|
|
89699
|
+
/** A "read": the person read the chat on another device, or WhatsApp shows `unread` unread. */
|
|
89700
|
+
read: external_exports.object({
|
|
89701
|
+
unread: external_exports.number().int().min(0).max(1e5).optional(),
|
|
89702
|
+
aliases: external_exports.array(external_exports.string().min(1).max(200)).max(16).optional()
|
|
89703
|
+
}).optional()
|
|
89704
|
+
});
|
|
89705
|
+
var whatsappObservedSchema = whatsappObservedDefinition;
|
|
89706
|
+
var whatsappEventsFrameDefinition = external_exports.object({
|
|
89707
|
+
type: external_exports.literal("whatsapp_events"),
|
|
89708
|
+
batch: external_exports.string().min(8).max(64),
|
|
89709
|
+
events: external_exports.array(external_exports.unknown()).min(1).max(WHATSAPP_EVENTS_PER_FRAME)
|
|
89710
|
+
});
|
|
89711
|
+
var whatsappEventsRefusalCodeSchema = external_exports.enum([
|
|
89712
|
+
"whatsapp_events_invalid",
|
|
89713
|
+
"whatsapp_not_linked",
|
|
89714
|
+
"whatsapp_events_no_key",
|
|
89715
|
+
"whatsapp_events_failed"
|
|
89716
|
+
]);
|
|
89717
|
+
var whatsappObservedPayloadDefinition = external_exports.object({
|
|
89718
|
+
workspaceId: external_exports.string().min(1),
|
|
89719
|
+
machineId: external_exports.string().min(1),
|
|
89720
|
+
/** The chat's mirror key, `whatsapp:<machine>:<digest>`: the stream's id. */
|
|
89721
|
+
stream: external_exports.string().min(1).max(200),
|
|
89722
|
+
/** The idempotency key in the stream: `msg:`, `edit:`, `del:` or `react:`. */
|
|
89723
|
+
key: external_exports.string().min(1).max(600),
|
|
89724
|
+
observed: whatsappObservedSchema,
|
|
89725
|
+
digests: external_exports.record(external_exports.string().max(1e3), external_exports.string().regex(/^[0-9a-f]{64}$/)),
|
|
89726
|
+
at: external_exports.iso.datetime()
|
|
89727
|
+
});
|
|
89728
|
+
|
|
89498
89729
|
// src/services/computer-copy-commands.service.ts
|
|
89499
89730
|
import { mkdtemp as mkdtemp2, open as open5, rm as rm15, stat as stat11 } from "node:fs/promises";
|
|
89500
89731
|
import { tmpdir as tmpdir4 } from "node:os";
|
|
@@ -90173,18 +90404,25 @@ async function recheckTools({ relay: relay2, listed }) {
|
|
|
90173
90404
|
// src/services/connect-commands.service.ts
|
|
90174
90405
|
var CONNECT_HELP = `laze connect: services for your agent's work.
|
|
90175
90406
|
|
|
90176
|
-
laze connect suggest <service> --reason "<one plain sentence>"
|
|
90177
|
-
|
|
90407
|
+
laze connect suggest <service|domain|https url> --reason "<one plain sentence>"
|
|
90408
|
+
[--label <name>] [--instructions "<markdown>"] [--auth oauth|key|none]
|
|
90409
|
+
[--header <name>] [--prefix "<text>"] [--keychain workspace]
|
|
90410
|
+
post a card for the person who asked: they sign in or paste the key there, and you hear
|
|
90411
|
+
back once it is connected. A service Laze has no card for works by its MCP URL or domain:
|
|
90412
|
+
Laze finds how it signs in. --instructions says where the key is and what to turn on;
|
|
90178
90413
|
--keychain workspace asks an admin to connect it for the whole workspace instead
|
|
90414
|
+
laze connect search <text> find a server's MCP URL in the registry and indexes
|
|
90179
90415
|
laze connect list the connections this turn can use, with their level
|
|
90180
90416
|
|
|
90181
|
-
A person connects services with their own key: laze connect providers|start|search|mcp|github|card
|
|
90182
|
-
(laze connect providers --help lists them).
|
|
90183
|
-
|
|
90184
90417
|
When a person asks for something in a service that is not connected, run
|
|
90185
90418
|
laze connect suggest <service>; never ask for passwords or keys in chat.
|
|
90419
|
+
A service Laze has no card for takes its MCP URL or domain in place of <service>. Never ask a
|
|
90420
|
+
person to run a command or add a server: you start it, the card does the rest. Prefer the
|
|
90421
|
+
vendor's own MCP URL (mcp.<vendor domain>) and say on the card how sure you are of who runs it.
|
|
90186
90422
|
Services: gmail, google-calendar, google-drive, github, notion, linear, sentry, posthog,
|
|
90187
|
-
stripe and more; an unknown name answers with the close ones.
|
|
90423
|
+
stripe, reo and more; an unknown name answers with the close ones.
|
|
90424
|
+
A person connects services with their own key: laze connect providers|start|search|mcp|github|card
|
|
90425
|
+
(laze connect providers --help lists them).
|
|
90188
90426
|
`;
|
|
90189
90427
|
async function turnOf({ context }) {
|
|
90190
90428
|
const env = context.environment.inherited;
|
|
@@ -90198,6 +90436,18 @@ async function turnOf({ context }) {
|
|
|
90198
90436
|
if (!turn) throw new CliUsageError("laze connect works only during an agent's turn");
|
|
90199
90437
|
return turn;
|
|
90200
90438
|
}
|
|
90439
|
+
async function openTurnOf({
|
|
90440
|
+
context,
|
|
90441
|
+
args,
|
|
90442
|
+
client,
|
|
90443
|
+
agent: agent3
|
|
90444
|
+
}) {
|
|
90445
|
+
if (inTurn({ context }) || !agent3) return turnOf({ context });
|
|
90446
|
+
const channelId = flagText({ args, name: "channel" }).trim() || null;
|
|
90447
|
+
const token2 = await connectedTurnTokenOf({ client, channelId });
|
|
90448
|
+
if (!token2) throw new CliUsageError("laze connect works only during an agent's turn");
|
|
90449
|
+
return token2;
|
|
90450
|
+
}
|
|
90201
90451
|
function suggestedLine(answer6) {
|
|
90202
90452
|
switch (answer6.outcome) {
|
|
90203
90453
|
case "connected":
|
|
@@ -90217,8 +90467,10 @@ async function connect({
|
|
|
90217
90467
|
}) {
|
|
90218
90468
|
const [, verb = "", service] = args.words;
|
|
90219
90469
|
if (verb !== "suggest" && verb !== "list") return context.out(CONNECT_HELP);
|
|
90220
|
-
const { client } = await signedIn({ context, args });
|
|
90221
|
-
const turned = client.withHeaders({
|
|
90470
|
+
const { client, profile } = await signedIn({ context, args });
|
|
90471
|
+
const turned = client.withHeaders({
|
|
90472
|
+
[TURN_HEADER]: await openTurnOf({ context, args, client, agent: profile.kind === "agent" })
|
|
90473
|
+
});
|
|
90222
90474
|
if (verb === "list") {
|
|
90223
90475
|
const rows = await turned.get("/api/connectors/reachable");
|
|
90224
90476
|
if (args.flags.json) return context.out(`${JSON.stringify(rows, null, 2)}
|
|
@@ -90231,17 +90483,69 @@ async function connect({
|
|
|
90231
90483
|
const reason2 = flagText({ args, name: "reason" }).trim();
|
|
90232
90484
|
if (!service || !reason2) {
|
|
90233
90485
|
throw new CliUsageError(
|
|
90234
|
-
'Usage: laze connect suggest <service> --reason "<one plain sentence>"'
|
|
90486
|
+
'Usage: laze connect suggest <service|domain|https url> --reason "<one plain sentence>"'
|
|
90235
90487
|
);
|
|
90236
90488
|
}
|
|
90489
|
+
const answer6 = await turned.post("/api/connectors/suggest", {
|
|
90490
|
+
service,
|
|
90491
|
+
reason: reason2,
|
|
90492
|
+
keychain: keychainFlag({ args }),
|
|
90493
|
+
...serverFlags({ args })
|
|
90494
|
+
});
|
|
90495
|
+
if (args.flags.json) return context.out(`${JSON.stringify(answer6, null, 2)}
|
|
90496
|
+
`);
|
|
90497
|
+
context.out(suggestedLine(answer6));
|
|
90498
|
+
}
|
|
90499
|
+
function keychainFlag({ args }) {
|
|
90237
90500
|
const keychain2 = flagText({ args, name: "keychain" }).trim() || "personal";
|
|
90238
90501
|
if (keychain2 !== "personal" && keychain2 !== "workspace") {
|
|
90239
90502
|
throw new CliUsageError("--keychain is personal or workspace");
|
|
90240
90503
|
}
|
|
90504
|
+
return keychain2;
|
|
90505
|
+
}
|
|
90506
|
+
var AUTHS = ["oauth", "key", "none"];
|
|
90507
|
+
function serverFlags({ args }) {
|
|
90508
|
+
const auth = flagText({ args, name: "auth" }).trim();
|
|
90509
|
+
if (auth && !AUTHS.some((each) => each === auth)) {
|
|
90510
|
+
throw new CliUsageError("--auth is oauth, key or none");
|
|
90511
|
+
}
|
|
90512
|
+
const picked = {};
|
|
90513
|
+
for (const name3 of ["label", "instructions", "header", "prefix"]) {
|
|
90514
|
+
const value = flagText({ args, name: name3 });
|
|
90515
|
+
if (value.trim()) picked[name3] = name3 === "prefix" ? value : value.trim();
|
|
90516
|
+
}
|
|
90517
|
+
return { ...picked, ...auth && { auth } };
|
|
90518
|
+
}
|
|
90519
|
+
function inTurn({ context }) {
|
|
90520
|
+
const env = context.environment.inherited;
|
|
90521
|
+
return Boolean(env.LAZE_TURN_TOKEN?.trim() || env.LAZE_TURN_FILE?.trim());
|
|
90522
|
+
}
|
|
90523
|
+
async function isAgentProfile({
|
|
90524
|
+
context,
|
|
90525
|
+
args
|
|
90526
|
+
}) {
|
|
90527
|
+
return await profileKindOf({ context, args }) === "agent";
|
|
90528
|
+
}
|
|
90529
|
+
async function suggestServer({
|
|
90530
|
+
context,
|
|
90531
|
+
args
|
|
90532
|
+
}) {
|
|
90533
|
+
const serverUrl = args.words[3];
|
|
90534
|
+
if (!serverUrl)
|
|
90535
|
+
throw new CliUsageError("Usage: laze connect mcp add <https url> --label <label>");
|
|
90536
|
+
const { client, profile } = await signedIn({ context, args });
|
|
90537
|
+
const turned = client.withHeaders({
|
|
90538
|
+
[TURN_HEADER]: await openTurnOf({ context, args, client, agent: profile.kind === "agent" })
|
|
90539
|
+
});
|
|
90540
|
+
const label3 = flagText({ args, name: "label" }).trim() || flagText({ args, name: "name" }).trim();
|
|
90541
|
+
const reason2 = flagText({ args, name: "reason" }).trim() || `Connect ${label3 || serverUrl} for this task`;
|
|
90241
90542
|
const answer6 = await turned.post("/api/connectors/suggest", {
|
|
90242
|
-
service,
|
|
90543
|
+
service: serverUrl,
|
|
90243
90544
|
reason: reason2,
|
|
90244
|
-
keychain:
|
|
90545
|
+
keychain: keychainFlag({ args }),
|
|
90546
|
+
...serverFlags({ args }),
|
|
90547
|
+
...label3 && { label: label3 },
|
|
90548
|
+
...args.flags.oauth && { auth: "oauth" }
|
|
90245
90549
|
});
|
|
90246
90550
|
if (args.flags.json) return context.out(`${JSON.stringify(answer6, null, 2)}
|
|
90247
90551
|
`);
|
|
@@ -90558,7 +90862,7 @@ async function personOf({ client, who }) {
|
|
|
90558
90862
|
if (!found) throw new CliUsageError(`No one in this workspace is ${who}.`);
|
|
90559
90863
|
return found.userId;
|
|
90560
90864
|
}
|
|
90561
|
-
async function
|
|
90865
|
+
async function inTurn2({
|
|
90562
90866
|
context,
|
|
90563
90867
|
client,
|
|
90564
90868
|
command
|
|
@@ -90578,7 +90882,7 @@ var shareWith = async ({ context, args }) => {
|
|
|
90578
90882
|
if (!word3 || !who) throw new CliUsageError(SHARE_USAGE2);
|
|
90579
90883
|
const { client, profile } = await signedIn({ context, args });
|
|
90580
90884
|
const userId = await personOf({ client, who });
|
|
90581
|
-
const grant = profile.kind === "agent" ? await (await
|
|
90885
|
+
const grant = profile.kind === "agent" ? await (await inTurn2({ context, client, command: "laze vault share" })).post("/api/vault/turn/share", {
|
|
90582
90886
|
connection: word3,
|
|
90583
90887
|
userId,
|
|
90584
90888
|
...durationOf(args)
|
|
@@ -90596,7 +90900,7 @@ async function setLevelInTurn({
|
|
|
90596
90900
|
connection,
|
|
90597
90901
|
sensitivity: sensitivity2
|
|
90598
90902
|
}) {
|
|
90599
|
-
const turned = await
|
|
90903
|
+
const turned = await inTurn2({ context, client, command: "laze vault update --level" });
|
|
90600
90904
|
return turned.post("/api/vault/turn/level", { connection, sensitivity: sensitivity2 });
|
|
90601
90905
|
}
|
|
90602
90906
|
|
|
@@ -90886,7 +91190,10 @@ var CONNECTOR_USAGE = `Usage (a person's key; an agent runs laze connect suggest
|
|
|
90886
91190
|
laze connect github the GitHub App and its installations
|
|
90887
91191
|
laze connect github install prints the link that installs it (admins)
|
|
90888
91192
|
laze connect card <cardId> answer a connect card: prints its sign-in link
|
|
90889
|
-
laze connect card-key <cardId> answer a key card: the key from stdin or --from-file
|
|
91193
|
+
laze connect card-key <cardId> answer a key card: the key from stdin or --from-file
|
|
91194
|
+
laze connect card-decline <cardId> decline a connect card: the agent hears no
|
|
91195
|
+
|
|
91196
|
+
In an agent's turn, laze connect mcp add posts a card for the person instead (laze connect suggest).`;
|
|
90890
91197
|
function json3({ context, args, data }) {
|
|
90891
91198
|
if (!args.flags.json) return false;
|
|
90892
91199
|
context.out(`${JSON.stringify(data, null, 2)}
|
|
@@ -91095,6 +91402,13 @@ var cardKey = async ({ context, args, client }) => {
|
|
|
91095
91402
|
if (json3({ context, args, data: answer6 })) return;
|
|
91096
91403
|
printCard({ context, answer: answer6 });
|
|
91097
91404
|
};
|
|
91405
|
+
var cardDecline = async ({ context, args, client }) => {
|
|
91406
|
+
const answer6 = await client.post(CONNECTOR_KEY_PATHS.cardDecline, {
|
|
91407
|
+
cardId: wordAt2(args, 2)
|
|
91408
|
+
});
|
|
91409
|
+
if (json3({ context, args, data: answer6 })) return;
|
|
91410
|
+
context.out("Declined.\n");
|
|
91411
|
+
};
|
|
91098
91412
|
var RUNS3 = {
|
|
91099
91413
|
providers,
|
|
91100
91414
|
start,
|
|
@@ -91103,7 +91417,8 @@ var RUNS3 = {
|
|
|
91103
91417
|
"mcp-key": mcpKey,
|
|
91104
91418
|
github,
|
|
91105
91419
|
card,
|
|
91106
|
-
"card-key": cardKey
|
|
91420
|
+
"card-key": cardKey,
|
|
91421
|
+
"card-decline": cardDecline
|
|
91107
91422
|
};
|
|
91108
91423
|
async function connectAsPerson({
|
|
91109
91424
|
context,
|
|
@@ -91112,6 +91427,13 @@ async function connectAsPerson({
|
|
|
91112
91427
|
const verb = args.words[1] ?? "";
|
|
91113
91428
|
const run4 = Object.hasOwn(RUNS3, verb) ? RUNS3[verb] : void 0;
|
|
91114
91429
|
if (!run4) throw new CliUsageError(CONNECTOR_USAGE);
|
|
91430
|
+
const asAgent = inTurn({ context }) || await isAgentProfile({ context, args });
|
|
91431
|
+
if (asAgent && verb === "mcp" && args.words[2] === "add") return suggestServer({ context, args });
|
|
91432
|
+
if (asAgent && verb === "mcp-key") {
|
|
91433
|
+
throw new CliUsageError(
|
|
91434
|
+
"An agent never holds the key: laze connect suggest <https url> --auth key --instructions <where to find it> posts a card where the person types it"
|
|
91435
|
+
);
|
|
91436
|
+
}
|
|
91115
91437
|
const { client } = await signedIn({ context, args });
|
|
91116
91438
|
await run4({ context, args, client });
|
|
91117
91439
|
}
|
|
@@ -94350,13 +94672,13 @@ async function feedPost({ context, args }) {
|
|
|
94350
94672
|
const body = await bodyOf2({ context, flags: flags2 });
|
|
94351
94673
|
refuseNamedFilesMissing({ args, body, carriesFiles: hasFeedFiles(args) });
|
|
94352
94674
|
const attachmentIds = await feedAttachmentIdsOf({ context, args, client, channel });
|
|
94353
|
-
const
|
|
94675
|
+
const inTurn3 = await feedTurnOf({
|
|
94354
94676
|
context,
|
|
94355
94677
|
client,
|
|
94356
94678
|
agent: profile.kind === "agent",
|
|
94357
94679
|
channel: channel || null
|
|
94358
94680
|
});
|
|
94359
|
-
const posted = await
|
|
94681
|
+
const posted = await inTurn3.post("/api/feed/items", {
|
|
94360
94682
|
...body,
|
|
94361
94683
|
title,
|
|
94362
94684
|
...attachmentIds.length > 0 ? { attachmentIds } : {},
|
|
@@ -94399,13 +94721,13 @@ async function feedUpdate({ context, args }) {
|
|
|
94399
94721
|
people: current3.recipientUserIds
|
|
94400
94722
|
}) : [];
|
|
94401
94723
|
const attachmentIds = adding || removing.length > 0 ? [...kept.map((file4) => file4.id), ...added] : void 0;
|
|
94402
|
-
const
|
|
94724
|
+
const inTurn3 = await feedTurnOf({
|
|
94403
94725
|
context,
|
|
94404
94726
|
client,
|
|
94405
94727
|
agent: profile.kind === "agent",
|
|
94406
94728
|
channel: current3?.item.channelId ?? null
|
|
94407
94729
|
});
|
|
94408
|
-
const updated = await
|
|
94730
|
+
const updated = await inTurn3.post("/api/feed/items/update", {
|
|
94409
94731
|
...body,
|
|
94410
94732
|
...attachmentIds ? { attachmentIds } : {},
|
|
94411
94733
|
...title ? { title } : {},
|
|
@@ -98173,6 +98495,7 @@ var LoginPoolsSettingsSlot = workspaceUi.extension("settings.loginPools");
|
|
|
98173
98495
|
var MachinesSettingsSlot = workspaceUi.extension("settings.machines");
|
|
98174
98496
|
var MessagingSettingsSlot = workspaceUi.extension("settings.messaging");
|
|
98175
98497
|
var ExternalConnectionsSettingsSlot = workspaceUi.extension("settings.externalConnections");
|
|
98498
|
+
var SlackAppsSettingsSlot = workspaceUi.extension("settings.slackApps");
|
|
98176
98499
|
var LangwatchSettingsSlot = workspaceUi.extension("settings.langwatch");
|
|
98177
98500
|
var LoginPoolsNavGateSlot = workspaceUi.extension("settings.loginPools.navGate");
|
|
98178
98501
|
var WorkspaceRailSlot = workspaceUi.component("rail");
|
|
@@ -102659,7 +102982,8 @@ var HELP = `laze: work in a Laze workspace from your terminal or your agent.
|
|
|
102659
102982
|
laze agent runs-on <agent> laze|claude|codex [--pool <pool>] moves it to Laze credits, Claude Code or Codex
|
|
102660
102983
|
laze agent access|dm|disconnect <agent> who can talk to it, your conversation with it, revoke its key
|
|
102661
102984
|
laze agent permission-prompts <agent> each permission prompt its harness raised and rush's answer
|
|
102662
|
-
laze agent share|unshare <agent> --person <userId> | --group <groupId> | --
|
|
102985
|
+
laze agent share|unshare <agent> --person <userId> | --group <groupId> | --agent <agent> share it (its owner); an added agent DMs it
|
|
102986
|
+
laze agent unshare <agent> --channel <channelId> take it out of a channel (add it with laze channel add)
|
|
102663
102987
|
laze agent share <agent> --ask --person <userId> [--agent <agent> ...] ask its owner to add them; they approve in their feed
|
|
102664
102988
|
laze agent stop <agent> --channel <channelId> stop its running turn there
|
|
102665
102989
|
laze agent retry <agent> --channel <id> --message <id> Try again on its failed turn on that message
|
|
@@ -102689,15 +103013,16 @@ var HELP = `laze: work in a Laze workspace from your terminal or your agent.
|
|
|
102689
103013
|
laze vault grant|share|lend|grants|ungrant|leases|end-lease|limits|set-limit sharing, leases, limits
|
|
102690
103014
|
laze vault audit|activity|most-asked|approvals|judge|devices what happened (audit: admins)
|
|
102691
103015
|
laze vault every laze vault command, with its flags
|
|
102692
|
-
laze connect suggest <service> --reason "<why>" a connect card for whoever asked (agents)
|
|
103016
|
+
laze connect suggest <service|domain|url> --reason "<why>" a connect card for whoever asked (agents)
|
|
102693
103017
|
When a person asks for something in a service that is not connected, run
|
|
102694
|
-
laze connect suggest
|
|
103018
|
+
laze connect suggest yourself (a name, the vendor's domain or its MCP URL); never ask for
|
|
103019
|
+
passwords or keys in chat, never ask a person to run a command: the card signs in or takes the key
|
|
102695
103020
|
laze connect list the connections this turn can use (agents)
|
|
102696
103021
|
laze slack overview|link-prompts|link|unlink|channels|mirror|update|moves|move ... Slack as yourself
|
|
102697
103022
|
admins set Slack up too: install|setup|begin-setup|credentials|install-app|update-app|disconnect
|
|
102698
103023
|
laze discord overview|link|unlink|channels|pick|history ... Discord as yourself
|
|
102699
103024
|
admins set Discord up too: setup|save-app|install|update|disconnect
|
|
102700
|
-
laze connect providers|start|search|mcp|mcp-key|github|card|card-key connect services as yourself
|
|
103025
|
+
laze connect providers|start|search|mcp|mcp-key|github|card|card-key|card-decline connect services as yourself
|
|
102701
103026
|
laze connect install|status|stop|uninstall the service that hands linked Codex sessions their messages
|
|
102702
103027
|
laze openclaw list|connect|agent|agent-key|feed|disconnect your OpenClaw gateways and their agents
|
|
102703
103028
|
laze kanban connect|status Kanban Code on this machine as tools for your agents
|
|
@@ -102883,6 +103208,7 @@ var COMMANDS4 = {
|
|
|
102883
103208
|
"connect github": connectAsPerson,
|
|
102884
103209
|
"connect card": connectAsPerson,
|
|
102885
103210
|
"connect card-key": connectAsPerson,
|
|
103211
|
+
"connect card-decline": connectAsPerson,
|
|
102886
103212
|
"connect install": connectService,
|
|
102887
103213
|
"connect status": connectService,
|
|
102888
103214
|
"connect stop": connectService,
|
package/package.json
CHANGED