@h1r-ai/croche 0.5.4 → 0.5.5

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/docs/SKILL.md CHANGED
@@ -65,7 +65,7 @@ Choose the matching path:
65
65
 
66
66
  - **Node script or web backend:** `@h1r-ai/croche`, Node.js 22+ on macOS/Linux.
67
67
  - **React Native:** `@h1r-ai/croche` + `@h1r-ai/croche-react-native`; same project/agent API.
68
- - **Native Swift/Kotlin SDKs are published as 0.5.4**, including the shared `Croche.open` project API.
68
+ - **Native Swift/Kotlin SDKs are published as 0.5.5**, including the shared `Croche.open` project API.
69
69
  Read the `croche-platforms` iOS/Android reference for installation and the first turn.
70
70
  Verify package resolution and native execution in the target app; publication is not a test pass.
71
71
  If its exact release is unavailable, offer TypeScript/React Native as an alternative, not an
@@ -73,7 +73,7 @@ Choose the matching path:
73
73
  - **Windows:** verification pending; command forms are not a support claim. Use the
74
74
  detected shell rather than assuming Bash; `croche-cli` has PowerShell guidance.
75
75
 
76
- The TypeScript SDK, React Native SDK and CLI **0.5.4 are published on npm**. Use
76
+ The TypeScript SDK, React Native SDK and CLI **0.5.5 are published on npm**. Use
77
77
  `npm install @h1r-ai/croche` and `npm install -g @h1r-ai/croche-cli` without version suffixes;
78
78
  for React Native, install `@h1r-ai/croche` and `@h1r-ai/croche-react-native` together. Commit
79
79
  the project lockfile to record resolved versions. Check the installed version and command help. Publication alone does not prove the user's platform or first turn.
@@ -1,7 +1,7 @@
1
1
  # Node: one real reply
2
2
 
3
3
  Use for a Node script or the first local check before adding UI. Node.js 22+ on macOS/Linux;
4
- Windows verification pending. SDK 0.5.4 is published on npm; a real first turn on the user’s
4
+ Windows verification pending. SDK 0.5.5 is published on npm; a real first turn on the user’s
5
5
  platform still needs verification. With installation permission, install the published SDK:
6
6
 
7
7
  ```sh
@@ -7,7 +7,7 @@ description: Use the Croche CLI to create an app project and private debug-key f
7
7
 
8
8
  Do the permitted CLI work and explain the next user action. Node.js 22+ on macOS/Linux;
9
9
  Windows verification pending. Check `croche --help` and installed version before relying on
10
- a command. CLI 0.5.4 is published on npm; platform and login verification remain separate.
10
+ a command. CLI 0.5.5 is published on npm; platform and login verification remain separate.
11
11
  With installation permission:
12
12
 
13
13
  ```sh
@@ -21,7 +21,7 @@ Install npm packages without a version suffix; the project lockfile records reso
21
21
  Minor releases in 0.x may break compatibility, so the native ranges above stay within 0.5.x.
22
22
 
23
23
  Node.js 22+ on macOS/Linux; Windows verification pending. PowerShell syntax does not establish
24
- Windows support. SDK 0.5.4 is published on npm; verify the installed version and platform behavior.
24
+ Windows support. SDK 0.5.5 is published on npm; verify the installed version and platform behavior.
25
25
  Node and RN do not automatically load the CLI-created `.env`: Node needs `--env-file` or an
26
26
  existing dotenv loader, web secrets stay server-side only, and RN needs debug-only build config
27
27
  with no secret in release artifacts. Read the matching reference above before the first turn.
@@ -39,7 +39,7 @@ Use `croche-config` for the complete selection and next-open rules.
39
39
 
40
40
  ## Native gate
41
41
 
42
- **Native Swift and Kotlin SDKs are published as 0.5.4**, including the shared
42
+ **Native Swift and Kotlin SDKs are published as 0.5.5**, including the shared
43
43
  **project/agent `Croche.open` API**. Do not describe published SDKs as nonexistent.
44
44
  Installation and `Croche.open` first-turn examples are in [ios.md](references/ios.md)
