@openclaw/googlechat 2026.8.1 → 2026.8.33
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/dist/{actions-Bsv9COyy.js → .setup/actions-CnsW76xm.mjs} +10 -9
- package/dist/{approval-auth-DnqxUj0j.js → .setup/approval-auth-CjHhfBEJ.mjs} +2 -2
- package/dist/{approval-handler.runtime-5Yr5TCX6.js → .setup/approval-handler.runtime-B_SV-U0a.mjs} +3 -3
- package/dist/{channel-DAC3b287.js → .setup/channel-7n76_HdW.mjs} +42 -37
- package/dist/{channel-base-BpHXDsur.js → .setup/channel-base-B3EzcV7X.mjs} +35 -23
- package/dist/{channel.adapters-C2dHazJR.js → .setup/channel.adapters-BmXpUQo9.mjs} +16 -14
- package/dist/{channel.runtime-DqiduEYL.js → .setup/channel.runtime-IC-dNFiT.mjs} +11 -10
- package/dist/{runtime-api-Dh0CNVS4.js → .setup/runtime-api-Cc5ZuXih.mjs} +1 -1
- package/dist/.setup/secret-contract-api-DHLd5XO3.mjs +3 -0
- package/dist/.setup/setup-plugin-api-C0zTOlHy.mjs +5 -0
- package/dist/.setup/setup-plugin-api-DWL3ZytB.mjs +2 -0
- package/dist/api.js +2 -2
- package/dist/channel-config-api.js +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/directory-contract-api.js +1 -1
- package/dist/doctor-contract-api.js +1 -1
- package/dist/runtime-api.js +2 -2
- package/dist/secret-contract-api.js +1 -1
- package/dist/setup-entry.js +3 -2
- package/dist/setup-plugin-api.js +1 -4
- package/node_modules/google-auth-library/node_modules/gcp-metadata/build/src/index.js +59 -40
- package/node_modules/google-auth-library/node_modules/gcp-metadata/build/src/index.js.map +1 -1
- package/node_modules/google-auth-library/node_modules/gcp-metadata/package.json +20 -23
- package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/colours.d.ts +1 -29
- package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/colours.js +13 -13
- package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/colours.js.map +1 -1
- package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/index.d.ts +1 -0
- package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/index.js +1 -1
- package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/index.js.map +1 -1
- package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/logging-utils.d.ts +2 -135
- package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/logging-utils.js +35 -58
- package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/logging-utils.js.map +1 -1
- package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/temporal.js +8 -8
- package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/temporal.js.map +1 -1
- package/node_modules/google-auth-library/node_modules/google-logging-utils/package.json +16 -14
- package/node_modules/google-auth-library/package.json +7 -7
- package/package.json +5 -5
- package/node_modules/google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils/LICENSE +0 -202
- package/node_modules/google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils/README.md +0 -73
- package/node_modules/google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils/build/src/colours.d.ts +0 -1
- package/node_modules/google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils/build/src/colours.js +0 -81
- package/node_modules/google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils/build/src/colours.js.map +0 -1
- package/node_modules/google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils/build/src/index.d.ts +0 -2
- package/node_modules/google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils/build/src/index.js +0 -31
- package/node_modules/google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils/build/src/index.js.map +0 -1
- package/node_modules/google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils/build/src/logging-utils.d.ts +0 -89
- package/node_modules/google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils/build/src/logging-utils.js +0 -414
- package/node_modules/google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils/build/src/logging-utils.js.map +0 -1
- package/node_modules/google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils/build/src/temporal.d.ts +0 -45
- package/node_modules/google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils/build/src/temporal.js +0 -68
- package/node_modules/google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils/build/src/temporal.js.map +0 -1
- package/node_modules/google-auth-library/node_modules/gcp-metadata/node_modules/google-logging-utils/package.json +0 -47
- /package/dist/{config-api-CsD0IFxF.js → .setup/config-api-CsD0IFxF.mjs} +0 -0
- /package/dist/{doctor-contract-BLvSmTXT.js → .setup/doctor-contract-BLvSmTXT.mjs} +0 -0
- /package/dist/{secret-contract-DmWM0kwM.js → .setup/secret-contract-DmWM0kwM.mjs} +0 -0
- /package/node_modules/google-auth-library/node_modules/{gcp-metadata/node_modules/google-logging-utils → google-logging-utils}/build/src/types.d.ts +0 -0
- /package/node_modules/google-auth-library/node_modules/{gcp-metadata/node_modules/google-logging-utils → google-logging-utils}/build/src/types.js +0 -0
- /package/node_modules/google-auth-library/node_modules/{gcp-metadata/node_modules/google-logging-utils → google-logging-utils}/build/src/types.js.map +0 -0
|
@@ -46,7 +46,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
46
46
|
};
|
|
47
47
|
})();
|
|
48
48
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
-
exports.env = exports.DebugLogBackendBase = exports.placeholder = exports.AdhocDebugLogger =
|
|
49
|
+
exports.env = exports.DebugLogBackendBase = exports.placeholder = exports.AdhocDebugLogger = void 0;
|
|
50
50
|
exports.getNodeBackend = getNodeBackend;
|
|
51
51
|
exports.getDebugBackend = getDebugBackend;
|
|
52
52
|
exports.getStructuredBackend = getStructuredBackend;
|
|
@@ -56,44 +56,28 @@ const events_1 = require("events");
|
|
|
56
56
|
const process = __importStar(require("process"));
|
|
57
57
|
const util = __importStar(require("util"));
|
|
58
58
|
const colours_1 = require("./colours");
|
|
59
|
+
const types_1 = require("./types");
|
|
59
60
|
// Some functions (as noted) are based on the Node standard library, from
|
|
60
61
|
// the following file:
|
|
61
62
|
//
|
|
62
63
|
// https://github.com/nodejs/node/blob/main/lib/internal/util/debuglog.js
|
|
63
|
-
|
|
64
|
-
* This module defines an ad-hoc debug logger for Google Cloud Platform
|
|
65
|
-
* client libraries in Node. An ad-hoc debug logger is a tool which lets
|
|
66
|
-
* users use an external, unified interface (in this case, environment
|
|
67
|
-
* variables) to determine what logging they want to see at runtime. This
|
|
68
|
-
* isn't necessarily fed into the console, but is meant to be under the
|
|
69
|
-
* control of the user. The kind of logging that will be produced by this
|
|
70
|
-
* is more like "call retry happened", not "events you'd want to record
|
|
71
|
-
* in Cloud Logger".
|
|
72
|
-
*
|
|
73
|
-
* More for Googlers implementing libraries with it:
|
|
74
|
-
* go/cloud-client-logging-design
|
|
75
|
-
*/
|
|
76
|
-
/**
|
|
77
|
-
* Possible log levels. These are a subset of Cloud Observability levels.
|
|
78
|
-
* https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry#LogSeverity
|
|
79
|
-
*/
|
|
80
|
-
var LogSeverity;
|
|
81
|
-
(function (LogSeverity) {
|
|
82
|
-
LogSeverity["DEFAULT"] = "DEFAULT";
|
|
83
|
-
LogSeverity["DEBUG"] = "DEBUG";
|
|
84
|
-
LogSeverity["INFO"] = "INFO";
|
|
85
|
-
LogSeverity["WARNING"] = "WARNING";
|
|
86
|
-
LogSeverity["ERROR"] = "ERROR";
|
|
87
|
-
})(LogSeverity || (exports.LogSeverity = LogSeverity = {}));
|
|
64
|
+
// NOTE: The previous 'export declare interface AdhocDebugLogger' was correctly removed.
|
|
88
65
|
/**
|
|
89
66
|
* Our logger instance. This actually contains the meat of dealing
|
|
90
67
|
* with log lines, including EventEmitter. This contains the function
|
|
91
68
|
* that will be passed back to users of the package.
|
|
92
69
|
*/
|
|
93
70
|
class AdhocDebugLogger extends events_1.EventEmitter {
|
|
71
|
+
// Our namespace (system/subsystem/etc)
|
|
72
|
+
namespace;
|
|
73
|
+
// The function we'll call with new log lines.
|
|
74
|
+
// Should be built in Node util stuff, or the "debug" package, or whatever.
|
|
75
|
+
upstream;
|
|
76
|
+
// Self-referential function wrapper that calls invoke() on us.
|
|
77
|
+
func;
|
|
94
78
|
/**
|
|
95
79
|
* @param upstream The backend will pass a function that will be
|
|
96
|
-
*
|
|
80
|
+
* called whenever our logger function is invoked.
|
|
97
81
|
*/
|
|
98
82
|
constructor(namespace, upstream) {
|
|
99
83
|
super();
|
|
@@ -106,10 +90,10 @@ class AdhocDebugLogger extends events_1.EventEmitter {
|
|
|
106
90
|
on: (event, listener) => this.on(event, listener),
|
|
107
91
|
});
|
|
108
92
|
// Convenience methods for log levels.
|
|
109
|
-
this.func.debug = (...args) => this.invokeSeverity(LogSeverity.DEBUG, ...args);
|
|
110
|
-
this.func.info = (...args) => this.invokeSeverity(LogSeverity.INFO, ...args);
|
|
111
|
-
this.func.warn = (...args) => this.invokeSeverity(LogSeverity.WARNING, ...args);
|
|
112
|
-
this.func.error = (...args) => this.invokeSeverity(LogSeverity.ERROR, ...args);
|
|
93
|
+
this.func.debug = (...args) => this.invokeSeverity(types_1.LogSeverity.DEBUG, ...args);
|
|
94
|
+
this.func.info = (...args) => this.invokeSeverity(types_1.LogSeverity.INFO, ...args);
|
|
95
|
+
this.func.warn = (...args) => this.invokeSeverity(types_1.LogSeverity.WARNING, ...args);
|
|
96
|
+
this.func.error = (...args) => this.invokeSeverity(types_1.LogSeverity.ERROR, ...args);
|
|
113
97
|
this.func.sublog = (namespace) => log(namespace, this.func);
|
|
114
98
|
}
|
|
115
99
|
invoke(fields, ...args) {
|
|
@@ -139,6 +123,7 @@ exports.AdhocDebugLogger = AdhocDebugLogger;
|
|
|
139
123
|
* This can be used in place of a real logger while waiting for Promises or disabling logging.
|
|
140
124
|
*/
|
|
141
125
|
exports.placeholder = new AdhocDebugLogger('', () => { }).func;
|
|
126
|
+
// 🌟 REMOVED: AdhocDebugLogCallable, AdhocDebugLogFunction, DebugLogBackend declarations
|
|
142
127
|
/**
|
|
143
128
|
* The base class for debug logging backends. It's possible to use this, but the
|
|
144
129
|
* same non-guarantees above still apply (unstable interface, etc).
|
|
@@ -147,14 +132,13 @@ exports.placeholder = new AdhocDebugLogger('', () => { }).func;
|
|
|
147
132
|
* @internal
|
|
148
133
|
*/
|
|
149
134
|
class DebugLogBackendBase {
|
|
135
|
+
cached = new Map();
|
|
136
|
+
filters = [];
|
|
137
|
+
filtersSet = false;
|
|
150
138
|
constructor() {
|
|
151
|
-
var _a;
|
|
152
|
-
this.cached = new Map();
|
|
153
|
-
this.filters = [];
|
|
154
|
-
this.filtersSet = false;
|
|
155
139
|
// Look for the Node config variable for what systems to enable. We'll store
|
|
156
140
|
// these for the log method below, which will call setFilters() once.
|
|
157
|
-
let nodeFlag =
|
|
141
|
+
let nodeFlag = process.env[exports.env.nodeEnables] ?? '*';
|
|
158
142
|
if (nodeFlag === 'all') {
|
|
159
143
|
nodeFlag = '*';
|
|
160
144
|
}
|
|
@@ -191,12 +175,9 @@ exports.DebugLogBackendBase = DebugLogBackendBase;
|
|
|
191
175
|
// the user duplicates it into NODE_DEBUG, which isn't reasonable).
|
|
192
176
|
//
|
|
193
177
|
class NodeBackend extends DebugLogBackendBase {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
// variable is empty.
|
|
198
|
-
this.enabledRegexp = /.*/g;
|
|
199
|
-
}
|
|
178
|
+
// Default to allowing all systems, since we gate earlier based on whether the
|
|
179
|
+
// variable is empty.
|
|
180
|
+
enabledRegexp = /.*/g;
|
|
200
181
|
isEnabled(namespace) {
|
|
201
182
|
return this.enabledRegexp.test(namespace);
|
|
202
183
|
}
|
|
@@ -205,23 +186,22 @@ class NodeBackend extends DebugLogBackendBase {
|
|
|
205
186
|
return () => { };
|
|
206
187
|
}
|
|
207
188
|
return (fields, ...args) => {
|
|
208
|
-
var _a;
|
|
209
189
|
// TODO: `fields` needs to be turned into a string here, one way or another.
|
|
210
190
|
const nscolour = `${colours_1.Colours.green}${namespace}${colours_1.Colours.reset}`;
|
|
211
191
|
const pid = `${colours_1.Colours.yellow}${process.pid}${colours_1.Colours.reset}`;
|
|
212
192
|
let level;
|
|
213
193
|
switch (fields.severity) {
|
|
214
|
-
case LogSeverity.ERROR:
|
|
194
|
+
case types_1.LogSeverity.ERROR:
|
|
215
195
|
level = `${colours_1.Colours.red}${fields.severity}${colours_1.Colours.reset}`;
|
|
216
196
|
break;
|
|
217
|
-
case LogSeverity.INFO:
|
|
197
|
+
case types_1.LogSeverity.INFO:
|
|
218
198
|
level = `${colours_1.Colours.magenta}${fields.severity}${colours_1.Colours.reset}`;
|
|
219
199
|
break;
|
|
220
|
-
case LogSeverity.WARNING:
|
|
200
|
+
case types_1.LogSeverity.WARNING:
|
|
221
201
|
level = `${colours_1.Colours.yellow}${fields.severity}${colours_1.Colours.reset}`;
|
|
222
202
|
break;
|
|
223
203
|
default:
|
|
224
|
-
level =
|
|
204
|
+
level = fields.severity ?? types_1.LogSeverity.DEFAULT;
|
|
225
205
|
break;
|
|
226
206
|
}
|
|
227
207
|
const msg = util.formatWithOptions({ colors: colours_1.Colours.enabled }, ...args);
|
|
@@ -254,6 +234,7 @@ function getNodeBackend() {
|
|
|
254
234
|
return new NodeBackend();
|
|
255
235
|
}
|
|
256
236
|
class DebugBackend extends DebugLogBackendBase {
|
|
237
|
+
debugPkg;
|
|
257
238
|
constructor(pkg) {
|
|
258
239
|
super();
|
|
259
240
|
this.debugPkg = pkg;
|
|
@@ -266,8 +247,7 @@ class DebugBackend extends DebugLogBackendBase {
|
|
|
266
247
|
};
|
|
267
248
|
}
|
|
268
249
|
setFilters() {
|
|
269
|
-
|
|
270
|
-
const existingFilters = (_a = process.env['NODE_DEBUG']) !== null && _a !== void 0 ? _a : '';
|
|
250
|
+
const existingFilters = process.env['NODE_DEBUG'] ?? '';
|
|
271
251
|
process.env['NODE_DEBUG'] = `${existingFilters}${existingFilters ? ',' : ''}${this.filters.join(',')}`;
|
|
272
252
|
}
|
|
273
253
|
}
|
|
@@ -296,17 +276,15 @@ function getDebugBackend(debugPkg) {
|
|
|
296
276
|
* of `DebugLogBackendBase` (any of the backends exposed by this package will work).
|
|
297
277
|
*/
|
|
298
278
|
class StructuredBackend extends DebugLogBackendBase {
|
|
279
|
+
upstream;
|
|
299
280
|
constructor(upstream) {
|
|
300
|
-
var _a;
|
|
301
281
|
super();
|
|
302
|
-
this.upstream =
|
|
282
|
+
this.upstream = upstream ?? undefined;
|
|
303
283
|
}
|
|
304
284
|
makeLogger(namespace) {
|
|
305
|
-
|
|
306
|
-
const debugLogger = (_a = this.upstream) === null || _a === void 0 ? void 0 : _a.makeLogger(namespace);
|
|
285
|
+
const debugLogger = this.upstream?.makeLogger(namespace);
|
|
307
286
|
return (fields, ...args) => {
|
|
308
|
-
|
|
309
|
-
const severity = (_a = fields.severity) !== null && _a !== void 0 ? _a : LogSeverity.INFO;
|
|
287
|
+
const severity = fields.severity ?? types_1.LogSeverity.INFO;
|
|
310
288
|
const json = Object.assign({
|
|
311
289
|
severity,
|
|
312
290
|
message: util.format(...args),
|
|
@@ -321,8 +299,7 @@ class StructuredBackend extends DebugLogBackendBase {
|
|
|
321
299
|
};
|
|
322
300
|
}
|
|
323
301
|
setFilters() {
|
|
324
|
-
|
|
325
|
-
(_a = this.upstream) === null || _a === void 0 ? void 0 : _a.setFilters();
|
|
302
|
+
this.upstream?.setFilters();
|
|
326
303
|
}
|
|
327
304
|
}
|
|
328
305
|
/**
|
|
@@ -427,7 +404,7 @@ function log(namespace, parent) {
|
|
|
427
404
|
}
|
|
428
405
|
previousBackend = cachedBackend;
|
|
429
406
|
}
|
|
430
|
-
cachedBackend
|
|
407
|
+
cachedBackend?.log(namespace, fields, ...args);
|
|
431
408
|
});
|
|
432
409
|
return newLogger;
|
|
433
410
|
})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logging-utils.js","sourceRoot":"","sources":["../../src/logging-utils.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"logging-utils.js","sourceRoot":"","sources":["../../src/logging-utils.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwOjC,wCAEC;AAgDD,0CAEC;AAuDD,oDAIC;AA4BD,gCAGC;AAYD,kBAmEC;AAncD,mCAAoC;AACpC,iDAAmC;AACnC,2CAA6B;AAC7B,uCAAkC;AAClC,mCAMiB;AAEjB,yEAAyE;AACzE,sBAAsB;AACtB,EAAE;AACF,yEAAyE;AAEzE,wFAAwF;AAExF;;;;GAIG;AACH,MAAa,gBAAiB,SAAQ,qBAAY;IAChD,uCAAuC;IACvC,SAAS,CAAS;IAElB,8CAA8C;IAC9C,2EAA2E;IAC3E,QAAQ,CAAwB;IAEhC,+DAA+D;IAC/D,IAAI,CAAwB;IAE5B;;;OAGG;IACH,YAAY,SAAiB,EAAE,QAA+B;QAC5D,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EA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AM,MAAM,GAAqB,CAAC,GAAG,EAAE;QACrC,IAAI,eAAe,GAAgC,SAAS,CAAC;QAC7D,MAAM,SAAS,GAAG,IAAI,gBAAgB,CACpC,SAAS,EACT,CAAC,MAAiB,EAAE,GAAG,IAAe,EAAE,EAAE;YACxC,IAAI,eAAe,KAAK,aAAa,EAAE,CAAC;gBACtC,sCAAsC;gBACtC,IAAI,aAAa,KAAK,IAAI,EAAE,CAAC;oBAC3B,uBAAuB;oBACvB,OAAO;gBACT,CAAC;qBAAM,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;oBACvC,gDAAgD;oBAChD,aAAa,GAAG,cAAc,EAAE,CAAC;gBACnC,CAAC;gBAED,eAAe,GAAG,aAAa,CAAC;YAClC,CAAC;YAED,aAAa,EAAE,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC,CAAC;QACjD,CAAC,CACF,CAAC;QACF,OAAO,SAAS,CAAC;IACnB,CAAC,CAAC,EAAE,CAAC;IAEL,WAAW,CAAC,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IACnC,OAAO,MAAM,CAAC,IAAI,CAAC;AACrB,CAAC"}
|
package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/temporal.js
CHANGED
|
@@ -26,6 +26,10 @@ exports.Duration = void 0;
|
|
|
26
26
|
* https://tc39.es/proposal-temporal/docs/duration.html
|
|
27
27
|
*/
|
|
28
28
|
class Duration {
|
|
29
|
+
millis;
|
|
30
|
+
static secondInMillis = 1000;
|
|
31
|
+
static minuteInMillis = Duration.secondInMillis * 60;
|
|
32
|
+
static hourInMillis = Duration.minuteInMillis * 60;
|
|
29
33
|
constructor(millis) {
|
|
30
34
|
this.millis = millis;
|
|
31
35
|
}
|
|
@@ -53,16 +57,12 @@ class Duration {
|
|
|
53
57
|
* minutes, millis.
|
|
54
58
|
*/
|
|
55
59
|
static from(durationLike) {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
millis += (
|
|
59
|
-
millis += (
|
|
60
|
-
millis += ((_d = durationLike.hours) !== null && _d !== void 0 ? _d : 0) * Duration.hourInMillis;
|
|
60
|
+
let millis = durationLike.millis ?? 0;
|
|
61
|
+
millis += (durationLike.seconds ?? 0) * Duration.secondInMillis;
|
|
62
|
+
millis += (durationLike.minutes ?? 0) * Duration.minuteInMillis;
|
|
63
|
+
millis += (durationLike.hours ?? 0) * Duration.hourInMillis;
|
|
61
64
|
return new Duration(millis);
|
|
62
65
|
}
|
|
63
66
|
}
|
|
64
67
|
exports.Duration = Duration;
|
|
65
|
-
Duration.secondInMillis = 1000;
|
|
66
|
-
Duration.minuteInMillis = Duration.secondInMillis * 60;
|
|
67
|
-
Duration.hourInMillis = Duration.minuteInMillis * 60;
|
|
68
68
|
//# sourceMappingURL=temporal.js.map
|
package/node_modules/google-auth-library/node_modules/google-logging-utils/build/src/temporal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"temporal.js","sourceRoot":"","sources":["../../src/temporal.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AA6BjC;;;;;;;;;;GAUG;AACH,MAAa,QAAQ;
|
|
1
|
+
{"version":3,"file":"temporal.js","sourceRoot":"","sources":["../../src/temporal.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AA6BjC;;;;;;;;;;GAUG;AACH,MAAa,QAAQ;IACX,MAAM,CAAS;IAEf,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC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3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "A debug logger package for other Google libraries",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
|
+
"types": "build/src/index.d.ts",
|
|
6
7
|
"files": [
|
|
7
8
|
"build/src"
|
|
8
9
|
],
|
|
@@ -16,30 +17,31 @@
|
|
|
16
17
|
"prepare": "npm run compile",
|
|
17
18
|
"precompile": "gts clean",
|
|
18
19
|
"samples-test": "cd samples/ && npm link ../ && npm install && npm test && cd ../",
|
|
19
|
-
"system-test": "echo no system tests 🙀"
|
|
20
|
+
"system-test": "echo no system tests 🙀",
|
|
21
|
+
"docs": "echo no docs needed"
|
|
20
22
|
},
|
|
21
23
|
"author": "Google API Authors",
|
|
22
24
|
"license": "Apache-2.0",
|
|
23
25
|
"repository": {
|
|
24
26
|
"type": "git",
|
|
25
|
-
"directory": "
|
|
26
|
-
"url": "https://github.com/googleapis/google-cloud-node
|
|
27
|
+
"directory": "core/packages/logging-utils",
|
|
28
|
+
"url": "https://github.com/googleapis/google-cloud-node.git"
|
|
27
29
|
},
|
|
28
30
|
"devDependencies": {
|
|
29
31
|
"@types/mocha": "^10.0.10",
|
|
30
|
-
"@types/node": "^
|
|
31
|
-
"@types/sinon": "^
|
|
32
|
-
"c8": "^
|
|
33
|
-
"gts": "^
|
|
34
|
-
"mocha": "^
|
|
35
|
-
"sinon": "
|
|
36
|
-
"typescript": "
|
|
32
|
+
"@types/node": "^24.0.0",
|
|
33
|
+
"@types/sinon": "^21.0.0",
|
|
34
|
+
"c8": "^10.1.3",
|
|
35
|
+
"gts": "^6.0.2",
|
|
36
|
+
"mocha": "^11.1.0",
|
|
37
|
+
"sinon": "21.0.3",
|
|
38
|
+
"typescript": "5.8.3"
|
|
37
39
|
},
|
|
38
40
|
"bugs": {
|
|
39
|
-
"url": "https://github.com/googleapis/google-cloud-node
|
|
41
|
+
"url": "https://github.com/googleapis/google-cloud-node/issues"
|
|
40
42
|
},
|
|
41
|
-
"homepage": "https://github.com/googleapis/google-cloud-node
|
|
43
|
+
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/core/packages/logging-utils",
|
|
42
44
|
"engines": {
|
|
43
|
-
"node": ">=
|
|
45
|
+
"node": ">=22"
|
|
44
46
|
}
|
|
45
47
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "google-auth-library",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.2",
|
|
4
4
|
"author": "Google Inc.",
|
|
5
5
|
"description": "Google APIs Authentication Client Library for Node.js",
|
|
6
6
|
"engines": {
|
|
7
|
-
"node": ">=
|
|
7
|
+
"node": ">=22"
|
|
8
8
|
},
|
|
9
9
|
"main": "./build/src/index.js",
|
|
10
10
|
"types": "./build/src/index.d.ts",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"base64-js": "^1.3.0",
|
|
25
25
|
"ecdsa-sig-formatter": "^1.0.11",
|
|
26
26
|
"gaxios": "^7.1.4",
|
|
27
|
-
"gcp-metadata": "
|
|
28
|
-
"google-logging-utils": "
|
|
27
|
+
"gcp-metadata": "^9.0.0",
|
|
28
|
+
"google-logging-utils": "^2.0.0",
|
|
29
29
|
"jws": "^4.0.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
"gts": "^6.0.2",
|
|
43
43
|
"is-docker": "^3.0.0",
|
|
44
44
|
"jsdoc": "^4.0.4",
|
|
45
|
-
"jsdoc-fresh": "^
|
|
46
|
-
"jsdoc-region-tag": "^
|
|
45
|
+
"jsdoc-fresh": "^6.0.0",
|
|
46
|
+
"jsdoc-region-tag": "^5.0.0",
|
|
47
47
|
"karma": "^6.0.0",
|
|
48
48
|
"karma-chrome-launcher": "^3.0.0",
|
|
49
49
|
"karma-coverage": "^2.0.0",
|
|
50
50
|
"karma-firefox-launcher": "^2.0.0",
|
|
51
51
|
"karma-mocha": "^2.0.0",
|
|
52
52
|
"karma-sourcemap-loader": "^0.4.0",
|
|
53
|
-
"karma-webpack": "^5.0.
|
|
53
|
+
"karma-webpack": "^5.0.0",
|
|
54
54
|
"keypair": "^1.0.4",
|
|
55
55
|
"mocha": "^11.1.0",
|
|
56
56
|
"mv": "^2.1.1",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/googlechat",
|
|
3
|
-
"version": "2026.8.
|
|
3
|
+
"version": "2026.8.33",
|
|
4
4
|
"description": "OpenClaw Google Chat channel plugin for spaces and direct messages.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"google-auth-library": "
|
|
11
|
+
"google-auth-library": "11.0.2",
|
|
12
12
|
"zod": "4.4.3"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"openclaw": ">=2026.8.
|
|
15
|
+
"openclaw": ">=2026.8.33"
|
|
16
16
|
},
|
|
17
17
|
"peerDependenciesMeta": {
|
|
18
18
|
"openclaw": {
|
|
@@ -134,10 +134,10 @@
|
|
|
134
134
|
"minHostVersion": ">=2026.4.10"
|
|
135
135
|
},
|
|
136
136
|
"compat": {
|
|
137
|
-
"pluginApi": ">=2026.8.
|
|
137
|
+
"pluginApi": ">=2026.8.33"
|
|
138
138
|
},
|
|
139
139
|
"build": {
|
|
140
|
-
"openclawVersion": "2026.8.
|
|
140
|
+
"openclawVersion": "2026.8.33"
|
|
141
141
|
},
|
|
142
142
|
"release": {
|
|
143
143
|
"publishToClawHub": true,
|
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
Apache License
|
|
3
|
-
Version 2.0, January 2004
|
|
4
|
-
http://www.apache.org/licenses/
|
|
5
|
-
|
|
6
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
-
|
|
8
|
-
1. Definitions.
|
|
9
|
-
|
|
10
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
-
|
|
13
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
-
the copyright owner that is granting the License.
|
|
15
|
-
|
|
16
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
-
other entities that control, are controlled by, or are under common
|
|
18
|
-
control with that entity. For the purposes of this definition,
|
|
19
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
-
direction or management of such entity, whether by contract or
|
|
21
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
-
|
|
24
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
-
exercising permissions granted by this License.
|
|
26
|
-
|
|
27
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
-
including but not limited to software source code, documentation
|
|
29
|
-
source, and configuration files.
|
|
30
|
-
|
|
31
|
-
"Object" form shall mean any form resulting from mechanical
|
|
32
|
-
transformation or translation of a Source form, including but
|
|
33
|
-
not limited to compiled object code, generated documentation,
|
|
34
|
-
and conversions to other media types.
|
|
35
|
-
|
|
36
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
-
Object form, made available under the License, as indicated by a
|
|
38
|
-
copyright notice that is included in or attached to the work
|
|
39
|
-
(an example is provided in the Appendix below).
|
|
40
|
-
|
|
41
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
-
form, that is based on (or derived from) the Work and for which the
|
|
43
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
-
of this License, Derivative Works shall not include works that remain
|
|
46
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
-
the Work and Derivative Works thereof.
|
|
48
|
-
|
|
49
|
-
"Contribution" shall mean any work of authorship, including
|
|
50
|
-
the original version of the Work and any modifications or additions
|
|
51
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
-
means any form of electronic, verbal, or written communication sent
|
|
56
|
-
to the Licensor or its representatives, including but not limited to
|
|
57
|
-
communication on electronic mailing lists, source code control systems,
|
|
58
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
-
excluding communication that is conspicuously marked or otherwise
|
|
61
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
-
|
|
63
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
-
subsequently incorporated within the Work.
|
|
66
|
-
|
|
67
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
-
Work and such Derivative Works in Source or Object form.
|
|
73
|
-
|
|
74
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
-
(except as stated in this section) patent license to make, have made,
|
|
78
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
-
where such license applies only to those patent claims licensable
|
|
80
|
-
by such Contributor that are necessarily infringed by their
|
|
81
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
-
institute patent litigation against any entity (including a
|
|
84
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
-
or contributory patent infringement, then any patent licenses
|
|
87
|
-
granted to You under this License for that Work shall terminate
|
|
88
|
-
as of the date such litigation is filed.
|
|
89
|
-
|
|
90
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
-
modifications, and in Source or Object form, provided that You
|
|
93
|
-
meet the following conditions:
|
|
94
|
-
|
|
95
|
-
(a) You must give any other recipients of the Work or
|
|
96
|
-
Derivative Works a copy of this License; and
|
|
97
|
-
|
|
98
|
-
(b) You must cause any modified files to carry prominent notices
|
|
99
|
-
stating that You changed the files; and
|
|
100
|
-
|
|
101
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
-
that You distribute, all copyright, patent, trademark, and
|
|
103
|
-
attribution notices from the Source form of the Work,
|
|
104
|
-
excluding those notices that do not pertain to any part of
|
|
105
|
-
the Derivative Works; and
|
|
106
|
-
|
|
107
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
-
distribution, then any Derivative Works that You distribute must
|
|
109
|
-
include a readable copy of the attribution notices contained
|
|
110
|
-
within such NOTICE file, excluding those notices that do not
|
|
111
|
-
pertain to any part of the Derivative Works, in at least one
|
|
112
|
-
of the following places: within a NOTICE text file distributed
|
|
113
|
-
as part of the Derivative Works; within the Source form or
|
|
114
|
-
documentation, if provided along with the Derivative Works; or,
|
|
115
|
-
within a display generated by the Derivative Works, if and
|
|
116
|
-
wherever such third-party notices normally appear. The contents
|
|
117
|
-
of the NOTICE file are for informational purposes only and
|
|
118
|
-
do not modify the License. You may add Your own attribution
|
|
119
|
-
notices within Derivative Works that You distribute, alongside
|
|
120
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
-
that such additional attribution notices cannot be construed
|
|
122
|
-
as modifying the License.
|
|
123
|
-
|
|
124
|
-
You may add Your own copyright statement to Your modifications and
|
|
125
|
-
may provide additional or different license terms and conditions
|
|
126
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
-
the conditions stated in this License.
|
|
130
|
-
|
|
131
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
-
this License, without any additional terms or conditions.
|
|
135
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
-
the terms of any separate license agreement you may have executed
|
|
137
|
-
with Licensor regarding such Contributions.
|
|
138
|
-
|
|
139
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
-
except as required for reasonable and customary use in describing the
|
|
142
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
-
|
|
144
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
-
implied, including, without limitation, any warranties or conditions
|
|
149
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
-
appropriateness of using or redistributing the Work and assume any
|
|
152
|
-
risks associated with Your exercise of permissions under this License.
|
|
153
|
-
|
|
154
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
-
unless required by applicable law (such as deliberate and grossly
|
|
157
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
-
liable to You for damages, including any direct, indirect, special,
|
|
159
|
-
incidental, or consequential damages of any character arising as a
|
|
160
|
-
result of this License or out of the use or inability to use the
|
|
161
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
-
other commercial damages or losses), even if such Contributor
|
|
164
|
-
has been advised of the possibility of such damages.
|
|
165
|
-
|
|
166
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
-
or other liability obligations and/or rights consistent with this
|
|
170
|
-
License. However, in accepting such obligations, You may act only
|
|
171
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
-
defend, and hold each Contributor harmless for any liability
|
|
174
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
-
of your accepting any such warranty or additional liability.
|
|
176
|
-
|
|
177
|
-
END OF TERMS AND CONDITIONS
|
|
178
|
-
|
|
179
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
-
|
|
181
|
-
To apply the Apache License to your work, attach the following
|
|
182
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
-
replaced with your own identifying information. (Don't include
|
|
184
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
-
comment syntax for the file format. We also recommend that a
|
|
186
|
-
file or class name and description of purpose be included on the
|
|
187
|
-
same "printed page" as the copyright notice for easier
|
|
188
|
-
identification within third-party archives.
|
|
189
|
-
|
|
190
|
-
Copyright [yyyy] [name of copyright owner]
|
|
191
|
-
|
|
192
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
-
you may not use this file except in compliance with the License.
|
|
194
|
-
You may obtain a copy of the License at
|
|
195
|
-
|
|
196
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
-
|
|
198
|
-
Unless required by applicable law or agreed to in writing, software
|
|
199
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
-
See the License for the specific language governing permissions and
|
|
202
|
-
limitations under the License.
|