orcareplay 0.2.0 → 0.2.1
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/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +17 -1
- package/dist/version.js.map +1 -1
- package/package.json +11 -11
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const ORCA_VERSION
|
|
1
|
+
export declare const ORCA_VERSION: string;
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,YAAY,EAAE,MAElB,CAAC"}
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
import { readFileSync } from 'node:fs';
|
|
2
|
+
import { fileURLToPath } from 'node:url';
|
|
3
|
+
/**
|
|
4
|
+
* Read from the manifest rather than restating it.
|
|
5
|
+
*
|
|
6
|
+
* This was a hardcoded constant, and `npm version --workspaces` does not touch source, so 0.2.0
|
|
7
|
+
* shipped reporting 0.1.2 — from `--version`, from the MCP server's `serverInfo`, and into
|
|
8
|
+
* `manifest.orca_version` on every trace it wrote. A recording that misreports the version that
|
|
9
|
+
* produced it is a provenance bug, not a cosmetic one.
|
|
10
|
+
*
|
|
11
|
+
* `../package.json` resolves the same way in all three places this is loaded from:
|
|
12
|
+
* `dist/version.js` in the published package, `dist/version.js` in the repo, and `src/version.ts`
|
|
13
|
+
* under vitest — each is exactly one directory below `packages/cli/package.json`, and npm always
|
|
14
|
+
* ships the manifest.
|
|
15
|
+
*/
|
|
16
|
+
const manifest = fileURLToPath(new URL('../package.json', import.meta.url));
|
|
17
|
+
export const ORCA_VERSION = JSON.parse(readFileSync(manifest, 'utf8')).version;
|
|
2
18
|
//# sourceMappingURL=version.js.map
|
package/dist/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAM,QAAQ,GAAG,aAAa,CAAC,IAAI,GAAG,CAAC,iBAAiB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAE5E,MAAM,CAAC,MAAM,YAAY,GACvB,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,CAC1C,CAAC,OAAO,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orcareplay",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "Record, replay and fork debugger for AI agents",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"directory": "packages/cli"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@orcareplay/schema": "0.2.
|
|
40
|
-
"@orcareplay/plugin-api": "0.2.
|
|
41
|
-
"@orcareplay/core": "0.2.
|
|
42
|
-
"@orcareplay/proxy": "0.2.
|
|
43
|
-
"@orcareplay/providers": "0.2.
|
|
44
|
-
"@orcareplay/adapters": "0.2.
|
|
45
|
-
"@orcareplay/fs-capture": "0.2.
|
|
46
|
-
"@orcareplay/viewer": "0.2.
|
|
47
|
-
"@orcareplay/mcp-shim": "0.2.
|
|
48
|
-
"@orcareplay/shell-shim": "0.2.
|
|
39
|
+
"@orcareplay/schema": "0.2.1",
|
|
40
|
+
"@orcareplay/plugin-api": "0.2.1",
|
|
41
|
+
"@orcareplay/core": "0.2.1",
|
|
42
|
+
"@orcareplay/proxy": "0.2.1",
|
|
43
|
+
"@orcareplay/providers": "0.2.1",
|
|
44
|
+
"@orcareplay/adapters": "0.2.1",
|
|
45
|
+
"@orcareplay/fs-capture": "0.2.1",
|
|
46
|
+
"@orcareplay/viewer": "0.2.1",
|
|
47
|
+
"@orcareplay/mcp-shim": "0.2.1",
|
|
48
|
+
"@orcareplay/shell-shim": "0.2.1"
|
|
49
49
|
}
|
|
50
50
|
}
|