haansi 0.1.44 → 0.1.45

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.
Files changed (2) hide show
  1. package/dist/haansi.js +42 -6
  2. package/package.json +1 -1
package/dist/haansi.js CHANGED
@@ -95,7 +95,7 @@ var require_package = __commonJS({
95
95
  "package.json"(exports2, module2) {
96
96
  module2.exports = {
97
97
  name: "haansi",
98
- version: "0.1.44",
98
+ version: "0.1.45",
99
99
  description: "Haansi CLI - Session collector and MCP server for Claude Code & OpenAI Codex",
100
100
  bin: {
101
101
  haansi: "./dist/haansi.js"
@@ -21538,6 +21538,13 @@ var init_client = __esm({
21538
21538
  }
21539
21539
  });
21540
21540
 
21541
+ // ../../packages/@company/db/src/listener-connection.ts
21542
+ var init_listener_connection = __esm({
21543
+ "../../packages/@company/db/src/listener-connection.ts"() {
21544
+ "use strict";
21545
+ }
21546
+ });
21547
+
21541
21548
  // ../../packages/@company/db/src/byod/routed-pool.ts
21542
21549
  var logger, ROUTED_TENANT_CONTEXT, ROUTED_TENANT_RAW_POOL, ADMITTED_TENANT_CONTEXT;
21543
21550
  var init_routed_pool = __esm({
@@ -21697,12 +21704,15 @@ var init_taxonomy = __esm({
21697
21704
  },
21698
21705
  report_onboarding: {
21699
21706
  category: "report",
21700
- label: "Onboarding Packet",
21701
- description: "Onboarding guide assembled from team knowledge, scoped to a project or role.",
21707
+ label: "Onboarding Guide",
21708
+ description: "Onboarding guide (or legacy onboarding packet) built from selected team knowledge. Served only after its sources are checked for the viewer; read and written only by the onboarding guide service.",
21702
21709
  icon: "GraduationCap",
21703
21710
  aliases: ["onboarding_packet", "onboarding-packet"],
21704
21711
  autoApproved: false,
21705
- producedBy: ["POST /api/v1/memory/reports/onboarding"]
21712
+ producedBy: ["POST /api/v1/memory/reports/onboarding"],
21713
+ // docs/product/plans/2026-09-24-onboarding-guides.md D11: no generic
21714
+ // reader or writer may touch a guide.
21715
+ reserved: true
21706
21716
  },
21707
21717
  report_pr: {
21708
21718
  category: "report",
@@ -21988,6 +21998,7 @@ var init_config_cache = __esm({
21988
21998
  "use strict";
21989
21999
  init_org_context();
21990
22000
  init_degradation2();
22001
+ init_listener_connection();
21991
22002
  }
21992
22003
  });
21993
22004
 
@@ -22214,6 +22225,10 @@ var init_table_registry = __esm({
22214
22225
  entry("intelligence", INTELLIGENCE_DB, "expert_profile_facts", "direct", {
22215
22226
  scopingColumn: "organization_id"
22216
22227
  }),
22228
+ // A member's "this wasn't me", awaiting the identities admin (object-graph/107).
22229
+ entry("intelligence", INTELLIGENCE_DB, "identity_disputes", "direct", {
22230
+ scopingColumn: "organization_id"
22231
+ }),
22217
22232
  // Expert profile synthesis (object-graph/096).
22218
22233
  entry("intelligence", INTELLIGENCE_DB, "expert_evidence_refs", "direct", {
22219
22234
  scopingColumn: "organization_id"
@@ -22266,6 +22281,19 @@ var init_table_registry = __esm({
22266
22281
  entry("intelligence", INTELLIGENCE_DB, "digest_work_logs", "direct", {
22267
22282
  scopingColumn: "organization_id"
22268
22283
  }),
22284
+ // Onboarding guides (migrations/onboarding-guides/001): the guide lifecycle
22285
+ // row and its source refs. They reference report_onboarding rows in
22286
+ // knowledge_artifacts, so they ride on the same database as the artifacts.
22287
+ entry("intelligence", INTELLIGENCE_DB, "onboarding_guides", "direct", {
22288
+ scopingColumn: "organization_id"
22289
+ }),
22290
+ entry(
22291
+ "intelligence",
22292
+ INTELLIGENCE_DB,
22293
+ "onboarding_guide_source_refs",
22294
+ "direct",
22295
+ { scopingColumn: "organization_id" }
22296
+ ),
22269
22297
  entry("intelligence", INTELLIGENCE_DB, "activity_graph_edges", "direct", {
22270
22298
  scopingColumn: "organization_id"
22271
22299
  }),
@@ -23433,6 +23461,7 @@ var init_report_generation_jobs = __esm({
23433
23461
  var init_src6 = __esm({
23434
23462
  "../../packages/@company/db/src/index.ts"() {
23435
23463
  init_client();
23464
+ init_listener_connection();
23436
23465
  init_org_context();
23437
23466
  init_search_vector_write();
23438
23467
  init_org_purge();
@@ -80020,10 +80049,10 @@ __export(setup_mcp_exports, {
80020
80049
  });
80021
80050
  function parseTarget(arg) {
80022
80051
  if (!arg || arg === "all") return "all";
80023
- if (arg === "solutions" || arg === "exchange" || arg === "digests")
80052
+ if (arg === "solutions" || arg === "exchange" || arg === "digests" || arg === "onboarding")
80024
80053
  return arg;
80025
80054
  throw new Error(
80026
- `Unknown target: ${arg}. Use one of: solutions, exchange, digests, all (default).`
80055
+ `Unknown target: ${arg}. Use one of: solutions, exchange, digests, onboarding, all (default).`
80027
80056
  );
80028
80057
  }
80029
80058
  function httpServerUrl(path2) {
@@ -80156,6 +80185,13 @@ var init_setup_mcp = __esm({
80156
80185
  target: "digests",
80157
80186
  name: "haansi-digests",
80158
80187
  path: "/api/v1/memory/digests/mcp"
80188
+ },
80189
+ // Published onboarding guides, so an agent can pick up a workstream from
80190
+ // its handoff doc (docs/product/plans/2026-09-24-onboarding-guides.md §8.3).
80191
+ {
80192
+ target: "onboarding",
80193
+ name: "haansi-onboarding",
80194
+ path: "/api/v1/memory/onboarding/mcp"
80159
80195
  }
80160
80196
  ];
80161
80197
  WRITERS = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "haansi",
3
- "version": "0.1.44",
3
+ "version": "0.1.45",
4
4
  "description": "Haansi CLI - Session collector and MCP server for Claude Code & OpenAI Codex",
5
5
  "bin": {
6
6
  "haansi": "./dist/haansi.js"