@zhin.js/adapter-github 1.1.2 → 1.1.3
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/CHANGELOG.md +21 -0
- package/lib/oauth-users.d.ts +1 -1
- package/lib/oauth-users.js +1 -1
- package/package.json +19 -19
- package/src/oauth-users.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @zhin.js/adapter-github
|
|
2
2
|
|
|
3
|
+
## 1.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 36c2eb9: Add schema-driven database setup with explicit live-tested server and driver versions, validate environment-backed connection options before startup, and generate safe database examples for new projects.
|
|
8
|
+
|
|
9
|
+
Make durable timestamp columns portable across SQL dialects, preserve dialect-specific identity syntax, migrate legacy inbox tables before their first millisecond timestamp write, and encode canonical conversation keys at the database boundary so PostgreSQL accepts them.
|
|
10
|
+
|
|
11
|
+
Keep legacy durable conversation rows readable, normalize transaction results consistently, and make production mode select the matching environment overlay by default.
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [5b5d270]
|
|
14
|
+
- Updated dependencies [36c2eb9]
|
|
15
|
+
- @zhin.js/im-contract@1.1.2
|
|
16
|
+
- @zhin.js/core@1.1.38
|
|
17
|
+
- @zhin.js/adapter@1.1.15
|
|
18
|
+
- @zhin.js/host-http@1.1.2
|
|
19
|
+
- @zhin.js/agent-feature@1.1.2
|
|
20
|
+
- @zhin.js/feature-kit@1.1.2
|
|
21
|
+
- @zhin.js/skill@1.1.2
|
|
22
|
+
- @zhin.js/tool@1.1.2
|
|
23
|
+
|
|
3
24
|
## 1.1.2
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
package/lib/oauth-users.d.ts
CHANGED
package/lib/oauth-users.js
CHANGED
|
@@ -10,7 +10,7 @@ export const GITHUB_OAUTH_USERS_SCHEMA = {
|
|
|
10
10
|
platform_uid: { type: 'text', nullable: false },
|
|
11
11
|
github_login: { type: 'text', nullable: false },
|
|
12
12
|
access_token: { type: 'text', nullable: false },
|
|
13
|
-
created_at: { type: '
|
|
13
|
+
created_at: { type: 'bigint', nullable: false },
|
|
14
14
|
};
|
|
15
15
|
export function defineGithubOauthUsersTable(host) {
|
|
16
16
|
host.define(GITHUB_OAUTH_USERS_TABLE, { ...GITHUB_OAUTH_USERS_SCHEMA });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhin.js/adapter-github",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Zhin.js GitHub adapter for Plugin Runtime (App auth + webhook)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -41,25 +41,25 @@
|
|
|
41
41
|
"directory": "plugins/adapters/github"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@zhin.js/adapter": "1.1.
|
|
45
|
-
"@zhin.js/agent-feature": "1.1.
|
|
46
|
-
"@zhin.js/core": "1.1.
|
|
47
|
-
"@zhin.js/feature-kit": "1.1.
|
|
48
|
-
"@zhin.js/host-http": "1.1.
|
|
49
|
-
"@zhin.js/im-contract": "1.1.
|
|
44
|
+
"@zhin.js/adapter": "1.1.15",
|
|
45
|
+
"@zhin.js/agent-feature": "1.1.2",
|
|
46
|
+
"@zhin.js/core": "1.1.38",
|
|
47
|
+
"@zhin.js/feature-kit": "1.1.2",
|
|
48
|
+
"@zhin.js/host-http": "1.1.2",
|
|
49
|
+
"@zhin.js/im-contract": "1.1.2",
|
|
50
50
|
"@zhin.js/logger": "1.1.1",
|
|
51
|
-
"@zhin.js/skill": "1.1.
|
|
52
|
-
"@zhin.js/tool": "1.1.
|
|
51
|
+
"@zhin.js/skill": "1.1.2",
|
|
52
|
+
"@zhin.js/tool": "1.1.2"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"zod": "^4.0.0",
|
|
56
|
-
"@zhin.js/adapter": "^1.1.
|
|
57
|
-
"@zhin.js/agent": "^1.1.
|
|
58
|
-
"@zhin.js/command": "^1.1.
|
|
59
|
-
"@zhin.js/core": "^1.1.
|
|
60
|
-
"@zhin.js/host-http": "^1.1.
|
|
61
|
-
"@zhin.js/prompt-section": "^1.1.
|
|
62
|
-
"zhin.js": "^1.1.
|
|
56
|
+
"@zhin.js/adapter": "^1.1.15",
|
|
57
|
+
"@zhin.js/agent": "^1.1.27",
|
|
58
|
+
"@zhin.js/command": "^1.1.2",
|
|
59
|
+
"@zhin.js/core": "^1.1.38",
|
|
60
|
+
"@zhin.js/host-http": "^1.1.2",
|
|
61
|
+
"@zhin.js/prompt-section": "^1.1.2",
|
|
62
|
+
"zhin.js": "^1.1.3"
|
|
63
63
|
},
|
|
64
64
|
"peerDependenciesMeta": {
|
|
65
65
|
"@zhin.js/agent": {
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
"typescript": "^6.0.3",
|
|
84
84
|
"vitest": "^4.1.10",
|
|
85
85
|
"zod": "^4.4.3",
|
|
86
|
-
"@zhin.js/agent": "1.1.
|
|
87
|
-
"@zhin.js/prompt-section": "1.1.
|
|
88
|
-
"zhin.js": "1.1.
|
|
86
|
+
"@zhin.js/agent": "1.1.27",
|
|
87
|
+
"@zhin.js/prompt-section": "1.1.2",
|
|
88
|
+
"zhin.js": "1.1.3"
|
|
89
89
|
},
|
|
90
90
|
"files": [
|
|
91
91
|
"adapters",
|
package/src/oauth-users.ts
CHANGED
|
@@ -14,7 +14,7 @@ export const GITHUB_OAUTH_USERS_SCHEMA = {
|
|
|
14
14
|
platform_uid: { type: 'text', nullable: false },
|
|
15
15
|
github_login: { type: 'text', nullable: false },
|
|
16
16
|
access_token: { type: 'text', nullable: false },
|
|
17
|
-
created_at: { type: '
|
|
17
|
+
created_at: { type: 'bigint', nullable: false },
|
|
18
18
|
} as const;
|
|
19
19
|
|
|
20
20
|
export function defineGithubOauthUsersTable(
|