@skaile/workspaces 0.11.2 → 0.12.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/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.12.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`3ec05df`](https://github.com/skaile-ai/workspaces/commit/3ec05dfb162c5d40003d4eae012753c460bac754) - `skaile --version` (and the new `-v` short alias) now prints the real package version read from `package.json` at startup, instead of the hardcoded `0.1.0` placeholder that the CLI had been shipping with. This keeps the flag in sync with whatever changesets-driven release the binary was built from, so users can reliably check which release of `@skaile/workspaces` they have installed.
8
+
9
+ ## 0.12.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#21](https://github.com/skaile-ai/workspaces/pull/21) [`e06401f`](https://github.com/skaile-ai/workspaces/commit/e06401f771ac58b484ccbf7e465d3048e7e7a70d) Thanks [@peteralbert](https://github.com/peteralbert)! - Dependency upgrades.
14
+
15
+ - **Optional peer ranges raised** (consumers using these drivers should move to the new ranges): `@anthropic-ai/claude-agent-sdk` `^0.2.89` → `^0.3.150`, `@openai/codex-sdk` `^0.118.0` → `^0.133.0`. No driver code changes were required — the used API surface is unchanged.
16
+ - **Runtime dependencies bumped:** `commander` 13 → 14, `@clack/prompts` 0.9 → 1.4, `ulid` 2 → 3, `@octokit/rest` → 22.0.1, `semver` → 7.8.1, `ws` → 8.21.0. No source changes needed.
17
+
18
+ `marked` is intentionally held at 15.x — it is capped by `marked-terminal`'s peer range (`>=1 <16`) until an upstream release lifts it.
19
+
20
+ ### Patch Changes
21
+
22
+ - [#20](https://github.com/skaile-ai/workspaces/pull/20) [`843b611`](https://github.com/skaile-ai/workspaces/commit/843b6113075e6ecfd041d66ff161357f5eca1fb6) Thanks [@peteralbert](https://github.com/peteralbert)! - Remove the unused `glob` direct dependency. It was declared in `dependencies` but never imported anywhere in the source, and it resolved to the now-deprecated `glob@11.1.0`, which printed a deprecation warning on `npm i -g @skaile/workspaces`. Dropping it removes the warning and shrinks the install footprint.
23
+
3
24
  ## 0.11.2
4
25
 
5
26
  ### Patch Changes
@@ -9,6 +30,7 @@
9
30
  The claude-sdk driver's credential self-heal (`onAuthError`) failed to fire in two
10
31
  cases, leaving sessions stuck on a misleading `Not logged in · Please run /login`
11
32
  error after the OAuth access token expired:
33
+
12
34
  - **Classification**: the bare `Not logged in · Please run /login` string the
13
35
  Claude Code CLI emits (no JSON body) fell through to `category: "unknown"`, so it
14
36
  was never promoted to `AuthError` and the self-heal never triggered. It is now
@@ -146,6 +168,7 @@ authenticate. API Error: 401` even on every successful self-heal.
146
168
  `scrubPoisonedTranscript()` to repair the on-disk SDK JSONL transcript, then
147
169
  retries the resume once, keeping the same session so conversation context is
148
170
  preserved. Four poison classes are repaired in a single pass:
171
+
149
172
  - **Image `media_type` mismatch** — corrected by sniffing the base64 magic
150
173
  bytes (Claude Code `Read`-tool bug, anthropics/claude-code#55338 / #30124).
151
174
  - **Missing image `media_type`** — filled in from the sniffed bytes (#33179).
package/dist/cli/index.js CHANGED
@@ -53,11 +53,12 @@ import '../chunk-6FNCZYJY.js';
53
53
  import '../chunk-NELZIQ2E.js';
54
54
  import '../chunk-CGYEHQOX.js';
55
55
  import '../chunk-NSBPE2FW.js';
56
+ import * as fs10 from 'fs';
57
+ import fs10__default, { readFileSync, existsSync, writeFileSync, statSync } from 'fs';
56
58
  import * as path16 from 'path';
57
59
  import path16__default, { resolve, join } from 'path';
60
+ import { fileURLToPath } from 'url';
58
61
  import { Help, Command, Option } from 'commander';
59
- import * as fs10 from 'fs';
60
- import fs10__default, { existsSync, readFileSync, writeFileSync, statSync } from 'fs';
61
62
  import * as p5 from '@clack/prompts';
62
63
  import pc6 from 'picocolors';
63
64
  import * as readline from 'readline';
@@ -4057,7 +4058,7 @@ async function runCompileTest(opts) {
4057
4058
  const { logOk: logOk2, logErr: logErr2, logInfo: logInfo2, S: S2 } = await import('../helpers-I3SREIC3.js');
4058
4059
  const { tmpdir } = await import('os');
4059
4060
  const { dirname: dirname3, join: join4, resolve: resolve3 } = await import('path');
4060
- const { fileURLToPath } = await import('url');
4061
+ const { fileURLToPath: fileURLToPath2 } = await import('url');
4061
4062
  const { unlinkSync, existsSync: existsSync11 } = await import('fs');
4062
4063
  const { spawn } = await import('child_process');
4063
4064
  const { portableSpawnSync: portableSpawnSync2 } = await import('../core/index.js');
@@ -4069,7 +4070,7 @@ async function runCompileTest(opts) {
4069
4070
  return;
4070
4071
  }
4071
4072
  const outfile = join4(tmpdir(), `skaile-compile-test-${Date.now()}`);
4072
- const __thisFile = fileURLToPath(import.meta.url);
4073
+ const __thisFile = fileURLToPath2(import.meta.url);
4073
4074
  const entryPoint = resolve3(dirname3(__thisFile), "..", "index.ts");
4074
4075
  logInfo2(`Building compiled binary...`);
4075
4076
  logInfo2(`Entry: ${S2.dim(entryPoint)}`);
@@ -5508,7 +5509,13 @@ function makeWhyCommand() {
5508
5509
 
5509
5510
  // cli/src/index.ts
5510
5511
  var _defaultFormatHelp = Help.prototype.formatHelp;
5511
- var program = new Command("skaile").description("AI asset manager").version("0.1.0").enablePositionalOptions().configureHelp({
5512
+ var pkg = JSON.parse(
5513
+ readFileSync(
5514
+ path16__default.resolve(path16__default.dirname(fileURLToPath(import.meta.url)), "../../package.json"),
5515
+ "utf-8"
5516
+ )
5517
+ );
5518
+ var program = new Command("skaile").description("AI asset manager").version(pkg.version, "-v, --version", "Show the skaile CLI version").enablePositionalOptions().configureHelp({
5512
5519
  formatHelp(cmd, helper) {
5513
5520
  if (cmd.name() !== "skaile") return _defaultFormatHelp.call(helper, cmd, helper);
5514
5521
  return `