claude-presentation-master 4.3.0 → 4.4.1
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/assets/presentation-knowledge.yaml +9 -9
- package/dist/index.d.mts +864 -1698
- package/dist/index.d.ts +864 -1698
- package/dist/index.js +3744 -100253
- package/dist/index.mjs +3623 -8233
- package/package.json +1 -1
- package/dist/BrowserWebSocketTransport-HTFZUK6G.mjs +0 -7
- package/dist/LaunchOptions-SFJP2D7Z.mjs +0 -9
- package/dist/NodeWebSocketTransport-RBVOEJLR.mjs +0 -8
- package/dist/bidi-BVFTPINL.mjs +0 -18501
- package/dist/chunk-3UL3L2R6.mjs +0 -30
- package/dist/chunk-4MOE77QU.mjs +0 -1661
- package/dist/chunk-5NJVL3OH.mjs +0 -31312
- package/dist/chunk-5TVEOHFT.mjs +0 -244
- package/dist/chunk-6D5VEPNW.mjs +0 -12104
- package/dist/chunk-CFGGYLHX.mjs +0 -3684
- package/dist/chunk-EC7LFFYG.mjs +0 -15
- package/dist/chunk-HEBXNMVQ.mjs +0 -48
- package/dist/chunk-KJPJW5EB.mjs +0 -40
- package/dist/chunk-QUYDTLMJ.mjs +0 -775
- package/dist/extract-zip-UJUIS3MT.mjs +0 -1499
- package/dist/helpers-GOUCEJ3S.mjs +0 -17
- package/dist/main-GWERC3XX.mjs +0 -56
- package/dist/puppeteer-EG4MVFUF.mjs +0 -14961
- package/dist/src-HTL2N5EV.mjs +0 -5
- package/dist/tar-fs-NIVQWNBX.mjs +0 -2562
- package/dist/yargs-COGWK7P3.mjs +0 -3230
package/dist/chunk-5TVEOHFT.mjs
DELETED
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__commonJS,
|
|
3
|
-
__require
|
|
4
|
-
} from "./chunk-HEBXNMVQ.mjs";
|
|
5
|
-
|
|
6
|
-
// node_modules/wrappy/wrappy.js
|
|
7
|
-
var require_wrappy = __commonJS({
|
|
8
|
-
"node_modules/wrappy/wrappy.js"(exports, module) {
|
|
9
|
-
"use strict";
|
|
10
|
-
module.exports = wrappy;
|
|
11
|
-
function wrappy(fn, cb) {
|
|
12
|
-
if (fn && cb) return wrappy(fn)(cb);
|
|
13
|
-
if (typeof fn !== "function")
|
|
14
|
-
throw new TypeError("need wrapper function");
|
|
15
|
-
Object.keys(fn).forEach(function(k) {
|
|
16
|
-
wrapper[k] = fn[k];
|
|
17
|
-
});
|
|
18
|
-
return wrapper;
|
|
19
|
-
function wrapper() {
|
|
20
|
-
var args = new Array(arguments.length);
|
|
21
|
-
for (var i = 0; i < args.length; i++) {
|
|
22
|
-
args[i] = arguments[i];
|
|
23
|
-
}
|
|
24
|
-
var ret = fn.apply(this, args);
|
|
25
|
-
var cb2 = args[args.length - 1];
|
|
26
|
-
if (typeof ret === "function" && ret !== cb2) {
|
|
27
|
-
Object.keys(cb2).forEach(function(k) {
|
|
28
|
-
ret[k] = cb2[k];
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
return ret;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
// node_modules/once/once.js
|
|
38
|
-
var require_once = __commonJS({
|
|
39
|
-
"node_modules/once/once.js"(exports, module) {
|
|
40
|
-
"use strict";
|
|
41
|
-
var wrappy = require_wrappy();
|
|
42
|
-
module.exports = wrappy(once);
|
|
43
|
-
module.exports.strict = wrappy(onceStrict);
|
|
44
|
-
once.proto = once(function() {
|
|
45
|
-
Object.defineProperty(Function.prototype, "once", {
|
|
46
|
-
value: function() {
|
|
47
|
-
return once(this);
|
|
48
|
-
},
|
|
49
|
-
configurable: true
|
|
50
|
-
});
|
|
51
|
-
Object.defineProperty(Function.prototype, "onceStrict", {
|
|
52
|
-
value: function() {
|
|
53
|
-
return onceStrict(this);
|
|
54
|
-
},
|
|
55
|
-
configurable: true
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
function once(fn) {
|
|
59
|
-
var f = function() {
|
|
60
|
-
if (f.called) return f.value;
|
|
61
|
-
f.called = true;
|
|
62
|
-
return f.value = fn.apply(this, arguments);
|
|
63
|
-
};
|
|
64
|
-
f.called = false;
|
|
65
|
-
return f;
|
|
66
|
-
}
|
|
67
|
-
function onceStrict(fn) {
|
|
68
|
-
var f = function() {
|
|
69
|
-
if (f.called)
|
|
70
|
-
throw new Error(f.onceError);
|
|
71
|
-
f.called = true;
|
|
72
|
-
return f.value = fn.apply(this, arguments);
|
|
73
|
-
};
|
|
74
|
-
var name = fn.name || "Function wrapped with `once`";
|
|
75
|
-
f.onceError = name + " shouldn't be called more than once";
|
|
76
|
-
f.called = false;
|
|
77
|
-
return f;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
|
|
82
|
-
// node_modules/end-of-stream/index.js
|
|
83
|
-
var require_end_of_stream = __commonJS({
|
|
84
|
-
"node_modules/end-of-stream/index.js"(exports, module) {
|
|
85
|
-
"use strict";
|
|
86
|
-
var once = require_once();
|
|
87
|
-
var noop = function() {
|
|
88
|
-
};
|
|
89
|
-
var qnt = global.Bare ? queueMicrotask : process.nextTick.bind(process);
|
|
90
|
-
var isRequest = function(stream) {
|
|
91
|
-
return stream.setHeader && typeof stream.abort === "function";
|
|
92
|
-
};
|
|
93
|
-
var isChildProcess = function(stream) {
|
|
94
|
-
return stream.stdio && Array.isArray(stream.stdio) && stream.stdio.length === 3;
|
|
95
|
-
};
|
|
96
|
-
var eos = function(stream, opts, callback) {
|
|
97
|
-
if (typeof opts === "function") return eos(stream, null, opts);
|
|
98
|
-
if (!opts) opts = {};
|
|
99
|
-
callback = once(callback || noop);
|
|
100
|
-
var ws = stream._writableState;
|
|
101
|
-
var rs = stream._readableState;
|
|
102
|
-
var readable = opts.readable || opts.readable !== false && stream.readable;
|
|
103
|
-
var writable = opts.writable || opts.writable !== false && stream.writable;
|
|
104
|
-
var cancelled = false;
|
|
105
|
-
var onlegacyfinish = function() {
|
|
106
|
-
if (!stream.writable) onfinish();
|
|
107
|
-
};
|
|
108
|
-
var onfinish = function() {
|
|
109
|
-
writable = false;
|
|
110
|
-
if (!readable) callback.call(stream);
|
|
111
|
-
};
|
|
112
|
-
var onend = function() {
|
|
113
|
-
readable = false;
|
|
114
|
-
if (!writable) callback.call(stream);
|
|
115
|
-
};
|
|
116
|
-
var onexit = function(exitCode) {
|
|
117
|
-
callback.call(stream, exitCode ? new Error("exited with error code: " + exitCode) : null);
|
|
118
|
-
};
|
|
119
|
-
var onerror = function(err) {
|
|
120
|
-
callback.call(stream, err);
|
|
121
|
-
};
|
|
122
|
-
var onclose = function() {
|
|
123
|
-
qnt(onclosenexttick);
|
|
124
|
-
};
|
|
125
|
-
var onclosenexttick = function() {
|
|
126
|
-
if (cancelled) return;
|
|
127
|
-
if (readable && !(rs && (rs.ended && !rs.destroyed))) return callback.call(stream, new Error("premature close"));
|
|
128
|
-
if (writable && !(ws && (ws.ended && !ws.destroyed))) return callback.call(stream, new Error("premature close"));
|
|
129
|
-
};
|
|
130
|
-
var onrequest = function() {
|
|
131
|
-
stream.req.on("finish", onfinish);
|
|
132
|
-
};
|
|
133
|
-
if (isRequest(stream)) {
|
|
134
|
-
stream.on("complete", onfinish);
|
|
135
|
-
stream.on("abort", onclose);
|
|
136
|
-
if (stream.req) onrequest();
|
|
137
|
-
else stream.on("request", onrequest);
|
|
138
|
-
} else if (writable && !ws) {
|
|
139
|
-
stream.on("end", onlegacyfinish);
|
|
140
|
-
stream.on("close", onlegacyfinish);
|
|
141
|
-
}
|
|
142
|
-
if (isChildProcess(stream)) stream.on("exit", onexit);
|
|
143
|
-
stream.on("end", onend);
|
|
144
|
-
stream.on("finish", onfinish);
|
|
145
|
-
if (opts.error !== false) stream.on("error", onerror);
|
|
146
|
-
stream.on("close", onclose);
|
|
147
|
-
return function() {
|
|
148
|
-
cancelled = true;
|
|
149
|
-
stream.removeListener("complete", onfinish);
|
|
150
|
-
stream.removeListener("abort", onclose);
|
|
151
|
-
stream.removeListener("request", onrequest);
|
|
152
|
-
if (stream.req) stream.req.removeListener("finish", onfinish);
|
|
153
|
-
stream.removeListener("end", onlegacyfinish);
|
|
154
|
-
stream.removeListener("close", onlegacyfinish);
|
|
155
|
-
stream.removeListener("finish", onfinish);
|
|
156
|
-
stream.removeListener("exit", onexit);
|
|
157
|
-
stream.removeListener("end", onend);
|
|
158
|
-
stream.removeListener("error", onerror);
|
|
159
|
-
stream.removeListener("close", onclose);
|
|
160
|
-
};
|
|
161
|
-
};
|
|
162
|
-
module.exports = eos;
|
|
163
|
-
}
|
|
164
|
-
});
|
|
165
|
-
|
|
166
|
-
// node_modules/pump/index.js
|
|
167
|
-
var require_pump = __commonJS({
|
|
168
|
-
"node_modules/pump/index.js"(exports, module) {
|
|
169
|
-
"use strict";
|
|
170
|
-
var once = require_once();
|
|
171
|
-
var eos = require_end_of_stream();
|
|
172
|
-
var fs;
|
|
173
|
-
try {
|
|
174
|
-
fs = __require("fs");
|
|
175
|
-
} catch (e) {
|
|
176
|
-
}
|
|
177
|
-
var noop = function() {
|
|
178
|
-
};
|
|
179
|
-
var ancient = typeof process === "undefined" ? false : /^v?\.0/.test(process.version);
|
|
180
|
-
var isFn = function(fn) {
|
|
181
|
-
return typeof fn === "function";
|
|
182
|
-
};
|
|
183
|
-
var isFS = function(stream) {
|
|
184
|
-
if (!ancient) return false;
|
|
185
|
-
if (!fs) return false;
|
|
186
|
-
return (stream instanceof (fs.ReadStream || noop) || stream instanceof (fs.WriteStream || noop)) && isFn(stream.close);
|
|
187
|
-
};
|
|
188
|
-
var isRequest = function(stream) {
|
|
189
|
-
return stream.setHeader && isFn(stream.abort);
|
|
190
|
-
};
|
|
191
|
-
var destroyer = function(stream, reading, writing, callback) {
|
|
192
|
-
callback = once(callback);
|
|
193
|
-
var closed = false;
|
|
194
|
-
stream.on("close", function() {
|
|
195
|
-
closed = true;
|
|
196
|
-
});
|
|
197
|
-
eos(stream, { readable: reading, writable: writing }, function(err) {
|
|
198
|
-
if (err) return callback(err);
|
|
199
|
-
closed = true;
|
|
200
|
-
callback();
|
|
201
|
-
});
|
|
202
|
-
var destroyed = false;
|
|
203
|
-
return function(err) {
|
|
204
|
-
if (closed) return;
|
|
205
|
-
if (destroyed) return;
|
|
206
|
-
destroyed = true;
|
|
207
|
-
if (isFS(stream)) return stream.close(noop);
|
|
208
|
-
if (isRequest(stream)) return stream.abort();
|
|
209
|
-
if (isFn(stream.destroy)) return stream.destroy();
|
|
210
|
-
callback(err || new Error("stream was destroyed"));
|
|
211
|
-
};
|
|
212
|
-
};
|
|
213
|
-
var call = function(fn) {
|
|
214
|
-
fn();
|
|
215
|
-
};
|
|
216
|
-
var pipe = function(from, to) {
|
|
217
|
-
return from.pipe(to);
|
|
218
|
-
};
|
|
219
|
-
var pump = function() {
|
|
220
|
-
var streams = Array.prototype.slice.call(arguments);
|
|
221
|
-
var callback = isFn(streams[streams.length - 1] || noop) && streams.pop() || noop;
|
|
222
|
-
if (Array.isArray(streams[0])) streams = streams[0];
|
|
223
|
-
if (streams.length < 2) throw new Error("pump requires two streams per minimum");
|
|
224
|
-
var error;
|
|
225
|
-
var destroys = streams.map(function(stream, i) {
|
|
226
|
-
var reading = i < streams.length - 1;
|
|
227
|
-
var writing = i > 0;
|
|
228
|
-
return destroyer(stream, reading, writing, function(err) {
|
|
229
|
-
if (!error) error = err;
|
|
230
|
-
if (err) destroys.forEach(call);
|
|
231
|
-
if (reading) return;
|
|
232
|
-
destroys.forEach(call);
|
|
233
|
-
callback(error);
|
|
234
|
-
});
|
|
235
|
-
});
|
|
236
|
-
return streams.reduce(pipe);
|
|
237
|
-
};
|
|
238
|
-
module.exports = pump;
|
|
239
|
-
}
|
|
240
|
-
});
|
|
241
|
-
|
|
242
|
-
export {
|
|
243
|
-
require_pump
|
|
244
|
-
};
|