@hasna/contacts 0.6.11 → 0.6.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.
@@ -1 +1 @@
1
- {"version":3,"file":"advanced.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/advanced.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAkBzC,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAm6B/D"}
1
+ {"version":3,"file":"advanced.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/advanced.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAkBzC,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAg7B/D"}
package/dist/cli/index.js CHANGED
@@ -19054,6 +19054,19 @@ Deal Team: ${dealId}
19054
19054
  console.log(chalk4.yellow(`No logo set for ${company.name}`));
19055
19055
  }
19056
19056
  });
19057
+ logoCmd.command("remove <company-id>").description("Remove a company's logo").action((companyId) => {
19058
+ const { deleteImage: deleteImage2 } = (init_images(), __toCommonJS(exports_images));
19059
+ const { updateCompany: updateCompany2 } = (init_companies(), __toCommonJS(exports_companies));
19060
+ const company = getCompany(companyId);
19061
+ if (!company) {
19062
+ console.error(chalk4.red("Company not found"));
19063
+ return;
19064
+ }
19065
+ const deleted = deleteImage2(companyId);
19066
+ if (deleted)
19067
+ updateCompany2(companyId, { logo_url: null });
19068
+ console.log(deleted ? chalk4.green(`Logo removed for ${company.name}`) : chalk4.yellow(`No logo set for ${company.name}`));
19069
+ });
19057
19070
  program2.command("set-sensitivity <id> <level>").description("Set contact sensitivity level (normal, confidential, restricted)").action((id, level) => {
19058
19071
  if (!["normal", "confidential", "restricted"].includes(level)) {
19059
19072
  console.error(chalk4.red(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/contacts",
3
- "version": "0.6.11",
3
+ "version": "0.6.12",
4
4
  "description": "Contact management for AI coding agents — CLI + MCP + Web",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",