crewaid-connect 0.1.11 → 0.1.12
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.mjs +180 -17
- package/package.json +1 -1
package/dist/bin.mjs
CHANGED
|
@@ -28072,6 +28072,7 @@ var AutoReviewRuleSchema = external_exports.object({
|
|
|
28072
28072
|
});
|
|
28073
28073
|
var AutoReviewRulesSchema = external_exports.array(AutoReviewRuleSchema);
|
|
28074
28074
|
var ApprovalModeSchema = external_exports.enum(["ASK", "AUTO", "FULL"]);
|
|
28075
|
+
var ReasoningEffortSchema = external_exports.enum(["off", "low", "medium", "high"]);
|
|
28075
28076
|
var ModelProviderSchema = external_exports.enum(["openrouter", "openai", "anthropic"]);
|
|
28076
28077
|
var ModelCapabilitiesSchema = external_exports.object({
|
|
28077
28078
|
tools: external_exports.boolean(),
|
|
@@ -28210,6 +28211,12 @@ var UserSettingsSchema = external_exports.object({
|
|
|
28210
28211
|
defaultModelId: CuidSchema.nullable(),
|
|
28211
28212
|
/** Optional account-wide coding model for `code_task`; null means each bot uses its own model. */
|
|
28212
28213
|
codingModelId: CuidSchema.nullable().default(null),
|
|
28214
|
+
/**
|
|
28215
|
+
* The model background work runs on — compaction summaries and the like.
|
|
28216
|
+
* Null picks one: the plan's utility model where there is a plan, else the
|
|
28217
|
+
* default model.
|
|
28218
|
+
*/
|
|
28219
|
+
utilityModelId: CuidSchema.nullable().default(null),
|
|
28213
28220
|
language: LocaleSchema.nullable(),
|
|
28214
28221
|
timezone: TimezoneSchema.nullable(),
|
|
28215
28222
|
systemLanguage: LocaleSchema.nullable(),
|
|
@@ -28239,6 +28246,10 @@ var AvatarShapeSchema = external_exports.enum([
|
|
|
28239
28246
|
"shield",
|
|
28240
28247
|
"splat"
|
|
28241
28248
|
]);
|
|
28249
|
+
var BotWorkTriggersSchema = external_exports.object({
|
|
28250
|
+
onAssigned: external_exports.boolean().optional(),
|
|
28251
|
+
onUnblocked: external_exports.boolean().optional()
|
|
28252
|
+
}).strict();
|
|
28242
28253
|
var BotSchema = external_exports.object({
|
|
28243
28254
|
kind: external_exports.enum(["STANDARD", "MAIN"]).default("STANDARD"),
|
|
28244
28255
|
id: CuidSchema,
|
|
@@ -28266,6 +28277,8 @@ var BotSchema = external_exports.object({
|
|
|
28266
28277
|
* falls back to this bot's `modelId`.
|
|
28267
28278
|
*/
|
|
28268
28279
|
codingModelId: CuidSchema.nullable().optional(),
|
|
28280
|
+
/** Reasoning effort override; null/omitted uses each kind of turn's default. */
|
|
28281
|
+
reasoningEffort: ReasoningEffortSchema.nullable().optional(),
|
|
28269
28282
|
status: BotStatusSchema,
|
|
28270
28283
|
sortOrder: external_exports.number().int(),
|
|
28271
28284
|
pinned: external_exports.boolean(),
|
|
@@ -28279,6 +28292,8 @@ var BotSchema = external_exports.object({
|
|
|
28279
28292
|
approvalMode: ApprovalModeSchema.default("AUTO"),
|
|
28280
28293
|
/** This bot's voice on the server's current speech provider; null is that provider's house voice. */
|
|
28281
28294
|
voiceId: external_exports.string().min(1).max(64).nullable().default(null),
|
|
28295
|
+
/** Opt-in Work reactivity switches (D-249). */
|
|
28296
|
+
workTriggers: BotWorkTriggersSchema.optional(),
|
|
28282
28297
|
/**
|
|
28283
28298
|
* The computer this bot works on. Null means detached — a bot that
|
|
28284
28299
|
* has never started, or one whose machine was deleted out from under it.
|
|
@@ -28483,6 +28498,15 @@ var SkillRunSchema = external_exports.object({
|
|
|
28483
28498
|
startedAt: DateTimeSchema.nullable(),
|
|
28484
28499
|
endedAt: DateTimeSchema.nullable()
|
|
28485
28500
|
});
|
|
28501
|
+
var SkillRevisionSchema = external_exports.object({
|
|
28502
|
+
id: CuidSchema,
|
|
28503
|
+
skillId: CuidSchema,
|
|
28504
|
+
status: RunStatusSchema,
|
|
28505
|
+
resultSkillId: CuidSchema.nullable(),
|
|
28506
|
+
error: external_exports.string().nullable(),
|
|
28507
|
+
createdAt: DateTimeSchema,
|
|
28508
|
+
endedAt: DateTimeSchema.nullable()
|
|
28509
|
+
});
|
|
28486
28510
|
var McpServerSchema = external_exports.object({
|
|
28487
28511
|
id: CuidSchema,
|
|
28488
28512
|
userId: CuidSchema,
|
|
@@ -28546,6 +28570,10 @@ var RoutineSchema = external_exports.object({
|
|
|
28546
28570
|
timezone: TimezoneSchema,
|
|
28547
28571
|
endsOn: external_exports.string().regex(/^\d{4}-\d{2}-\d{2}$/).nullable(),
|
|
28548
28572
|
prompt: external_exports.string().nullable(),
|
|
28573
|
+
/** Optional cheap utility-model pre-check prompt (D-249). */
|
|
28574
|
+
preCheckPrompt: external_exports.string().nullable().default(null),
|
|
28575
|
+
/** When true, no-action ticks record SUCCEEDED without posting chat messages (D-249). */
|
|
28576
|
+
silentOnNoAction: external_exports.boolean().default(true),
|
|
28549
28577
|
skillId: CuidSchema.nullable(),
|
|
28550
28578
|
skillParams: JsonSchema.nullable(),
|
|
28551
28579
|
enabled: external_exports.boolean(),
|
|
@@ -28555,6 +28583,18 @@ var RoutineSchema = external_exports.object({
|
|
|
28555
28583
|
/** The goal this routine works toward. Defaulted for older servers. */
|
|
28556
28584
|
goalId: CuidSchema.nullable().default(null)
|
|
28557
28585
|
}).refine((r) => r.prompt === null !== (r.skillId === null), "exactly one of prompt or skillId must be set");
|
|
28586
|
+
var BotWebhookSchema = external_exports.object({
|
|
28587
|
+
id: CuidSchema,
|
|
28588
|
+
userId: CuidSchema,
|
|
28589
|
+
botId: CuidSchema,
|
|
28590
|
+
name: external_exports.string().min(1).max(80),
|
|
28591
|
+
promptTemplate: external_exports.string().min(1).max(4e3),
|
|
28592
|
+
enabled: external_exports.boolean(),
|
|
28593
|
+
rateLimitPerHour: external_exports.number().int().min(1).max(1e3),
|
|
28594
|
+
lastFiredAt: DateTimeSchema.nullable(),
|
|
28595
|
+
createdAt: DateTimeSchema,
|
|
28596
|
+
updatedAt: DateTimeSchema
|
|
28597
|
+
});
|
|
28558
28598
|
|
|
28559
28599
|
// ../shared/dist/github-git.js
|
|
28560
28600
|
var GitHubRepositorySchema = external_exports.string().max(160).regex(/^[A-Za-z0-9][A-Za-z0-9-]*\/[A-Za-z0-9_.-]+$/).refine((name) => ![".", ".."].includes(name.split("/")[1] ?? ""));
|
|
@@ -28867,7 +28907,8 @@ var WsFrameSchema = external_exports.object({
|
|
|
28867
28907
|
var MessageCreatedPayloadSchema = MessageWithAttachmentsSchema;
|
|
28868
28908
|
var MessageAttachmentsPayloadSchema = external_exports.object({
|
|
28869
28909
|
messageId: CuidSchema,
|
|
28870
|
-
attachments: external_exports.array(AttachmentSchema)
|
|
28910
|
+
attachments: external_exports.array(AttachmentSchema),
|
|
28911
|
+
toolCallId: external_exports.string().min(1).max(128).optional()
|
|
28871
28912
|
});
|
|
28872
28913
|
var MessageDeletedPayloadSchema = external_exports.object({
|
|
28873
28914
|
botId: CuidSchema,
|
|
@@ -29263,6 +29304,7 @@ var CreateBotBodySchema = external_exports.object({
|
|
|
29263
29304
|
systemPrompt: external_exports.string(),
|
|
29264
29305
|
modelId: ModelRefSchema.optional(),
|
|
29265
29306
|
codingModelId: CuidSchema.nullable().optional(),
|
|
29307
|
+
reasoningEffort: ReasoningEffortSchema.nullable().optional(),
|
|
29266
29308
|
autoReviewRules: AutoReviewRulesSchema.optional(),
|
|
29267
29309
|
approvalMode: ApprovalModeSchema.optional()
|
|
29268
29310
|
});
|
|
@@ -29275,6 +29317,8 @@ var UpdateBotBodySchema = external_exports.object({
|
|
|
29275
29317
|
modelId: ModelRefSchema,
|
|
29276
29318
|
/** Optional coding model override (`ProviderModel.id`), or null to inherit. */
|
|
29277
29319
|
codingModelId: CuidSchema.nullable(),
|
|
29320
|
+
/** Reasoning effort override, or null for each kind of turn's default. */
|
|
29321
|
+
reasoningEffort: ReasoningEffortSchema.nullable(),
|
|
29278
29322
|
sortOrder: external_exports.number().int(),
|
|
29279
29323
|
pinned: external_exports.boolean(),
|
|
29280
29324
|
hiddenFromSidebar: external_exports.boolean(),
|
|
@@ -29284,7 +29328,9 @@ var UpdateBotBodySchema = external_exports.object({
|
|
|
29284
29328
|
/** move the bot into a group, or out of every group with null. */
|
|
29285
29329
|
groupId: CuidSchema.nullable(),
|
|
29286
29330
|
/** the voice this bot speaks in, or null for the house voice. */
|
|
29287
|
-
voiceId: external_exports.string().min(1).max(64).nullable()
|
|
29331
|
+
voiceId: external_exports.string().min(1).max(64).nullable(),
|
|
29332
|
+
/** Opt-in Work reactivity switches (D-249). */
|
|
29333
|
+
workTriggers: BotWorkTriggersSchema
|
|
29288
29334
|
}).partial().refine((b) => Object.keys(b).length > 0, "at least one field must be provided");
|
|
29289
29335
|
var MarkBotReadBodySchema = external_exports.object({
|
|
29290
29336
|
unread: external_exports.boolean().optional()
|
|
@@ -29681,6 +29727,7 @@ var KnownTimezoneSchema = TimezoneSchema.refine(isKnownTimezone, "unknown timezo
|
|
|
29681
29727
|
var UpdateUserSettingsBodySchema = external_exports.object({
|
|
29682
29728
|
defaultModelId: CuidSchema.nullable(),
|
|
29683
29729
|
codingModelId: CuidSchema.nullable(),
|
|
29730
|
+
utilityModelId: CuidSchema.nullable(),
|
|
29684
29731
|
language: LocaleSchema.nullable(),
|
|
29685
29732
|
timezone: KnownTimezoneSchema.nullable(),
|
|
29686
29733
|
systemLanguage: LocaleSchema.nullable(),
|
|
@@ -29693,6 +29740,8 @@ var CreateRoutineBodySchema = external_exports.object({
|
|
|
29693
29740
|
timezone: external_exports.string().min(1).optional(),
|
|
29694
29741
|
endsOn: external_exports.string().regex(/^\d{4}-\d{2}-\d{2}$/).nullable().optional(),
|
|
29695
29742
|
prompt: external_exports.string().nullish(),
|
|
29743
|
+
preCheckPrompt: external_exports.string().max(2e3).nullish(),
|
|
29744
|
+
silentOnNoAction: external_exports.boolean().optional(),
|
|
29696
29745
|
skillId: CuidSchema.nullish(),
|
|
29697
29746
|
skillParams: JsonSchema.nullish(),
|
|
29698
29747
|
enabled: external_exports.boolean().optional(),
|
|
@@ -29705,12 +29754,31 @@ var UpdateRoutineBodySchema = external_exports.object({
|
|
|
29705
29754
|
timezone: external_exports.string().min(1),
|
|
29706
29755
|
endsOn: external_exports.string().regex(/^\d{4}-\d{2}-\d{2}$/).nullable(),
|
|
29707
29756
|
prompt: external_exports.string().nullable(),
|
|
29757
|
+
preCheckPrompt: external_exports.string().max(2e3).nullable(),
|
|
29758
|
+
silentOnNoAction: external_exports.boolean(),
|
|
29708
29759
|
skillId: CuidSchema.nullable(),
|
|
29709
29760
|
skillParams: JsonSchema.nullable(),
|
|
29710
29761
|
enabled: external_exports.boolean(),
|
|
29711
29762
|
goalId: CuidSchema.nullable()
|
|
29712
29763
|
}).partial().refine((b) => Object.keys(b).length > 0, "at least one field must be provided");
|
|
29713
29764
|
var ListRoutinesResponseSchema = external_exports.array(RoutineSchema);
|
|
29765
|
+
var CreateBotWebhookBodySchema = external_exports.object({
|
|
29766
|
+
name: external_exports.string().min(1).max(80),
|
|
29767
|
+
promptTemplate: external_exports.string().min(1).max(4e3),
|
|
29768
|
+
enabled: external_exports.boolean().optional(),
|
|
29769
|
+
rateLimitPerHour: external_exports.number().int().min(1).max(1e3).optional()
|
|
29770
|
+
});
|
|
29771
|
+
var UpdateBotWebhookBodySchema = external_exports.object({
|
|
29772
|
+
name: external_exports.string().min(1).max(80),
|
|
29773
|
+
promptTemplate: external_exports.string().min(1).max(4e3),
|
|
29774
|
+
enabled: external_exports.boolean(),
|
|
29775
|
+
rateLimitPerHour: external_exports.number().int().min(1).max(1e3)
|
|
29776
|
+
}).partial().refine((body) => Object.keys(body).length > 0, "at least one field must be provided");
|
|
29777
|
+
var CreateBotWebhookResponseSchema = BotWebhookSchema.extend({
|
|
29778
|
+
/** Returned once on creation so the caller can configure HMAC-SHA256 signing. */
|
|
29779
|
+
secret: external_exports.string().min(1)
|
|
29780
|
+
});
|
|
29781
|
+
var ListBotWebhooksResponseSchema = external_exports.array(BotWebhookSchema);
|
|
29714
29782
|
var UsageQuerySchema = external_exports.object({
|
|
29715
29783
|
from: external_exports.iso.date(),
|
|
29716
29784
|
to: external_exports.iso.date()
|
|
@@ -29911,6 +29979,7 @@ var API_ROUTES = {
|
|
|
29911
29979
|
update: "PATCH /skills/:id",
|
|
29912
29980
|
remove: "DELETE /skills/:id",
|
|
29913
29981
|
revise: "POST /skills/:id/revise",
|
|
29982
|
+
getRevision: "GET /skills/:id/revisions/:revisionId",
|
|
29914
29983
|
approve: "POST /skills/:id/approve",
|
|
29915
29984
|
run: "POST /skills/:id/run",
|
|
29916
29985
|
getRun: "GET /skills/:id/runs/:runId"
|
|
@@ -30512,7 +30581,7 @@ var VisualPayloadSchema = external_exports.object({
|
|
|
30512
30581
|
// ../shared/dist/native-tools.js
|
|
30513
30582
|
var id = external_exports.string();
|
|
30514
30583
|
var KIND = external_exports.enum(["preference", "convention", "fact", "decision", "task_state", "resource"]);
|
|
30515
|
-
var SCOPE = external_exports.enum(["workspace", "mine"]);
|
|
30584
|
+
var SCOPE = external_exports.enum(["workspace", "group", "mine"]);
|
|
30516
30585
|
var MAX_CONTENT_CHARS = 8e3;
|
|
30517
30586
|
var profileFields = {
|
|
30518
30587
|
name: external_exports.string().min(1).max(64).describe('The teammate\u2019s display name, e.g. "Quill".'),
|
|
@@ -30554,6 +30623,7 @@ var NativeToolInputs = {
|
|
|
30554
30623
|
goalId: id.optional(),
|
|
30555
30624
|
parentId: id.optional(),
|
|
30556
30625
|
assignee: external_exports.string().optional(),
|
|
30626
|
+
dueOn: external_exports.string().optional(),
|
|
30557
30627
|
after: id.optional(),
|
|
30558
30628
|
repeat: external_exports.string().optional()
|
|
30559
30629
|
}),
|
|
@@ -30561,31 +30631,69 @@ var NativeToolInputs = {
|
|
|
30561
30631
|
taskId: id,
|
|
30562
30632
|
status: external_exports.string().optional(),
|
|
30563
30633
|
note: external_exports.string().optional(),
|
|
30634
|
+
files: external_exports.array(external_exports.string().min(1).max(512)).max(10).optional(),
|
|
30564
30635
|
assignee: external_exports.string().nullable().optional(),
|
|
30565
30636
|
title: external_exports.string().optional(),
|
|
30566
30637
|
brief: external_exports.string().optional(),
|
|
30638
|
+
dueOn: external_exports.string().nullable().optional(),
|
|
30567
30639
|
projectId: id.nullable().optional(),
|
|
30568
30640
|
goalId: id.nullable().optional(),
|
|
30569
30641
|
repeat: external_exports.string().nullable().optional()
|
|
30570
30642
|
}),
|
|
30643
|
+
project_list: external_exports.object({ status: external_exports.enum(["ACTIVE", "ARCHIVED"]).optional() }),
|
|
30571
30644
|
project_create: external_exports.object({ name: external_exports.string(), goal: external_exports.string().optional() }),
|
|
30645
|
+
goal_list: external_exports.object({
|
|
30646
|
+
status: external_exports.enum(["ACTIVE", "ACHIEVED", "ABANDONED"]).optional(),
|
|
30647
|
+
projectId: id.optional()
|
|
30648
|
+
}),
|
|
30649
|
+
goal_read: external_exports.object({ goalId: id }),
|
|
30650
|
+
goal_update: external_exports.object({
|
|
30651
|
+
goalId: id,
|
|
30652
|
+
title: external_exports.string().min(1).max(200).optional(),
|
|
30653
|
+
outcome: external_exports.string().max(4e3).nullable().optional(),
|
|
30654
|
+
targetOn: external_exports.string().nullable().optional(),
|
|
30655
|
+
status: external_exports.enum(["ACTIVE", "ACHIEVED", "ABANDONED"]).optional()
|
|
30656
|
+
}),
|
|
30572
30657
|
send_message: external_exports.object({
|
|
30573
30658
|
toBot: external_exports.string().describe("The other bot's name, e.g. Quill (its id also works; a teammate the user tagged as @Quill is the same bot)"),
|
|
30574
30659
|
content: external_exports.string().max(MAX_CONTENT_CHARS).describe("What to say. Include everything that bot needs \u2014 it cannot see your work: the task, what it is for, and what done looks like. Say it once and plainly; your caveats about how it might fail are noise to it."),
|
|
30575
30660
|
taskId: external_exports.string().nullable().optional().describe("Omit: keep your task; null: none."),
|
|
30661
|
+
routineId: external_exports.string().nullable().optional().describe("Omit: keep your routine provenance; null: none."),
|
|
30662
|
+
goalId: external_exports.string().nullable().optional().describe("Omit: keep your goal provenance; null: none."),
|
|
30576
30663
|
expectReply: external_exports.boolean().optional().describe("Set false for FYI notices that belong in context without starting a turn or expecting a reply. Defaults to true.")
|
|
30577
30664
|
}),
|
|
30665
|
+
delegate_task: external_exports.object({
|
|
30666
|
+
taskId: external_exports.string().min(1).max(64).optional(),
|
|
30667
|
+
goalId: external_exports.string().min(1).max(64).optional(),
|
|
30668
|
+
botId: external_exports.string().min(1).describe("The specialist teammate's name or id (e.g. Quill, @Quill, or its id)."),
|
|
30669
|
+
goal: external_exports.string().min(1).max(MAX_CONTENT_CHARS).describe("Concrete objective, necessary context, and what done looks like for the specialist."),
|
|
30670
|
+
inputs: external_exports.record(external_exports.string(), JsonSchema).optional().describe("Optional structured key/value inputs handed to the specialist."),
|
|
30671
|
+
outputFormat: external_exports.string().min(1).max(1e3).optional().describe("Optional requested output structure for the compressed handoff summary."),
|
|
30672
|
+
maxSteps: external_exports.number().int().min(1).max(20).optional().describe("Maximum tool steps the specialist may take (default 8, max 20).")
|
|
30673
|
+
}),
|
|
30578
30674
|
schedule_routine: external_exports.object({
|
|
30675
|
+
goalId: external_exports.string().min(1).max(64).optional(),
|
|
30579
30676
|
name: external_exports.string().min(1).max(80).describe("A short name the user will recognise."),
|
|
30580
30677
|
cron: external_exports.string().describe('Five fields: minute hour day-of-month month day-of-week, e.g. "0 9 * * 1-5" for 09:00 on weekdays, or "30 8 24 9 *" for 08:30 on 24 September.'),
|
|
30581
30678
|
timezone: external_exports.string().optional().describe(`IANA zone the cron is read in, e.g. "America/New_York". Defaults to the user's timezone.`),
|
|
30582
|
-
prompt: external_exports.string().min(1).max(4e3).describe("What to do when it runs, written to your future self.")
|
|
30679
|
+
prompt: external_exports.string().min(1).max(4e3).describe("What to do when it runs, written to your future self."),
|
|
30680
|
+
endsOn: external_exports.string().regex(/^\d{4}-\d{2}-\d{2}$/, "must be YYYY-MM-DD").optional().describe("Optional inclusive end date (YYYY-MM-DD) in the routine timezone."),
|
|
30681
|
+
preCheckPrompt: external_exports.string().min(1).max(2e3).optional().describe("Optional cheap check evaluated before running the full prompt; skips silently when no action is needed."),
|
|
30682
|
+
silentOnNoAction: external_exports.boolean().optional().describe("When true (default), ticks with no action stay silent in chat and Telegram.")
|
|
30583
30683
|
}),
|
|
30584
30684
|
cancel_routine: external_exports.object({
|
|
30585
30685
|
routine: external_exports.string().min(1).describe("The routine id, or its exact name.")
|
|
30586
30686
|
}),
|
|
30687
|
+
schedule_followup: external_exports.object({
|
|
30688
|
+
delaySeconds: external_exports.number().int().min(10).max(30 * 24 * 60 * 60).optional().describe("Seconds from now to wake up (10s to 30d). Provide delaySeconds or runAt."),
|
|
30689
|
+
runAt: external_exports.string().datetime().optional().describe("ISO-8601 UTC timestamp to wake up at. Provide delaySeconds or runAt."),
|
|
30690
|
+
prompt: external_exports.string().min(1).max(4e3).describe("Note to your future self describing what to check or do when the timer fires.")
|
|
30691
|
+
}).refine((input2) => input2.delaySeconds !== void 0 !== (input2.runAt !== void 0), "provide exactly one of delaySeconds or runAt"),
|
|
30692
|
+
cancel_followup: external_exports.object({
|
|
30693
|
+
followupId: external_exports.string().min(1).describe("The id returned by schedule_followup.")
|
|
30694
|
+
}),
|
|
30587
30695
|
board_read: external_exports.object({
|
|
30588
|
-
restore: external_exports.boolean().optional().describe("Set true to explicitly restore
|
|
30696
|
+
restore: external_exports.boolean().optional().describe("Set true to explicitly restore your board file from durable managed history.")
|
|
30589
30697
|
}).describe("Optional restore flag; pass {} for a normal read."),
|
|
30590
30698
|
board_add: external_exports.object({
|
|
30591
30699
|
entry: external_exports.string().describe("The entry to append, e.g. `- [ ] Draft the pricing page copy`")
|
|
@@ -30600,6 +30708,16 @@ var NativeToolInputs = {
|
|
|
30600
30708
|
paramsSchema: JsonSchemaObjectSchema.optional().describe("JSON Schema for the skill\u2019s arguments; omit for a skill that takes none."),
|
|
30601
30709
|
script: external_exports.string().describe("The full TypeScript module source.")
|
|
30602
30710
|
}),
|
|
30711
|
+
revise_skill: external_exports.object({
|
|
30712
|
+
name: external_exports.string().regex(/^[a-z][a-z0-9_]*$/, "snake_case: lower-case words joined by underscores").describe("The skill to repair, as list_skills names it"),
|
|
30713
|
+
failureSummary: external_exports.string().min(1).max(2e3).describe("What broke in the failed run and what the repair changes, in one or two sentences."),
|
|
30714
|
+
updatedScript: external_exports.string().describe("The whole repaired TypeScript module source.")
|
|
30715
|
+
}).strict(),
|
|
30716
|
+
list_skills: external_exports.object({}).strict().describe("No arguments."),
|
|
30717
|
+
read_skill: external_exports.object({
|
|
30718
|
+
name: external_exports.string().describe("The skill name, as list_skills names it"),
|
|
30719
|
+
scriptOffset: external_exports.number().int().nonnegative().optional().describe("The nextScriptOffset returned by a previous read of this skill.")
|
|
30720
|
+
}).strict(),
|
|
30603
30721
|
use_identity: external_exports.object({
|
|
30604
30722
|
identity: external_exports.string().describe('The identity name, e.g. "company-google". Letters, digits, underscore and hyphen only. Reuse the exact name a person gave you; a new name creates a new, signed-out profile rather than finding an existing session.')
|
|
30605
30723
|
}),
|
|
@@ -30645,7 +30763,7 @@ var NativeToolInputs = {
|
|
|
30645
30763
|
// model can use.
|
|
30646
30764
|
fact: external_exports.string().describe("One self-contained fact, e.g. `The staging site is crewaid-staging.example.com`"),
|
|
30647
30765
|
kind: KIND.describe("What sort of claim this is. `task_state` is where work stands and is replaced as it moves on; `resource` points at where something was read rather than copying it."),
|
|
30648
|
-
scope: SCOPE.describe("`workspace` \u2014 true no matter which of your bots is asked, and your name is recorded beside it so your teammates can tell whose work the fact describes. `mine` \u2014 true about your own role and work. Choose deliberately; there is no default."),
|
|
30766
|
+
scope: SCOPE.describe("`workspace` \u2014 true no matter which of your bots is asked, and your name is recorded beside it so your teammates can tell whose work the fact describes. `group` \u2014 shared only across bots in your current group. `mine` \u2014 true about your own role and work. Choose deliberately; there is no default."),
|
|
30649
30767
|
// Resolve the omitted detail before binding a policy proposal.
|
|
30650
30768
|
detail: external_exports.string().default("").describe("For a `decision`, why it was made and what would reopen it.")
|
|
30651
30769
|
}),
|
|
@@ -30653,7 +30771,9 @@ var NativeToolInputs = {
|
|
|
30653
30771
|
query: external_exports.string().describe("What to look for, in words. Plain language, not operators.")
|
|
30654
30772
|
}),
|
|
30655
30773
|
forget: external_exports.object({
|
|
30656
|
-
fact: external_exports.string().describe("The exact text to remove, copied from memory_read")
|
|
30774
|
+
fact: external_exports.string().describe("The exact text to remove, copied from memory_read"),
|
|
30775
|
+
scope: SCOPE.describe("Optional scope disambiguator (`mine` or `workspace`) when the same claim exists in both.").optional(),
|
|
30776
|
+
id: external_exports.string().min(1).describe("Optional memory row id to disambiguate duplicate claims.").optional()
|
|
30657
30777
|
}),
|
|
30658
30778
|
run_skill: external_exports.object({
|
|
30659
30779
|
name: external_exports.string().describe("The skill name, e.g. summarize_inbox"),
|
|
@@ -30664,8 +30784,8 @@ var NativeToolInputs = {
|
|
|
30664
30784
|
note: external_exports.string().describe("One line describing the file, shown with it").optional(),
|
|
30665
30785
|
// File it under the user's task or goal. Without them it is
|
|
30666
30786
|
// filed under whatever this turn's work came from.
|
|
30667
|
-
taskId: external_exports.string().optional(),
|
|
30668
|
-
goalId: external_exports.string().optional()
|
|
30787
|
+
taskId: external_exports.string().optional().describe("Task id to file under."),
|
|
30788
|
+
goalId: external_exports.string().optional().describe("Goal id to file under.")
|
|
30669
30789
|
}),
|
|
30670
30790
|
screenshot: external_exports.object({}).describe("No arguments."),
|
|
30671
30791
|
shell: external_exports.object({
|
|
@@ -30702,7 +30822,8 @@ var NativeToolInputs = {
|
|
|
30702
30822
|
process_start: external_exports.object({
|
|
30703
30823
|
command: external_exports.string().min(1).describe('Shell command to start in the background, e.g. "pnpm dev" or "pnpm test"'),
|
|
30704
30824
|
cwd: external_exports.string().optional().describe("Working directory inside the workspace (defaults to your own area)"),
|
|
30705
|
-
maxDurationSec: external_exports.number().int().min(10).max(3600).optional().describe("Hard lifetime limit in seconds (default 1800, max 3600)")
|
|
30825
|
+
maxDurationSec: external_exports.number().int().min(10).max(3600).optional().describe("Hard lifetime limit in seconds (default 1800, max 3600)"),
|
|
30826
|
+
notifyOnExit: external_exports.boolean().optional().describe("When true, automatically wake you with the exit code and last 40 lines of output when the process exits.")
|
|
30706
30827
|
}),
|
|
30707
30828
|
process_output: external_exports.object({
|
|
30708
30829
|
processId: external_exports.string().min(1).optional().describe("Managed process ID from process_start; omit to list your running and recent processes"),
|
|
@@ -30728,15 +30849,50 @@ var NativeToolInputs = {
|
|
|
30728
30849
|
verifyCommand: external_exports.string().min(1).max(512).optional().describe('Optional command for the local harness to verify changes, e.g. "pnpm test"')
|
|
30729
30850
|
}),
|
|
30730
30851
|
browser_navigate: external_exports.object({
|
|
30731
|
-
url: external_exports.string().describe("An absolute http(s) URL, e.g. https://example.com/pricing")
|
|
30852
|
+
url: external_exports.string().describe("An absolute http(s) URL, e.g. https://example.com/pricing"),
|
|
30853
|
+
readAfter: external_exports.boolean().optional().describe("When true, also return a fresh browser_read snapshot after navigation.")
|
|
30854
|
+
}),
|
|
30855
|
+
browser_read: external_exports.object({
|
|
30856
|
+
selector: external_exports.string().max(200).optional().describe("Optional CSS selector, or a reference from the latest snapshot, to read only that part of the page."),
|
|
30857
|
+
startLine: external_exports.number().int().min(1).optional().describe("1-based starting line for paginating large snapshots."),
|
|
30858
|
+
interactiveOnly: external_exports.boolean().optional().describe("When true, return only interactive controls (buttons, links, inputs) and headings.")
|
|
30732
30859
|
}),
|
|
30733
|
-
browser_read: external_exports.object({}),
|
|
30734
30860
|
browser_click: external_exports.object({
|
|
30735
|
-
reference: external_exports.string().describe("The exact reference from the latest browser_read [ref=...] annotation")
|
|
30861
|
+
reference: external_exports.string().describe("The exact reference from the latest browser_read [ref=...] annotation"),
|
|
30862
|
+
readAfter: external_exports.boolean().optional().describe("When true, also return a fresh browser_read snapshot after clicking.")
|
|
30736
30863
|
}),
|
|
30737
30864
|
browser_type: external_exports.object({
|
|
30738
30865
|
reference: external_exports.string().describe("The exact editable reference from the latest browser_read snapshot"),
|
|
30739
|
-
text: external_exports.string().describe("The text to type")
|
|
30866
|
+
text: external_exports.string().describe("The text to type"),
|
|
30867
|
+
readAfter: external_exports.boolean().optional().describe("When true, also return a fresh browser_read snapshot after typing.")
|
|
30868
|
+
}),
|
|
30869
|
+
browser_scroll: external_exports.object({
|
|
30870
|
+
direction: external_exports.enum(["up", "down", "left", "right"]).describe("Direction to scroll."),
|
|
30871
|
+
amount: external_exports.number().int().min(1).max(20).optional().describe("Scroll increments (default 5, ~500px)."),
|
|
30872
|
+
reference: external_exports.string().optional().describe("Optional element reference to scroll over instead of the viewport center.")
|
|
30873
|
+
}),
|
|
30874
|
+
browser_press_key: external_exports.object({
|
|
30875
|
+
key: external_exports.string().min(1).max(64).describe('Playwright key name or shortcut, e.g. "Enter", "Escape", "Tab", "Control+a".'),
|
|
30876
|
+
reference: external_exports.string().optional().describe("Optional element reference to focus before pressing the key.")
|
|
30877
|
+
}),
|
|
30878
|
+
browser_wait: external_exports.object({
|
|
30879
|
+
ms: external_exports.number().int().min(50).max(15e3).optional().describe("Fixed wait duration in milliseconds (50\u201315000)."),
|
|
30880
|
+
selector: external_exports.string().min(1).max(200).optional().describe("CSS selector to wait until visible."),
|
|
30881
|
+
text: external_exports.string().min(1).max(200).optional().describe("Visible text substring to wait for.")
|
|
30882
|
+
}),
|
|
30883
|
+
browser_select: external_exports.object({
|
|
30884
|
+
reference: external_exports.string().describe("The exact select/combobox reference from the latest browser_read snapshot."),
|
|
30885
|
+
value: external_exports.string().describe("Option value or visible label to select.")
|
|
30886
|
+
}),
|
|
30887
|
+
browser_tabs: external_exports.object({
|
|
30888
|
+
action: external_exports.enum(["list", "switch", "close"]).describe("Tab operation to perform."),
|
|
30889
|
+
index: external_exports.number().int().min(0).optional().describe('0-based tab index from action="list" (required for switch and close).')
|
|
30890
|
+
}),
|
|
30891
|
+
update_plan: external_exports.object({
|
|
30892
|
+
steps: external_exports.array(external_exports.object({
|
|
30893
|
+
title: external_exports.string().min(1).max(120),
|
|
30894
|
+
status: external_exports.enum(["pending", "in_progress", "completed", "blocked"])
|
|
30895
|
+
})).min(1).max(12).describe("Ordered live checklist of steps for the current multi-step task.")
|
|
30740
30896
|
})
|
|
30741
30897
|
};
|
|
30742
30898
|
|
|
@@ -30854,6 +31010,7 @@ var TaskSeriesSchema = external_exports.object({
|
|
|
30854
31010
|
timezone: TimezoneSchema,
|
|
30855
31011
|
endsOn: CalendarDateSchema.nullable(),
|
|
30856
31012
|
enabled: external_exports.boolean(),
|
|
31013
|
+
autoStart: external_exports.boolean().default(false),
|
|
30857
31014
|
lastFiredAt: DateTimeSchema.nullable(),
|
|
30858
31015
|
origin: TaskOriginSchema,
|
|
30859
31016
|
createdAt: DateTimeSchema,
|
|
@@ -30888,6 +31045,7 @@ var taskEventBase = {
|
|
|
30888
31045
|
startKey: external_exports.string().nullable(),
|
|
30889
31046
|
/** The bot's reply for a tool edit, the brief for STARTED; null for board edits. */
|
|
30890
31047
|
messageId: CuidSchema.nullable(),
|
|
31048
|
+
conversationBotId: CuidSchema.nullable().optional(),
|
|
30891
31049
|
createdAt: DateTimeSchema
|
|
30892
31050
|
};
|
|
30893
31051
|
var TaskEventSchema = external_exports.discriminatedUnion("type", [
|
|
@@ -30960,6 +31118,7 @@ var DeliverableViewSchema = DeliverableSchema.extend({
|
|
|
30960
31118
|
task: TitledRefSchema.nullable(),
|
|
30961
31119
|
goal: TitledRefSchema.nullable(),
|
|
30962
31120
|
publisherName: external_exports.string().nullable().optional(),
|
|
31121
|
+
conversationBotId: CuidSchema.nullable().optional(),
|
|
30963
31122
|
revisionNumber: external_exports.number().int().positive().optional()
|
|
30964
31123
|
});
|
|
30965
31124
|
var SeriesRateSchema = external_exports.object({
|
|
@@ -31027,7 +31186,9 @@ var CreateTaskBodySchema = external_exports.object({
|
|
|
31027
31186
|
/** Where in *To do* it goes. Absent puts it at the top. */
|
|
31028
31187
|
rank: RankSchema.optional(),
|
|
31029
31188
|
/** Makes it a recurring task: a series, and its first occurrence when due. */
|
|
31030
|
-
repeat: RepeatSchema.optional()
|
|
31189
|
+
repeat: RepeatSchema.optional(),
|
|
31190
|
+
/** When true on a recurring task, automatically starts each new occurrence on its assignee (D-249). */
|
|
31191
|
+
autoStart: external_exports.boolean().optional()
|
|
31031
31192
|
});
|
|
31032
31193
|
var UpdateTaskBodySchema = external_exports.object({
|
|
31033
31194
|
title: TitleSchema,
|
|
@@ -31080,7 +31241,8 @@ var UpdateTaskSeriesBodySchema = external_exports.object({
|
|
|
31080
31241
|
cron: CronSchema,
|
|
31081
31242
|
timezone: TimezoneSchema,
|
|
31082
31243
|
endsOn: CalendarDateSchema.nullable(),
|
|
31083
|
-
enabled: external_exports.boolean()
|
|
31244
|
+
enabled: external_exports.boolean(),
|
|
31245
|
+
autoStart: external_exports.boolean()
|
|
31084
31246
|
}).partial().refine((body) => Object.keys(body).length > 0, "at least one field must be provided");
|
|
31085
31247
|
var TaskSeriesDetailResponseSchema = TaskSeriesSchema.extend({
|
|
31086
31248
|
occurrences: external_exports.array(TaskCardSchema)
|
|
@@ -31126,6 +31288,7 @@ var ListDeliverablesQuerySchema = external_exports.object({
|
|
|
31126
31288
|
goalId: CuidSchema.optional(),
|
|
31127
31289
|
taskId: CuidSchema.optional(),
|
|
31128
31290
|
botId: CuidSchema.optional(),
|
|
31291
|
+
conversationBotId: CuidSchema.optional(),
|
|
31129
31292
|
/** The deliverable a file attachment was filed as — whichever bot published it. */
|
|
31130
31293
|
attachmentId: CuidSchema.optional(),
|
|
31131
31294
|
kind: DeliverableKindSchema.optional(),
|
|
@@ -33311,7 +33474,7 @@ function promptHiddenToken(options = {}) {
|
|
|
33311
33474
|
|
|
33312
33475
|
// src/cli.ts
|
|
33313
33476
|
function cliVersion() {
|
|
33314
|
-
return true ? "0.1.
|
|
33477
|
+
return true ? "0.1.12" : "0.0.0-dev";
|
|
33315
33478
|
}
|
|
33316
33479
|
var HELP_TEXT = `crewaid-connect \u2014 Connect a local repository and ACP coding harness to Crewaid
|
|
33317
33480
|
|
package/package.json
CHANGED