@rudderhq/cli 0.3.4-canary.31 → 0.3.4-canary.33
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/index.js +29 -36
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -292,18 +292,42 @@ var init_constants = __esm({
|
|
|
292
292
|
];
|
|
293
293
|
PROJECT_ICONS = [
|
|
294
294
|
"folder",
|
|
295
|
+
"dollar",
|
|
295
296
|
"book",
|
|
297
|
+
"graduation-cap",
|
|
298
|
+
"pencil",
|
|
299
|
+
"pen-tool",
|
|
300
|
+
"braces",
|
|
301
|
+
"terminal",
|
|
302
|
+
"music",
|
|
303
|
+
"popcorn",
|
|
304
|
+
"paintbrush",
|
|
305
|
+
"palette",
|
|
306
|
+
"stethoscope",
|
|
307
|
+
"clover",
|
|
308
|
+
"flower",
|
|
309
|
+
"briefcase",
|
|
310
|
+
"chart",
|
|
311
|
+
"database",
|
|
312
|
+
"dumbbell",
|
|
313
|
+
"notebook",
|
|
314
|
+
"scale",
|
|
296
315
|
"plane",
|
|
297
316
|
"globe",
|
|
317
|
+
"home",
|
|
318
|
+
"tree-palm",
|
|
319
|
+
"heart",
|
|
320
|
+
"gift",
|
|
321
|
+
"wrench",
|
|
322
|
+
"paw-print",
|
|
323
|
+
"flask",
|
|
324
|
+
"brain",
|
|
298
325
|
"code",
|
|
299
326
|
"rocket",
|
|
300
327
|
"target",
|
|
301
328
|
"lightbulb",
|
|
302
|
-
"wrench",
|
|
303
329
|
"shield",
|
|
304
|
-
"database",
|
|
305
330
|
"megaphone",
|
|
306
|
-
"palette",
|
|
307
331
|
"users",
|
|
308
332
|
"calendar",
|
|
309
333
|
"package"
|
|
@@ -2878,17 +2902,9 @@ var init_organization_skill_reference = __esm({
|
|
|
2878
2902
|
});
|
|
2879
2903
|
|
|
2880
2904
|
// ../packages/shared/dist/project-mentions.js
|
|
2881
|
-
var AGENT_AVATAR_UUID_RE, AGENT_ASSET_ICON_RE, AGENT_DICEBEAR_NOTIONISTS_ICON_RE, PROJECT_COLOR_VALUES, PROJECT_ICON_VALUES, AGENT_AVATAR_BACKGROUND_VALUES;
|
|
2882
2905
|
var init_project_mentions = __esm({
|
|
2883
2906
|
"../packages/shared/dist/project-mentions.js"() {
|
|
2884
2907
|
"use strict";
|
|
2885
|
-
init_constants();
|
|
2886
|
-
AGENT_AVATAR_UUID_RE = "[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}";
|
|
2887
|
-
AGENT_ASSET_ICON_RE = new RegExp(`^asset:${AGENT_AVATAR_UUID_RE}(?:\\?bg=([a-z0-9-]+))?$`, "i");
|
|
2888
|
-
AGENT_DICEBEAR_NOTIONISTS_ICON_RE = new RegExp(`^${AGENT_DICEBEAR_NOTIONISTS_ICON_PREFIX}${AGENT_AVATAR_UUID_RE}(?:\\?bg=([a-z0-9-]+))?$`, "i");
|
|
2889
|
-
PROJECT_COLOR_VALUES = new Set(PROJECT_COLORS);
|
|
2890
|
-
PROJECT_ICON_VALUES = new Set(PROJECT_ICONS);
|
|
2891
|
-
AGENT_AVATAR_BACKGROUND_VALUES = new Set(AGENT_AVATAR_BACKGROUND_PRESET_IDS);
|
|
2892
2908
|
}
|
|
2893
2909
|
});
|
|
2894
2910
|
|
|
@@ -7045,10 +7061,10 @@ var RUDDER_AGENT_OPERATING_CONTRACT = [
|
|
|
7045
7061
|
"",
|
|
7046
7062
|
"When you mention Rudder entities in any user-visible Markdown output, prefer Rudder's renderable Markdown link syntax over plain IDs, bare URLs, or backticked references so the UI can render chips and navigate correctly.",
|
|
7047
7063
|
"",
|
|
7048
|
-
"- Issues: use `[<identifier-or-title>](issue://<issue-id
|
|
7064
|
+
"- Issues: use `[<identifier-or-title>](issue://<issue-id>)`; include `?c=<comment-id>` when linking to a specific comment.",
|
|
7049
7065
|
"- Agents: use `[<agent-name>](agent://<agent-id>)` for reference-only links. Use `[<agent-name>](agent://<agent-id>?intent=wake)` only when you deliberately want an issue-composer mention to wake that agent.",
|
|
7050
7066
|
"- Projects: use `[<project-name>](project://<project-id>)` when citing a Rudder project.",
|
|
7051
|
-
"- Chat threads: use `[<chat-title>](chat://<conversation-id
|
|
7067
|
+
"- Chat threads: use `[<chat-title>](chat://<conversation-id>)` when citing a Rudder chat conversation.",
|
|
7052
7068
|
'- Library files: use the `markdownLink` returned by `rudder library file ref "$RUDDER_PROJECT_LIBRARY_PATH/<relative-file>" --json`; do not hand-write `library-entry://...` links, and treat `library-file://...` as legacy path syntax only.',
|
|
7053
7069
|
"",
|
|
7054
7070
|
"Write these as normal Markdown links, not inside code spans or code blocks, unless you are literally documenting the syntax.",
|
|
@@ -7449,18 +7465,6 @@ var AGENT_CLI_CAPABILITIES = [
|
|
|
7449
7465
|
requiresRunId: false,
|
|
7450
7466
|
attachesRunIdWhenAvailable: true
|
|
7451
7467
|
},
|
|
7452
|
-
{
|
|
7453
|
-
id: "issue.release",
|
|
7454
|
-
command: "rudder issue release <issue>",
|
|
7455
|
-
category: "issue",
|
|
7456
|
-
description: "Release an issue back to todo and clear ownership.",
|
|
7457
|
-
mutating: true,
|
|
7458
|
-
contract: "agent-v1",
|
|
7459
|
-
requiresOrgId: false,
|
|
7460
|
-
requiresAgentId: false,
|
|
7461
|
-
requiresRunId: false,
|
|
7462
|
-
attachesRunIdWhenAvailable: true
|
|
7463
|
-
},
|
|
7464
7468
|
{
|
|
7465
7469
|
id: "project.list",
|
|
7466
7470
|
command: "rudder project list --org-id <id>",
|
|
@@ -10963,17 +10967,6 @@ function registerIssueCommands(program) {
|
|
|
10963
10967
|
}
|
|
10964
10968
|
})
|
|
10965
10969
|
);
|
|
10966
|
-
addCommonClientOptions(
|
|
10967
|
-
issue.command("release").description(getAgentCliCapabilityById("issue.release").description).argument("<issueId>", "Issue ID").action(async (issueId, opts) => {
|
|
10968
|
-
try {
|
|
10969
|
-
const ctx = resolveCommandContext(opts);
|
|
10970
|
-
const updated = await ctx.api.post(`/api/issues/${issueId}/release`, {});
|
|
10971
|
-
printOutput(updated, { json: ctx.json });
|
|
10972
|
-
} catch (err) {
|
|
10973
|
-
handleCommandError(err);
|
|
10974
|
-
}
|
|
10975
|
-
})
|
|
10976
|
-
);
|
|
10977
10970
|
}
|
|
10978
10971
|
function collectImagePath(value, previous) {
|
|
10979
10972
|
const trimmed = value.trim();
|