arkaos 3.39.0 → 3.40.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/VERSION CHANGED
@@ -1 +1 @@
1
- 3.39.0
1
+ 3.40.0
@@ -69,9 +69,13 @@ async function refreshAll() {
69
69
  await Promise.all([refresh(), refreshActivity()])
70
70
  }
71
71
 
72
- const search = ref('')
73
- const departmentFilter = ref('all')
74
- const tierFilter = ref('all')
72
+ // PR92b v3.40.0 — initial values come from ?q=...&dept=...&tier=...
73
+ // so /agents links can deep-link to a filtered view.
74
+ const route = useRoute()
75
+ const router = useRouter()
76
+ const search = ref(String(route.query.q ?? ''))
77
+ const departmentFilter = ref(String(route.query.dept ?? 'all'))
78
+ const tierFilter = ref(String(route.query.tier ?? 'all'))
75
79
  const page = ref(1)
76
80
  const pageSize = 15
77
81
 
@@ -92,8 +96,13 @@ const tierOptions = [
92
96
  ]
93
97
 
94
98
  // PR87a v3.19.0 — DNA filters (DISC primary + MBTI group).
95
- const discFilter = ref<'all' | 'D' | 'I' | 'S' | 'C'>('all')
96
- const mbtiGroupFilter = ref<'all' | 'analysts' | 'diplomats' | 'sentinels' | 'explorers'>('all')
99
+ // PR92b v3.40.0 seed from URL query.
100
+ const discFilter = ref<'all' | 'D' | 'I' | 'S' | 'C'>(
101
+ (route.query.disc as any) ?? 'all',
102
+ )
103
+ const mbtiGroupFilter = ref<'all' | 'analysts' | 'diplomats' | 'sentinels' | 'explorers'>(
104
+ (route.query.mbti as any) ?? 'all',
105
+ )
97
106
 
98
107
  const discOptions = [
99
108
  { label: 'All DISC', value: 'all' },
@@ -164,6 +173,23 @@ const paginatedAgents = computed(() => {
164
173
 
165
174
  const totalPages = computed(() => Math.max(1, Math.ceil(totalFiltered.value / pageSize)))
166
175
 
176
+ // PR92b v3.40.0 — push filter state to URL so deep-links survive reload
177
+ // and the browser back/forward buttons work as expected.
178
+ watch(
179
+ [search, departmentFilter, tierFilter, discFilter, mbtiGroupFilter, favoritesOnly],
180
+ () => {
181
+ const query: Record<string, string> = {}
182
+ if (search.value.trim()) query.q = search.value.trim()
183
+ if (departmentFilter.value !== 'all') query.dept = departmentFilter.value
184
+ if (tierFilter.value !== 'all') query.tier = tierFilter.value
185
+ if (discFilter.value !== 'all') query.disc = discFilter.value
186
+ if (mbtiGroupFilter.value !== 'all') query.mbti = mbtiGroupFilter.value
187
+ if (favoritesOnly.value) query.fav = '1'
188
+ router.replace({ query })
189
+ },
190
+ { flush: 'post' },
191
+ )
192
+
167
193
  watch([search, departmentFilter, tierFilter, discFilter, mbtiGroupFilter], () => {
168
194
  page.value = 1
169
195
  })
@@ -200,9 +226,10 @@ function goToAgent(id: string) {
200
226
  }
201
227
 
202
228
  // PR86a v3.15.0 — favorites.
229
+ // PR92b v3.40.0 — favoritesOnly persists in URL (`?fav=1`).
203
230
  const favs = useFavorites()
204
231
  await favs.load()
205
- const favoritesOnly = ref(false)
232
+ const favoritesOnly = ref(route.query.fav === '1')
206
233
 
207
234
  // PR83b v3.4.0 — bulk selection + delete.
208
235
  // PR84b v3.8.0 — bulk move department.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arkaos",
3
- "version": "3.39.0",
3
+ "version": "3.40.0",
4
4
  "description": "The Operating System for AI Agent Teams",
5
5
  "type": "module",
6
6
  "bin": {
package/pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "arkaos-core"
3
- version = "3.39.0"
3
+ version = "3.40.0"
4
4
  description = "Core engine for ArkaOS — The Operating System for AI Agent Teams"
5
5
  readme = "README.md"
6
6
  license = {text = "MIT"}