Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
// -- 1. isSpdxStub truth table ------------------------------------------------
console
.
log
(
'isSpdxStub — known stub bodies (must be TRUE):'
)
;
// SPDX strings confirmed via crates.io for each of the 17 known stub crates.
const
:
Array
<
[
string
,
string
]
>
=
[
[
'objc2'
,
'Zlib OR Apache-2.0 OR MIT'
]
,
[
'objc2-app-kit'
,
'Zlib OR Apache-2.0 OR MIT'
]
,
[
'objc2-cloud-kit'
,
'Zlib OR Apache-2.0 OR MIT'
]
,
[
'objc2-core-data'
,
'Zlib OR Apache-2.0 OR MIT'
]
,
[
'objc2-core-foundation'
,
'Zlib OR Apache-2.0 OR MIT'
]
,
[
'objc2-core-graphics'
,
'Zlib OR Apache-2.0 OR MIT'
]
,
[
'objc2-foundation'
,
'Zlib OR Apache-2.0 OR MIT'
]
,
[
'objc2-io-kit'
,
'Zlib OR Apache-2.0 OR MIT'
]
,
[
'objc2-metal'
,
'Zlib OR Apache-2.0 OR MIT'
]
,
[
'objc2-quartz-core'
,
'Zlib OR Apache-2.0 OR MIT'
]
,
[
'objc2-encode'
,
'Zlib OR Apache-2.0 OR MIT'
]
,
[
'dispatch2'
,
'Zlib OR Apache-2.0 OR MIT'
]
,
[
'crc-catalog'
,
'MIT OR Apache-2.0'
]
,
[
'linux-keyutils'
,
'Apache-2.0 OR MIT'
]
,
[
'winapi-i686-pc-windows-gnu'
,
'MIT/Apache-2.0'
]
,
[
'winapi-x86_64-pc-windows-gnu'
,
'MIT/Apache-2.0'
]
,
[
'yasna'
,
'MIT OR Apache-2.0'
]
,
// Nested-paren compound (internal parens). Must still be detected as a stub
// so the SPDX-as-body never survives in the notice. (e.g. encoding_rs)
[
'encoding_rs'
,
'(Apache-2.0 OR MIT) AND BSD-3-Clause'
]
,
[
'nested-leading-paren'
,
'(MIT OR Apache-2.0) AND BSD-3-Clause'
]
,
]
;
for
(
const
[
,
]
of
)
{
check
(
`stub: ${crate} ("${body}")`
,
isSpdxStub
(
)
===
true
)
;
}
console
.
log
(
'isSpdxStub — real / non-stub bodies (must be FALSE):'
)
;
const
=
`ISC License
Copyright (c) 2004-2010 by Internet Systems Consortium, Inc. ("ISC")
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.`
;
const
=
`Copyright (c) 2015, Some Author
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:`
;
const
=
`Zero-Clause BSD
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.`
;
const
=
`MIT License
Copyright (c) 2020 Author
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal`
;
const
=
'Permission is hereby granted, free of charge, to any person obtaining a copy'