45
45
  and [android.md](references/android.md). For a native request, read the matching reference,
@@ -1,9 +1,9 @@
1
1
  # Android · Kotlin project API
2
2
 
3
- Use this guide for a native Android app, not the single-agent API. It targets **0.5.4** and
3
+ Use this guide for a native Android app, not the single-agent API. It targets **0.5.5** and
4
4
  `Croche.open` → `agent()` → `request()`.
5
5
 
6
- > Version 0.5.4 is published on Maven. Verify Gradle integration, emulator first turn and
6
+ > Version 0.5.5 is published on Maven. Verify Gradle integration, emulator first turn and
7
7
  > release credential exclusion in the target app; package publication is not proof of those checks.
8
8
  > If the package cannot be resolved within the declared range, report that blocker; do not downgrade the API.
9
9
 
@@ -1,9 +1,9 @@
1
1
  # iOS · Swift project API
2
2
 
3
- Use this guide for a native iOS app, not the single-agent API. It targets **0.5.4** and
3
+ Use this guide for a native iOS app, not the single-agent API. It targets **0.5.5** and
4
4
  `Croche.open` → `agent()` → `request()`.
5
5
 
6
- > Version 0.5.4 is published through SPM. Verify Xcode integration, simulator first turn and
6
+ > Version 0.5.5 is published through SPM. Verify Xcode integration, simulator first turn and
7
7
  > release credential exclusion in the target app; package publication is not proof of those checks.
8
8
  > If the package cannot be resolved within the declared range, report that blocker; do not downgrade the API.
9
9
 
@@ -1,7 +1,7 @@
1
1
  # React Native
2
2
 
3
3
  Requirements: React Native 0.76+ with New Architecture, iOS 15.1+ / Android API 26+.
4
- Version 0.5.4 packages are published on npm; use the app's existing package manager.
4
+ Version 0.5.5 packages are published on npm; use the app's existing package manager.
5
5
  With permission:
6
6
 
