@ashlr/stack 0.3.6 → 0.3.7

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.
Files changed (2) hide show
  1. package/dist/index.js +9 -6
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1490,9 +1490,9 @@ var init_stack_manifest = __esm(() => {
1490
1490
  schema_version: 1,
1491
1491
  kind: "ashlr-stack-manifest",
1492
1492
  components: Object.freeze([
1493
- Object.freeze({ id: "core", name: "@ashlr/stack-core", version: "0.3.6", distribution: "npm" }),
1494
- Object.freeze({ id: "cli", name: "@ashlr/stack", version: "0.3.6", distribution: "npm" }),
1495
- Object.freeze({ id: "mcp", name: "ashlr-stack-mcp", version: "0.3.6", distribution: "npm" }),
1493
+ Object.freeze({ id: "core", name: "@ashlr/stack-core", version: "0.3.7", distribution: "npm" }),
1494
+ Object.freeze({ id: "cli", name: "@ashlr/stack", version: "0.3.7", distribution: "npm" }),
1495
+ Object.freeze({ id: "mcp", name: "ashlr-stack-mcp", version: "0.3.7", distribution: "npm" }),
1496
1496
  Object.freeze({
1497
1497
  id: "plugin",
1498
1498
  name: "stack",
@@ -14555,6 +14555,8 @@ async function readFleetText(path, options = {}) {
14555
14555
  break;
14556
14556
  offset += bytesRead;
14557
14557
  }
14558
+ if (options.requireInitialSize && offset < stat.size)
14559
+ throw new Error("Incomplete source");
14558
14560
  text = buffer.subarray(0, offset).toString("utf8");
14559
14561
  }
14560
14562
  return { status: "ok", text };
@@ -15425,6 +15427,7 @@ async function collectFleetSilent(runs, now = Date.now()) {
15425
15427
  }
15426
15428
  const paths = [...authors, "dispatchd.log", "dispatch-events.log", "metrics/jobs.jsonl"];
15427
15429
  const inputs = await Promise.all(paths.map((path) => readFleetJsonl(join18(runs, path), {
15430
+ requireInitialSize: true,
15428
15431
  parseLine: parse3,
15429
15432
  malformedLines: "flag",
15430
15433
  flagRow: wellFormed
@@ -19315,7 +19318,7 @@ var package_default;
19315
19318
  var init_package = __esm(() => {
19316
19319
  package_default = {
19317
19320
  name: "@ashlr/stack",
19318
- version: "0.3.6",
19321
+ version: "0.3.7",
19319
19322
  description: "Ashlr Stack CLI — the control plane for your entire dev stack. One command to provision, wire, and operate every third-party service in your project. 39 providers, MCP-native.",
19320
19323
  license: "MIT",
19321
19324
  author: {
@@ -19369,7 +19372,7 @@ var init_package = __esm(() => {
19369
19372
  typecheck: "bunx tsc --noEmit"
19370
19373
  },
19371
19374
  dependencies: {
19372
- "@ashlr/stack-core": "^0.3.6",
19375
+ "@ashlr/stack-core": "^0.3.7",
19373
19376
  "@clack/prompts": "^0.8.2",
19374
19377
  citty: "^0.1.6",
19375
19378
  picocolors: "^1.1.1"
@@ -19855,7 +19858,7 @@ async function checkForUpdate(currentVersion, _cacheFile) {
19855
19858
  }
19856
19859
 
19857
19860
  // src/index.ts
19858
- var VERSION = "0.3.6";
19861
+ var VERSION = "0.3.7";
19859
19862
  var main = defineCommand({
19860
19863
  meta: {
19861
19864
  name: "stack",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ashlr/stack",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "Ashlr Stack CLI — the control plane for your entire dev stack. One command to provision, wire, and operate every third-party service in your project. 39 providers, MCP-native.",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -54,7 +54,7 @@
54
54
  "typecheck": "bunx tsc --noEmit"
55
55
  },
56
56
  "dependencies": {
57
- "@ashlr/stack-core": "^0.3.6",
57
+ "@ashlr/stack-core": "^0.3.7",
58
58
  "@clack/prompts": "^0.8.2",
59
59
  "citty": "^0.1.6",
60
60
  "picocolors": "^1.1.1"