@lark-project/meegle 0.0.3 → 0.0.5
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 +7 -3
- package/bin/meegle-darwin-arm64 +0 -0
- package/bin/meegle-darwin-x64 +0 -0
- package/bin/meegle-linux-arm64 +0 -0
- package/bin/meegle-linux-x64 +0 -0
- package/bin/meegle.js +23 -0
- package/package.json +21 -27
- package/LICENSE +0 -11
- package/dist/bin/meegle.js +0 -2076
package/README.md
CHANGED
|
@@ -118,8 +118,12 @@ meegle inspect workitem.create
|
|
|
118
118
|
| 命令 | 说明 |
|
|
119
119
|
|------|------|
|
|
120
120
|
| `project search` | 搜索空间信息 |
|
|
121
|
+
|
|
122
|
+
### 其他命令
|
|
123
|
+
|
|
124
|
+
| 命令 | 说明 |
|
|
125
|
+
|------|------|
|
|
121
126
|
| `inspect [command]` | 查看命令参数详情 |
|
|
122
|
-
| `+todo` | 查看本周个人待办(快捷命令) |
|
|
123
127
|
|
|
124
128
|
## 常用示例
|
|
125
129
|
|
|
@@ -342,11 +346,11 @@ meegle config set host project.feishu.cn
|
|
|
342
346
|
meegle config get host
|
|
343
347
|
```
|
|
344
348
|
|
|
345
|
-
|
|
349
|
+
主要配置项:
|
|
346
350
|
|
|
347
351
|
| 字段 | 说明 | 示例 |
|
|
348
352
|
|------|------|------|
|
|
349
|
-
| `host` | 站点域名 | `project.feishu.cn
|
|
353
|
+
| `host` | 站点域名 | `project.feishu.cn`、`meegle.com` |
|
|
350
354
|
|
|
351
355
|
### 多环境 Profile
|
|
352
356
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/bin/meegle.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
const { spawnSync } = require("child_process");
|
|
3
|
+
const os = require("os");
|
|
4
|
+
const path = require("path");
|
|
5
|
+
|
|
6
|
+
const platform = os.platform();
|
|
7
|
+
const arch = os.arch();
|
|
8
|
+
const binName = `meegle-${platform}-${arch}`;
|
|
9
|
+
const binPath = path.join(__dirname, binName);
|
|
10
|
+
|
|
11
|
+
try {
|
|
12
|
+
require("fs").accessSync(binPath, require("fs").constants.X_OK);
|
|
13
|
+
} catch {
|
|
14
|
+
console.error(
|
|
15
|
+
`Unsupported platform: ${platform}-${arch}\n` +
|
|
16
|
+
`Expected binary at: ${binPath}\n` +
|
|
17
|
+
`Supported: darwin-arm64, darwin-x64, linux-arm64, linux-x64`
|
|
18
|
+
);
|
|
19
|
+
process.exit(1);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
const result = spawnSync(binPath, process.argv.slice(2), { stdio: "inherit" });
|
|
23
|
+
process.exit(result.status ?? 1);
|
package/package.json
CHANGED
|
@@ -1,40 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lark-project/meegle",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "Agent-First CLI for Meegle (Lark Project)",
|
|
5
|
-
"
|
|
5
|
+
"license": "ISC",
|
|
6
6
|
"bin": {
|
|
7
|
-
"meegle": "
|
|
7
|
+
"meegle": "bin/meegle.js"
|
|
8
8
|
},
|
|
9
9
|
"engines": {
|
|
10
|
-
"node": ">=
|
|
10
|
+
"node": ">=16"
|
|
11
11
|
},
|
|
12
|
+
"os": [
|
|
13
|
+
"darwin",
|
|
14
|
+
"linux"
|
|
15
|
+
],
|
|
16
|
+
"cpu": [
|
|
17
|
+
"arm64",
|
|
18
|
+
"x64"
|
|
19
|
+
],
|
|
12
20
|
"files": [
|
|
13
|
-
"
|
|
21
|
+
"bin/meegle.js",
|
|
22
|
+
"bin/meegle-*",
|
|
23
|
+
"README.md"
|
|
14
24
|
],
|
|
15
25
|
"publishConfig": {
|
|
16
26
|
"tag": "beta"
|
|
17
27
|
},
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
"prepare": "npm run build"
|
|
25
|
-
},
|
|
26
|
-
"dependencies": {
|
|
27
|
-
"@inquirer/prompts": "^7.10.1",
|
|
28
|
-
"chalk": "^5.4.1",
|
|
29
|
-
"cli-table3": "^0.6.5",
|
|
30
|
-
"commander": "^13.1.0",
|
|
31
|
-
"open": "^10.2.0",
|
|
32
|
-
"qrcode-terminal": "^0.12.0",
|
|
33
|
-
"zod": "^3.24.2"
|
|
34
|
-
},
|
|
35
|
-
"devDependencies": {
|
|
36
|
-
"tsup": "^8.4.0",
|
|
37
|
-
"typescript": "^5.7.3",
|
|
38
|
-
"vitest": "^3.0.5"
|
|
39
|
-
}
|
|
28
|
+
"keywords": [
|
|
29
|
+
"meegle",
|
|
30
|
+
"lark-project",
|
|
31
|
+
"cli",
|
|
32
|
+
"mcp"
|
|
33
|
+
]
|
|
40
34
|
}
|
package/LICENSE
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2023 Lark Technologies Pte. Ltd.
|
|
2
|
-
|
|
3
|
-
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
|
|
4
|
-
|
|
5
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
6
|
-
IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE
|
|
7
|
-
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO
|
|
8
|
-
EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
|
|
9
|
-
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
|
10
|
-
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
|
|
11
|
-
ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|