@ai-workbench/connect 0.7.39 → 0.7.40

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  员工一次安装:在官方 DSH「插件 → 添加插件」输入 `@ai-workbench/workbench`。已分装 network、connect、remote-agent 的,先移除三者,再装总包。
2
2
 
3
- 本轮总包0.1.5精确锁定 network 0.4.11 / connect 0.7.39 / remote-agent 0.8.30;管理员按[总包发版说明](packages/workbench/README.md)重新生成并核验固定 tgz 与 SHA。工人不 publish。
3
+ 本轮总包0.1.6精确锁定 network 0.4.11 / connect 0.7.39 / remote-agent 0.8.31;管理员按[总包发版说明](packages/workbench/README.md)重新生成并核验固定 tgz 与 SHA。工人不 publish。
4
4
 
5
5
  connect 0.7.39:DSH 版本声明由精确版本改为范围 `>=0.2.0-rc.2 <0.3.0-0`(peer 与 `engines.dsh` 同值),不再随 DSH 小版本被拒装。
6
6
 
@@ -1,10 +1,11 @@
1
- import { lstat, realpath, open, rename, rm } from 'node:fs/promises';
2
- import { join, isAbsolute, resolve } from 'node:path';
1
+ import { lstat, realpath, open, rename, rm, mkdir, copyFile } from 'node:fs/promises';
2
+ import { constants } from 'node:fs';
3
+ import { join, isAbsolute, resolve, dirname, basename } from 'node:path';
3
4
  import { randomUUID, createHash } from 'node:crypto';
4
5
  import { readEnrollment, validWorkspaceSources } from "./enrollment.js";
5
6
  import { privateDirectory, privateFile, readPrivate } from "./private-files.js";
6
7
  import { ok, fail, need, NeedError } from "./needs.js";
