@schoolai/shipyard 1.0.0 → 1.1.0

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.
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  ROUTES
4
- } from "./chunk-FNYWUFGS.js";
4
+ } from "./chunk-4IVLSSKL.js";
5
5
  import {
6
6
  print,
7
7
  printError
8
- } from "./chunk-EB3RPXYR.js";
9
- import "./chunk-ERDY7OVK.js";
8
+ } from "./chunk-K3GFMEBF.js";
9
+ import "./chunk-FY3DRRGT.js";
10
10
  import {
11
11
  getConfigPath,
12
12
  readConfig,
@@ -148,4 +148,4 @@ async function checkLogin() {
148
148
  export {
149
149
  loginCommand
150
150
  };
151
- //# sourceMappingURL=login-5RRT37UW.js.map
151
+ //# sourceMappingURL=login-BS6C2BRS.js.map
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  print
4
- } from "./chunk-EB3RPXYR.js";
5
- import "./chunk-ERDY7OVK.js";
4
+ } from "./chunk-K3GFMEBF.js";
5
+ import "./chunk-FY3DRRGT.js";
6
6
  import {
7
7
  deleteConfig,
8
8
  getConfigPath
@@ -21,4 +21,4 @@ async function logoutCommand() {
21
21
  export {
22
22
  logoutCommand
23
23
  };
24
- //# sourceMappingURL=logout-NWYPFICH.js.map
24
+ //# sourceMappingURL=logout-XX5ULFHB.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schoolai/shipyard",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Shipyard daemon - Claude Agent SDK + Loro CRDT sync",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -9,7 +9,8 @@
9
9
  "shipyard": "./dist/index.js"
10
10
  },
11
11
  "files": [
12
- "dist"
12
+ "dist",
13
+ "README.md"
13
14
  ],
14
15
  "engines": {
15
16
  "node": ">=22"
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/logger.ts"],"sourcesContent":["import { mkdirSync } from 'node:fs';\nimport { join } from 'node:path';\nimport pino from 'pino';\nimport { getShipyardHome } from './env.js';\n\nconst logDir = join(getShipyardHome(), 'logs');\nmkdirSync(logDir, { recursive: true, mode: 0o700 });\n\nconst logFilePath = join(logDir, 'daemon.log');\n\n/** Exposed for output.ts to append CLI output to the same log file. */\nexport function getLogFilePath(): string {\n return logFilePath;\n}\n\nconst isDev = process.env.NODE_ENV !== 'production';\nconst level = process.env.LOG_LEVEL ?? 'info';\n\nconst transport = pino.transport({\n targets: [\n ...(isDev\n ? [{ target: 'pino-pretty', options: { colorize: true }, level }]\n : [{ target: 'pino/file', options: { destination: 1 }, level }]),\n {\n target: 'pino-roll',\n options: {\n file: logFilePath,\n frequency: 'daily',\n limit: { count: 7 },\n mkdir: true,\n },\n level,\n },\n ],\n});\n\nexport const logger = pino({ level }, transport);\n\nexport function createChildLogger(context: { taskId?: string; sessionId?: string; mode?: string }) {\n return logger.child(context);\n}\n"],"mappings":";;;;;;AAAA,SAAS,iBAAiB;AAC1B,SAAS,YAAY;AACrB,OAAO,UAAU;AAGjB,IAAM,SAAS,KAAK,gBAAgB,GAAG,MAAM;AAC7C,UAAU,QAAQ,EAAE,WAAW,MAAM,MAAM,IAAM,CAAC;AAElD,IAAM,cAAc,KAAK,QAAQ,YAAY;AAGtC,SAAS,iBAAyB;AACvC,SAAO;AACT;AAEA,IAAM,QAAQ,QAAQ,IAAI,aAAa;AACvC,IAAM,QAAQ,QAAQ,IAAI,aAAa;AAEvC,IAAM,YAAY,KAAK,UAAU;AAAA,EAC/B,SAAS;AAAA,IACP,GAAI,QACA,CAAC,EAAE,QAAQ,eAAe,SAAS,EAAE,UAAU,KAAK,GAAG,MAAM,CAAC,IAC9D,CAAC,EAAE,QAAQ,aAAa,SAAS,EAAE,aAAa,EAAE,GAAG,MAAM,CAAC;AAAA,IAChE;AAAA,MACE,QAAQ;AAAA,MACR,SAAS;AAAA,QACP,MAAM;AAAA,QACN,WAAW;AAAA,QACX,OAAO,EAAE,OAAO,EAAE;AAAA,QAClB,OAAO;AAAA,MACT;AAAA,MACA;AAAA,IACF;AAAA,EACF;AACF,CAAC;AAEM,IAAM,SAAS,KAAK,EAAE,MAAM,GAAG,SAAS;AAExC,SAAS,kBAAkB,SAAiE;AACjG,SAAO,OAAO,MAAM,OAAO;AAC7B;","names":[]}