7
7
  ```sh
@@ -28,4 +28,4 @@ agent without deleting the whole project directory or another user's data.
28
28
 
29
29
  Do not apply this recipe blindly to custom single-agent storage or an instance-specific case;
30
30
  confirm the installed SDK's scoped deletion API first. A busy store must be closed, not forcibly
31
- erased. Native 0.5.4 recovery requires its reviewed API; do not translate this snippet by guesswork.
31
+ erased. Native 0.5.5 recovery requires its reviewed API; do not translate this snippet by guesswork.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h1r-ai/croche",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -183,7 +183,7 @@ function _assertClass(instance, klass) {
183
183
  throw new Error(`expected instance of ${klass.name}`);
184
184
  }
185
185
  }
186
- function __wbg_adapter_6(arg0, arg1, arg2) {
186
+ function __wbg_adapter_8(arg0, arg1, arg2) {
187
187
  wasm.closure216_externref_shim(arg0, arg1, arg2);
188
188
  }
189
189
 
@@ -1229,7 +1229,7 @@ function __wbg_get_imports() {
1229
1229
  const ret = Reflect.get(arg0, arg1);
1230
1230
  return ret;
1231
1231
  }, arguments) };
1232
- imports.wbg.__wbg_http_e9b575fe3d265a7a = function(arg0, arg1, arg2, arg3) {
1232
+ imports.wbg.__wbg_http_0ae0fcfc317bf166 = function(arg0, arg1, arg2, arg3) {
1233
1233
  const ret = arg0.http(arg1, WasmSink.__wrap(arg2), WasmCancel.__wrap(arg3));
1234
1234
  return ret;
1235
1235
  };
@@ -1251,7 +1251,7 @@ function __wbg_get_imports() {
1251
1251
  const ret = arg0.length;
1252
1252
  return ret;
1253
1253
  };
1254
- imports.wbg.__wbg_lock_e0eaba7753ddb53e = function(arg0, arg1, arg2) {
1254
+ imports.wbg.__wbg_lock_d8b2d93e8e4dbedb = function(arg0, arg1, arg2) {
1255
1255
  const ret = arg0.lock(getStringFromWasm0(arg1, arg2));
1256
1256
  return ret;
1257
1257
  };
@@ -1285,7 +1285,7 @@ function __wbg_get_imports() {
1285
1285
  const ret = new Function(getStringFromWasm0(arg0, arg1));
1286
1286
  return ret;
1287
1287
  };
1288
- imports.wbg.__wbg_nowMs_1ca5891a40094dae = function(arg0) {
1288
+ imports.wbg.__wbg_nowMs_347154ac53d09f5f = function(arg0) {
1289
1289
  const ret = arg0.nowMs();
1290
1290
  return ret;
1291
1291
  };
@@ -1307,26 +1307,26 @@ function __wbg_get_imports() {
1307
1307
  const ret = arg0.queueMicrotask;
1308
1308
  return ret;
1309
1309
  };
1310
- imports.wbg.__wbg_random_1e43f80205bcda1a = function(arg0, arg1) {
1310
+ imports.wbg.__wbg_random_a551b19d3d5dd99a = function(arg0, arg1) {
1311
1311
  const ret = arg1.random();
1312
1312
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1313
1313
  const len1 = WASM_VECTOR_LEN;
1314
1314
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1315
1315
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1316
1316
  };
1317
- imports.wbg.__wbg_readSecret_54824834e3c0cb53 = function(arg0, arg1, arg2) {
1317
+ imports.wbg.__wbg_readSecret_1b3cc2793ffc53a8 = function(arg0, arg1, arg2) {
1318
1318
  const ret = arg0.readSecret(getStringFromWasm0(arg1, arg2));
1319
1319
  return ret;
1320
1320
  };
1321
- imports.wbg.__wbg_read_9c800ddb8c809500 = function(arg0, arg1, arg2) {
1321
+ imports.wbg.__wbg_read_0e11fbfd1437442d = function(arg0, arg1, arg2) {
1322
1322
  const ret = arg0.read(getStringFromWasm0(arg1, arg2));
1323
1323
  return ret;
1324
1324
  };
1325
- imports.wbg.__wbg_removeSecret_9250e3320cd1ce02 = function(arg0, arg1, arg2) {
1325
+ imports.wbg.__wbg_removeSecret_02cb803d87b6b01a = function(arg0, arg1, arg2) {
1326
1326
  const ret = arg0.removeSecret(getStringFromWasm0(arg1, arg2));
1327
1327
  return ret;
1328
1328
  };
1329
- imports.wbg.__wbg_remove_ab1cab75d56111c0 = function(arg0, arg1, arg2) {
1329
+ imports.wbg.__wbg_remove_ff9817388427e99d = function(arg0, arg1, arg2) {
1330
1330
  const ret = arg0.remove(getStringFromWasm0(arg1, arg2));
1331
1331
  return ret;
1332
1332
  };
@@ -1338,7 +1338,7 @@ function __wbg_get_imports() {
1338
1338
  const ret = Reflect.set(arg0, arg1, arg2);
1339
1339
  return ret;
1340
1340
  }, arguments) };
1341
- imports.wbg.__wbg_sleep_e48af34a7ce11555 = function(arg0, arg1) {
1341
+ imports.wbg.__wbg_sleep_b62cf103dff85d47 = function(arg0, arg1) {
1342
1342
  const ret = arg0.sleep(arg1);
1343
1343
  return ret;
1344
1344
  };
@@ -1358,7 +1358,7 @@ function __wbg_get_imports() {
1358
1358
  const ret = typeof window === 'undefined' ? null : window;
1359
1359
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1360
1360
  };
1361
- imports.wbg.__wbg_storeIdentity_6d65d77997c4e424 = function(arg0, arg1) {
1361
+ imports.wbg.__wbg_storeIdentity_671b20e35ed46a3f = function(arg0, arg1) {
1362
1362
  const ret = arg1.storeIdentity();
1363
1363
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1364
1364
  const len1 = WASM_VECTOR_LEN;
@@ -1377,7 +1377,7 @@ function __wbg_get_imports() {
1377
1377
  const ret = arg0.then(arg1);
1378
1378
  return ret;
1379
1379
  };
1380
- imports.wbg.__wbg_tool_c59f7574a5578ba1 = function(arg0, arg1, arg2, arg3) {
1380
+ imports.wbg.__wbg_tool_2282738d031c879d = function(arg0, arg1, arg2, arg3) {
1381
1381
  let deferred0_0;
1382
1382
  let deferred0_1;
1383
1383
  try {
@@ -1389,15 +1389,15 @@ function __wbg_get_imports() {
1389
1389
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
1390
1390
  }
1391
1391
  };
1392
- imports.wbg.__wbg_unlock_679023430ed0a7ca = function(arg0, arg1, arg2) {
1392
+ imports.wbg.__wbg_unlock_e37306332974be1e = function(arg0, arg1, arg2) {
1393
1393
  const ret = arg0.unlock(getStringFromWasm0(arg1, arg2));
1394
1394
  return ret;
1395
1395
  };
1396
- imports.wbg.__wbg_utcOffsetMinutes_0ba1ff47635aea27 = function(arg0, arg1) {
1396
+ imports.wbg.__wbg_utcOffsetMinutes_0d97c0b98316556d = function(arg0, arg1) {
1397
1397
  const ret = arg0.utcOffsetMinutes(arg1);
1398
1398
  return ret;
1399
1399
  };
1400
- imports.wbg.__wbg_wake_f83d318227a0c2ab = function(arg0, arg1) {
1400
+ imports.wbg.__wbg_wake_f4f21f17647c711b = function(arg0, arg1) {
1401
1401
  arg0.wake(arg1);
1402
1402
  };
1403
1403
  imports.wbg.__wbg_wasmproject_new = function(arg0) {
@@ -1436,7 +1436,7 @@ function __wbg_get_imports() {
1436
1436
  imports.wbg.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) {
1437
1437
  throw new Error(getStringFromWasm0(arg0, arg1));
1438
1438
  };
1439
- imports.wbg.__wbg_writeSecret_f07aee1666487fc5 = function(arg0, arg1, arg2, arg3, arg4) {
1439
+ imports.wbg.__wbg_writeSecret_1227ccc16863f7c0 = function(arg0, arg1, arg2, arg3, arg4) {
1440
1440
  let deferred0_0;
1441
1441
  let deferred0_1;
1442
1442
  try {
@@ -1448,7 +1448,7 @@ function __wbg_get_imports() {
1448
1448
  wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
1449
1449
  }
1450
1450
  };
1451
- imports.wbg.__wbg_write_12da9c010f1662f3 = function(arg0, arg1, arg2, arg3, arg4) {
1451
+ imports.wbg.__wbg_write_a466c5779132150a = function(arg0, arg1, arg2, arg3, arg4) {
1452
1452
  let deferred0_0;
1453
1453
  let deferred0_1;
1454
1454
  try {
@@ -1467,7 +1467,7 @@ function __wbg_get_imports() {
1467
1467
  };
1468
1468
  imports.wbg.__wbindgen_cast_9bf690dfafdef3b5 = function(arg0, arg1) {
1469
1469
  // Cast intrinsic for `Closure(Closure { dtor_idx: 215, function: Function { arguments: [Externref], shim_idx: 216, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1470
- const ret = makeMutClosure(arg0, arg1, 215, __wbg_adapter_6);
1470
+ const ret = makeMutClosure(arg0, arg1, 215, __wbg_adapter_8);
1471
1471
  return ret;
1472
1472
  };
1473
1473
  imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
@@ -14,7 +14,7 @@ import {
14
14
 
15
15
  // Mirrors the protocol default; kept standalone so published SDK imports need no workspace.
16
16
  export const DEFAULT_MODEL = 'deepseek/deepseek-v4.1-flash';
17
- export const SDK_VERSION = '0.5.4';
17
+ export const SDK_VERSION = '0.5.5';
18
18
  const DEFAULT_MAINTENANCE_INTERVAL_MS = 60_000;
19
19
  /** What one round of background upkeep did. */
20
20
  export interface MaintenanceResult { ran: boolean; ok?: boolean; preempted?: boolean; pendingEvents?: number; error?: { code: string; message: string } }