opensteer 0.9.3 → 0.9.4
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 +158 -165
- package/dist/{chunk-GREXSYNC.js → chunk-GEUHKPC2.js} +45 -15
- package/dist/chunk-GEUHKPC2.js.map +1 -0
- package/dist/{chunk-2TIVULZY.js → chunk-GSCQQKZZ.js} +53 -9
- package/dist/chunk-GSCQQKZZ.js.map +1 -0
- package/dist/{chunk-UM2Q4JD2.js → chunk-HQCMXRBE.js} +5 -4
- package/dist/chunk-HQCMXRBE.js.map +1 -0
- package/dist/{chunk-BMPUL66S.js → chunk-T5P2QGZ3.js} +58 -53
- package/dist/chunk-T5P2QGZ3.js.map +1 -0
- package/dist/{chunk-FIMNKEG5.js → chunk-ZRF7WMS3.js} +4 -4
- package/dist/{chunk-FIMNKEG5.js.map → chunk-ZRF7WMS3.js.map} +1 -1
- package/dist/cli/bin.cjs +159 -71
- package/dist/cli/bin.cjs.map +1 -1
- package/dist/cli/bin.js +17 -7
- package/dist/cli/bin.js.map +1 -1
- package/dist/index.cjs +148 -68
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -2
- package/dist/index.d.ts +19 -2
- package/dist/index.js +4 -4
- package/dist/local-view/serve-entry.cjs +106 -57
- package/dist/local-view/serve-entry.cjs.map +1 -1
- package/dist/local-view/serve-entry.js +2 -2
- package/dist/opensteer-PJI7VUIT.js +6 -0
- package/dist/{opensteer-IBDPRIEX.js.map → opensteer-PJI7VUIT.js.map} +1 -1
- package/dist/{session-control-IFE3IPS3.js → session-control-M3JD7ZKA.js} +4 -4
- package/dist/{session-control-IFE3IPS3.js.map → session-control-M3JD7ZKA.js.map} +1 -1
- package/package.json +2 -2
- package/skills/opensteer/SKILL.md +7 -8
- package/skills/recorder/SKILL.md +43 -48
- package/dist/chunk-2TIVULZY.js.map +0 -1
- package/dist/chunk-BMPUL66S.js.map +0 -1
- package/dist/chunk-GREXSYNC.js.map +0 -1
- package/dist/chunk-UM2Q4JD2.js.map +0 -1
- package/dist/opensteer-IBDPRIEX.js +0 -6
- package/skills/recorder/references/recorder-reference.md +0 -71
package/dist/cli/bin.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import '../chunk-KCINASQC.js';
|
|
3
|
-
import { runLocalViewService } from '../chunk-
|
|
4
|
-
import { createOpensteerSemanticRuntime, dispatchSemanticOperation, loadEnvironment, normalizeOpensteerProviderMode, resolveOpensteerRuntimeConfig, assertProviderSupportsEngine, resolveOpensteerProvider, requireCloudAppBaseUrl, CloudSessionProxy, FlowRecorderCollector, generateReplayScript, OpensteerCloudClient } from '../chunk-
|
|
5
|
-
import { OpensteerBrowserManager, stopLocalViewService, setLocalViewMode, ensureLocalViewServiceRunning, buildLocalViewSessionUrl, resolveOpensteerEngineName, resolveFilesystemWorkspacePath } from '../chunk-
|
|
6
|
-
import { discoverLocalCdpBrowsers, inspectCdpEndpoint, readPersistedLocalBrowserSessionRecord, isProcessRunning, buildLocalViewSessionId, pathExists, readPersistedCloudSessionRecord } from '../chunk-
|
|
3
|
+
import { runLocalViewService } from '../chunk-ZRF7WMS3.js';
|
|
4
|
+
import { createOpensteerSemanticRuntime, dispatchSemanticOperation, loadEnvironment, normalizeOpensteerProviderMode, resolveOpensteerRuntimeConfig, assertProviderSupportsEngine, resolveOpensteerProvider, requireCloudAppBaseUrl, CloudSessionProxy, FlowRecorderCollector, generateReplayScript, OpensteerCloudClient } from '../chunk-GEUHKPC2.js';
|
|
5
|
+
import { OpensteerBrowserManager, stopLocalViewService, setLocalViewMode, ensureLocalViewServiceRunning, buildLocalViewSessionUrl, resolveOpensteerEngineName, resolveFilesystemWorkspacePath } from '../chunk-GSCQQKZZ.js';
|
|
6
|
+
import { discoverLocalCdpBrowsers, inspectCdpEndpoint, readPersistedLocalBrowserSessionRecord, isProcessRunning, buildLocalViewSessionId, pathExists, readPersistedCloudSessionRecord } from '../chunk-T5P2QGZ3.js';
|
|
7
7
|
import process4 from 'process';
|
|
8
8
|
import { mkdir, writeFile } from 'fs/promises';
|
|
9
9
|
import path2 from 'path';
|
|
@@ -15,7 +15,7 @@ import { fileURLToPath } from 'url';
|
|
|
15
15
|
|
|
16
16
|
// package.json
|
|
17
17
|
var package_default = {
|
|
18
|
-
version: "0.9.
|
|
18
|
+
version: "0.9.4"};
|
|
19
19
|
|
|
20
20
|
// src/cli/env-loader.ts
|
|
21
21
|
async function loadCliEnvironment(cwd) {
|
|
@@ -2182,7 +2182,7 @@ async function runExecExpression(context, expression) {
|
|
|
2182
2182
|
}
|
|
2183
2183
|
return fn.call(context);
|
|
2184
2184
|
}
|
|
2185
|
-
async function handleViewCommand(parsed) {
|
|
2185
|
+
async function handleViewCommand(parsed, options = {}) {
|
|
2186
2186
|
const subcommand = parsed.command[1];
|
|
2187
2187
|
if (subcommand === "serve") {
|
|
2188
2188
|
assertNoViewPreferenceFlag(parsed);
|
|
@@ -2216,6 +2216,16 @@ async function handleViewCommand(parsed) {
|
|
|
2216
2216
|
url,
|
|
2217
2217
|
...sessionId === void 0 ? {} : { sessionId }
|
|
2218
2218
|
});
|
|
2219
|
+
if (parsed.options.json !== true) {
|
|
2220
|
+
try {
|
|
2221
|
+
await (options.openUrl ?? openBrowserUrl)(url);
|
|
2222
|
+
} catch {
|
|
2223
|
+
process.stderr.write(
|
|
2224
|
+
`Could not automatically open the local view. Open it manually: ${url}
|
|
2225
|
+
`
|
|
2226
|
+
);
|
|
2227
|
+
}
|
|
2228
|
+
}
|
|
2219
2229
|
}
|
|
2220
2230
|
async function resolveWorkspaceSessionId(input) {
|
|
2221
2231
|
const rootPath = resolveFilesystemWorkspacePath({
|
|
@@ -2365,7 +2375,7 @@ async function handleExecCommand(parsed) {
|
|
|
2365
2375
|
);
|
|
2366
2376
|
}
|
|
2367
2377
|
const { engineName, runtimeProvider } = resolveCliRuntimeSelection(parsed);
|
|
2368
|
-
const { Opensteer } = await import('../opensteer-
|
|
2378
|
+
const { Opensteer } = await import('../opensteer-PJI7VUIT.js');
|
|
2369
2379
|
const opensteer = new Opensteer({
|
|
2370
2380
|
workspace: parsed.options.workspace,
|
|
2371
2381
|
rootDir: process4.cwd(),
|