7
- // Only metadata about authkey is examined here. Its contents belong exclusively to N.
8
+ // 钥匙仅作不透明文件复制;内容的解析、消费与事务清理由 N 独占。
8
9
  export function createProfileEnrollment(options) {
9
10
  const instanceId = randomUUID(), listeners = new Set();
10
11
  let abort = new AbortController(), paused = false, forgetting = false;
@@ -20,8 +21,145 @@ export function createProfileEnrollment(options) {
20
21
  const validOptions = () => isAbsolute(options.profileDir) && Number.isSafeInteger(options.metadataMaxBytes) && options.metadataMaxBytes > 0 && options.metadataMaxBytes <= 2147483647;
21
22
  const canonical = async (path) => { if (!isAbsolute(path) || await realpath(path) !== resolve(path))
22
23
  throw Error('NON_CANONICAL_DIRECTORY'); };
23
- const sourceFile = async (path) => { await privateFile(path); const stat = await lstat(path); if ((stat.mode & 0o777) !== 0o600 || stat.nlink !== 1)
24
- throw Error('SOURCE_FILE_INVALID'); return stat; };
24
+ const privateSource = (source) => dirname(source) === dataDir && /^enrollment-source-[a-f0-9-]{36}$/.test(basename(source));
25
+ const sourceFile = async (path, tighten = false) => {
26
+ const before = await lstat(path);
27
+ if (!before.isFile() || before.uid !== process.getuid() || before.nlink !== 1)
28
+ throw Error('SOURCE_FILE_INVALID');
29
+ const h = await open(path, constants.O_RDONLY | constants.O_NOFOLLOW | constants.O_NONBLOCK);
30
+ try {
31
+ const stat = await h.stat();
32
+ if (stat.dev !== before.dev || stat.ino !== before.ino || !stat.isFile() || stat.uid !== process.getuid() || stat.nlink !== 1 || (stat.mode & 0o700) !== 0o600)
33
+ throw Error('SOURCE_FILE_INVALID');
34
+ if ((stat.mode & 0o777) !== 0o600) {
35
+ if (!tighten)
36
+ throw Error('SOURCE_FILE_INVALID');
37
+ await h.chmod(0o600);
38
+ }
39
+ return await h.stat();
40
+ }
41
+ finally {
42
+ await h.close();
43
+ }
44
+ };
45
+ async function saveRegistration(value, onCommit) {
46
+ const bytes = JSON.stringify(value) + '\n';
47
+ if (Buffer.byteLength(bytes) > options.metadataMaxBytes)
48
+ throw Error('METADATA_LIMIT');
49
+ const temp = join(dataDir, '.enrollment-' + randomUUID());
50
+ try {
51
+ const h = await open(temp, 'wx', 0o600);
52
+ try {
53
+ await h.writeFile(bytes);
54
+ await h.sync();
55
+ }
56
+ finally {
57
+ await h.close();
58
+ }
59
+ if (disposed || paused)
60
+ throw Error('ACTIVATION_CANCELLED');
61
+ await rename(temp, file);
62
+ onCommit();
63
+ const d = await open(dataDir, 'r');
64
+ try {
65
+ await d.sync();
66
+ }
67
+ finally {
68
+ await d.close();
69
+ }
70
+ }
71
+ finally {
72
+ await rm(temp, { force: true });
73
+ }
74
+ }
75
+ let sourceFlight, sourceTarget;
76
+ async function prepare(source) {
77
+ if (record?.source === source && privateSource(source))
78
+ return validate(source);
79
+ if (sourceFlight)
80
+ return source === sourceTarget ? sourceFlight : fail('ACTIVATION_CONFLICT');
81
+ const run = async () => {
82
+ let staging, destination, committed = false;
83
+ try {
84
+ let result = await validate(source, true);
85
+ if (!result.ok)
86
+ return result;
87
+ // 旧事务已绑定原钥匙 inode。先让 N 沿原配置完成清理,再迁移,绝不替换交接配置。
88
+ if (record && result.value.enrollment.authKeyFile) {
89
+ if (!options.activate)
90
+ return fail('DEPENDENCY_REQUIRED');
91
+ const activated = await options.activate(result.value.enrollment, abort.signal);
92
+ if (!activated.ok)
93
+ return activated;
94
+ if (disposed || paused)
95
+ return fail(disposed ? 'DISPOSED' : 'ACTIVATION_CONFLICT');
96
+ result = await validate(source, true);
97
+ if (!result.ok)
98
+ return result;
99
+ }
100
+ const id = randomUUID();
101
+ staging = join(dataDir, '.enrollment-source-' + id);
102
+ destination = join(dataDir, 'enrollment-source-' + id);
103
+ await mkdir(staging, { mode: 0o700 });
104
+ const metadata = JSON.parse(await readPrivate(join(source, 'enroll.json'), options.metadataMaxBytes));
105
+ const names = ['enroll.json', 'ssh-rule.json', ...(result.value.enrollment.authKeyFile ? [metadata.authKeyDelivery.path] : [])];
106
+ for (const name of new Set(names)) {
107
+ const from = join(source, name), to = join(staging, name), before = await sourceFile(from);
108
+ // copyFile 不解析、打印或记录钥匙字节;复制后仍核原文件身份,拒绝替换。
109
+ await copyFile(from, to, constants.COPYFILE_EXCL);
110
+ const after = await sourceFile(from);
111
+ if (before.dev !== after.dev || before.ino !== after.ino || before.size !== after.size || before.mtimeMs !== after.mtimeMs || before.ctimeMs !== after.ctimeMs)
112
+ throw Error('SOURCE_FILE_CHANGED');
113
+ const h = await open(to, constants.O_RDONLY | constants.O_NOFOLLOW);
114
+ try {
115
+ await h.chmod(0o600);
116
+ await h.sync();
117
+ }
118
+ finally {
119
+ await h.close();
120
+ }
121
+ await sourceFile(to);
122
+ }
123
+ const directory = await open(staging, 'r');
124
+ try {
125
+ await directory.sync();
126
+ }
127
+ finally {
128
+ await directory.close();
129
+ }
130
+ await rename(staging, destination);
131
+ staging = undefined;
132
+ const copied = await validate(destination, false, true);
133
+ if (!copied.ok)
134
+ return copied;
135
+ if (copied.value.registration.digest !== result.value.registration.digest)
136
+ throw Error('SOURCE_FILE_CHANGED');
137
+ await saveRegistration(copied.value.registration, () => { record = copied.value.registration; committed = true; });
138
+ return copied;
139
+ }
140
+ catch {
141
+ return fail(disposed ? 'DISPOSED' : paused ? 'ACTIVATION_CONFLICT' : 'ENROLLMENT_INVALID');
142
+ }
143
+ finally {
144
+ if (staging)
145
+ await rm(staging, { recursive: true, force: true });
146
+ if (destination && !committed)
147
+ await rm(destination, { recursive: true, force: true });
148
+ }
149
+ };
150
+ sourceTarget = source;
151
+ const promise = run();
152
+ sourceFlight = promise;
153
+ try {
154
+ return await promise;
155
+ }
156
+ finally {
157
+ if (sourceFlight === promise) {
158
+ sourceFlight = undefined;
159
+ sourceTarget = undefined;
160
+ }
161
+ }
162
+ }
25
163
  async function load() {
26
164
  if (disposed)
27
165
  return fail('DISPOSED');
@@ -75,15 +213,26 @@ export function createProfileEnrollment(options) {
75
213
  loadFlight = undefined;
76
214
  return result;
77
215
  }
78
- async function validate(source) {
216
+ async function validate(source, tighten = false, relocated = false) {
79
217
  try {
80
218
  await canonical(source);
81
- const d = await lstat(source);
82
- if (!d.isDirectory() || d.uid !== process.getuid() || (d.mode & 0o777) !== 0o700)
83
- return fail('ENROLLMENT_INVALID');
84
- await sourceFile(join(source, 'enroll.json'));
219
+ const directory = await open(source, constants.O_RDONLY | constants.O_DIRECTORY | constants.O_NOFOLLOW);
220
+ try {
221
+ const d = await directory.stat();
222
+ if (!d.isDirectory() || d.uid !== process.getuid() || (d.mode & 0o700) !== 0o700)
223
+ return fail('ENROLLMENT_INVALID');
224
+ if ((d.mode & 0o777) !== 0o700) {
225
+ if (!tighten)
226
+ return fail('ENROLLMENT_INVALID');
227
+ await directory.chmod(0o700);
228
+ }
229
+ }
230
+ finally {
231
+ await directory.close();
232
+ }
233
+ await sourceFile(join(source, 'enroll.json'), tighten);
85
234
  const metadata = await readPrivate(join(source, 'enroll.json'), options.metadataMaxBytes);
86
- const rule = await sourceFile(join(source, 'ssh-rule.json'));
235
+ const rule = await sourceFile(join(source, 'ssh-rule.json'), tighten);
87
236
  if (rule.size > options.metadataMaxBytes)
88
237
  return fail('ENROLLMENT_INVALID');
89
238
  const value = JSON.parse(metadata), keyName = value.authKeyDelivery?.path;
@@ -91,7 +240,7 @@ export function createProfileEnrollment(options) {
91
240
  return fail('ENROLLMENT_INVALID');
92
241
  const key = join(source, keyName);
93
242
  try {
94
- if ((await sourceFile(key)).size === 0)
243
+ if ((await sourceFile(key, tighten)).size === 0)
95
244
  return fail('ENROLLMENT_INVALID');
96
245
  }
97
246
  catch (error) {
@@ -100,7 +249,7 @@ export function createProfileEnrollment(options) {
100
249
  }
101
250
  // Validate the source digest before replacing our trust cache on an existing registration.
102
251
  const digest = createHash('sha256').update(metadata).digest('hex');
103
- if (record && (record.source !== source || record.digest !== digest))
252
+ if (record && ((!relocated && record.source !== source) || record.digest !== digest))
104
253
  return fail('ENROLLMENT_INVALID');
105
254
  if (disposed || paused)
106
255
  return fail(disposed ? 'DISPOSED' : 'ACTIVATION_CONFLICT');
@@ -198,6 +347,8 @@ export function createProfileEnrollment(options) {
198
347
  await options.clearActivation({ host: record.host, username: record.username, port: record.port });
199
348
  if (disposed || signal.aborted)
200
349
  return fail(disposed ? 'DISPOSED' : 'ACTIVATION_CANCELLED');
350
+ if (privateSource(record.source))
351
+ await rm(record.source, { recursive: true, force: true });
201
352
  await rm(file, { force: true });
202
353
  const d = await open(dataDir, 'r');
203
354
  try {
@@ -239,7 +390,7 @@ export function createProfileEnrollment(options) {
239
390
  }
240
391
  if (!options.activate)
241
392
  return fail('DEPENDENCY_REQUIRED');
242
- const result = await validate(record.source);
393
+ const result = await prepare(record.source);
243
394
  if (disposed || paused)
244
395
  return fail(disposed ? 'DISPOSED' : 'ACTIVATION_CONFLICT');
245
396
  if (!result.ok) {
@@ -284,7 +435,6 @@ export function createProfileEnrollment(options) {
284
435
  return fail('ENROLLMENT_INVALID');
285
436
  const previous = record ? 'imported' : 'empty';
286
437
  publish('importing');
287
- let temp;
288
438
  try {
289
439
  const source = await options.pick(abort.signal);
290
440
  if (disposed || paused)
@@ -302,42 +452,11 @@ export function createProfileEnrollment(options) {
302
452
  publish('blocked', 'ENROLLMENT_INVALID');
303
453
  return fail('ENROLLMENT_INVALID');
304
454
  }
305
- const result = await validate(source);
455
+ const result = await prepare(source);
306
456
  if (!result.ok) {
307
457
  publish('blocked', result.error.code);
308
458
  return result;
309
459
  }
310
- if (disposed || paused)
311
- return fail(disposed ? 'DISPOSED' : 'ACTIVATION_CONFLICT');
312
- const bytes = JSON.stringify(result.value.registration) + '\n';
313
- if (Buffer.byteLength(bytes) > options.metadataMaxBytes) {
314
- publish('blocked', 'ENROLLMENT_INVALID');
315
- return fail('ENROLLMENT_INVALID');
316
- }
317
- temp = join(dataDir, '.enrollment-' + randomUUID());
318
- const handle = await open(temp, 'wx', 0o600);
319
- try {
320
- if (disposed || paused)
321
- return fail(disposed ? 'DISPOSED' : 'ACTIVATION_CONFLICT');
322
- await handle.writeFile(bytes);
323
- if (disposed || paused)
324
- return fail(disposed ? 'DISPOSED' : 'ACTIVATION_CONFLICT');
325
- await handle.sync();
326
- }
327
- finally {
328
- await handle.close();
329
- }
330
- if (disposed || paused)
331
- return fail(disposed ? 'DISPOSED' : 'ACTIVATION_CONFLICT');
332
- await rename(temp, file);
333
- temp = undefined;
334
- const directory = await open(dataDir, 'r');
335
- try {
336
- await directory.sync();
337
- }
338
- finally {
339
- await directory.close();
340
- }
341
460
  if (disposed || paused)
342
461
  return fail(disposed ? 'DISPOSED' : 'ACTIVATION_CONFLICT');
343
462
  record = result.value.registration;
@@ -362,10 +481,6 @@ export function createProfileEnrollment(options) {
362
481
  publish('blocked', reason);
363
482
  return { ok: false, error: reason };
364
483
  }
365
- finally {
366
- if (temp)
367
- await rm(temp, { force: true });
368
- }
369
484
  };
370
485
  const promise = run();
371
486
  flight = promise;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-workbench/connect",
3
- "version": "0.7.39",
3
+ "version": "0.7.40",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=24.13.1",
@@ -1,216 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
-
9
- ## [2.0.1] - 2020-08-29
10
- ### Fixed
11
- - Fix issue with `process.argv` when used with interpreters (`coffee`, `ts-node`, etc.), #150.
12
-
13
-
14
- ## [2.0.0] - 2020-08-14
15
- ### Changed
16
- - Full rewrite. Now port from python 3.9.0 & more precise following.
17
- See [doc](./doc) for difference and migration info.
18
- - node.js 10+ required
19
- - Removed most of local docs in favour of original ones.
20
-
21
-
22
- ## [1.0.10] - 2018-02-15
23
- ### Fixed
24
- - Use .concat instead of + for arrays, #122.
25
-
26
-
27
- ## [1.0.9] - 2016-09-29
28
- ### Changed
29
- - Rerelease after 1.0.8 - deps cleanup.
30
-
31
-
32
- ## [1.0.8] - 2016-09-29
33
- ### Changed
34
- - Maintenance (deps bump, fix node 6.5+ tests, coverage report).
35
-
36
-
37
- ## [1.0.7] - 2016-03-17
38
- ### Changed
39
- - Teach `addArgument` to accept string arg names. #97, @tomxtobin.
40
-
41
-
42
- ## [1.0.6] - 2016-02-06
43
- ### Changed
44
- - Maintenance: moved to eslint & updated CS.
45
-
46
-
47
- ## [1.0.5] - 2016-02-05
48
- ### Changed
49
- - Removed lodash dependency to significantly reduce install size.
50
- Thanks to @mourner.
51
-
52
-
53
- ## [1.0.4] - 2016-01-17
54
- ### Changed
55
- - Maintenance: lodash update to 4.0.0.
56
-
57
-
58
- ## [1.0.3] - 2015-10-27
59
- ### Fixed
60
- - Fix parse `=` in args: `--examplepath="C:\myfolder\env=x64"`. #84, @CatWithApple.
61
-
62
-
63
- ## [1.0.2] - 2015-03-22
64
- ### Changed
65
- - Relaxed lodash version dependency.
66
-
67
-
68
- ## [1.0.1] - 2015-02-20
69
- ### Changed
70
- - Changed dependencies to be compatible with ancient nodejs.
71
-
72
-
73
- ## [1.0.0] - 2015-02-19
74
- ### Changed
75
- - Maintenance release.
76
- - Replaced `underscore` with `lodash`.
77
- - Bumped version to 1.0.0 to better reflect semver meaning.
78
- - HISTORY.md -> CHANGELOG.md
79
-
80
-
81
- ## [0.1.16] - 2013-12-01
82
- ### Changed
83
- - Maintenance release. Updated dependencies and docs.
84
-
85
-
86
- ## [0.1.15] - 2013-05-13
87
- ### Fixed
88
- - Fixed #55, @trebor89
89
-
90
-
91
- ## [0.1.14] - 2013-05-12
92
- ### Fixed
93
- - Fixed #62, @maxtaco
94
-
95
-
96
- ## [0.1.13] - 2013-04-08
97
- ### Changed
98
- - Added `.npmignore` to reduce package size
99
-
100
-
101
- ## [0.1.12] - 2013-02-10
102
- ### Fixed
103
- - Fixed conflictHandler (#46), @hpaulj
104
-
105
-
106
- ## [0.1.11] - 2013-02-07
107
- ### Added
108
- - Added 70+ tests (ported from python), @hpaulj
109
- - Added conflictHandler, @applepicke
110
- - Added fromfilePrefixChar, @hpaulj
111
-
112
- ### Fixed
113
- - Multiple bugfixes, @hpaulj
114
-
115
-
116
- ## [0.1.10] - 2012-12-30
117
- ### Added
118
- - Added [mutual exclusion](http://docs.python.org/dev/library/argparse.html#mutual-exclusion)
119
- support, thanks to @hpaulj
120
-
121
- ### Fixed
122
- - Fixed options check for `storeConst` & `appendConst` actions, thanks to @hpaulj
123
-
124
-
125
- ## [0.1.9] - 2012-12-27
126
- ### Fixed
127
- - Fixed option dest interferens with other options (issue #23), thanks to @hpaulj
128
- - Fixed default value behavior with `*` positionals, thanks to @hpaulj
129
- - Improve `getDefault()` behavior, thanks to @hpaulj
130
- - Improve negative argument parsing, thanks to @hpaulj
131
-
132
-
133
- ## [0.1.8] - 2012-12-01
134
- ### Fixed
135
- - Fixed parser parents (issue #19), thanks to @hpaulj
136
- - Fixed negative argument parse (issue #20), thanks to @hpaulj
137
-
138
-
139
- ## [0.1.7] - 2012-10-14
140
- ### Fixed
141
- - Fixed 'choices' argument parse (issue #16)
142
- - Fixed stderr output (issue #15)
143
-
144
-
145
- ## [0.1.6] - 2012-09-09
146
- ### Fixed
147
- - Fixed check for conflict of options (thanks to @tomxtobin)
148
-
149
-
150
- ## [0.1.5] - 2012-09-03
151
- ### Fixed
152
- - Fix parser #setDefaults method (thanks to @tomxtobin)
153
-
154
-
155
- ## [0.1.4] - 2012-07-30
156
- ### Fixed
157
- - Fixed pseudo-argument support (thanks to @CGamesPlay)
158
- - Fixed addHelp default (should be true), if not set (thanks to @benblank)
159
-
160
-
161
- ## [0.1.3] - 2012-06-27
162
- ### Fixed
163
- - Fixed formatter api name: Formatter -> HelpFormatter
164
-
165
-
166
- ## [0.1.2] - 2012-05-29
167
- ### Fixed
168
- - Removed excess whitespace in help
169
- - Fixed error reporting, when parcer with subcommands
170
- called with empty arguments
171
-
172
- ### Added
173
- - Added basic tests
174
-
175
-
176
- ## [0.1.1] - 2012-05-23
177
- ### Fixed
178
- - Fixed line wrapping in help formatter
179
- - Added better error reporting on invalid arguments
180
-
181
-
182
- ## [0.1.0] - 2012-05-16
183
- ### Added
184
- - First release.
185
-
186
-
187
- [2.0.1]: https://github.com/nodeca/argparse/compare/2.0.0...2.0.1
188
- [2.0.0]: https://github.com/nodeca/argparse/compare/1.0.10...2.0.0
189
- [1.0.10]: https://github.com/nodeca/argparse/compare/1.0.9...1.0.10
190
- [1.0.9]: https://github.com/nodeca/argparse/compare/1.0.8...1.0.9
191
- [1.0.8]: https://github.com/nodeca/argparse/compare/1.0.7...1.0.8
192
- [1.0.7]: https://github.com/nodeca/argparse/compare/1.0.6...1.0.7
193
- [1.0.6]: https://github.com/nodeca/argparse/compare/1.0.5...1.0.6
194
- [1.0.5]: https://github.com/nodeca/argparse/compare/1.0.4...1.0.5
195
- [1.0.4]: https://github.com/nodeca/argparse/compare/1.0.3...1.0.4
196
- [1.0.3]: https://github.com/nodeca/argparse/compare/1.0.2...1.0.3
197
- [1.0.2]: https://github.com/nodeca/argparse/compare/1.0.1...1.0.2
198
- [1.0.1]: https://github.com/nodeca/argparse/compare/1.0.0...1.0.1
199
- [1.0.0]: https://github.com/nodeca/argparse/compare/0.1.16...1.0.0
200
- [0.1.16]: https://github.com/nodeca/argparse/compare/0.1.15...0.1.16
201
- [0.1.15]: https://github.com/nodeca/argparse/compare/0.1.14...0.1.15
202
- [0.1.14]: https://github.com/nodeca/argparse/compare/0.1.13...0.1.14
203
- [0.1.13]: https://github.com/nodeca/argparse/compare/0.1.12...0.1.13
204
- [0.1.12]: https://github.com/nodeca/argparse/compare/0.1.11...0.1.12
205
- [0.1.11]: https://github.com/nodeca/argparse/compare/0.1.10...0.1.11
206
- [0.1.10]: https://github.com/nodeca/argparse/compare/0.1.9...0.1.10
207
- [0.1.9]: https://github.com/nodeca/argparse/compare/0.1.8...0.1.9
208
- [0.1.8]: https://github.com/nodeca/argparse/compare/0.1.7...0.1.8
209
- [0.1.7]: https://github.com/nodeca/argparse/compare/0.1.6...0.1.7
210
- [0.1.6]: https://github.com/nodeca/argparse/compare/0.1.5...0.1.6
211
- [0.1.5]: https://github.com/nodeca/argparse/compare/0.1.4...0.1.5
212
- [0.1.4]: https://github.com/nodeca/argparse/compare/0.1.3...0.1.4
213
- [0.1.3]: https://github.com/nodeca/argparse/compare/0.1.2...0.1.3
214
- [0.1.2]: https://github.com/nodeca/argparse/compare/0.1.1...0.1.2
215
- [0.1.1]: https://github.com/nodeca/argparse/compare/0.1.0...0.1.1
216
- [0.1.0]: https://github.com/nodeca/argparse/releases/tag/0.1.0