happyskills 0.13.0 → 0.13.1
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 +6 -0
- package/package.json +1 -1
- package/src/api/repos.js +1 -0
- package/src/commands/whoami.js +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.13.1] - 2026-03-24
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- Fix `search --type` filter being silently ignored — the `type` parameter was never forwarded to the API, so `--type kit` and `--type skill` had no effect
|
|
14
|
+
- Fix `whoami` incorrectly labeling all personal-type workspaces as "(personal)" even when the user is only a collaborator — now uses ownership from the API so only workspaces the user owns show "(personal)" or "(organization)"
|
|
15
|
+
|
|
10
16
|
## [0.13.0] - 2026-03-12
|
|
11
17
|
|
|
12
18
|
### Added
|
package/package.json
CHANGED
package/src/api/repos.js
CHANGED
|
@@ -9,6 +9,7 @@ const search = (query, options = {}) => catch_errors('Search failed', async () =
|
|
|
9
9
|
if (options.scope) params.set('scope', options.scope)
|
|
10
10
|
if (options.workspace) params.set('workspace', options.workspace)
|
|
11
11
|
if (options.tags) params.set('tags', options.tags)
|
|
12
|
+
if (options.type) params.set('type', options.type)
|
|
12
13
|
const needs_auth = (options.scope && options.scope !== 'public') || options.workspace
|
|
13
14
|
const [errors, data] = await client.get(`/repos/search?${params}`, { auth: needs_auth || false })
|
|
14
15
|
if (errors) throw errors[errors.length - 1]
|
package/src/commands/whoami.js
CHANGED
|
@@ -59,7 +59,9 @@ const run = (args) => catch_errors('Whoami failed', async () => {
|
|
|
59
59
|
console.log()
|
|
60
60
|
print_label('Workspaces', '')
|
|
61
61
|
for (const ws of workspaces) {
|
|
62
|
-
const type_label = ws.
|
|
62
|
+
const type_label = ws.is_owner
|
|
63
|
+
? ws.type === 'personal' ? ' (personal)' : ' (organization)'
|
|
64
|
+
: ''
|
|
63
65
|
console.log(` ${ws.slug}${type_label}`)
|
|
64
66
|
}
|
|
65
67
|
}
|