@team-semicolon/semo-cli 4.12.0 → 4.15.0
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/commands/commitments.js +25 -3
- package/dist/commands/commitments.test.d.ts +9 -0
- package/dist/commands/commitments.test.js +223 -0
- package/dist/commands/context.js +23 -3
- package/dist/commands/harness.d.ts +8 -0
- package/dist/commands/harness.js +412 -0
- package/dist/commands/incubator.d.ts +10 -0
- package/dist/commands/incubator.js +517 -0
- package/dist/commands/service.d.ts +10 -0
- package/dist/commands/service.js +283 -0
- package/dist/commands/sessions.js +156 -0
- package/dist/commands/skill-sync.d.ts +2 -1
- package/dist/commands/skill-sync.js +88 -23
- package/dist/commands/skill-sync.test.js +78 -45
- package/dist/database.d.ts +2 -1
- package/dist/database.js +109 -27
- package/dist/global-cache.js +26 -14
- package/dist/index.js +578 -522
- package/dist/kb.d.ts +4 -4
- package/dist/kb.js +211 -101
- package/dist/semo-workspace.js +51 -0
- package/dist/service-migrate.d.ts +114 -0
- package/dist/service-migrate.js +457 -0
- package/dist/templates/harness/commit-msg +1 -0
- package/dist/templates/harness/commitlint.config.js +11 -0
- package/dist/templates/harness/eslint.config.mjs +17 -0
- package/dist/templates/harness/pr-quality-gate.yml +19 -0
- package/dist/templates/harness/pre-commit +1 -0
- package/dist/templates/harness/pre-push +1 -0
- package/dist/templates/harness/prettierignore +5 -0
- package/dist/templates/harness/prettierrc.json +7 -0
- package/package.json +8 -4
package/dist/kb.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* v3.15.0: Initial implementation
|
|
8
8
|
* v3.15.1: pgvector embedding integration
|
|
9
9
|
*/
|
|
10
|
-
import { Pool } from
|
|
10
|
+
import { Pool } from 'pg';
|
|
11
11
|
/**
|
|
12
12
|
* Generate embedding vector for text using OpenAI Embeddings API
|
|
13
13
|
* Requires OPENAI_API_KEY environment variable
|
|
@@ -102,7 +102,7 @@ export declare function kbSearch(pool: Pool, query: string, options: {
|
|
|
102
102
|
domain?: string;
|
|
103
103
|
service?: string;
|
|
104
104
|
limit?: number;
|
|
105
|
-
mode?:
|
|
105
|
+
mode?: 'semantic' | 'text' | 'hybrid';
|
|
106
106
|
}): Promise<KBEntry[]>;
|
|
107
107
|
/**
|
|
108
108
|
* List all ontology domains
|
|
@@ -166,7 +166,7 @@ export interface TypeSchemaEntry {
|
|
|
166
166
|
required: boolean;
|
|
167
167
|
value_hint: string | null;
|
|
168
168
|
sort_order: number;
|
|
169
|
-
key_type:
|
|
169
|
+
key_type: 'singleton' | 'collection';
|
|
170
170
|
}
|
|
171
171
|
export interface RoutingEntry {
|
|
172
172
|
domain: string;
|
|
@@ -250,7 +250,7 @@ export declare function ontoAddKey(pool: Pool, opts: {
|
|
|
250
250
|
type_key: string;
|
|
251
251
|
scheme_key: string;
|
|
252
252
|
description?: string;
|
|
253
|
-
key_type?:
|
|
253
|
+
key_type?: 'singleton' | 'collection';
|
|
254
254
|
required?: boolean;
|
|
255
255
|
value_hint?: string;
|
|
256
256
|
}): Promise<{
|