opendevbrowser 0.0.20 → 0.0.22
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/README.md +18 -8
- package/dist/chunk-3ILXPKSJ.js +86 -0
- package/dist/chunk-3ILXPKSJ.js.map +1 -0
- package/dist/{chunk-LMNFPJRI.js → chunk-OGE5KJ4X.js} +18 -12
- package/dist/{chunk-LMNFPJRI.js.map → chunk-OGE5KJ4X.js.map} +1 -1
- package/dist/chunk-QVWOPIZJ.js +612 -0
- package/dist/chunk-QVWOPIZJ.js.map +1 -0
- package/dist/{chunk-3VA6XR25.js → chunk-STGGGVYT.js} +23 -100
- package/dist/chunk-STGGGVYT.js.map +1 -0
- package/dist/{chunk-C6QUKABT.js → chunk-ZE2E7ZGH.js} +243 -37
- package/dist/chunk-ZE2E7ZGH.js.map +1 -0
- package/dist/cli/commands/macro-resolve.d.ts.map +1 -1
- package/dist/cli/commands/uninstall.d.ts +1 -0
- package/dist/cli/commands/uninstall.d.ts.map +1 -1
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/index.js +296 -617
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/installers/postinstall-skill-sync.d.ts +15 -0
- package/dist/cli/installers/postinstall-skill-sync.d.ts.map +1 -0
- package/dist/cli/installers/postinstall-skill-sync.js +48 -0
- package/dist/cli/installers/postinstall-skill-sync.js.map +1 -0
- package/dist/cli/installers/skills.d.ts +9 -14
- package/dist/cli/installers/skills.d.ts.map +1 -1
- package/dist/cli/skill-lifecycle.d.ts +26 -0
- package/dist/cli/skill-lifecycle.d.ts.map +1 -0
- package/dist/cli/update-skill-modes.d.ts +3 -0
- package/dist/cli/update-skill-modes.d.ts.map +1 -0
- package/dist/cli/utils/workflow-message.d.ts.map +1 -1
- package/dist/index.js +9 -8
- package/dist/index.js.map +1 -1
- package/dist/inspiredesign/handoff.d.ts +34 -0
- package/dist/inspiredesign/handoff.d.ts.map +1 -0
- package/dist/opendevbrowser.js +9 -8
- package/dist/opendevbrowser.js.map +1 -1
- package/dist/providers/inspiredesign-contract.d.ts +33 -0
- package/dist/providers/inspiredesign-contract.d.ts.map +1 -1
- package/dist/providers/renderer.d.ts +3 -1
- package/dist/providers/renderer.d.ts.map +1 -1
- package/dist/providers/workflow-handoff.d.ts +14 -0
- package/dist/providers/workflow-handoff.d.ts.map +1 -0
- package/dist/providers/workflows.d.ts.map +1 -1
- package/dist/{providers-3VBLTNAX.js → providers-ZIVHHH4F.js} +2 -2
- package/dist/public-surface/generated-manifest.d.ts +3 -3
- package/dist/public-surface/generated-manifest.d.ts.map +1 -1
- package/dist/public-surface/source.d.ts +4 -4
- package/dist/skills/skill-loader.js +2 -1
- package/extension/manifest.json +1 -1
- package/package.json +6 -4
- package/scripts/postinstall-sync-skills.mjs +33 -0
- package/skills/opendevbrowser-product-presentation-asset/SKILL.md +2 -2
- package/dist/chunk-3VA6XR25.js.map +0 -1
- package/dist/chunk-C6QUKABT.js.map +0 -1
- /package/dist/{providers-3VBLTNAX.js.map → providers-ZIVHHH4F.js.map} +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type SkillSyncResult, type SkillInstallMode } from "./skills";
|
|
2
|
+
export type PostinstallSkipReason = "disabled" | "repo_checkout";
|
|
3
|
+
export interface PostinstallSkillSyncResult {
|
|
4
|
+
success: boolean;
|
|
5
|
+
skipped: boolean;
|
|
6
|
+
reason?: PostinstallSkipReason;
|
|
7
|
+
message: string;
|
|
8
|
+
syncResult?: SkillSyncResult;
|
|
9
|
+
}
|
|
10
|
+
export interface RunPostinstallSkillSyncOptions {
|
|
11
|
+
mode?: SkillInstallMode;
|
|
12
|
+
skipRepoCheckoutGuard?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare function runPostinstallSkillSync(options?: RunPostinstallSkillSyncOptions): PostinstallSkillSyncResult;
|
|
15
|
+
//# sourceMappingURL=postinstall-skill-sync.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postinstall-skill-sync.d.ts","sourceRoot":"","sources":["../../../src/cli/installers/postinstall-skill-sync.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACtB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,qBAAqB,GAAG,UAAU,GAAG,eAAe,CAAC;AAEjE,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,eAAe,CAAC;CAC9B;AAED,MAAM,WAAW,8BAA8B;IAC7C,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AA2BD,wBAAgB,uBAAuB,CACrC,OAAO,GAAE,8BAAmC,GAC3C,0BAA0B,CAgB5B"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import {
|
|
2
|
+
syncBundledSkills
|
|
3
|
+
} from "../../chunk-QVWOPIZJ.js";
|
|
4
|
+
import {
|
|
5
|
+
getPackageRoot
|
|
6
|
+
} from "../../chunk-3ILXPKSJ.js";
|
|
7
|
+
import "../../chunk-TBUCZX4A.js";
|
|
8
|
+
|
|
9
|
+
// src/cli/installers/postinstall-skill-sync.ts
|
|
10
|
+
import * as fs from "fs";
|
|
11
|
+
import * as path from "path";
|
|
12
|
+
function getSkipReason(packageRoot, skipRepoCheckoutGuard) {
|
|
13
|
+
if (process.env.OPDEVBROWSER_SKIP_POSTINSTALL_SKILL_SYNC === "1") {
|
|
14
|
+
return "disabled";
|
|
15
|
+
}
|
|
16
|
+
if (!skipRepoCheckoutGuard && fs.existsSync(path.join(packageRoot, ".git"))) {
|
|
17
|
+
return "repo_checkout";
|
|
18
|
+
}
|
|
19
|
+
return null;
|
|
20
|
+
}
|
|
21
|
+
function createSkippedResult(reason) {
|
|
22
|
+
const message = reason === "disabled" ? "Postinstall skill sync skipped (OPDEVBROWSER_SKIP_POSTINSTALL_SKILL_SYNC=1)." : "Postinstall skill sync skipped inside repo checkout.";
|
|
23
|
+
return {
|
|
24
|
+
success: true,
|
|
25
|
+
skipped: true,
|
|
26
|
+
reason,
|
|
27
|
+
message
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function runPostinstallSkillSync(options = {}) {
|
|
31
|
+
const mode = options.mode ?? "global";
|
|
32
|
+
const packageRoot = getPackageRoot();
|
|
33
|
+
const skipReason = getSkipReason(packageRoot, options.skipRepoCheckoutGuard === true);
|
|
34
|
+
if (skipReason) {
|
|
35
|
+
return createSkippedResult(skipReason);
|
|
36
|
+
}
|
|
37
|
+
const syncResult = syncBundledSkills(mode);
|
|
38
|
+
return {
|
|
39
|
+
success: syncResult.success,
|
|
40
|
+
skipped: false,
|
|
41
|
+
message: syncResult.message,
|
|
42
|
+
syncResult
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
runPostinstallSkillSync
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=postinstall-skill-sync.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/cli/installers/postinstall-skill-sync.ts"],"sourcesContent":["import * as fs from \"fs\";\nimport * as path from \"path\";\nimport { getPackageRoot } from \"../../utils/package-assets\";\nimport {\n syncBundledSkills,\n type SkillSyncResult,\n type SkillInstallMode\n} from \"./skills\";\n\nexport type PostinstallSkipReason = \"disabled\" | \"repo_checkout\";\n\nexport interface PostinstallSkillSyncResult {\n success: boolean;\n skipped: boolean;\n reason?: PostinstallSkipReason;\n message: string;\n syncResult?: SkillSyncResult;\n}\n\nexport interface RunPostinstallSkillSyncOptions {\n mode?: SkillInstallMode;\n skipRepoCheckoutGuard?: boolean;\n}\n\nfunction getSkipReason(packageRoot: string, skipRepoCheckoutGuard: boolean): PostinstallSkipReason | null {\n if (process.env.OPDEVBROWSER_SKIP_POSTINSTALL_SKILL_SYNC === \"1\") {\n return \"disabled\";\n }\n\n if (!skipRepoCheckoutGuard && fs.existsSync(path.join(packageRoot, \".git\"))) {\n return \"repo_checkout\";\n }\n\n return null;\n}\n\nfunction createSkippedResult(reason: PostinstallSkipReason): PostinstallSkillSyncResult {\n const message = reason === \"disabled\"\n ? \"Postinstall skill sync skipped (OPDEVBROWSER_SKIP_POSTINSTALL_SKILL_SYNC=1).\"\n : \"Postinstall skill sync skipped inside repo checkout.\";\n\n return {\n success: true,\n skipped: true,\n reason,\n message\n };\n}\n\nexport function runPostinstallSkillSync(\n options: RunPostinstallSkillSyncOptions = {}\n): PostinstallSkillSyncResult {\n const mode = options.mode ?? \"global\";\n const packageRoot = getPackageRoot();\n const skipReason = getSkipReason(packageRoot, options.skipRepoCheckoutGuard === true);\n\n if (skipReason) {\n return createSkippedResult(skipReason);\n }\n\n const syncResult = syncBundledSkills(mode);\n return {\n success: syncResult.success,\n skipped: false,\n message: syncResult.message,\n syncResult\n };\n}\n"],"mappings":";;;;;;;;;AAAA,YAAY,QAAQ;AACpB,YAAY,UAAU;AAuBtB,SAAS,cAAc,aAAqB,uBAA8D;AACxG,MAAI,QAAQ,IAAI,6CAA6C,KAAK;AAChE,WAAO;AAAA,EACT;AAEA,MAAI,CAAC,yBAA4B,cAAgB,UAAK,aAAa,MAAM,CAAC,GAAG;AAC3E,WAAO;AAAA,EACT;AAEA,SAAO;AACT;AAEA,SAAS,oBAAoB,QAA2D;AACtF,QAAM,UAAU,WAAW,aACvB,iFACA;AAEJ,SAAO;AAAA,IACL,SAAS;AAAA,IACT,SAAS;AAAA,IACT;AAAA,IACA;AAAA,EACF;AACF;AAEO,SAAS,wBACd,UAA0C,CAAC,GACf;AAC5B,QAAM,OAAO,QAAQ,QAAQ;AAC7B,QAAM,cAAc,eAAe;AACnC,QAAM,aAAa,cAAc,aAAa,QAAQ,0BAA0B,IAAI;AAEpF,MAAI,YAAY;AACd,WAAO,oBAAoB,UAAU;AAAA,EACvC;AAEA,QAAM,aAAa,kBAAkB,IAAI;AACzC,SAAO;AAAA,IACL,SAAS,WAAW;AAAA,IACpB,SAAS;AAAA,IACT,SAAS,WAAW;AAAA,IACpB;AAAA,EACF;AACF;","names":[]}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
+
import { type SkillTarget } from "../utils/skills";
|
|
1
2
|
export type SkillInstallMode = "global" | "local";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export interface PreservedLegacyAlias {
|
|
5
|
-
targetDir: string;
|
|
6
|
-
name: LegacyAliasName;
|
|
7
|
-
reason: LegacyAliasPreservationReason;
|
|
3
|
+
interface SkillLifecycleTargetOptions {
|
|
4
|
+
includeLegacyArtifacts: boolean;
|
|
8
5
|
}
|
|
9
6
|
export interface SkillTargetSyncResult {
|
|
10
7
|
agents: string[];
|
|
@@ -12,8 +9,6 @@ export interface SkillTargetSyncResult {
|
|
|
12
9
|
installed: string[];
|
|
13
10
|
refreshed: string[];
|
|
14
11
|
unchanged: string[];
|
|
15
|
-
removedLegacyAliases: string[];
|
|
16
|
-
preservedLegacyAliases: PreservedLegacyAlias[];
|
|
17
12
|
success: boolean;
|
|
18
13
|
error?: string;
|
|
19
14
|
}
|
|
@@ -25,16 +20,12 @@ export interface SkillSyncResult {
|
|
|
25
20
|
installed: string[];
|
|
26
21
|
refreshed: string[];
|
|
27
22
|
unchanged: string[];
|
|
28
|
-
removedLegacyAliases: string[];
|
|
29
|
-
preservedLegacyAliases: PreservedLegacyAlias[];
|
|
30
23
|
}
|
|
31
24
|
export interface SkillTargetRemovalResult {
|
|
32
25
|
agents: string[];
|
|
33
26
|
targetDir: string;
|
|
34
27
|
removed: string[];
|
|
35
28
|
missing: string[];
|
|
36
|
-
removedLegacyAliases: string[];
|
|
37
|
-
preservedLegacyAliases: PreservedLegacyAlias[];
|
|
38
29
|
success: boolean;
|
|
39
30
|
error?: string;
|
|
40
31
|
}
|
|
@@ -45,11 +36,15 @@ export interface SkillRemovalResult {
|
|
|
45
36
|
targets: SkillTargetRemovalResult[];
|
|
46
37
|
removed: string[];
|
|
47
38
|
missing: string[];
|
|
48
|
-
removedLegacyAliases: string[];
|
|
49
|
-
preservedLegacyAliases: PreservedLegacyAlias[];
|
|
50
39
|
}
|
|
40
|
+
export declare function createNoOpSkillRemovalResult(mode: SkillInstallMode): SkillRemovalResult;
|
|
41
|
+
export declare function getBundledSkillLifecycleTargets(mode: SkillInstallMode, options: SkillLifecycleTargetOptions): SkillTarget[];
|
|
42
|
+
export declare function getBundledSkillTargets(mode: SkillInstallMode): SkillTarget[];
|
|
43
|
+
export declare function syncBundledSkillsForTargets(mode: SkillInstallMode, targets: readonly SkillTarget[]): SkillSyncResult;
|
|
51
44
|
export declare function syncBundledSkills(mode: SkillInstallMode): SkillSyncResult;
|
|
45
|
+
export declare function removeBundledSkillsForTargets(mode: SkillInstallMode, targets: readonly SkillTarget[]): SkillRemovalResult;
|
|
52
46
|
export declare function removeBundledSkills(mode: SkillInstallMode): SkillRemovalResult;
|
|
53
47
|
export declare function hasBundledSkillArtifacts(mode: SkillInstallMode): boolean;
|
|
48
|
+
export declare function hasManagedBundledSkillInstall(mode: SkillInstallMode): boolean;
|
|
54
49
|
export {};
|
|
55
50
|
//# sourceMappingURL=skills.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../../src/cli/installers/skills.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../../src/cli/installers/skills.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoE,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAGrH,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,OAAO,CAAC;AAsBlD,UAAU,2BAA2B;IACnC,sBAAsB,EAAE,OAAO,CAAC;CACjC;AAQD,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,gBAAgB,CAAC;IACvB,OAAO,EAAE,qBAAqB,EAAE,CAAC;IACjC,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,gBAAgB,CAAC;IACvB,OAAO,EAAE,wBAAwB,EAAE,CAAC;IACpC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAsTD,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,gBAAgB,GAAG,kBAAkB,CAWvF;AAED,wBAAgB,+BAA+B,CAC7C,IAAI,EAAE,gBAAgB,EACtB,OAAO,EAAE,2BAA2B,GACnC,WAAW,EAAE,CAsBf;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,gBAAgB,GAAG,WAAW,EAAE,CAE5E;AAED,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,gBAAgB,EACtB,OAAO,EAAE,SAAS,WAAW,EAAE,GAC9B,eAAe,CAgHjB;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,gBAAgB,GAAG,eAAe,CAEzE;AAED,wBAAgB,6BAA6B,CAC3C,IAAI,EAAE,gBAAgB,EACtB,OAAO,EAAE,SAAS,WAAW,EAAE,GAC9B,kBAAkB,CA6DpB;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,gBAAgB,GAAG,kBAAkB,CAE9E;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAKxE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAE7E"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { InstallMode, ParsedArgs } from "./args";
|
|
2
|
+
import type { UninstallResult } from "./commands/uninstall";
|
|
3
|
+
import type { UpdateResult } from "./commands/update";
|
|
4
|
+
import type { CommandResult } from "./commands/types";
|
|
5
|
+
import { type SkillInstallMode, type SkillRemovalResult, type SkillSyncResult } from "./installers/skills";
|
|
6
|
+
import type { SkillTarget } from "./utils/skills";
|
|
7
|
+
type SkillTargetOptions = {
|
|
8
|
+
includeLegacyArtifacts: boolean;
|
|
9
|
+
};
|
|
10
|
+
type UpdateSkillDeps = {
|
|
11
|
+
resolveUpdateSkillModes(args: ParsedArgs): InstallMode[];
|
|
12
|
+
hasInstalledConfig(mode: InstallMode): boolean;
|
|
13
|
+
hasBundledSkillArtifacts(mode: SkillInstallMode): boolean;
|
|
14
|
+
getBundledSkillTargets(mode: SkillInstallMode): SkillTarget[];
|
|
15
|
+
getBundledSkillLifecycleTargets(mode: SkillInstallMode, options: SkillTargetOptions): SkillTarget[];
|
|
16
|
+
syncBundledSkillsForTargets(mode: SkillInstallMode, targets: readonly SkillTarget[]): SkillSyncResult;
|
|
17
|
+
};
|
|
18
|
+
type UninstallSkillDeps = {
|
|
19
|
+
hasBundledSkillArtifacts(mode: SkillInstallMode): boolean;
|
|
20
|
+
getBundledSkillLifecycleTargets(mode: SkillInstallMode, options: SkillTargetOptions): SkillTarget[];
|
|
21
|
+
removeBundledSkillsForTargets(mode: SkillInstallMode, targets: readonly SkillTarget[]): SkillRemovalResult;
|
|
22
|
+
};
|
|
23
|
+
export declare function buildUpdateCommandResult(args: ParsedArgs, result: UpdateResult, deps: UpdateSkillDeps): CommandResult;
|
|
24
|
+
export declare function buildUninstallCommandResult(args: ParsedArgs, mode: InstallMode, result: UninstallResult, deps: UninstallSkillDeps): CommandResult;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=skill-lifecycle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill-lifecycle.d.ts","sourceRoot":"","sources":["../../src/cli/skill-lifecycle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,KAAK,kBAAkB,GAAG;IACxB,sBAAsB,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,uBAAuB,CAAC,IAAI,EAAE,UAAU,GAAG,WAAW,EAAE,CAAC;IACzD,kBAAkB,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC;IAC/C,wBAAwB,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC;IAC1D,sBAAsB,CAAC,IAAI,EAAE,gBAAgB,GAAG,WAAW,EAAE,CAAC;IAC9D,+BAA+B,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,kBAAkB,GAAG,WAAW,EAAE,CAAC;IACpG,2BAA2B,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,SAAS,WAAW,EAAE,GAAG,eAAe,CAAC;CACvG,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,wBAAwB,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC;IAC1D,+BAA+B,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,kBAAkB,GAAG,WAAW,EAAE,CAAC;IACpG,6BAA6B,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,SAAS,WAAW,EAAE,GAAG,kBAAkB,CAAC;CAC5G,CAAC;AAmDF,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,UAAU,EAChB,MAAM,EAAE,YAAY,EACpB,IAAI,EAAE,eAAe,GACpB,aAAa,CAgBf;AA8BD,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,UAAU,EAChB,IAAI,EAAE,WAAW,EACjB,MAAM,EAAE,eAAe,EACvB,IAAI,EAAE,kBAAkB,GACvB,aAAa,CAiBf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-skill-modes.d.ts","sourceRoot":"","sources":["../../src/cli/update-skill-modes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAOtD,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,UAAU,GAAG,WAAW,EAAE,CAsBvE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-message.d.ts","sourceRoot":"","sources":["../../../src/cli/utils/workflow-message.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workflow-message.d.ts","sourceRoot":"","sources":["../../../src/cli/utils/workflow-message.ts"],"names":[],"mappings":"AA2EA,eAAO,MAAM,oBAAoB,GAAI,SAAS,MAAM,EAAE,UAAU,MAAM,GAAG,IAAI,KAAG,MAE/E,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,MAAM,OAAO,KAAG,MAAM,GAAG,IAKhE,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,MAAM,OAAO,KAAG,MAAM,GAAG,IAYhE,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAAI,eAAe,MAAM,EAAE,MAAM,OAAO,KAAG,MAuBrF,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -22,8 +22,9 @@ import {
|
|
|
22
22
|
resolveBundledProviderRuntime,
|
|
23
23
|
resolveSessionRelayRoute,
|
|
24
24
|
startDaemon
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-OGE5KJ4X.js";
|
|
26
|
+
import "./chunk-STGGGVYT.js";
|
|
27
|
+
import "./chunk-3ILXPKSJ.js";
|
|
27
28
|
import "./chunk-TBUCZX4A.js";
|
|
28
29
|
import "./chunk-Y2KL55OG.js";
|
|
29
30
|
import {
|
|
@@ -31,7 +32,7 @@ import {
|
|
|
31
32
|
buildBlockerArtifacts,
|
|
32
33
|
classifyBlockerSignal,
|
|
33
34
|
createRequestId
|
|
34
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ZE2E7ZGH.js";
|
|
35
36
|
import "./chunk-FUSXMW3G.js";
|
|
36
37
|
|
|
37
38
|
// src/cli/remote-manager.ts
|
|
@@ -506,7 +507,7 @@ var RemoteRelay = class {
|
|
|
506
507
|
|
|
507
508
|
// src/skills/skill-nudge.ts
|
|
508
509
|
var SKILL_NUDGE_MARKER = "[opendevbrowser:skill-nudge]";
|
|
509
|
-
var SKILL_NUDGE_MESSAGE = `${SKILL_NUDGE_MARKER} If this task likely matches a skill, start with skill("${onboarding_metadata_default.skillName}", "${onboarding_metadata_default.skillTopic}"). For frontend, UI, screenshot-to-code, or /canvas design work, then load skill("${onboarding_metadata_default.designSkillName}"). Use the canonical opendevbrowser-* packs and start with the bundled quick-start lane before low-level browser commands.`;
|
|
510
|
+
var SKILL_NUDGE_MESSAGE = `${SKILL_NUDGE_MARKER} If this task likely matches a skill, start with skill("${onboarding_metadata_default.skillName}", "${onboarding_metadata_default.skillTopic}"). For frontend, UI, screenshot-to-code, or /canvas design work, then load skill("${onboarding_metadata_default.designSkillName}", "${onboarding_metadata_default.designSkillTopic}"). Use the canonical opendevbrowser-* packs and start with the bundled quick-start lane before low-level browser commands.`;
|
|
510
511
|
function createSkillNudgeState() {
|
|
511
512
|
return { pending: false, requestedAtMs: null };
|
|
512
513
|
}
|
|
@@ -3152,7 +3153,7 @@ function createResearchRunTool(deps) {
|
|
|
3152
3153
|
async execute(args) {
|
|
3153
3154
|
try {
|
|
3154
3155
|
const runtime = await resolveProviderRuntime(deps);
|
|
3155
|
-
const { runResearchWorkflow } = await import("./providers-
|
|
3156
|
+
const { runResearchWorkflow } = await import("./providers-ZIVHHH4F.js");
|
|
3156
3157
|
const result = await runResearchWorkflow(runtime, {
|
|
3157
3158
|
topic: args.topic,
|
|
3158
3159
|
days: args.days,
|
|
@@ -3203,7 +3204,7 @@ function createShoppingRunTool(deps) {
|
|
|
3203
3204
|
async execute(args) {
|
|
3204
3205
|
try {
|
|
3205
3206
|
const runtime = await resolveProviderRuntime(deps);
|
|
3206
|
-
const { runShoppingWorkflow } = await import("./providers-
|
|
3207
|
+
const { runShoppingWorkflow } = await import("./providers-ZIVHHH4F.js");
|
|
3207
3208
|
const result = await runShoppingWorkflow(runtime, {
|
|
3208
3209
|
query: args.query,
|
|
3209
3210
|
providers: args.providers,
|
|
@@ -3272,7 +3273,7 @@ function createProductVideoRunTool(deps) {
|
|
|
3272
3273
|
async execute(args) {
|
|
3273
3274
|
try {
|
|
3274
3275
|
const runtime = await resolveProviderRuntime(deps);
|
|
3275
|
-
const { runProductVideoWorkflow } = await import("./providers-
|
|
3276
|
+
const { runProductVideoWorkflow } = await import("./providers-ZIVHHH4F.js");
|
|
3276
3277
|
const includeScreenshots = args.include_screenshots ?? true;
|
|
3277
3278
|
const result = await runProductVideoWorkflow(runtime, {
|
|
3278
3279
|
product_url: args.product_url,
|
|
@@ -3324,7 +3325,7 @@ function createInspiredesignRunTool(deps) {
|
|
|
3324
3325
|
async execute(args) {
|
|
3325
3326
|
try {
|
|
3326
3327
|
const runtime = await resolveProviderRuntime(deps);
|
|
3327
|
-
const { runInspiredesignWorkflow } = await import("./providers-
|
|
3328
|
+
const { runInspiredesignWorkflow } = await import("./providers-ZIVHHH4F.js");
|
|
3328
3329
|
const captureMode = args.captureMode ?? "off";
|
|
3329
3330
|
const cookieSource = deps.config.get().providers?.cookieSource;
|
|
3330
3331
|
const result = await runInspiredesignWorkflow(runtime, {
|