@comate/zulu 1.1.0 → 1.2.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.
- package/README.md +8 -0
- package/comate-engine/assets/skills/auto-commit/SKILL.md +386 -0
- package/comate-engine/assets/skills/auto-commit/references/issue_type_mapping.json +19 -0
- package/comate-engine/assets/skills/auto-commit/references/new_version_instruction.md +196 -0
- package/comate-engine/assets/skills/auto-commit/references/old_version_instruction.md +189 -0
- package/comate-engine/assets/skills/auto-commit/references/query_reference.md +176 -0
- package/comate-engine/assets/skills/auto-commit/scripts/compat.py +86 -0
- package/comate-engine/assets/skills/auto-commit/scripts/create_card_cli.py +67 -0
- package/comate-engine/assets/skills/auto-commit/scripts/git_diff_cli.py +195 -0
- package/comate-engine/assets/skills/auto-commit/scripts/git_utils.py +225 -0
- package/comate-engine/assets/skills/auto-commit/scripts/icafe/__init__.py +66 -0
- package/comate-engine/assets/skills/auto-commit/scripts/icafe/client.py +444 -0
- package/comate-engine/assets/skills/auto-commit/scripts/icafe/farseer.py +53 -0
- package/comate-engine/assets/skills/auto-commit/scripts/icafe/matching.py +778 -0
- package/comate-engine/assets/skills/auto-commit/scripts/logger.py +32 -0
- package/comate-engine/assets/skills/auto-commit/scripts/recognize_card_cli.py +63 -0
- package/comate-engine/assets/skills/automation-browser-comate/SKILL.md +193 -90
- package/comate-engine/assets/skills/figma2code-comate/SKILL.md +2 -2
- package/comate-engine/assets/skills/figma2code-comate/references/codeConnect.md +7 -10
- package/comate-engine/assets/skills/smart-commit/SKILL.md +646 -0
- package/comate-engine/assets/skills/smart-commit/references/issue_type_mapping.json +19 -0
- package/comate-engine/assets/skills/smart-commit/references/query_reference.md +176 -0
- package/comate-engine/assets/skills/smart-commit/scripts/compat.py +86 -0
- package/comate-engine/assets/skills/smart-commit/scripts/create_card_cli.py +67 -0
- package/comate-engine/assets/skills/smart-commit/scripts/git_utils.py +220 -0
- package/comate-engine/assets/skills/smart-commit/scripts/icafe/__init__.py +66 -0
- package/comate-engine/assets/skills/smart-commit/scripts/icafe/client.py +444 -0
- package/comate-engine/assets/skills/smart-commit/scripts/icafe/farseer.py +53 -0
- package/comate-engine/assets/skills/smart-commit/scripts/icafe/matching.py +728 -0
- package/comate-engine/assets/skills/smart-commit/scripts/logger.py +32 -0
- package/comate-engine/assets/skills/smart-commit/scripts/recognize_card_cli.py +63 -0
- package/comate-engine/node_modules/@comate/plugin-engine/dist/index.js +7 -7
- package/comate-engine/node_modules/@comate/plugin-host/dist/index.js +1 -1
- package/comate-engine/node_modules/@comate/plugin-host/dist/main.js +1 -1
- package/comate-engine/node_modules/@comate/plugin-shared-internals/dist/index.js +8 -8
- package/comate-engine/node_modules/@comate/preview-proxy/package.json +2 -2
- package/comate-engine/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
- package/comate-engine/package.json +2 -2
- package/comate-engine/server.js +61 -44
- package/dist/bundle/index.js +8 -8
- package/package.json +1 -1
- package/comate-engine/node_modules/@comate/plugin-engine/dist/index.d.ts +0 -188
- package/comate-engine/node_modules/@comate/plugin-host/dist/main.d.ts +0 -14
- package/comate-engine/node_modules/@comate/plugin-shared-internals/dist/index.d.ts +0 -4817
- package/comate-engine/node_modules/better-sqlite3/README.md +0 -99
- package/comate-engine/node_modules/bindings/LICENSE.md +0 -22
- package/comate-engine/node_modules/bindings/README.md +0 -98
- package/comate-engine/node_modules/compare-versions/README.md +0 -133
- package/comate-engine/node_modules/compare-versions/lib/esm/compare.d.ts +0 -19
- package/comate-engine/node_modules/compare-versions/lib/esm/compareVersions.d.ts +0 -8
- package/comate-engine/node_modules/compare-versions/lib/esm/index.d.ts +0 -5
- package/comate-engine/node_modules/compare-versions/lib/esm/satisfies.d.ts +0 -14
- package/comate-engine/node_modules/compare-versions/lib/esm/utils.d.ts +0 -7
- package/comate-engine/node_modules/compare-versions/lib/esm/validate.d.ts +0 -28
- package/comate-engine/node_modules/file-uri-to-path/History.md +0 -21
- package/comate-engine/node_modules/file-uri-to-path/README.md +0 -74
- package/comate-engine/node_modules/file-uri-to-path/index.d.ts +0 -2
- package/comate-engine/node_modules/pkce-challenge/README.md +0 -55
- package/comate-engine/node_modules/pkce-challenge/dist/index.browser.d.ts +0 -19
- package/comate-engine/node_modules/pkce-challenge/dist/index.node.d.ts +0 -19
- package/comate-engine/node_modules/sqlite-vec/README.md +0 -1
- package/comate-engine/node_modules/sqlite-vec/index.d.ts +0 -17
- package/comate-engine/node_modules/sqlite-vec-darwin-arm64/README.md +0 -1
- package/comate-engine/node_modules/sqlite-vec-darwin-x64/README.md +0 -1
- package/comate-engine/node_modules/sqlite-vec-linux-arm64/README.md +0 -1
- package/comate-engine/node_modules/sqlite-vec-linux-x64/README.md +0 -1
- package/comate-engine/node_modules/sqlite-vec-windows-x64/README.md +0 -1
- package/comate-engine/node_modules/tree-sitter-bash/README.md +0 -44
- package/comate-engine/node_modules/tree-sitter-bash/bindings/node/binding_test.js +0 -9
- package/comate-engine/node_modules/tree-sitter-bash/bindings/node/index.d.ts +0 -28
- package/comate-engine/node_modules/tree-sitter-bash/bindings/node/index.js +0 -11
- package/comate-engine/node_modules/tree-sitter-bash/prebuilds/darwin-arm64/tree-sitter-bash.node +0 -0
- package/comate-engine/node_modules/tree-sitter-bash/prebuilds/darwin-x64/tree-sitter-bash.node +0 -0
- package/comate-engine/node_modules/tree-sitter-bash/prebuilds/linux-arm64/tree-sitter-bash.node +0 -0
- package/comate-engine/node_modules/tree-sitter-bash/prebuilds/linux-x64/tree-sitter-bash.node +0 -0
- package/comate-engine/node_modules/tree-sitter-bash/prebuilds/win32-arm64/tree-sitter-bash.node +0 -0
- package/comate-engine/node_modules/tree-sitter-bash/prebuilds/win32-x64/tree-sitter-bash.node +0 -0
- package/comate-engine/node_modules/tree-sitter-bash/src/grammar.json +0 -7145
- package/comate-engine/node_modules/tree-sitter-bash/src/node-types.json +0 -2894
- package/comate-engine/node_modules/web-streams-polyfill/README.md +0 -119
- package/comate-engine/node_modules/web-streams-polyfill/types/polyfill.d.ts +0 -28
- package/comate-engine/node_modules/web-streams-polyfill/types/ponyfill.d.ts +0 -809
- package/comate-engine/node_modules/web-tree-sitter/README.md +0 -269
- package/comate-engine/node_modules/web-tree-sitter/debug/tree-sitter.cjs +0 -4558
- package/comate-engine/node_modules/web-tree-sitter/debug/tree-sitter.js +0 -4516
- package/comate-engine/node_modules/web-tree-sitter/debug/tree-sitter.wasm +0 -0
- package/comate-engine/node_modules/web-tree-sitter/web-tree-sitter.d.ts +0 -1030
- package/comate-engine/node_modules/win-ca/README.md +0 -648
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
# web-streams-polyfill
|
|
2
|
-
|
|
3
|
-
Web Streams, based on the WHATWG spec reference implementation.
|
|
4
|
-
|
|
5
|
-
[](https://travis-ci.com/MattiasBuelens/web-streams-polyfill)
|
|
6
|
-
[](https://www.npmjs.com/package/web-streams-polyfill)
|
|
7
|
-
[](https://github.com/MattiasBuelens/web-streams-polyfill/blob/master/LICENSE)
|
|
8
|
-
|
|
9
|
-
## Links
|
|
10
|
-
|
|
11
|
-
- [Official spec][spec]
|
|
12
|
-
- [Reference implementation][ref-impl]
|
|
13
|
-
|
|
14
|
-
## Usage
|
|
15
|
-
|
|
16
|
-
This library comes in multiple variants:
|
|
17
|
-
* `web-streams-polyfill`: a [ponyfill] that provides the stream implementations
|
|
18
|
-
without replacing any globals, targeting ES2015+ environments.
|
|
19
|
-
Recommended for use in Node 6+ applications, or in web libraries supporting modern browsers.
|
|
20
|
-
* `web-streams-polyfill/es5`: a ponyfill targeting ES5+ environments.
|
|
21
|
-
Recommended for use in legacy Node applications, or in web libraries supporting older browsers.
|
|
22
|
-
* `web-streams-polyfill/polyfill`: a polyfill that replaces the native stream implementations,
|
|
23
|
-
targeting ES2015+ environments.
|
|
24
|
-
Recommended for use in web apps supporting modern browsers through a `<script>` tag.
|
|
25
|
-
* `web-streams-polyfill/polyfill/es5`: a polyfill targeting ES5+ environments.
|
|
26
|
-
Recommended for use in web apps supporting older browsers through a `<script>` tag.
|
|
27
|
-
|
|
28
|
-
Each variant also includes TypeScript type definitions, compatible with the DOM type definitions for streams included in TypeScript.
|
|
29
|
-
These type definitions require TypeScript version 4.7 or higher.
|
|
30
|
-
|
|
31
|
-
In version 4, the list of variants was reworked to have more modern defaults and to reduce the download size of the package.
|
|
32
|
-
See the [migration guide][migrating] for more information.
|
|
33
|
-
|
|
34
|
-
Usage as a polyfill:
|
|
35
|
-
```html
|
|
36
|
-
<!-- option 1: hosted by unpkg CDN -->
|
|
37
|
-
<script src="https://unpkg.com/web-streams-polyfill/dist/polyfill.js"></script>
|
|
38
|
-
<!-- option 2: self hosted -->
|
|
39
|
-
<script src="/path/to/web-streams-polyfill/dist/polyfill.js"></script>
|
|
40
|
-
<script>
|
|
41
|
-
var readable = new ReadableStream();
|
|
42
|
-
</script>
|
|
43
|
-
```
|
|
44
|
-
Usage as a Node module:
|
|
45
|
-
```js
|
|
46
|
-
var streams = require("web-streams-polyfill");
|
|
47
|
-
var readable = new streams.ReadableStream();
|
|
48
|
-
```
|
|
49
|
-
Usage as a ponyfill from within a ES2015 module:
|
|
50
|
-
```js
|
|
51
|
-
import { ReadableStream } from "web-streams-polyfill";
|
|
52
|
-
const readable = new ReadableStream();
|
|
53
|
-
```
|
|
54
|
-
Usage as a polyfill from within an ES2015 module:
|
|
55
|
-
```js
|
|
56
|
-
import "web-streams-polyfill/polyfill";
|
|
57
|
-
const readable = new ReadableStream();
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
## Compatibility
|
|
61
|
-
|
|
62
|
-
The `polyfill` and `ponyfill` variants work in any ES2015-compatible environment.
|
|
63
|
-
|
|
64
|
-
The `polyfill/es5` and `ponyfill/es5` variants work in any ES5-compatible environment that has a global `Promise`.
|
|
65
|
-
If you need to support older browsers or Node versions that do not have a native `Promise` implementation
|
|
66
|
-
(check the [support table][promise-support]), you must first include a `Promise` polyfill
|
|
67
|
-
(e.g. [promise-polyfill][promise-polyfill]).
|
|
68
|
-
|
|
69
|
-
[Async iterable support for `ReadableStream`][rs-asynciterator] is available in all variants, but requires an ES2018-compatible environment or a polyfill for `Symbol.asyncIterator`.
|
|
70
|
-
|
|
71
|
-
[`WritableStreamDefaultController.signal`][ws-controller-signal] is available in all variants, but requires a global `AbortController` constructor. If necessary, consider using a polyfill such as [abortcontroller-polyfill].
|
|
72
|
-
|
|
73
|
-
[Reading with a BYOB reader][mdn-byob-read] is available in all variants, but requires `ArrayBuffer.prototype.transfer()` or `structuredClone()` to exist in order to correctly transfer the given view's buffer. If not available, then the buffer won't be transferred during the read.
|
|
74
|
-
|
|
75
|
-
### Tooling compatibility
|
|
76
|
-
|
|
77
|
-
This package uses [subpath exports](https://nodejs.org/api/packages.html#subpath-exports) for its variants. As such, you need Node 12 or higher in order to `import` or `require()` such a variant.
|
|
78
|
-
|
|
79
|
-
When using TypeScript, make sure your [`moduleResolution`](https://www.typescriptlang.org/tsconfig#moduleResolution) is set to `"node16"`, `"nodenext"` or `"bundler"`.
|
|
80
|
-
|
|
81
|
-
## Compliance
|
|
82
|
-
|
|
83
|
-
The polyfill implements [version `fa4891a` (3 Dec 2024)][spec-snapshot] of the streams specification.
|
|
84
|
-
|
|
85
|
-
The polyfill is tested against the same [web platform tests][wpt] that are used by browsers to test their native implementations.
|
|
86
|
-
The polyfill aims to pass all tests, although it allows some exceptions for practical reasons:
|
|
87
|
-
* The default (ES2015) variant passes all of the tests, except for the [test for the prototype of `ReadableStream`'s async iterator][wpt-async-iterator-prototype].
|
|
88
|
-
Retrieving the correct `%AsyncIteratorPrototype%` requires using an async generator (`async function* () {}`), which is invalid syntax before ES2018.
|
|
89
|
-
Instead, the polyfill [creates its own version][stub-async-iterator-prototype] which is functionally equivalent to the real prototype.
|
|
90
|
-
* The ES5 variant passes the same tests as the ES2015 variant, except for various tests about specific characteristics of the constructors, properties and methods.
|
|
91
|
-
These test failures do not affect the run-time behavior of the polyfill.
|
|
92
|
-
For example:
|
|
93
|
-
* The `name` property of down-leveled constructors is incorrect.
|
|
94
|
-
* The `length` property of down-leveled constructors and methods with optional arguments is incorrect.
|
|
95
|
-
* Not all properties and methods are correctly marked as non-enumerable.
|
|
96
|
-
* Down-leveled class methods are not correctly marked as non-constructable.
|
|
97
|
-
|
|
98
|
-
## Contributors
|
|
99
|
-
|
|
100
|
-
Thanks to these people for their work on [the original polyfill][creatorrr-polyfill]:
|
|
101
|
-
|
|
102
|
-
- Diwank Singh Tomer ([creatorrr](https://github.com/creatorrr))
|
|
103
|
-
- Anders Riutta ([ariutta](https://github.com/ariutta))
|
|
104
|
-
|
|
105
|
-
[spec]: https://streams.spec.whatwg.org
|
|
106
|
-
[ref-impl]: https://github.com/whatwg/streams
|
|
107
|
-
[ponyfill]: https://github.com/sindresorhus/ponyfill
|
|
108
|
-
[migrating]: https://github.com/MattiasBuelens/web-streams-polyfill/blob/master/MIGRATING.md
|
|
109
|
-
[promise-support]: https://kangax.github.io/compat-table/es6/#test-Promise
|
|
110
|
-
[promise-polyfill]: https://www.npmjs.com/package/promise-polyfill
|
|
111
|
-
[rs-asynciterator]: https://streams.spec.whatwg.org/#rs-asynciterator
|
|
112
|
-
[ws-controller-signal]: https://streams.spec.whatwg.org/#ws-default-controller-signal
|
|
113
|
-
[abortcontroller-polyfill]: https://www.npmjs.com/package/abortcontroller-polyfill
|
|
114
|
-
[mdn-byob-read]: https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader/read
|
|
115
|
-
[spec-snapshot]: https://streams.spec.whatwg.org/commit-snapshots/fa4891a35ff05281ff8ed66f8ad447644ea7cec3/
|
|
116
|
-
[wpt]: https://github.com/web-platform-tests/wpt/tree/7ef95a1c3f1c178e455b21569eddb31af7c3691f/streams
|
|
117
|
-
[wpt-async-iterator-prototype]: https://github.com/web-platform-tests/wpt/blob/7ef95a1c3f1c178e455b21569eddb31af7c3691f/streams/readable-streams/async-iterator.any.js#L24
|
|
118
|
-
[stub-async-iterator-prototype]: https://github.com/MattiasBuelens/web-streams-polyfill/blob/v4.0.0/src/lib/readable-stream/async-iterator.ts#L143-L147
|
|
119
|
-
[creatorrr-polyfill]: https://github.com/creatorrr/web-streams-polyfill
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/// <reference lib="dom" />
|
|
2
|
-
/// <reference lib="es2018.asynciterable" />
|
|
3
|
-
|
|
4
|
-
import type { ReadableStreamAsyncIterator, ReadableStreamIteratorOptions } from './ponyfill';
|
|
5
|
-
|
|
6
|
-
export * from './ponyfill';
|
|
7
|
-
|
|
8
|
-
declare global {
|
|
9
|
-
interface ReadableStream<R = any> extends AsyncIterable<R> {
|
|
10
|
-
/**
|
|
11
|
-
* Asynchronously iterates over the chunks in the stream's internal queue.
|
|
12
|
-
*
|
|
13
|
-
* Asynchronously iterating over the stream will lock it, preventing any other consumer from acquiring a reader.
|
|
14
|
-
* The lock will be released if the async iterator's {@link ReadableStreamAsyncIterator.return | return()} method
|
|
15
|
-
* is called, e.g. by breaking out of the loop.
|
|
16
|
-
*
|
|
17
|
-
* By default, calling the async iterator's {@link ReadableStreamAsyncIterator.return | return()} method will also
|
|
18
|
-
* cancel the stream. To prevent this, use the stream's {@link ReadableStream.values | values()} method, passing
|
|
19
|
-
* `true` for the `preventCancel` option.
|
|
20
|
-
*/
|
|
21
|
-
values(options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* {@inheritDoc ReadableStream.values}
|
|
25
|
-
*/
|
|
26
|
-
[Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
|
|
27
|
-
}
|
|
28
|
-
}
|