thaipass 0.0.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 PunGrumpy
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # thaipass
2
+
3
+ **AI SDK provider for AI Pass, using your own session cookie.**
4
+
5
+ > Placeholder release. The provider is not implemented yet — the name is
6
+ > reserved and nothing is stable until `0.1.0`.
7
+
8
+ ## Install
9
+
10
+ ```bash
11
+ bun add thaipass
12
+ ```
13
+
14
+ ## Usage
15
+
16
+ Not available yet. The published `0.0.0` only exports package metadata:
17
+
18
+ ```ts
19
+ import { description, name } from 'thaipass'
20
+
21
+ console.log(name, description)
22
+ ```
23
+
24
+ ## Development
25
+
26
+ ```bash
27
+ bun install
28
+ bun test
29
+ bun run typecheck
30
+ bun run build
31
+ ```
32
+
33
+ ## License
34
+
35
+ [MIT](./LICENSE)
@@ -0,0 +1,15 @@
1
+ /**
2
+ * thaipass — AI SDK provider for AI Pass, using your own session cookie.
3
+ *
4
+ * Placeholder release. The provider is not implemented yet; nothing exported
5
+ * here is stable, and everything may change before 0.1.0.
6
+ */
7
+ /** Package name, as published on npm. */
8
+ export declare const name = "thaipass";
9
+ /** Human-readable one-liner describing the package. */
10
+ export declare const description = "AI SDK provider for AI Pass, using your own session cookie.";
11
+ declare const _default: {
12
+ name: string;
13
+ description: string;
14
+ };
15
+ export default _default;
package/dist/index.js ADDED
@@ -0,0 +1,9 @@
1
+ // src/index.ts
2
+ var name = "thaipass";
3
+ var description = "AI SDK provider for AI Pass, using your own session cookie.";
4
+ var src_default = { name, description };
5
+ export {
6
+ src_default as default,
7
+ description,
8
+ name
9
+ };
package/package.json ADDED
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "thaipass",
3
+ "version": "0.0.0",
4
+ "description":"AI SDK provider for AI Pass, using your own session cookie.",
5
+ "keywords": ["thai", "thailand", "ai", "passport", "thaipass"],
6
+ "homepage": "https://github.com/PunGrumpy/thaipass#readme",
7
+ "bugs": "https://github.com/PunGrumpy/thaipass/issues",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/PunGrumpy/thaipass.git",
11
+ "directory": "packages/thaipass"
12
+ },
13
+ "license": "MIT",
14
+ "author": {
15
+ "name": "Noppakorn Kaewsalabnil",
16
+ "url": "https://www.pungrumpy.com"
17
+ },
18
+ "type": "module",
19
+ "exports": {
20
+ ".": {
21
+ "types": "./dist/index.d.ts",
22
+ "default": "./dist/index.js"
23
+ },
24
+ "./package.json": "./package.json"
25
+ },
26
+ "main": "./dist/index.js",
27
+ "types": "./dist/index.d.ts",
28
+ "files": ["dist"],
29
+ "sideEffects": false,
30
+ "engines": {
31
+ "node": ">=20"
32
+ },
33
+ "publishConfig": {
34
+ "access": "public"
35
+ },
36
+ "scripts": {
37
+ "build": "bun build ./src/index.ts --outdir dist --target node --format esm && tsc -p tsconfig.build.json",
38
+ "test": "bun test",
39
+ "typecheck": "tsc --noEmit",
40
+ "prepublishOnly": "bun run build"
41
+ },
42
+ "devDependencies": {
43
+ "@types/bun": "1.4.1"
44
+ },
45
+ "peerDependencies": {
46
+ "typescript": "^7"
47
+ }
48
+ }