@lazehq/cli 0.1.70 → 0.1.71
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 +39 -2
- package/package.json +1 -1
package/dist/laze.mjs
CHANGED
|
@@ -36927,7 +36927,7 @@ function flagText({
|
|
|
36927
36927
|
}
|
|
36928
36928
|
|
|
36929
36929
|
// src/rules/cli-version.rules.ts
|
|
36930
|
-
var STAMPED = "0.1.
|
|
36930
|
+
var STAMPED = "0.1.71";
|
|
36931
36931
|
function cliVersionOf({ stamped = STAMPED } = {}) {
|
|
36932
36932
|
return stamped.startsWith("__") ? "dev" : stamped;
|
|
36933
36933
|
}
|
|
@@ -65126,6 +65126,8 @@ var agentRuntimeConfig = Config.define((c) => ({
|
|
|
65126
65126
|
),
|
|
65127
65127
|
/** The progress board's alerts folder; unset, a full host is only logged. */
|
|
65128
65128
|
computerAlertDir: c.env("AGENT_RUNTIME_COMPUTER_ALERT_DIR", external_exports.string().min(1).optional()),
|
|
65129
|
+
/** The workspace whose Owners and Admins get an urgent feed card per capacity incident. */
|
|
65130
|
+
alertWorkspaceId: c.env("AGENT_RUNTIME_ALERT_WORKSPACE_ID", external_exports.string().min(1).optional()),
|
|
65129
65131
|
/** Staff get a POST here once per capacity incident; unset, only the board alert. */
|
|
65130
65132
|
opsWebhookUrl: c.env("AGENT_RUNTIME_OPS_WEBHOOK_URL", external_exports.url().optional()),
|
|
65131
65133
|
/** How often the worker asks each host's vmd for its report. */
|
|
@@ -65195,6 +65197,17 @@ var sizeShape = {
|
|
|
65195
65197
|
cpus: external_exports.number().positive(),
|
|
65196
65198
|
diskGb: external_exports.number().int().positive()
|
|
65197
65199
|
};
|
|
65200
|
+
var capacityNumbersDefinition = external_exports.object({
|
|
65201
|
+
hosts: external_exports.number().int(),
|
|
65202
|
+
awakeComputers: external_exports.number().int(),
|
|
65203
|
+
placedComputers: external_exports.number().int(),
|
|
65204
|
+
awakeCpus: external_exports.number(),
|
|
65205
|
+
awakeCpuLimit: external_exports.number(),
|
|
65206
|
+
awakeMemoryMb: external_exports.number(),
|
|
65207
|
+
awakeMemoryLimitMb: external_exports.number(),
|
|
65208
|
+
placedDiskGb: external_exports.number(),
|
|
65209
|
+
diskLimitGb: external_exports.number()
|
|
65210
|
+
});
|
|
65198
65211
|
var computerPoolFactDefinition = external_exports.discriminatedUnion("kind", [
|
|
65199
65212
|
external_exports.object({
|
|
65200
65213
|
kind: external_exports.literal("host_registered"),
|
|
@@ -65263,7 +65276,27 @@ var computerPoolFactDefinition = external_exports.discriminatedUnion("kind", [
|
|
|
65263
65276
|
wantedMemoryMb: external_exports.number(),
|
|
65264
65277
|
what: external_exports.enum(["create", "wake", "resize"])
|
|
65265
65278
|
}),
|
|
65266
|
-
external_exports.object({ kind: external_exports.literal("pool_restored"), incidentId: external_exports.string(), refusals: external_exports.number() })
|
|
65279
|
+
external_exports.object({ kind: external_exports.literal("pool_restored"), incidentId: external_exports.string(), refusals: external_exports.number() }),
|
|
65280
|
+
/** The feed's urgent card for the alert workspace's Owners and Admins. */
|
|
65281
|
+
external_exports.object({
|
|
65282
|
+
kind: external_exports.literal("capacity_card_raised"),
|
|
65283
|
+
incidentId: external_exports.string(),
|
|
65284
|
+
workspaceId: external_exports.string(),
|
|
65285
|
+
recipientUserIds: external_exports.array(external_exports.string()),
|
|
65286
|
+
computerId: external_exports.string(),
|
|
65287
|
+
what: external_exports.enum(["create", "wake", "resize"]),
|
|
65288
|
+
/** A wake knows no disk: 0. */
|
|
65289
|
+
memoryMb: external_exports.number().int().nonnegative(),
|
|
65290
|
+
cpus: external_exports.number().nonnegative(),
|
|
65291
|
+
diskGb: external_exports.number().int().nonnegative(),
|
|
65292
|
+
numbers: capacityNumbersDefinition
|
|
65293
|
+
}),
|
|
65294
|
+
external_exports.object({
|
|
65295
|
+
kind: external_exports.literal("capacity_card_settled"),
|
|
65296
|
+
incidentId: external_exports.string(),
|
|
65297
|
+
workspaceId: external_exports.string(),
|
|
65298
|
+
refusals: external_exports.number()
|
|
65299
|
+
})
|
|
65267
65300
|
]);
|
|
65268
65301
|
var computerPoolFactRecordDefinition = external_exports.object({
|
|
65269
65302
|
factId: external_exports.string().min(1),
|
|
@@ -74548,6 +74581,9 @@ laze reply MESSAGE_ID "your answer"
|
|
|
74548
74581
|
Use \`-\` instead of the text to read a long answer from stdin. \`laze inbox\` lists messages that
|
|
74549
74582
|
are waiting, if you think one was missed.
|
|
74550
74583
|
|
|
74584
|
+
Your reply is the tool call. When you have replied or posted where it belongs, end the turn
|
|
74585
|
+
without a recap; the person's DM already shows your messages elsewhere.
|
|
74586
|
+
|
|
74551
74587
|
## Other things you can do
|
|
74552
74588
|
|
|
74553
74589
|
- \`laze post <channel> "text"\` posts in a channel you are in. Add \`--image <path|url>\` or
|
|
@@ -95301,6 +95337,7 @@ var HELP = `laze: work in a Laze workspace from your terminal or your agent.
|
|
|
95301
95337
|
laze post <channel> <text|-> [--thread <id>] post as yourself (or as your agent); - reads stdin
|
|
95302
95338
|
laze reply <message-id> <text|-> answer where the message was said: the channel,
|
|
95303
95339
|
or its thread if it is in one; - reads stdin
|
|
95340
|
+
your reply is the post or reply: once it is where it belongs, end the turn with no recap
|
|
95304
95341
|
--new-thread on reply starts a thread under a top-level message instead
|
|
95305
95342
|
--also-channel on a thread reply shows it in the channel too, as "Also send to #channel" does
|
|
95306
95343
|
--image <path|url|fileId> and --file <path|url|fileId> on post or reply attach files
|
package/package.json
CHANGED