Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cli/selftune/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export type {
CanonicalSessionRecord,
CanonicalSkillInvocationRecord,
CanonicalSourceSessionKind,
} from "../../packages/telemetry-contract/index.js";
} from "@selftune/telemetry-contract";
// ---------------------------------------------------------------------------
// Canonical normalization types (local + cloud projection layer)
// ---------------------------------------------------------------------------
Expand All @@ -87,7 +87,7 @@ export {
CANONICAL_RECORD_KINDS,
CANONICAL_SCHEMA_VERSION,
CANONICAL_SOURCE_SESSION_KINDS,
} from "../../packages/telemetry-contract/index.js";
} from "@selftune/telemetry-contract";

// ---------------------------------------------------------------------------
// Transcript parsing
Expand Down
2 changes: 1 addition & 1 deletion cli/selftune/utils/canonical-log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
type CanonicalRecord,
type CanonicalRecordKind,
isCanonicalRecord,
} from "../../../packages/telemetry-contract/index.js";
} from "@selftune/telemetry-contract";
import { CANONICAL_LOG } from "../constants.js";
import { readJsonl } from "./jsonl.js";

Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@
"check": "bun run lint && bun run lint:arch && bun test",
"start": "bun run cli/selftune/index.ts --help"
},
"workspaces": [
"packages/*"
],
"dependencies": {
"@selftune/telemetry-contract": "workspace:*"
},
"devDependencies": {
"@biomejs/biome": "2.4.6",
"@types/bun": "^1.1.0"
Expand Down
5 changes: 1 addition & 4 deletions tests/telemetry-contract/validators.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import { describe, expect, test } from "bun:test";
import {
CANONICAL_SCHEMA_VERSION,
isCanonicalRecord,
} from "../../packages/telemetry-contract/index.js";
import { CANONICAL_SCHEMA_VERSION, isCanonicalRecord } from "@selftune/telemetry-contract";

describe("telemetry contract validators", () => {
test("accepts a valid canonical prompt record", () => {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"isolatedModules": true,
"allowImportingTsExtensions": true
},
"include": ["cli/**/*.ts", "tests/**/*.ts", "*.ts"]
"include": ["cli/**/*.ts", "tests/**/*.ts", "packages/**/*.ts", "*.ts"]
}
Loading