@opensip-cli/graph 0.1.7 → 0.1.8

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 CHANGED
@@ -23,8 +23,8 @@ This package is published for the CLI and advanced plugin authors; most users sh
23
23
  ## Documentation
24
24
 
25
25
  - 📚 Project docs: https://opensip.ai/docs/opensip-cli/
26
- - 🧭 Package catalog (what every package does): https://github.com/opensip-ai/opensip-cli/blob/v0.1.7/docs/public/70-reference/02-package-catalog.md
27
- - 📦 Source: https://github.com/opensip-ai/opensip-cli/tree/v0.1.7/packages/graph/engine
26
+ - 🧭 Package catalog (what every package does): https://github.com/opensip-ai/opensip-cli/blob/v0.1.8/docs/public/70-reference/02-package-catalog.md
27
+ - 📦 Source: https://github.com/opensip-ai/opensip-cli/tree/v0.1.8/packages/graph/engine
28
28
 
29
29
  ## License
30
30
 
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/persistence/schema.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOvB,CAAC;AAEH;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM7B,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/persistence/schema.ts"],"names":[],"mappings":"AA0BA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOvB,CAAC;AAEH;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM7B,CAAC"}
@@ -1,3 +1,21 @@
1
+ /**
2
+ * @fileoverview Graph tool's Drizzle table definitions (catalog + shard fragment).
3
+ *
4
+ * ⚠️ MIGRATIONS LIVE IN `@opensip-cli/datastore`, NOT HERE. The platform uses one
5
+ * SQLite database with a single centralized migrations folder; this tool's tables
6
+ * are migrated alongside everyone else's. `datastore/drizzle.config.ts` imports
7
+ * THIS file as a schema source. Therefore, after editing the tables below you MUST:
8
+ *
9
+ * 1. `pnpm --filter @opensip-cli/datastore db:generate` (regenerate the migration)
10
+ * 2. commit the generated `packages/datastore/migrations/*` files
11
+ * 3. bump `LOGICAL_SCHEMA_VERSION` in `datastore/src/schema-version.ts` in lockstep
12
+ * with the new journal entry count (so existing DBs migrate forward).
13
+ *
14
+ * `datastore`'s `migration-integrity` + `version-guard` test suites fail loudly if
15
+ * the journal and schema drift, but they can't tell you to run db:generate — this
16
+ * note is the signpost. (Owning the schema here but the migration there is a known
17
+ * inversion; centralizing migrations is the deliberate trade — see ADR-0036.)
18
+ */
1
19
  import { integer, sqliteTable, text } from 'drizzle-orm/sqlite-core';
2
20
  // ADR-0036: the graph baseline tables (`graph_baseline_signals` /
3
21
  // `graph_baseline_meta`) moved to the generic host-owned `tool_baseline_entries`
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/persistence/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAErE,kEAAkE;AAClE,iFAAiF;AACjF,8EAA8E;AAC9E,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,mEAAmE;AAEnE;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CAAC,eAAe,EAAE;IACvD,EAAE,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE;IAC9B,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,OAAO,EAAE;IACpC,QAAQ,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,OAAO,EAAE;IACrC,gBAAgB,EAAE,IAAI,CAAC,mBAAmB,CAAC,CAAC,OAAO,EAAE;IACrD,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,OAAO,EAAE;IACnC,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;CACrD,CAAC,CAAC;AAEH;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,WAAW,CAAC,sBAAsB,EAAE;IACpE,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,UAAU,EAAE;IACtC,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,OAAO,EAAE;IACpC,QAAQ,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,OAAO,EAAE;IACrC,gBAAgB,EAAE,IAAI,CAAC,mBAAmB,CAAC,CAAC,OAAO,EAAE;IACrD,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;CACrD,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensip-cli/graph",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Static call-graph + dead-end analysis (seven-stage pipeline)",
6
6
  "keywords": [
@@ -109,19 +109,19 @@
109
109
  "ink": "^7.0.5",
110
110
  "react": "^19.2.7",
111
111
  "zod": "^4.4.3",
112
- "@opensip-cli/cli-ui": "0.1.7",
113
- "@opensip-cli/contracts": "0.1.7",
114
- "@opensip-cli/session-store": "0.1.7",
115
- "@opensip-cli/config": "0.1.7",
116
- "@opensip-cli/datastore": "0.1.7",
117
- "@opensip-cli/core": "0.1.7"
112
+ "@opensip-cli/cli-ui": "0.1.8",
113
+ "@opensip-cli/config": "0.1.8",
114
+ "@opensip-cli/core": "0.1.8",
115
+ "@opensip-cli/datastore": "0.1.8",
116
+ "@opensip-cli/contracts": "0.1.8",
117
+ "@opensip-cli/session-store": "0.1.8"
118
118
  },
119
119
  "devDependencies": {
120
120
  "@types/node": "^24.13.2",
121
121
  "@types/react": "^19.2.17",
122
122
  "typescript": "~6.0.3",
123
123
  "vitest": "^4.1.8",
124
- "@opensip-cli/output": "0.1.7"
124
+ "@opensip-cli/output": "0.1.8"
125
125
  },
126
126
  "scripts": {
127
127
  "build": "tsc",