@hasna/contacts 0.3.0 → 0.3.2

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
@@ -4384,7 +4384,7 @@ async function confirm(question) {
4384
4384
  const answer = await prompt(question + " [y/N]");
4385
4385
  return answer.toLowerCase() === "y" || answer.toLowerCase() === "yes";
4386
4386
  }
4387
- program.name("contacts").description("Open Contacts \u2014 contact management for AI coding agents").version("0.2.2");
4387
+ program.name("contacts").description("Open Contacts \u2014 contact management for AI coding agents").version("0.3.0");
4388
4388
  function collect(val, prev) {
4389
4389
  return [...prev, val];
4390
4390
  }
@@ -5521,13 +5521,13 @@ program.command("seed").description("Seed demo contacts, companies, and relation
5521
5521
  const elizabeth = createContact({ display_name: "Elizabeth Robles", first_name: "Elizabeth", last_name: "Robles", job_title: "Tax Manager", emails: [{ address: "elizabeth.robles@escalon.services", type: "work", is_primary: true }], source: "manual" });
5522
5522
  const drew = createContact({ display_name: "Andrew Jurgensen", first_name: "Andrew", last_name: "Jurgensen", job_title: "Partner", emails: [{ address: "drew@revisionlegal.com", type: "work", is_primary: true }], source: "manual" });
5523
5523
  const donna = createContact({ display_name: "Donna Yang", first_name: "Donna", last_name: "Yang", job_title: "Relationship Manager", emails: [{ address: "DYang@svb.com", type: "work", is_primary: true }], source: "manual" });
5524
- createCompanyRelationship({ contact_id: alina.id, company_id: kpmg.id, relationship_type: "accountant", is_primary: true }, db);
5525
- createCompanyRelationship({ contact_id: lucia.id, company_id: kpmg.id, relationship_type: "accountant" }, db);
5526
- createCompanyRelationship({ contact_id: elizabeth.id, company_id: escalon.id, relationship_type: "tax_preparer", is_primary: true }, db);
5527
- createCompanyRelationship({ contact_id: drew.id, company_id: revisionLegal.id, relationship_type: "attorney", is_primary: true }, db);
5528
- createCompanyRelationship({ contact_id: donna.id, company_id: svb.id, relationship_type: "bank_manager", is_primary: true }, db);
5529
- createCompanyRelationship({ contact_id: alina.id, company_id: hasnaInc.id, relationship_type: "tax_preparer", is_primary: true }, db);
5530
- createCompanyRelationship({ contact_id: alina.id, company_id: beepMedia.id, relationship_type: "tax_preparer", is_primary: true }, db);
5524
+ createCompanyRelationship({ contact_id: alina.id, company_id: kpmg.id, relationship_type: "vendor", is_primary: true }, db);
5525
+ createCompanyRelationship({ contact_id: lucia.id, company_id: kpmg.id, relationship_type: "vendor" }, db);
5526
+ createCompanyRelationship({ contact_id: elizabeth.id, company_id: escalon.id, relationship_type: "vendor", is_primary: true }, db);
5527
+ createCompanyRelationship({ contact_id: drew.id, company_id: revisionLegal.id, relationship_type: "vendor", is_primary: true }, db);
5528
+ createCompanyRelationship({ contact_id: donna.id, company_id: svb.id, relationship_type: "vendor", is_primary: true }, db);
5529
+ createCompanyRelationship({ contact_id: alina.id, company_id: hasnaInc.id, relationship_type: "vendor", is_primary: true }, db);
5530
+ createCompanyRelationship({ contact_id: alina.id, company_id: beepMedia.id, relationship_type: "vendor", is_primary: true }, db);
5531
5531
  console.log(chalk.green(`\u2713 Seeded: 5 companies, 3 owned entities, 5 key contacts`));
5532
5532
  console.log(chalk.gray(" Try: contacts entities list"));
5533
5533
  console.log(chalk.gray(" Try: contacts workload " + alina.id));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/contacts",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Contact management for AI coding agents — CLI + MCP + Web",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",