orcareplay 0.1.0 → 0.1.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/flags.d.ts +14 -0
- package/dist/flags.d.ts.map +1 -1
- package/dist/flags.js +9 -3
- package/dist/flags.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +13 -12
package/dist/flags.d.ts
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
import type { ParsedArgs } from './args.js';
|
|
2
|
+
/**
|
|
3
|
+
* Which flags each command accepts.
|
|
4
|
+
*
|
|
5
|
+
* The parser takes any flag it is given, which is right for parsing and wrong for a CLI: a
|
|
6
|
+
* mistyped or invented flag was accepted in silence and simply had no effect, so a run that did
|
|
7
|
+
* something other than what was asked reported success.
|
|
8
|
+
*
|
|
9
|
+
* Every entry below is a flag the code actually reads — collected from the `args.bool/str/num/list`
|
|
10
|
+
* calls in each command and in the helpers it shares — not from what the documentation describes.
|
|
11
|
+
* Building it the other way round is how a flag that never existed came to be recommended in the
|
|
12
|
+
* first place, and a list that allows more than the code understands would rebuild exactly that.
|
|
13
|
+
*/
|
|
14
|
+
export declare const GLOBAL: readonly ["ci", "json", "verbose", "color", "help", "version", "h"];
|
|
15
|
+
export declare const BY_COMMAND: Record<string, readonly string[]>;
|
|
2
16
|
/**
|
|
3
17
|
* Reject a flag this command does not have.
|
|
4
18
|
*
|
package/dist/flags.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flags.d.ts","sourceRoot":"","sources":["../src/flags.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"flags.d.ts","sourceRoot":"","sources":["../src/flags.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE5C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,MAAM,qEAAsE,CAAC;AAQ1F,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAmCxD,CAAC;AAeF;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI,CAevD"}
|
package/dist/flags.js
CHANGED
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
* Building it the other way round is how a flag that never existed came to be recommended in the
|
|
11
11
|
* first place, and a list that allows more than the code understands would rebuild exactly that.
|
|
12
12
|
*/
|
|
13
|
-
const GLOBAL = ['ci', 'json', 'verbose', 'color', 'help', 'version', 'h'];
|
|
13
|
+
export const GLOBAL = ['ci', 'json', 'verbose', 'color', 'help', 'version', 'h'];
|
|
14
14
|
/** Read by `config.ts` for any command that can reach a provider. */
|
|
15
15
|
const UPSTREAM = ['upstream-anthropic', 'upstream-openai'];
|
|
16
16
|
/** Read by `tls-capture.ts`, which record, replay and compare all set up. */
|
|
17
17
|
const TLS = ['tls-intercept', 'tls-hosts'];
|
|
18
|
-
const BY_COMMAND = {
|
|
18
|
+
export const BY_COMMAND = {
|
|
19
19
|
record: ['fs', 'shell', 'mcp-config', ...TLS, ...UPSTREAM],
|
|
20
20
|
replay: [
|
|
21
21
|
'from',
|
|
@@ -34,7 +34,13 @@ const BY_COMMAND = {
|
|
|
34
34
|
compare: ['from', 'models', 'verify', 'share', 'loose', ...TLS, ...UPSTREAM],
|
|
35
35
|
show: [],
|
|
36
36
|
checkpoints: [],
|
|
37
|
-
|
|
37
|
+
events: [],
|
|
38
|
+
// `inspect.ts` serves graph, export and ui from one file, so the flags of all three are read
|
|
39
|
+
// there. Reading a file rather than a command is how the first version of this list came to
|
|
40
|
+
// give `export` two flags and lose the three it needs — `--card`, `--graph-card` and `--to`
|
|
41
|
+
// are the picture commands the README documents, and rejecting them broke a working feature.
|
|
42
|
+
graph: ['to'],
|
|
43
|
+
export: ['o', 'out', 'card', 'graph-card', 'to'],
|
|
38
44
|
ui: ['port'],
|
|
39
45
|
scrub: ['match', 'matches', 'dry-run', 'drop-fs'],
|
|
40
46
|
list: [],
|
package/dist/flags.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flags.js","sourceRoot":"","sources":["../src/flags.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,CAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"flags.js","sourceRoot":"","sources":["../src/flags.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,CAAU,CAAC;AAE1F,qEAAqE;AACrE,MAAM,QAAQ,GAAG,CAAC,oBAAoB,EAAE,iBAAiB,CAAU,CAAC;AAEpE,6EAA6E;AAC7E,MAAM,GAAG,GAAG,CAAC,eAAe,EAAE,WAAW,CAAU,CAAC;AAEpD,MAAM,CAAC,MAAM,UAAU,GAAsC;IAC3D,MAAM,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG,GAAG,EAAE,GAAG,QAAQ,CAAC;IAC1D,MAAM,EAAE;QACN,MAAM;QACN,OAAO;QACP,IAAI;QACJ,UAAU;QACV,UAAU;QACV,OAAO;QACP,OAAO;QACP,MAAM;QACN,IAAI;QACJ,YAAY;QACZ,GAAG,GAAG;QACN,GAAG,QAAQ;KACZ;IACD,OAAO,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,GAAG,EAAE,GAAG,QAAQ,CAAC;IAC5E,IAAI,EAAE,EAAE;IACR,WAAW,EAAE,EAAE;IACf,MAAM,EAAE,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//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const ORCA_VERSION = '0.1.
|
|
1
|
+
export const ORCA_VERSION = '0.1.1';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orcareplay",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "Record, replay and fork debugger for AI agents",
|
|
@@ -32,18 +32,19 @@
|
|
|
32
32
|
],
|
|
33
33
|
"repository": {
|
|
34
34
|
"type": "git",
|
|
35
|
-
"url": "https://github.com/Continuum-AI-Corp/OrcaReplay.git"
|
|
35
|
+
"url": "https://github.com/Continuum-AI-Corp/OrcaReplay.git",
|
|
36
|
+
"directory": "packages/cli"
|
|
36
37
|
},
|
|
37
38
|
"dependencies": {
|
|
38
|
-
"@orcareplay/schema": "0.1.
|
|
39
|
-
"@orcareplay/plugin-api": "0.1.
|
|
40
|
-
"@orcareplay/core": "0.1.
|
|
41
|
-
"@orcareplay/proxy": "0.1.
|
|
42
|
-
"@orcareplay/providers": "0.1.
|
|
43
|
-
"@orcareplay/adapters": "0.1.
|
|
44
|
-
"@orcareplay/fs-capture": "0.1.
|
|
45
|
-
"@orcareplay/viewer": "0.1.
|
|
46
|
-
"@orcareplay/mcp-shim": "0.1.
|
|
47
|
-
"@orcareplay/shell-shim": "0.1.
|
|
39
|
+
"@orcareplay/schema": "0.1.1",
|
|
40
|
+
"@orcareplay/plugin-api": "0.1.1",
|
|
41
|
+
"@orcareplay/core": "0.1.1",
|
|
42
|
+
"@orcareplay/proxy": "0.1.1",
|
|
43
|
+
"@orcareplay/providers": "0.1.1",
|
|
44
|
+
"@orcareplay/adapters": "0.1.1",
|
|
45
|
+
"@orcareplay/fs-capture": "0.1.1",
|
|
46
|
+
"@orcareplay/viewer": "0.1.1",
|
|
47
|
+
"@orcareplay/mcp-shim": "0.1.1",
|
|
48
|
+
"@orcareplay/shell-shim": "0.1.1"
|
|
48
49
|
}
|
|
49
50
|
}
|