toga-ai 1.0.143 → 1.0.144

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.
@@ -58,12 +58,12 @@ App_Api_Netsuite_Rest::authenticate(); // acquire OAuth2 token once
58
58
  - In our usage the client is effectively **read-only**: only `GET` (record fetch) and `POST`
59
59
  (SuiteQL) are exercised. `send()` accepts any verb (incl. PATCH/PUT) but we don't write through it.
60
60
 
61
- ### The `send()` logging trap (dev laptop)
61
+ ### Disabling logging for ad-hoc SuiteQL probes
62
62
 
63
- `App_Api_Netsuite_Rest::send()` auto-authenticates but does **not** call `setLogging(false)`. From a
64
- dev laptop the API-log DB write then fails and the framework error handler reports a **misleading
65
- "Could not connect to database 'Vision'"** that masks the real result. Workaround: `authenticate()`
66
- once, then issue your own `App_ApiTransaction` with logging off:
63
+ `App_Api_Netsuite_Rest::send()` auto-authenticates and logs to the API-log DB by default (it does
64
+ **not** call `setLogging(false)`). That's fine in normal environments; for a one-off **read-only
65
+ probe** you can keep the call out of the API log by authenticating once and issuing your own
66
+ `App_ApiTransaction` with logging off:
67
67
 
68
68
  ```php
69
69
  $url = rtrim(App_Api_Netsuite_Rest::$endpoint, '/') . App_Api_Netsuite_Rest::API_BASE_PATH
@@ -90,7 +90,7 @@ the directory; no `USE`).
90
90
  with "Unknown database 'logs_<name>'" if absent.
91
91
  - Run the cron in place with `C:\xampp8\php\php.exe` from the `worker/` dir; the autoloader
92
92
  walks up to `worker/_` for `__APPROOT__`. `App_Api_Netsuite_Rest::authenticate()` +
93
- `App_ApiTransaction->setLogging(false)` is the laptop-safe NetSuite pattern (see
93
+ `App_ApiTransaction->setLogging(false)` is the read-only SuiteQL probe pattern (see
94
94
  `test/@dave/nsq.php`, a read-only SuiteQL runner).
95
95
  - Verified behavior: empty window → 0 writes, checkpoint advances (clean no-op); record
96
96
  already present → `PUT` update (idempotent, keyed on `c_netsuiteInternalSalesOrderId`, no
@@ -145,8 +145,8 @@ Shared helpers: `buildCustomFields()` (the field array, used by both create and
145
145
  `Presales Lead Email`, and `Presales Lead` (users field).
146
146
  - The ClickUp token comes from `[clickup] token` in the worker2 config (legacy webhook received
147
147
  it on the payload; the new contract drops it).
148
- - Every ClickUp `_ApiRequest` calls `setLogging(self::CLICKUP_API_LOGGING_ENABLED=false)` — the
149
- `_ApiRequest` Logs-DB default otherwise surfaces a misleading "connection refused" on dev laptops.
148
+ - Every ClickUp `_ApiRequest` calls `setLogging(self::CLICKUP_API_LOGGING_ENABLED=false)`, so ClickUp
149
+ traffic is not written to the Logs DB.
150
150
 
151
151
  ## Data model
152
152
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toga-ai",
3
- "version": "1.0.143",
3
+ "version": "1.0.144",
4
4
  "description": "TOGA Technology Team Claude Knowledge System — shared AI coding harness with skills, knowledge base CLI, and project installer for Claude Code.",
5
5
  "keywords": [
6
6
  "claude",