drizzy-agent 0.1.2 → 0.1.3

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/cli/index.js CHANGED
@@ -7826,7 +7826,7 @@ function generateModelConfig(config) {
7826
7826
  };
7827
7827
  return isOpenAiOnlyAvailability(avail) ? applyOpenAiOnlyModelCatalog(generatedConfig) : generatedConfig;
7828
7828
  }
7829
- var ZAI_MODEL = "zai-coding-plan/glm-4.7", ULTIMATE_FALLBACK = "opencode/glm-4.7-free", SCHEMA_URL = "https://raw.githubusercontent.com/yourusername/drizzy-agent/dev/assets/drizzy-agent.schema.json";
7829
+ var ZAI_MODEL = "zai-coding-plan/glm-4.7", ULTIMATE_FALLBACK = "opencode/glm-4.7-free", SCHEMA_URL = "https://raw.githubusercontent.com/AndreDalwin/DrizzyAgent/dev/assets/drizzy-agent.schema.json";
7830
7830
  var init_model_fallback = __esm(() => {
7831
7831
  init_model_fallback_requirements();
7832
7832
  init_openai_only_model_catalog();
@@ -8978,7 +8978,7 @@ async function showVersionToast(ctx, version2, message) {
8978
8978
  }
8979
8979
  async function showLocalDevToast(ctx, version2, isCoderEnabled) {
8980
8980
  const displayVersion = version2 ?? "dev";
8981
- const message = isCoderEnabled ? "Coder running in local development mode." : "Running in local development mode. oMoMoMo...";
8981
+ const message = isCoderEnabled ? "Coder running in local development mode." : "DrizzyAgent running in local development mode.";
8982
8982
  await showSpinnerToast(ctx, `${displayVersion} (dev)`, message);
8983
8983
  log(`[auto-update-checker] Local dev toast shown: v${displayVersion}`);
8984
8984
  }
@@ -8996,8 +8996,8 @@ function createAutoUpdateCheckerHook(ctx, options = {}) {
8996
8996
  return isUpdate ? `Coder on steroids is steering OpenCode.
8997
8997
  v${latestVersion} available. Restart to apply.` : "Coder on steroids is steering OpenCode.";
8998
8998
  }
8999
- return isUpdate ? `OpenCode is now on Steroids. oMoMoMoMo...
9000
- v${latestVersion} available. Restart OpenCode to apply.` : "OpenCode is now on Steroids. oMoMoMoMo...";
8999
+ return isUpdate ? `DrizzyAgent is active.
9000
+ v${latestVersion} available. Restart OpenCode to apply.` : "DrizzyAgent is active.";
9001
9001
  };
9002
9002
  let hasChecked = false;
9003
9003
  return {
@@ -9082,7 +9082,7 @@ var {
9082
9082
  // package.json
9083
9083
  var package_default = {
9084
9084
  name: "drizzy-agent",
9085
- version: "0.1.2",
9085
+ version: "0.1.3",
9086
9086
  description: "DrizzyAgent - AI agent plugin for OpenCode",
9087
9087
  main: "dist/index.js",
9088
9088
  types: "dist/index.d.ts",
@@ -9127,12 +9127,12 @@ var package_default = {
9127
9127
  license: "SUL-1.0",
9128
9128
  repository: {
9129
9129
  type: "git",
9130
- url: "git+https://github.com/yourusername/drizzy-agent.git"
9130
+ url: "git+https://github.com/AndreDalwin/DrizzyAgent.git"
9131
9131
  },
9132
9132
  bugs: {
9133
- url: "https://github.com/yourusername/drizzy-agent/issues"
9133
+ url: "https://github.com/AndreDalwin/DrizzyAgent/issues"
9134
9134
  },
9135
- homepage: "https://github.com/yourusername/drizzy-agent#readme",
9135
+ homepage: "https://github.com/AndreDalwin/DrizzyAgent#readme",
9136
9136
  dependencies: {
9137
9137
  "@ast-grep/cli": "^0.41.1",
9138
9138
  "@ast-grep/napi": "^0.41.1",
@@ -9158,17 +9158,17 @@ var package_default = {
9158
9158
  typescript: "^5.7.3"
9159
9159
  },
9160
9160
  optionalDependencies: {
9161
- "drizzy-agent-darwin-arm64": "0.1.2",
9162
- "drizzy-agent-darwin-x64": "0.1.2",
9163
- "drizzy-agent-darwin-x64-baseline": "0.1.2",
9164
- "drizzy-agent-linux-arm64": "0.1.2",
9165
- "drizzy-agent-linux-arm64-musl": "0.1.2",
9166
- "drizzy-agent-linux-x64": "0.1.2",
9167
- "drizzy-agent-linux-x64-baseline": "0.1.2",
9168
- "drizzy-agent-linux-x64-musl": "0.1.2",
9169
- "drizzy-agent-linux-x64-musl-baseline": "0.1.2",
9170
- "drizzy-agent-windows-x64": "0.1.2",
9171
- "drizzy-agent-windows-x64-baseline": "0.1.2"
9161
+ "drizzy-agent-darwin-arm64": "0.1.3",
9162
+ "drizzy-agent-darwin-x64": "0.1.3",
9163
+ "drizzy-agent-darwin-x64-baseline": "0.1.3",
9164
+ "drizzy-agent-linux-arm64": "0.1.3",
9165
+ "drizzy-agent-linux-arm64-musl": "0.1.3",
9166
+ "drizzy-agent-linux-x64": "0.1.3",
9167
+ "drizzy-agent-linux-x64-baseline": "0.1.3",
9168
+ "drizzy-agent-linux-x64-musl": "0.1.3",
9169
+ "drizzy-agent-linux-x64-musl-baseline": "0.1.3",
9170
+ "drizzy-agent-windows-x64": "0.1.3",
9171
+ "drizzy-agent-windows-x64-baseline": "0.1.3"
9172
9172
  },
9173
9173
  overrides: {
9174
9174
  "@opencode-ai/sdk": "^1.2.24"
@@ -9195,6 +9195,19 @@ var SYMBOLS = {
9195
9195
  warn: import_picocolors.default.yellow("[!]"),
9196
9196
  star: import_picocolors.default.yellow("*")
9197
9197
  };
9198
+ var DRIZZY_AGENT_BANNER = [
9199
+ "____ _ _ _ _ ",
9200
+ "| _ \\ _ __(_)________ _ / \\ __ _| |__ _ __ | |_ ",
9201
+ "| | | | '__| |_ /_ /| | | |/ _` | '_ \\| '_ \\| __|",
9202
+ "| |_| | | | |/ / / / | |_| | (_| | |_) | | | | |_ ",
9203
+ "|____/|_| |_/___/___| \\__, |\\__,_|_.__/|_| |_|\\__|",
9204
+ " |___/ "
9205
+ ].join(`
9206
+ `);
9207
+ function formatBanner(mode) {
9208
+ return `${import_picocolors.default.magenta(DRIZZY_AGENT_BANNER)}${mode ? `
9209
+ ${import_picocolors.default.bold(mode)}` : ""}`;
9210
+ }
9198
9211
  function formatProvider(name, enabled, detail) {
9199
9212
  const status = enabled ? SYMBOLS.check : import_picocolors.default.dim("\u25CB");
9200
9213
  const label = enabled ? import_picocolors.default.white(name) : import_picocolors.default.dim(name);
@@ -9226,7 +9239,7 @@ function formatConfigSummary(config) {
9226
9239
  function printHeader(isUpdate) {
9227
9240
  const mode = isUpdate ? "Update" : "Install";
9228
9241
  console.log();
9229
- console.log(import_picocolors.default.bgMagenta(import_picocolors.default.white(` oMoMoMoMo... ${mode} `)));
9242
+ console.log(formatBanner(mode));
9230
9243
  console.log();
9231
9244
  }
9232
9245
  function printStep(step, total, message) {
@@ -9246,9 +9259,10 @@ function printWarning(message) {
9246
9259
  console.log(`${SYMBOLS.warn} ${import_picocolors.default.yellow(message)}`);
9247
9260
  }
9248
9261
  function printBox(content, title) {
9262
+ const ansiPattern = new RegExp("\\x1b\\[[0-9;]*m", "g");
9249
9263
  const lines = content.split(`
9250
9264
  `);
9251
- const maxWidth = Math.max(...lines.map((line) => line.replace(/\x1b\[[0-9;]*m/g, "").length), title?.length ?? 0) + 4;
9265
+ const maxWidth = Math.max(...lines.map((line) => line.replace(ansiPattern, "").length), title?.length ?? 0) + 4;
9252
9266
  const border = import_picocolors.default.dim("\u2500".repeat(maxWidth));
9253
9267
  console.log();
9254
9268
  if (title) {
@@ -9257,7 +9271,7 @@ function printBox(content, title) {
9257
9271
  console.log(import_picocolors.default.dim("\u250C") + border + import_picocolors.default.dim("\u2510"));
9258
9272
  }
9259
9273
  for (const line of lines) {
9260
- const stripped = line.replace(/\x1b\[[0-9;]*m/g, "");
9274
+ const stripped = line.replace(ansiPattern, "");
9261
9275
  const padding = maxWidth - stripped.length;
9262
9276
  console.log(import_picocolors.default.dim("\u2502") + ` ${line}${" ".repeat(padding - 1)}` + import_picocolors.default.dim("\u2502"));
9263
9277
  }
@@ -9394,9 +9408,9 @@ async function runCliInstaller(args, version) {
9394
9408
  ` + `All features work like magic\u2014parallel agents, background tasks,
9395
9409
  ` + `deep exploration, and relentless execution until completion.`, "The Magic Word");
9396
9410
  console.log(`${SYMBOLS.star} ${import_picocolors2.default.yellow("If you found this helpful, consider starring the repo!")}`);
9397
- console.log(` ${import_picocolors2.default.dim("gh api --silent --method PUT /user/starred/yourusername/drizzy-agent >/dev/null 2>&1 || true")}`);
9411
+ console.log(` ${import_picocolors2.default.dim("gh api --silent --method PUT /user/starred/AndreDalwin/DrizzyAgent >/dev/null 2>&1 || true")}`);
9398
9412
  console.log();
9399
- console.log(import_picocolors2.default.dim("oMoMoMoMo... Enjoy!"));
9413
+ console.log(import_picocolors2.default.dim("DrizzyAgent is ready."));
9400
9414
  console.log();
9401
9415
  if ((config.hasClaude || config.hasGemini || config.hasCopilot) && !args.skipAuth) {
9402
9416
  printBox(`Run ${import_picocolors2.default.cyan("opencode auth login")} and select your provider:
@@ -10099,7 +10113,7 @@ async function runTuiInstaller(args, version) {
10099
10113
  }
10100
10114
  const detected = detectCurrentConfig();
10101
10115
  const isUpdate = detected.isInstalled;
10102
- Ie(import_picocolors4.default.bgMagenta(import_picocolors4.default.white(isUpdate ? " oMoMoMoMo... Update " : " oMoMoMoMo... ")));
10116
+ Ie(formatBanner(isUpdate ? "Update" : "Install"));
10103
10117
  if (isUpdate) {
10104
10118
  const initial = detectedToInitialValues(detected);
10105
10119
  M2.info(`Existing configuration detected: Claude=${initial.claude}, Gemini=${initial.gemini}`);
@@ -10157,8 +10171,8 @@ async function runTuiInstaller(args, version) {
10157
10171
  ` + `All features work like magic\u2014parallel agents, background tasks,
10158
10172
  ` + `deep exploration, and relentless execution until completion.`, "The Magic Word");
10159
10173
  M2.message(`${import_picocolors4.default.yellow("\u2605")} If you found this helpful, consider starring the repo!`);
10160
- M2.message(` ${import_picocolors4.default.dim("gh api --silent --method PUT /user/starred/yourusername/drizzy-agent >/dev/null 2>&1 || true")}`);
10161
- Se(import_picocolors4.default.green("oMoMoMoMo... Enjoy!"));
10174
+ M2.message(` ${import_picocolors4.default.dim("gh api --silent --method PUT /user/starred/AndreDalwin/DrizzyAgent >/dev/null 2>&1 || true")}`);
10175
+ Se(import_picocolors4.default.green("DrizzyAgent is ready."));
10162
10176
  if ((config.hasClaude || config.hasGemini || config.hasCopilot) && !args.skipAuth) {
10163
10177
  const providers = [];
10164
10178
  if (config.hasClaude)
@@ -28801,7 +28815,7 @@ function formatStatusMark(available) {
28801
28815
  }
28802
28816
  function formatHeader() {
28803
28817
  return `
28804
- ${import_picocolors18.default.bgMagenta(import_picocolors18.default.white(" oMoMoMoMo Doctor "))}
28818
+ ${import_picocolors18.default.magenta("DrizzyAgent Doctor")}
28805
28819
  `;
28806
28820
  }
28807
28821
  function formatIssue(issue2, index) {
@@ -8,6 +8,8 @@ export declare const SYMBOLS: {
8
8
  warn: string;
9
9
  star: string;
10
10
  };
11
+ export declare const DRIZZY_AGENT_BANNER: string;
12
+ export declare function formatBanner(mode?: string): string;
11
13
  export declare function formatConfigSummary(config: InstallConfig): string;
12
14
  export declare function printHeader(isUpdate: boolean): void;
13
15
  export declare function printStep(step: number, total: number, message: string): void;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://raw.githubusercontent.com/yourusername/drizzy-agent/dev/assets/drizzy-agent.schema.json",
3
+ "$id": "https://raw.githubusercontent.com/AndreDalwin/DrizzyAgent/dev/assets/drizzy-agent.schema.json",
4
4
  "title": "DrizzyAgent Configuration",
5
5
  "description": "Configuration schema for the drizzy-agent plugin",
6
6
  "type": "object",
package/dist/index.js CHANGED
@@ -41244,7 +41244,7 @@ async function showVersionToast(ctx, version2, message) {
41244
41244
  }
41245
41245
  async function showLocalDevToast(ctx, version2, isCoderEnabled) {
41246
41246
  const displayVersion = version2 ?? "dev";
41247
- const message = isCoderEnabled ? "Coder running in local development mode." : "Running in local development mode. oMoMoMo...";
41247
+ const message = isCoderEnabled ? "Coder running in local development mode." : "DrizzyAgent running in local development mode.";
41248
41248
  await showSpinnerToast(ctx, `${displayVersion} (dev)`, message);
41249
41249
  log(`[auto-update-checker] Local dev toast shown: v${displayVersion}`);
41250
41250
  }
@@ -41258,8 +41258,8 @@ function createAutoUpdateCheckerHook(ctx, options = {}) {
41258
41258
  return isUpdate ? `Coder on steroids is steering OpenCode.
41259
41259
  v${latestVersion} available. Restart to apply.` : "Coder on steroids is steering OpenCode.";
41260
41260
  }
41261
- return isUpdate ? `OpenCode is now on Steroids. oMoMoMoMo...
41262
- v${latestVersion} available. Restart OpenCode to apply.` : "OpenCode is now on Steroids. oMoMoMoMo...";
41261
+ return isUpdate ? `DrizzyAgent is active.
41262
+ v${latestVersion} available. Restart OpenCode to apply.` : "DrizzyAgent is active.";
41263
41263
  };
41264
41264
  let hasChecked = false;
41265
41265
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzy-agent",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "DrizzyAgent - AI agent plugin for OpenCode",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -45,12 +45,12 @@
45
45
  "license": "SUL-1.0",
46
46
  "repository": {
47
47
  "type": "git",
48
- "url": "git+https://github.com/yourusername/drizzy-agent.git"
48
+ "url": "git+https://github.com/AndreDalwin/DrizzyAgent.git"
49
49
  },
50
50
  "bugs": {
51
- "url": "https://github.com/yourusername/drizzy-agent/issues"
51
+ "url": "https://github.com/AndreDalwin/DrizzyAgent/issues"
52
52
  },
53
- "homepage": "https://github.com/yourusername/drizzy-agent#readme",
53
+ "homepage": "https://github.com/AndreDalwin/DrizzyAgent#readme",
54
54
  "dependencies": {
55
55
  "@ast-grep/cli": "^0.41.1",
56
56
  "@ast-grep/napi": "^0.41.1",
@@ -76,17 +76,17 @@
76
76
  "typescript": "^5.7.3"
77
77
  },
78
78
  "optionalDependencies": {
79
- "drizzy-agent-darwin-arm64": "0.1.2",
80
- "drizzy-agent-darwin-x64": "0.1.2",
81
- "drizzy-agent-darwin-x64-baseline": "0.1.2",
82
- "drizzy-agent-linux-arm64": "0.1.2",
83
- "drizzy-agent-linux-arm64-musl": "0.1.2",
84
- "drizzy-agent-linux-x64": "0.1.2",
85
- "drizzy-agent-linux-x64-baseline": "0.1.2",
86
- "drizzy-agent-linux-x64-musl": "0.1.2",
87
- "drizzy-agent-linux-x64-musl-baseline": "0.1.2",
88
- "drizzy-agent-windows-x64": "0.1.2",
89
- "drizzy-agent-windows-x64-baseline": "0.1.2"
79
+ "drizzy-agent-darwin-arm64": "0.1.3",
80
+ "drizzy-agent-darwin-x64": "0.1.3",
81
+ "drizzy-agent-darwin-x64-baseline": "0.1.3",
82
+ "drizzy-agent-linux-arm64": "0.1.3",
83
+ "drizzy-agent-linux-arm64-musl": "0.1.3",
84
+ "drizzy-agent-linux-x64": "0.1.3",
85
+ "drizzy-agent-linux-x64-baseline": "0.1.3",
86
+ "drizzy-agent-linux-x64-musl": "0.1.3",
87
+ "drizzy-agent-linux-x64-musl-baseline": "0.1.3",
88
+ "drizzy-agent-windows-x64": "0.1.3",
89
+ "drizzy-agent-windows-x64-baseline": "0.1.3"
90
90
  },
91
91
  "overrides": {
92
92
  "@opencode-ai/sdk": "^1.2.24"